summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2024-04-24 13:22:37 +0100
committerMarek Szuba <marecki@gentoo.org>2024-04-24 13:38:19 +0100
commitb53980535864e0f237a00d27673764fbca95482c (patch)
tree8a8718b5801b2969063c1b0318ccbe1039338690 /net-libs
parentsys-fs/xfsdump: Keyword 3.1.12 riscv, #930551 (diff)
downloadgentoo-b53980535864e0f237a00d27673764fbca95482c.tar.gz
gentoo-b53980535864e0f237a00d27673764fbca95482c.tar.bz2
gentoo-b53980535864e0f237a00d27673764fbca95482c.zip
net-libs/libhtp: add 0.5.48, drop 0.5.47
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libhtp/Manifest2
-rw-r--r--net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch (renamed from net-libs/libhtp/files/libhtp-0.5.43-configure_fortify_source.patch)6
-rw-r--r--net-libs/libhtp/libhtp-0.5.48.ebuild (renamed from net-libs/libhtp/libhtp-0.5.47.ebuild)4
3 files changed, 5 insertions, 7 deletions
diff --git a/net-libs/libhtp/Manifest b/net-libs/libhtp/Manifest
index 7c3fa31bf51c..0cc887f16581 100644
--- a/net-libs/libhtp/Manifest
+++ b/net-libs/libhtp/Manifest
@@ -1 +1 @@
-DIST libhtp-0.5.47.tar.gz 503477 BLAKE2B a2a126052ea528b84dfffd7926a80e633f649968bf098e3ff0f49d441821723a4d3f78f0f15d530e9ce9e393c6173aceced8c0d863afecbe65c736e4ab874a03 SHA512 b7f942eee7125d6874bedb1c347a97b856f4f8f318553959e52500b16c7f3c0e22c3369419a7318aaf7f55bfe05efe9ea652009e7ac1548a759c7c41ca0af546
+DIST libhtp-0.5.48.tar.gz 503546 BLAKE2B 56eeef3524ffeac593c251846196d09e0ccfacd9aadd03b35061fd1fe6a245d1374c338581b4f7bee67255797740f4e282344fc10bf3d0c0fdf824f159380053 SHA512 1270d560bcb03493afebbb9198cef669d03d347f4878635119ee845dc734cec28789ea4385ca5903b2545e250152d0278ea077641702ae0973005593f241776b
diff --git a/net-libs/libhtp/files/libhtp-0.5.43-configure_fortify_source.patch b/net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch
index 7fc605f14a38..7287e01ec81f 100644
--- a/net-libs/libhtp/files/libhtp-0.5.43-configure_fortify_source.patch
+++ b/net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch
@@ -1,8 +1,6 @@
-Hardened profiles now set -D_FORTIFY_SOURCE=3, do not let upstream weaken it.
-
--- a/configure.ac
+++ b/configure.ac
-@@ -206,18 +206,6 @@
+@@ -204,18 +204,6 @@
fi
dnl -----------------------------------------------
@@ -11,7 +9,7 @@ Hardened profiles now set -D_FORTIFY_SOURCE=3, do not let upstream weaken it.
-AC_MSG_CHECKING(for gcc support of FORTIFY_SOURCE)
-TMPCFLAGS="${CFLAGS}"
-CFLAGS="${CFLAGS} -D_FORTIFY_SOURCE=2"
--AC_TRY_COMPILE(,,[gcc_have_fortify_source=yes],[gcc_have_fortify_source=no])
+-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[gcc_have_fortify_source=yes],[gcc_have_fortify_source=no])
-AC_MSG_RESULT($gcc_have_fortify_source)
-if test "$gcc_have_fortify_source" != "yes"; then
- CFLAGS="${TMPCFLAGS}"
diff --git a/net-libs/libhtp/libhtp-0.5.47.ebuild b/net-libs/libhtp/libhtp-0.5.48.ebuild
index 59943c90f246..2bef77203967 100644
--- a/net-libs/libhtp/libhtp-0.5.47.ebuild
+++ b/net-libs/libhtp/libhtp-0.5.48.ebuild
@@ -5,7 +5,7 @@ EAPI=8
inherit autotools
-DESCRIPTION="security-aware parser for the HTTP protocol and the related bits and pieces"
+DESCRIPTION="Security-aware parser for the HTTP protocol and the related bits and pieces"
HOMEPAGE="https://github.com/OISF/libhtp"
SRC_URI="https://github.com/OISF/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -18,7 +18,7 @@ RDEPEND="sys-libs/zlib"
DEPEND="${RDEPEND}"
PATCHES=(
- "${FILESDIR}"/${PN}-0.5.43-configure_fortify_source.patch
+ "${FILESDIR}"/${PN}-0.5.48-configure_fortify_source.patch
)
# false positive -- function specific to dev-libs/libiconv, which is only used