1 |
commit: 2076c4dfe876444034d00d0677e0f3b49951d1fb |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 16 21:05:04 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 16 21:05:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2076c4df |
7 |
|
8 |
net-ftp/pure-ftpd: do not call ar directly |
9 |
|
10 |
Closes: https://bugs.gentoo.org/721242 |
11 |
Package-Manager: Portage-3.0.2, Repoman-2.3.23 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
.../pure-ftpd-1.0.49-do-not-call-ar-directly.patch | 23 ++++++++++++++++++++++ |
15 |
net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild | 7 +++++-- |
16 |
2 files changed, 28 insertions(+), 2 deletions(-) |
17 |
|
18 |
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 |
19 |
new file mode 100644 |
20 |
index 00000000000..0df21320957 |
21 |
--- /dev/null |
22 |
+++ b/net-ftp/pure-ftpd/files/pure-ftpd-1.0.49-do-not-call-ar-directly.patch |
23 |
@@ -0,0 +1,23 @@ |
24 |
+https://bugs.gentoo.org/721242 |
25 |
+Backport of https://github.com/jedisct1/pure-ftpd/pull/148 |
26 |
+ |
27 |
+--- a/configure.ac |
28 |
++++ b/configure.ac |
29 |
+@@ -7,7 +7,7 @@ AC_INIT([pure-ftpd],[1.0.49], |
30 |
+ [https://www.pureftpd.org]) |
31 |
+ AC_CONFIG_SRCDIR(src/ftpd.c) |
32 |
+ AC_CONFIG_HEADERS([config.h]) |
33 |
+-AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar]) |
34 |
++AM_INIT_AUTOMAKE([1.11.2 dist-bzip2 tar-ustar]) |
35 |
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
36 |
+ AM_MAINTAINER_MODE |
37 |
+ AM_DEP_TRACK |
38 |
+@@ -17,6 +17,7 @@ AC_SUBST(VERSION) |
39 |
+ |
40 |
+ dnl Checks for programs. |
41 |
+ LX_CFLAGS=${CFLAGS-NONE} |
42 |
++AM_PROG_AR |
43 |
+ AC_PROG_CC |
44 |
+ AC_PROG_RANLIB |
45 |
+ AC_USE_SYSTEM_EXTENSIONS |
46 |
+ |
47 |
|
48 |
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 |
49 |
index 3386fbb63f8..1c34eeef0a5 100644 |
50 |
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild |
51 |
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild |
52 |
@@ -3,7 +3,7 @@ |
53 |
|
54 |
EAPI=7 |
55 |
|
56 |
-inherit flag-o-matic |
57 |
+inherit autotools flag-o-matic |
58 |
|
59 |
DESCRIPTION="Fast, production-quality, standard-conformant FTP server" |
60 |
HOMEPAGE="http://www.pureftpd.org/" |
61 |
@@ -49,11 +49,14 @@ PATCHES=( |
62 |
# https://bugs.gentoo.org/711124 |
63 |
"${FILESDIR}/${P}-diraliases_uninitialized_pointer.patch" |
64 |
"${FILESDIR}/${P}-pure_strcmp_OOB_read.patch" |
65 |
+ |
66 |
+ # https://bugs.gentoo.org/721242 |
67 |
+ "${FILESDIR}/${P}-do-not-call-ar-directly.patch" |
68 |
) |
69 |
|
70 |
src_prepare() { |
71 |
default |
72 |
- [[ "${PV}" == 9999 ]] && eautoreconf |
73 |
+ eautoreconf |
74 |
} |
75 |
|
76 |
src_configure() { |