buildrootschalter/package/haserl/Config.in
Peter Korsgaard f86ec0b67f haserl: bump 0.9.x version
Fixes a number of security issues and adds support for PUT/DELETE. From the
release mail:

<snip>
Stephen Röttger reported a number of security bugs, the most serious of
which is a potential heap overflow in sliding_buffer.c (file uploads).
There is a potential for remote code execution.

At the same time, I've made an *experimental* change to allow RESTful
API's possible:

* PUT and DELETE methods are handled by the POST and GET handlers.
* For mostly historical reasons, data on the URI is still called
GET.<var>, and data in the body is named POST.<var>
* If the Content-Type is not "application/x-www-form-urlencoded", Haserl
won't try to urldecode the POST contents - it will just put the body in
POST.body verbatim.
</snip>

The lua handling now uses pkg-config, so adjust the code to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-06-13 22:01:51 +02:00

45 lines
1014 B
Plaintext

config BR2_PACKAGE_HASERL
bool "haserl"
depends on BR2_USE_MMU # fork()
help
Haserl is a small cgi wrapper that enables shell scripts to be
embedded into html documents. It is intended for environments
where something like PHP is too big.
http://haserl.sourceforge.net/
if BR2_PACKAGE_HASERL
config BR2_PACKAGE_HASERL_WITH_LUA
bool "Lua support"
depends on BR2_PACKAGE_HASERL_VERSION_0_9_X
select BR2_PACKAGE_LUA
help
Enable Lua support for haserl
choice
prompt "Haserl version"
default BR2_PACKAGE_HASERL_VERSION_0_9_X
help
Select the older stable version, or the newer developer version
config BR2_PACKAGE_HASERL_VERSION_0_8_X
bool "v 0.8.x"
depends on BR2_DEPRECATED_SINCE_2014_02
help
stable version
config BR2_PACKAGE_HASERL_VERSION_0_9_X
bool "v 0.9.x"
help
developer version - seems OK though
endchoice
endif
config BR2_PACKAGE_HASERL_VERSION
string
default "0.8.0" if BR2_PACKAGE_HASERL_VERSION_0_8_X
default "0.9.33" if BR2_PACKAGE_HASERL_VERSION_0_9_X