Сравнение atftp-0.7.5 с atftp-0.8.0
/usr/portage/net-ftp/atftp/atftp-0.8.0.ebuild 2023-10-09 14:52:34.436368475 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 2021-2022 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | ||
5 | 6 |
inherit autotools flag-o-matic systemd |
6 | 7 | |
7 | 8 |
DESCRIPTION="Advanced TFTP implementation client/server" |
... | ... | |
15 | 16 | |
16 | 17 |
DEPEND="tcpd? ( sys-apps/tcp-wrappers ) |
17 | 18 |
readline? ( sys-libs/readline:0= ) |
18 |
pcre? ( dev-libs/libpcre )" |
|
19 |
pcre? ( dev-libs/libpcre2:= )" |
|
19 | 20 |
RDEPEND="${DEPEND} |
20 | 21 |
!net-ftp/tftp-hpa |
21 | 22 |
!net-ftp/uftpd |
22 | 23 |
selinux? ( sec-policy/selinux-tftp )" |
23 |
BDEPEND="" |
|
24 | 24 | |
25 | 25 |
PATCHES=( |
26 |
"${FILESDIR}/${P}-CFLAGS.patch" |
|
26 |
"${FILESDIR}/${PN}-0.7.5-CFLAGS.patch" |
|
27 |
"${FILESDIR}/${PN}-0.8.0-test-sh-declare-local.patch" # https://sourceforge.net/p/atftp/bugs/12/ |
|
28 |
"${FILESDIR}/${PN}-fix-test.patch" # https://sourceforge.net/p/atftp/bugs/11/ |
|
27 | 29 |
) |
28 | 30 | |
29 | 31 |
src_prepare() { |
... | ... | |
36 | 38 |
} |
37 | 39 | |
38 | 40 |
src_configure() { |
41 |
filter-lto # https://bugs.gentoo.org/876939 |
|
42 | ||
39 | 43 |
econf \ |
40 | 44 |
$(use_enable tcpd libwrap) \ |
41 | 45 |
$(use_enable readline libreadline) \ |
... | ... | |
43 | 47 |
--enable-mtftp |
44 | 48 |
} |
45 | 49 | |
46 |
src_test() { |
|
47 |
cd "${S}"/test || die |
|
48 |
TEMPDIR=. ./test.sh || die |
|
49 |
} |
|
50 | ||
51 | 50 |
src_install() { |
52 | 51 |
default |
53 | 52 |