Diff pure-ftpd-1.0.51-r2 with a pure-ftpd-9999
/usr/portage/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild 2024-12-25 14:59:51.243270144 +0300 | ||
---|---|---|
11 | 11 |
inherit autotools git-r3 |
12 | 12 |
EGIT_REPO_URI="https://github.com/jedisct1/pure-ftpd.git" |
13 | 13 |
else |
14 |
SRC_URI=" |
|
15 |
ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2 |
|
16 |
http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2 |
|
17 |
" |
|
18 |
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~riscv sparc x86" |
|
14 |
SRC_URI="https://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2" |
|
15 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
19 | 16 |
fi |
20 | 17 | |
21 | 18 |
LICENSE="BSD GPL-2" |
... | ... | |
53 | 50 |
sendfile sendfilev |
54 | 51 |
) |
55 | 52 | |
56 |
PATCHES=( |
|
57 |
"${FILESDIR}/${PN}-1.0.28-pam.patch" |
|
58 |
"${FILESDIR}/${PN}-1.0.51-sys-sendfile.patch" |
|
59 |
) |
|
53 |
PATCHES=( "${FILESDIR}/${PN}-1.0.28-pam.patch" ) |
|
60 | 54 | |
61 | 55 |
src_prepare() { |
62 | 56 |
default |
63 | 57 | |
64 | 58 |
# Don't hardcode FORTIFY_SOURCE |
65 |
sed -e '/-D_FORTIFY_SOURCE=2/d' -i configure || die |
|
59 |
sed -e '/-D_FORTIFY_SOURCE=2/d' -i configure.ac || die |
|
66 | 60 | |
67 | 61 |
[[ "${PV}" == 9999 ]] && eautoreconf |
68 | 62 |
} |