Diff pure-ftpd-1.0.51-r2 with a pure-ftpd-9999
/usr/portage/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild 2023-10-09 14:52:34.440368475 +0300 | ||
---|---|---|
15 | 15 |
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2 |
16 | 16 |
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2 |
17 | 17 |
" |
18 |
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" |
|
18 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
19 | 19 |
fi |
20 | 20 | |
21 | 21 |
LICENSE="BSD GPL-2" |
... | ... | |
48 | 48 | |
49 | 49 |
BDEPEND="sys-devel/autoconf-archive" |
50 | 50 | |
51 |
PATCHES=( |
|
52 |
"${FILESDIR}/${PN}-1.0.28-pam.patch" |
|
53 |
"${FILESDIR}/${PN}-1.0.51-sys-sendfile.patch" |
|
54 |
) |
|
51 |
PATCHES=( "${FILESDIR}/${PN}-1.0.28-pam.patch" ) |
|
55 | 52 | |
56 | 53 |
src_prepare() { |
57 | 54 |
default |
58 | 55 | |
59 | 56 |
# Don't hardcode FORTIFY_SOURCE |
60 |
sed -e '/-D_FORTIFY_SOURCE=2/d' -i configure || die |
|
57 |
sed -e '/-D_FORTIFY_SOURCE=2/d' -i configure.ac || die |
|
61 | 58 | |
62 | 59 |
[[ "${PV}" == 9999 ]] && eautoreconf |
63 | 60 |
} |