Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/tftp-hpa/
Date: Fri, 30 Apr 2021 19:03:29
Message-Id: 1619809313.bd2322d1d7187d3adfe318600e1e57ad352e87c9.asturm@gentoo
1 commit: bd2322d1d7187d3adfe318600e1e57ad352e87c9
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 21 19:05:06 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 30 19:01:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd2322d1
7
8 net-ftp/tftp-hpa: Drop 5.2-r1, EAPI5--
9
10 Closes: https://bugs.gentoo.org/783723
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild | 57 ---------------------------------
15 1 file changed, 57 deletions(-)
16
17 diff --git a/net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild b/net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild
18 deleted file mode 100644
19 index b9c900575cf..00000000000
20 --- a/net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild
21 +++ /dev/null
22 @@ -1,57 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI="5"
27 -
28 -inherit systemd epatch toolchain-funcs
29 -
30 -DESCRIPTION="Port of the OpenBSD TFTP server"
31 -HOMEPAGE="https://www.kernel.org/pub/software/network/tftp/"
32 -SRC_URI="https://www.kernel.org/pub/software/network/tftp/${PN}/${P}.tar.xz"
33 -
34 -LICENSE="BSD-4"
35 -SLOT="0"
36 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~ppc-macos"
37 -IUSE="ipv6 readline selinux tcpd"
38 -
39 -CDEPEND="
40 - readline? ( sys-libs/readline:0= )
41 - tcpd? ( sys-apps/tcp-wrappers )
42 - !net-ftp/atftp
43 - !net-ftp/netkit-tftp"
44 -DEPEND="${CDEPEND}
45 - app-arch/xz-utils"
46 -RDEPEND="${CDEPEND}
47 - selinux? ( sec-policy/selinux-tftp )
48 -"
49 -
50 -src_prepare() {
51 - epatch "${FILESDIR}"/tftp-hpa-5.2-gcc-10.patch
52 - epatch_user
53 -
54 - sed -i "/^AR/s:ar:$(tc-getAR):" MCONFIG.in || die
55 -}
56 -
57 -src_configure() {
58 - econf \
59 - $(use_with ipv6) \
60 - $(use_with tcpd tcpwrappers) \
61 - $(use_with readline)
62 -}
63 -
64 -src_install() {
65 - emake INSTALLROOT="${D}" install
66 - dodoc README* CHANGES tftpd/sample.rules
67 -
68 - # iputils installs this
69 - rm "${ED}"/usr/share/man/man8/tftpd.8 || die
70 -
71 - newconfd "${FILESDIR}"/in.tftpd.confd-0.44 in.tftpd
72 - newinitd "${FILESDIR}"/in.tftpd.rc6 in.tftpd
73 -
74 - systemd_dounit "${FILESDIR}"/tftp.service
75 - systemd_dounit "${FILESDIR}"/tftp.socket
76 -
77 - insinto /etc/xinetd.d
78 - newins "${FILESDIR}"/tftp.xinetd tftp
79 -}