mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
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>
This commit is contained in:
parent
07908c9145
commit
f86ec0b67f
@ -41,4 +41,4 @@ endif
|
|||||||
config BR2_PACKAGE_HASERL_VERSION
|
config BR2_PACKAGE_HASERL_VERSION
|
||||||
string
|
string
|
||||||
default "0.8.0" if BR2_PACKAGE_HASERL_VERSION_0_8_X
|
default "0.8.0" if BR2_PACKAGE_HASERL_VERSION_0_8_X
|
||||||
default "0.9.30" if BR2_PACKAGE_HASERL_VERSION_0_9_X
|
default "0.9.33" if BR2_PACKAGE_HASERL_VERSION_0_9_X
|
||||||
|
@ -12,13 +12,21 @@ HASERL_SITE = http://downloads.sourceforge.net/project/haserl/haserl-devel
|
|||||||
endif
|
endif
|
||||||
HASERL_LICENSE = GPLv2
|
HASERL_LICENSE = GPLv2
|
||||||
HASERL_LICENSE_FILES = COPYING
|
HASERL_LICENSE_FILES = COPYING
|
||||||
|
HASERL_DEPENDENCIES = host-pkgconf
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_HASERL_WITH_LUA),y)
|
ifeq ($(BR2_PACKAGE_HASERL_WITH_LUA),y)
|
||||||
HASERL_CONF_OPT += --with-lua=$(STAGING_DIR) \
|
HASERL_CONF_OPT += --with-lua
|
||||||
--with-lua-headers=$(STAGING_DIR)
|
|
||||||
HASERL_DEPENDENCIES += lua host-lua
|
HASERL_DEPENDENCIES += lua host-lua
|
||||||
|
|
||||||
|
# liblua uses dlopen when dynamically linked
|
||||||
|
ifneq ($(BR2_PREFER_STATIC_LIB),y)
|
||||||
|
HASERL_CONF_ENV += LIBS="-ldl"
|
||||||
|
endif
|
||||||
|
|
||||||
# lua2c is built for host, so needs to find host libs/headers
|
# lua2c is built for host, so needs to find host libs/headers
|
||||||
HASERL_MAKE_OPT += lua2c_LDFLAGS='$(HOST_CFLAGS) $(HOST_LDFLAGS)'
|
HASERL_MAKE_OPT += lua2c_LDFLAGS='$(HOST_CFLAGS) $(HOST_LDFLAGS)'
|
||||||
|
else
|
||||||
|
HASERL_CONF_OPT += --without-lua
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define HASERL_REMOVE_EXAMPLES
|
define HASERL_REMOVE_EXAMPLES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user