1 |
commit: 99b10149133d44a4e5c41905c8f88427c10bc6a6 |
2 |
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 2 09:22:27 2021 +0000 |
4 |
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 2 09:22:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b10149 |
7 |
|
8 |
net-ftp/atftp: Remove old (vulnerable) v0.7.4 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=813079 |
11 |
Package-Manager: Portage-3.0.23, Repoman-3.0.3 |
12 |
Signed-off-by: Tobias Klausmann <klausman <AT> gentoo.org> |
13 |
|
14 |
net-ftp/atftp/Manifest | 1 - |
15 |
net-ftp/atftp/atftp-0.7.4.ebuild | 66 ---------------------------------------- |
16 |
2 files changed, 67 deletions(-) |
17 |
|
18 |
diff --git a/net-ftp/atftp/Manifest b/net-ftp/atftp/Manifest |
19 |
index 1002d6b53aa..45877ec5384 100644 |
20 |
--- a/net-ftp/atftp/Manifest |
21 |
+++ b/net-ftp/atftp/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST atftp-0.7.4.tar.gz 249699 BLAKE2B 8aa30df1cc92982b0e718cd9bcc68cf397e29f6abb795cf9fdfd0b9942d9a7dd16beafb24d69d7339f9ab4cbda16404eadf40096a8dfdb684fbc7ec1c7f81c9f SHA512 f9ff9b72b7d1d659d4ca00d990c28b9da8dea0228e66610ee2d17a3959fcd142998a7539f8ea68effdfe830d2f5e68c154a2911afb9cad52acd24a6a642d76a4 |
24 |
DIST atftp-0.7.5.tar.gz 253626 BLAKE2B aa0a0311d29fd52b77f8ae021407221f815a39fe85cabac36ee18dce8918a5b0accda455e2df5fecf34f09e93e583bfbc86162b60a7237bd6d34b0c658ec2970 SHA512 457101136e59f7a1657ce591e9ea678ab9091a59219d41b6c522fad4a3555c5cbcb8c9e0c3267fd871940d99b5f8673ab4ce5ec9737dee52f017e5c80a4e59d7 |
25 |
|
26 |
diff --git a/net-ftp/atftp/atftp-0.7.4.ebuild b/net-ftp/atftp/atftp-0.7.4.ebuild |
27 |
deleted file mode 100644 |
28 |
index b467be06846..00000000000 |
29 |
--- a/net-ftp/atftp/atftp-0.7.4.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,66 +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}/atftp-0.7.2-CFLAGS.patch" |
58 |
-) |
59 |
- |
60 |
-src_prepare() { |
61 |
- append-cppflags -D_REENTRANT -DRATE_CONTROL |
62 |
- # fix #561720 by restoring pre-GCC5 inline semantics |
63 |
- append-cflags -std=gnu89 |
64 |
- |
65 |
- default |
66 |
- eautoreconf |
67 |
-} |
68 |
- |
69 |
-src_configure() { |
70 |
- econf \ |
71 |
- $(use_enable tcpd libwrap) \ |
72 |
- $(use_enable readline libreadline) \ |
73 |
- $(use_enable pcre libpcre) \ |
74 |
- --enable-mtftp |
75 |
-} |
76 |
- |
77 |
-src_test() { |
78 |
- cd "${S}"/test || die |
79 |
- TEMPDIR=. ./test.sh || die |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- default |
84 |
- |
85 |
- newinitd "${FILESDIR}"/atftp.init atftp |
86 |
- newconfd "${FILESDIR}"/atftp.confd atftp |
87 |
- |
88 |
- systemd_dounit "${FILESDIR}"/atftp.service |
89 |
- systemd_install_serviced "${FILESDIR}"/atftp.service.conf |
90 |
- |
91 |
- dodoc README* BUGS FAQ Changelog INSTALL TODO |
92 |
- dodoc "${S}"/docs/* |
93 |
- |
94 |
- docinto test |
95 |
- cd "${S}"/test || die |
96 |
- dodoc load.sh mtftp.conf pcre_pattern.txt test.sh test_suite.txt |
97 |
-} |