aboutsummaryrefslogtreecommitdiff
path: root/package/libhtp/0001-htp.pc.in-add-lz-to-Libs.private.patch
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2020-04-30 21:42:45 +0200
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-05-01 11:57:20 +0200
commitb3d51946964546f26a026c4dea337e8084e64e58 (patch)
tree09a95750711e0a577a788a5e3f3ece8d7be1f3c9 /package/libhtp/0001-htp.pc.in-add-lz-to-Libs.private.patch
parente6d8e4b70be8d8c16ded3b3f9f41a41670618a16 (diff)
downloadbuildroot-b3d51946964546f26a026c4dea337e8084e64e58.tar.gz
buildroot-b3d51946964546f26a026c4dea337e8084e64e58.tar.bz2
package/libhtp: security bump to version 0.5.33
- ChangeLog: - compression bomb protection - memory handling issue found by Oss-Fuzz - improve handling of anomalies in traffic - Drop first patch (already in version) - Update indentation of hash file (two spaces) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'package/libhtp/0001-htp.pc.in-add-lz-to-Libs.private.patch')
-rw-r--r--package/libhtp/0001-htp.pc.in-add-lz-to-Libs.private.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/libhtp/0001-htp.pc.in-add-lz-to-Libs.private.patch b/package/libhtp/0001-htp.pc.in-add-lz-to-Libs.private.patch
new file mode 100644
index 0000000000..b21ea6053a
--- /dev/null
+++ b/package/libhtp/0001-htp.pc.in-add-lz-to-Libs.private.patch
@@ -0,0 +1,29 @@
+From 39e534ab696157b244ec226d649c789dcf423e42 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Wed, 24 Apr 2019 20:48:57 +0200
+Subject: [PATCH] htp.pc.in: add -lz to Libs.private
+
+zlib is a mandatory dependency so add it to Libs.private otherwise
+static linking of packages linking with htp (e.g. suricata) will fail.
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: https://github.com/OISF/libhtp/pull/294]
+---
+ htp.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/htp.pc.in b/htp.pc.in
+index 2fec995..9b1a6cc 100644
+--- a/htp.pc.in
++++ b/htp.pc.in
+@@ -7,6 +7,6 @@ Name: @PACKAGE_NAME@
+ Description: A security-aware HTTP parser, designed for use in IDS/IPS and WAF products.
+ Version: @PACKAGE_VERSION@
+ Libs: -L${libdir} -lhtp
+-Libs.private: @LIBICONV@
++Libs.private: -lz @LIBICONV@
+ Cflags: -I${includedir} -I${libdir}/htp/include
+
+--
+2.20.1
+