Gentoo Archives: gentoo-commits

From: Tobias Klausmann <klausman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/atftp/
Date: Fri, 16 Apr 2021 09:54:23
Message-Id: 1618566852.56bd31b130652d93a7c0d9e6ff90ca5392e666d7.klausman@gentoo
1 commit: 56bd31b130652d93a7c0d9e6ff90ca5392e666d7
2 Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 16 09:54:12 2021 +0000
4 Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 16 09:54:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56bd31b1
7
8 net-ftp/atftp: Clean up old 0.7.2-r*
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Tobias Klausmann <klausman <AT> gentoo.org>
12
13 net-ftp/atftp/Manifest | 1 -
14 net-ftp/atftp/atftp-0.7.2-r2.ebuild | 68 ------------------------------------
15 net-ftp/atftp/atftp-0.7.2-r3.ebuild | 69 -------------------------------------
16 3 files changed, 138 deletions(-)
17
18 diff --git a/net-ftp/atftp/Manifest b/net-ftp/atftp/Manifest
19 index 0784eea0d36..787aa4f6ca3 100644
20 --- a/net-ftp/atftp/Manifest
21 +++ b/net-ftp/atftp/Manifest
22 @@ -1,2 +1 @@
23 -DIST atftp-0.7.2.tar.gz 248038 BLAKE2B 3ca44624bf989009c2ebd0ae97927b0784e3c617a79a1bd00212a72a185302cf84f51c8bcda2012981d67cfed4d241b70f8719e78155207608f07a2227e6c437 SHA512 d602bb69451175a36e619abcff412ab1f6d0e7baf8c3f9a2b32081530fbc5816157404b80d42a8b6caa89cc83675b5cbeefcd57a5d98b8f5b43c6254b20ef28b
24 DIST atftp-0.7.4.tar.gz 249699 BLAKE2B 8aa30df1cc92982b0e718cd9bcc68cf397e29f6abb795cf9fdfd0b9942d9a7dd16beafb24d69d7339f9ab4cbda16404eadf40096a8dfdb684fbc7ec1c7f81c9f SHA512 f9ff9b72b7d1d659d4ca00d990c28b9da8dea0228e66610ee2d17a3959fcd142998a7539f8ea68effdfe830d2f5e68c154a2911afb9cad52acd24a6a642d76a4
25
26 diff --git a/net-ftp/atftp/atftp-0.7.2-r2.ebuild b/net-ftp/atftp/atftp-0.7.2-r2.ebuild
27 deleted file mode 100644
28 index fec89f3f92a..00000000000
29 --- a/net-ftp/atftp/atftp-0.7.2-r2.ebuild
30 +++ /dev/null
31 @@ -1,68 +0,0 @@
32 -# Copyright 2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -inherit autotools flag-o-matic systemd
37 -
38 -DESCRIPTION="Advanced TFTP implementation client/server"
39 -HOMEPAGE="https://sourceforge.net/projects/atftp/"
40 -SRC_URI="mirror://sourceforge/atftp/${P}.tar.gz"
41 -
42 -LICENSE="GPL-2+"
43 -SLOT="0"
44 -KEYWORDS="amd64 arm ppc ppc64 ~s390 ~sparc x86"
45 -IUSE="selinux tcpd readline pcre"
46 -
47 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
48 - readline? ( sys-libs/readline:0= )
49 - pcre? ( dev-libs/libpcre )"
50 -RDEPEND="${DEPEND}
51 - !net-ftp/tftp-hpa
52 - !net-ftp/uftpd
53 - selinux? ( sec-policy/selinux-tftp )"
54 -BDEPEND=""
55 -
56 -PATCHES=(
57 - "${FILESDIR}/${P}-CFLAGS.patch"
58 - "${FILESDIR}/${P}-cve-2020-6097.patch"
59 -)
60 -
61 -src_prepare() {
62 - append-cppflags -D_REENTRANT -DRATE_CONTROL
63 - # fix #561720 by restoring pre-GCC5 inline semantics
64 - append-cflags -std=gnu89
65 -
66 - default
67 - eautoreconf
68 -}
69 -
70 -src_configure() {
71 - econf \
72 - $(use_enable tcpd libwrap) \
73 - $(use_enable readline libreadline) \
74 - $(use_enable pcre libpcre) \
75 - --enable-mtftp
76 -}
77 -
78 -src_test() {
79 - cd "${S}"/test || die
80 - # Try to run the tests
81 - ./test.sh || die
82 -}
83 -
84 -src_install() {
85 - default
86 -
87 - newinitd "${FILESDIR}"/atftp.init atftp
88 - newconfd "${FILESDIR}"/atftp.confd atftp
89 -
90 - systemd_dounit "${FILESDIR}"/atftp.service
91 - systemd_install_serviced "${FILESDIR}"/atftp.service.conf
92 -
93 - dodoc README* BUGS FAQ Changelog INSTALL TODO
94 - dodoc "${S}"/docs/*
95 -
96 - docinto test
97 - cd "${S}"/test || die
98 - dodoc load.sh mtftp.conf pcre_pattern.txt test.sh test_suite.txt
99 -}
100
101 diff --git a/net-ftp/atftp/atftp-0.7.2-r3.ebuild b/net-ftp/atftp/atftp-0.7.2-r3.ebuild
102 deleted file mode 100644
103 index 575196956ef..00000000000
104 --- a/net-ftp/atftp/atftp-0.7.2-r3.ebuild
105 +++ /dev/null
106 @@ -1,69 +0,0 @@
107 -# Copyright 2021 Gentoo Authors
108 -# Distributed under the terms of the GNU General Public License v2
109 -
110 -EAPI=7
111 -inherit autotools flag-o-matic systemd
112 -
113 -DESCRIPTION="Advanced TFTP implementation client/server"
114 -HOMEPAGE="https://sourceforge.net/projects/atftp/"
115 -SRC_URI="mirror://sourceforge/atftp/${P}.tar.gz"
116 -
117 -LICENSE="GPL-2+"
118 -SLOT="0"
119 -KEYWORDS="amd64 arm ppc ppc64 ~s390 ~sparc x86"
120 -IUSE="selinux tcpd readline pcre"
121 -
122 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
123 - readline? ( sys-libs/readline:0= )
124 - pcre? ( dev-libs/libpcre )"
125 -RDEPEND="${DEPEND}
126 - !net-ftp/tftp-hpa
127 - !net-ftp/uftpd
128 - selinux? ( sec-policy/selinux-tftp )"
129 -BDEPEND=""
130 -
131 -PATCHES=(
132 - "${FILESDIR}/${P}-CFLAGS.patch"
133 - "${FILESDIR}/${P}-cve-2020-6097.patch"
134 - "${FILESDIR}/${P}-fewer_seeks.patch"
135 -)
136 -
137 -src_prepare() {
138 - append-cppflags -D_REENTRANT -DRATE_CONTROL
139 - # fix #561720 by restoring pre-GCC5 inline semantics
140 - append-cflags -std=gnu89
141 -
142 - default
143 - eautoreconf
144 -}
145 -
146 -src_configure() {
147 - econf \
148 - $(use_enable tcpd libwrap) \
149 - $(use_enable readline libreadline) \
150 - $(use_enable pcre libpcre) \
151 - --enable-mtftp
152 -}
153 -
154 -src_test() {
155 - cd "${S}"/test || die
156 - # Try to run the tests
157 - ./test.sh || die
158 -}
159 -
160 -src_install() {
161 - default
162 -
163 - newinitd "${FILESDIR}"/atftp.init atftp
164 - newconfd "${FILESDIR}"/atftp.confd atftp
165 -
166 - systemd_dounit "${FILESDIR}"/atftp.service
167 - systemd_install_serviced "${FILESDIR}"/atftp.service.conf
168 -
169 - dodoc README* BUGS FAQ Changelog INSTALL TODO
170 - dodoc "${S}"/docs/*
171 -
172 - docinto test
173 - cd "${S}"/test || die
174 - dodoc load.sh mtftp.conf pcre_pattern.txt test.sh test_suite.txt
175 -}