summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-04-23 01:03:44 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-04-23 01:53:26 +0200
commitb6b552eac786970d03a5d1dd019bab4fd28c2a0f (patch)
tree632edbe0737d785c40d9f015a04f9afc64de4011 /net-ftp
parentnet-misc/etherdfs: don' redefine FORTIFY_SOURCE (diff)
downloadgentoo-b6b552eac786970d03a5d1dd019bab4fd28c2a0f.tar.gz
gentoo-b6b552eac786970d03a5d1dd019bab4fd28c2a0f.tar.bz2
gentoo-b6b552eac786970d03a5d1dd019bab4fd28c2a0f.zip
net-ftp/pure-ftpd: Don't hardcode FORTIFY_SOURCE
Closes: https://bugs.gentoo.org/893468 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-1.0.51-r1.ebuild (renamed from net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild)5
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-9999.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.51-r1.ebuild
index a01e48fe71f1..223cdb2a5ea7 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.51.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.51-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -53,6 +53,9 @@ PATCHES=( "${FILESDIR}/${PN}-1.0.28-pam.patch" )
src_prepare() {
default
+ # Don't hardcode FORTIFY_SOURCE
+ sed -e '/-D_FORTIFY_SOURCE=2/d' -i configure || die
+
[[ "${PV}" == 9999 ]] && eautoreconf
}
diff --git a/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild b/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
index 712fefda22b2..2c5c51cfabc5 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -53,6 +53,9 @@ PATCHES=( "${FILESDIR}/${PN}-1.0.28-pam.patch" )
src_prepare() {
default
+ # Don't hardcode FORTIFY_SOURCE
+ sed -e '/-D_FORTIFY_SOURCE=2/d' -i configure.ac || die
+
[[ "${PV}" == 9999 ]] && eautoreconf
}