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-misc/netkit-telnetd/
Date: Mon, 29 Aug 2022 15:15:36
Message-Id: 1661786120.14430e3a807aa448385a693d37b3115b27593766.asturm@gentoo
1 commit: 14430e3a807aa448385a693d37b3115b27593766
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 28 21:54:32 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 29 15:15:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14430e3a
7
8 net-misc/netkit-telnetd: drop 0.17-r12, EAPI-6--
9
10 Closes: https://bugs.gentoo.org/857222
11 Closes: https://github.com/gentoo/gentoo/pull/27056
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 net-misc/netkit-telnetd/Manifest | 1 -
15 .../netkit-telnetd/netkit-telnetd-0.17-r12.ebuild | 89 ----------------------
16 2 files changed, 90 deletions(-)
17
18 diff --git a/net-misc/netkit-telnetd/Manifest b/net-misc/netkit-telnetd/Manifest
19 index 25a5c9106043..a3751905f6d4 100644
20 --- a/net-misc/netkit-telnetd/Manifest
21 +++ b/net-misc/netkit-telnetd/Manifest
22 @@ -1,3 +1,2 @@
23 DIST netkit-telnet-0.17.tar.gz 133749 BLAKE2B 0eef225adeb0dd332ffd9cce0285213e6aa89f04263fb37e3dac35462492732265b2c29bd2a86277e39e0ad55267ff1a150f1140823c91d44c29cf6a20df8e7e SHA512 e2cfabed12326af5e288def1821353eacffb4586008263dcd1bed1a9dd9d8548e51e68d7ede58ea75927783ba534ea8807ec722271843a77146f064f3d826dd3
24 -DIST netkit-telnet_0.17-41.debian.tar.xz 36592 BLAKE2B 6db35c25e14b219c15c4dd180f0dab064e5b101b42f29e7b71d99f797d22a51b376e6de148cf83fa479039f0ecbc811ecc36953dd89ae11f079b4ed42690d18f SHA512 4de0d51c6cc3c9113b38c9ab76553d22294a02a86d2e02a0481bdad77887782902d41f99eb5dd268bee175ebee5489b3e9871012234a7480a431ef47015cdf5c
25 DIST netkit-telnet_0.17-42.debian.tar.xz 36068 BLAKE2B 393460c0e7a688c2c200e039ef1f462ecef0eba842982c64563325966148ee659ad1a86a8beea16046d5c1513c426d295787dc75b67f11201cdb091ec523a62a SHA512 0fa374bb4d9feff3a4cc84f7a2a9dcdacfdd22e5da9bcf253199d2e886d01da2cf5034820915ffbf50362814c3ce65ab1b6518e35e01b07c43839810fa3f8459
26
27 diff --git a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild
28 deleted file mode 100644
29 index e88e6c213936..000000000000
30 --- a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild
31 +++ /dev/null
32 @@ -1,89 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="6"
37 -
38 -inherit toolchain-funcs
39 -
40 -PATCHLEVEL=41
41 -DESCRIPTION="Standard Linux telnet client and server"
42 -#old HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
43 -# This might be the best HOMEPAGE now?
44 -HOMEPAGE="https://launchpad.net/netkit-telnet"
45 -# http://packages.debian.org/stablesource/netkit-telnet
46 -# http://packages.debian.org/testing/source/netkit-telnet
47 -# No upstream mirror exists anymore?
48 -# old ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-telnet-${PV}.tar.gz
49 -SRC_URI="mirror://gentoo/netkit-telnet-${PV}.tar.gz
50 - mirror://debian/pool/main/n/netkit-telnet/netkit-telnet_0.17-${PATCHLEVEL}.debian.tar.xz"
51 -
52 -LICENSE="BSD"
53 -SLOT="0"
54 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
55 -IUSE=""
56 -
57 -DEPEND=">=sys-libs/ncurses-5.2:=
58 - !net-misc/telnet-bsd"
59 -RDEPEND="${DEPEND}"
60 -
61 -S=${WORKDIR}/netkit-telnet-${PV}
62 -
63 -src_prepare() {
64 - # Patch: [0]
65 - # Gentoo used to lack a maintainer for this package.
66 - # A security problem arose. While reviewing our options for how
67 - # should we proceed with the security bug we decided it would be
68 - # better to just stay in sync with debian's own netkit-telnet
69 - # package. Lots of bug fixes by them over time which were not in
70 - # our telnetd.
71 - EPATCH_FORCE="yes" EPATCH_SUFFIX="diff" eapply "${WORKDIR}/debian/patches"
72 -
73 - # Patch: [1]
74 - # after the deb patch we need to add a small patch that defines
75 - # gnu source. This is needed for gcc-3.4.x (needs to be pushed
76 - # back to the deb folk?)
77 - eapply "${FILESDIR}/netkit-telnetd-0.17-cflags-gnu_source.patch"
78 -
79 - # Fix portability issues.
80 - sed -i \
81 - -e 's@echo -n@printf %s@' \
82 - configure || die
83 - default
84 -}
85 -
86 -src_configure() {
87 - tc-export CC CXX
88 -
89 - # Not a real autoconf script.
90 - ./configure --prefix=/usr || die
91 -
92 - sed -i \
93 - -e "s@-pipe -O2@${CFLAGS}@" \
94 - -e "s@^\(LDFLAGS=\).*@\1${LDFLAGS}@" \
95 - -e "s@-Wpointer-arith@@" \
96 - MCONFIG || die
97 -}
98 -
99 -src_compile() {
100 - emake
101 - emake -C telnetlogin
102 -}
103 -
104 -src_install() {
105 - dobin telnet/telnet
106 -
107 - dosbin telnetd/telnetd
108 - dosym telnetd /usr/sbin/in.telnetd
109 - dosbin telnetlogin/telnetlogin
110 - doman telnet/telnet.1
111 - doman telnetd/*.8
112 - doman telnetd/issue.net.5
113 - dosym telnetd.8 /usr/share/man/man8/in.telnetd.8
114 - doman telnetlogin/telnetlogin.8
115 - dodoc BUGS ChangeLog README
116 - dodoc "${FILESDIR}/net.issue.sample"
117 - newdoc telnet/README README.telnet
118 - newdoc telnet/TODO TODO.telnet
119 - insinto /etc/xinetd.d
120 - newins "${FILESDIR}/telnetd.xinetd" telnetd
121 -}