summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-08-16 23:05:04 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-08-16 23:05:20 +0200
commit2076c4dfe876444034d00d0677e0f3b49951d1fb (patch)
tree1c4bb9eaefb8ba550ca4192c25b2fcdc2b995e8e /net-ftp
parentgnome-base/gnome-core-apps: bump to 3.36.5 (diff)
downloadgentoo-2076c4dfe876444034d00d0677e0f3b49951d1fb.tar.gz
gentoo-2076c4dfe876444034d00d0677e0f3b49951d1fb.tar.bz2
gentoo-2076c4dfe876444034d00d0677e0f3b49951d1fb.zip
net-ftp/pure-ftpd: do not call ar directly
Closes: https://bugs.gentoo.org/721242 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-do-not-call-ar-directly.patch23
-rw-r--r--net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild7
2 files changed, 28 insertions, 2 deletions
diff --git a/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-do-not-call-ar-directly.patch b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-do-not-call-ar-directly.patch
new file mode 100644
index 000000000000..0df21320957d
--- /dev/null
+++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-do-not-call-ar-directly.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/721242
+Backport of https://github.com/jedisct1/pure-ftpd/pull/148
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -7,7 +7,7 @@ AC_INIT([pure-ftpd],[1.0.49],
+ [https://www.pureftpd.org])
+ AC_CONFIG_SRCDIR(src/ftpd.c)
+ AC_CONFIG_HEADERS([config.h])
+-AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar])
++AM_INIT_AUTOMAKE([1.11.2 dist-bzip2 tar-ustar])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+ AM_MAINTAINER_MODE
+ AM_DEP_TRACK
+@@ -17,6 +17,7 @@ AC_SUBST(VERSION)
+
+ dnl Checks for programs.
+ LX_CFLAGS=${CFLAGS-NONE}
++AM_PROG_AR
+ AC_PROG_CC
+ AC_PROG_RANLIB
+ AC_USE_SYSTEM_EXTENSIONS
+
diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
index 3386fbb63f8f..1c34eeef0a5a 100644
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit flag-o-matic
+inherit autotools flag-o-matic
DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
HOMEPAGE="http://www.pureftpd.org/"
@@ -49,11 +49,14 @@ PATCHES=(
# https://bugs.gentoo.org/711124
"${FILESDIR}/${P}-diraliases_uninitialized_pointer.patch"
"${FILESDIR}/${P}-pure_strcmp_OOB_read.patch"
+
+ # https://bugs.gentoo.org/721242
+ "${FILESDIR}/${P}-do-not-call-ar-directly.patch"
)
src_prepare() {
default
- [[ "${PV}" == 9999 ]] && eautoreconf
+ eautoreconf
}
src_configure() {