* [Buildroot] [git commit] haserl: bump 0.9.x version
@ 2009-08-01 21:29 Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2009-08-01 21:29 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=ec386cbcdf437eff59432431289a6cf045c35910
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
buffer overflow fix is now upstream
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/haserl/Config.in | 2 +-
.../haserl-0.9.25-array-vars-fix.patch | 19 -------------------
2 files changed, 1 insertions(+), 20 deletions(-)
delete mode 100644 package/haserl/haserl-0.9.25/haserl-0.9.25-array-vars-fix.patch
diff --git a/package/haserl/Config.in b/package/haserl/Config.in
index 0a58478..21ab63c 100644
--- a/package/haserl/Config.in
+++ b/package/haserl/Config.in
@@ -30,4 +30,4 @@ endchoice
config BR2_PACKAGE_HASERL_VERSION
string
default "0.8.0" if BR2_PACKAGE_HASERL_VERSION_0_8_X
- default "0.9.25" if BR2_PACKAGE_HASERL_VERSION_0_9_X
+ default "0.9.26" if BR2_PACKAGE_HASERL_VERSION_0_9_X
diff --git a/package/haserl/haserl-0.9.25/haserl-0.9.25-array-vars-fix.patch b/package/haserl/haserl-0.9.25/haserl-0.9.25-array-vars-fix.patch
deleted file mode 100644
index e6c959a..0000000
--- a/package/haserl/haserl-0.9.25/haserl-0.9.25-array-vars-fix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-haserl: array vars fix
-
-Fix buffer overflow error. Len is the length of the name= part of the
-name=value string, not the value part.
-
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-Index: haserl-0.9.25/src/haserl.c
-===================================================================
---- haserl-0.9.25.orig/src/haserl.c 2009-07-20 15:05:26.000000000 +0200
-+++ haserl-0.9.25/src/haserl.c 2009-07-20 15:06:05.000000000 +0200
-@@ -269,7 +269,7 @@
- /* if an array, create a new string with this
- * value added to the end of the old value(s)
- */
-- temp = xmalloc (strlen (cur->buf) + len + 1);
-+ temp = xmalloc (strlen (cur->buf) + strlen(entry) - len + 1);
- memmove (temp, cur->buf, strlen (cur->buf) + 1);
- strcat (temp, "\n");
- strcat (temp, str + keylen + 3);
--
1.6.3.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [git commit] haserl: bump 0.9.x version
@ 2011-05-10 21:43 Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2011-05-10 21:43 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=6e850246252e4978d93469a8998bf8343bab0340
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes off-by-1 buffer overflow.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/haserl/Config.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/haserl/Config.in b/package/haserl/Config.in
index ad9a8e9..7710fa1 100644
--- a/package/haserl/Config.in
+++ b/package/haserl/Config.in
@@ -38,4 +38,4 @@ endchoice
config BR2_PACKAGE_HASERL_VERSION
string
default "0.8.0" if BR2_PACKAGE_HASERL_VERSION_0_8_X
- default "0.9.28" if BR2_PACKAGE_HASERL_VERSION_0_9_X
+ default "0.9.29" if BR2_PACKAGE_HASERL_VERSION_0_9_X
--
1.7.3.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [git commit] haserl: bump 0.9.x version
@ 2013-06-30 8:20 Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2013-06-30 8:20 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=7b2ae7feb1900e456757ad6b55fc9314927e87a9
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
.../haserl-add-haserl_lualib.inc.patch} | 0
package/haserl/Config.in | 2 +-
2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/haserl/0.9.29/haserl-0.9.29-add-haserl_lualib.inc.patch b/package/haserl/0.9.30/haserl-add-haserl_lualib.inc.patch
similarity index 100%
rename from package/haserl/0.9.29/haserl-0.9.29-add-haserl_lualib.inc.patch
rename to package/haserl/0.9.30/haserl-add-haserl_lualib.inc.patch
diff --git a/package/haserl/Config.in b/package/haserl/Config.in
index 36bfca7..2d5cacf 100644
--- a/package/haserl/Config.in
+++ b/package/haserl/Config.in
@@ -39,4 +39,4 @@ endchoice
config BR2_PACKAGE_HASERL_VERSION
string
default "0.8.0" if BR2_PACKAGE_HASERL_VERSION_0_8_X
- default "0.9.29" if BR2_PACKAGE_HASERL_VERSION_0_9_X
+ default "0.9.30" if BR2_PACKAGE_HASERL_VERSION_0_9_X
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [git commit] haserl: bump 0.9.x version
@ 2014-06-13 20:01 Peter Korsgaard
2014-06-15 15:26 ` Baruch Siach
0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2014-06-13 20:01 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=f86ec0b67f147d23928091f27529c5fd47ef5f02
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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>
---
package/haserl/Config.in | 2 +-
package/haserl/haserl.mk | 12 ++++++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/package/haserl/Config.in b/package/haserl/Config.in
index bfe1df8..680e280 100644
--- a/package/haserl/Config.in
+++ b/package/haserl/Config.in
@@ -41,4 +41,4 @@ endif
config BR2_PACKAGE_HASERL_VERSION
string
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
diff --git a/package/haserl/haserl.mk b/package/haserl/haserl.mk
index 56240c7..4b46f04 100644
--- a/package/haserl/haserl.mk
+++ b/package/haserl/haserl.mk
@@ -12,13 +12,21 @@ HASERL_SITE = http://downloads.sourceforge.net/project/haserl/haserl-devel
endif
HASERL_LICENSE = GPLv2
HASERL_LICENSE_FILES = COPYING
+HASERL_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_PACKAGE_HASERL_WITH_LUA),y)
- HASERL_CONF_OPT += --with-lua=$(STAGING_DIR) \
- --with-lua-headers=$(STAGING_DIR)
+ HASERL_CONF_OPT += --with-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
HASERL_MAKE_OPT += lua2c_LDFLAGS='$(HOST_CFLAGS) $(HOST_LDFLAGS)'
+else
+ HASERL_CONF_OPT += --without-lua
endif
define HASERL_REMOVE_EXAMPLES
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [git commit] haserl: bump 0.9.x version
2014-06-13 20:01 [Buildroot] [git commit] haserl: bump 0.9.x version Peter Korsgaard
@ 2014-06-15 15:26 ` Baruch Siach
2014-06-18 11:55 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Baruch Siach @ 2014-06-15 15:26 UTC (permalink / raw)
To: buildroot
Hi Peter, all,
On Fri, Jun 13, 2014 at 10:01:51PM +0200, Peter Korsgaard wrote:
> commit: http://git.buildroot.net/buildroot/commit/?id=f86ec0b67f147d23928091f27529c5fd47ef5f02
> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>
> 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
Is it possible to send commit messages with charset=utf-8 to make these '??'
characters readable? Both post-receive-email and multimail from git's
contrib/hooks/ directory support utf-8 by default.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [git commit] haserl: bump 0.9.x version
2014-06-15 15:26 ` Baruch Siach
@ 2014-06-18 11:55 ` Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2014-06-18 11:55 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> Hi Peter, all,
> On Fri, Jun 13, 2014 at 10:01:51PM +0200, Peter Korsgaard wrote:
>> commit: http://git.buildroot.net/buildroot/commit/?id=f86ec0b67f147d23928091f27529c5fd47ef5f02
>> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>>
>> 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
> Is it possible to send commit messages with charset=utf-8 to make these '??'
> characters readable? Both post-receive-email and multimail from git's
> contrib/hooks/ directory support utf-8 by default.
Yes, I will check with the osuosl.org guys.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-06-18 11:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-13 20:01 [Buildroot] [git commit] haserl: bump 0.9.x version Peter Korsgaard
2014-06-15 15:26 ` Baruch Siach
2014-06-18 11:55 ` Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2013-06-30 8:20 Peter Korsgaard
2011-05-10 21:43 Peter Korsgaard
2009-08-01 21:29 Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox