Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/netkit-routed/files/, profiles/, net-misc/netkit-routed/
Date: Fri, 24 Dec 2021 19:20:47
Message-Id: 1640373628.0df96d95ce8cbe018cb61d7c84cd7f38f37e7fac.jsmolic@gentoo
1 commit: 0df96d95ce8cbe018cb61d7c84cd7f38f37e7fac
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 24 19:19:58 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 24 19:20:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df96d95
7
8 net-misc/netkit-routed: treeclean
9
10 Closes: https://bugs.gentoo.org/827322
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 net-misc/netkit-routed/Manifest | 1 -
14 .../files/netkit-routed-0.17-printf.patch | 20 ----------
15 .../files/netkit-routed-0.17-time.patch | 20 ----------
16 net-misc/netkit-routed/files/routed.confd | 16 --------
17 net-misc/netkit-routed/files/routed.initd | 20 ----------
18 net-misc/netkit-routed/metadata.xml | 5 ---
19 .../netkit-routed/netkit-routed-0.17-r5.ebuild | 46 ----------------------
20 profiles/package.mask | 8 ----
21 8 files changed, 136 deletions(-)
22
23 diff --git a/net-misc/netkit-routed/Manifest b/net-misc/netkit-routed/Manifest
24 deleted file mode 100644
25 index a777baf19277..000000000000
26 --- a/net-misc/netkit-routed/Manifest
27 +++ /dev/null
28 @@ -1 +0,0 @@
29 -DIST netkit-routed_0.17.orig.tar.gz 36435 BLAKE2B cfa0ab9fcbca1369e812e02dc76524e8668b340dc70c345b038f659fd9b48979fe1c27249748d5455d636ad2cef204fd646f2967761971de0b01aed88af80778 SHA512 9dea1048af22d5bbcec0aa9722a518e81d4415c7cc3219ae13d38450b0960fb30e0b082648717336c5870fa65f921a3830aadca23d0595ca719f89f4615afbc9
30
31 diff --git a/net-misc/netkit-routed/files/netkit-routed-0.17-printf.patch b/net-misc/netkit-routed/files/netkit-routed-0.17-printf.patch
32 deleted file mode 100644
33 index 16607a22b9b1..000000000000
34 --- a/net-misc/netkit-routed/files/netkit-routed-0.17-printf.patch
35 +++ /dev/null
36 @@ -1,20 +0,0 @@
37 -echo -n isn't supported by all shells, use printf instead, which is portable.
38 -
39 -Patch by Andrew Miller.
40 -
41 -https://bugs.gentoo.org/529992
42 -
43 ---- a/configure
44 -+++ b/configure
45 -@@ -235,10 +235,7 @@
46 -
47 - echo 'Generating MCONFIG...'
48 - (
49 -- echo -n '# Generated by configure (confgen version 2) on '
50 -- date
51 -- echo '#'
52 -- echo
53 -+ printf "#\n# Generated by configure (confgen version 2) on $(date)\n#\n\n"
54 -
55 - echo "SBINDIR=$SBINDIR"
56 - echo "MANDIR=$MANDIR"
57
58 diff --git a/net-misc/netkit-routed/files/netkit-routed-0.17-time.patch b/net-misc/netkit-routed/files/netkit-routed-0.17-time.patch
59 deleted file mode 100644
60 index 9aa866d48367..000000000000
61 --- a/net-misc/netkit-routed/files/netkit-routed-0.17-time.patch
62 +++ /dev/null
63 @@ -1,20 +0,0 @@
64 ---- a/routed/main.c 2000-01-06 00:16:12.000000000 +0100
65 -+++ b/routed/main.c 2010-08-26 23:04:56.000000000 +0200
66 -@@ -57,6 +57,7 @@
67 - #include <syslog.h>
68 - #include <assert.h>
69 - #include <sys/utsname.h>
70 -+#include <time.h>
71 -
72 - #define BUFSPACE (127*1024) /* max. input buffer size to request */
73 -
74 ---- a/routed/trace.c 2000-07-23 01:25:11.000000000 +0200
75 -+++ b/routed/trace.c 2010-08-26 23:05:17.000000000 +0200
76 -@@ -50,6 +50,7 @@
77 - #include <syslog.h>
78 - #include <errno.h>
79 - #include "pathnames.h"
80 -+#include <time.h>
81 -
82 - #define NRECORDS 50 /* size of circular trace buffer */
83 -
84
85 diff --git a/net-misc/netkit-routed/files/routed.confd b/net-misc/netkit-routed/files/routed.confd
86 deleted file mode 100644
87 index 1b27653ec59d..000000000000
88 --- a/net-misc/netkit-routed/files/routed.confd
89 +++ /dev/null
90 @@ -1,16 +0,0 @@
91 -# /etc/conf.d/routed
92 -
93 -# Normally routed is simply run as "/usr/sbin/routed". Set this
94 -# option to run routed with additional parameters, for example:
95 -#
96 -# -d Enable additional debugging information
97 -# -s Force routed to supply routing information
98 -# -q Opposite of the -s option
99 -#
100 -# Additional options are listed in the routed(8) manual page.
101 -#
102 -# Our default configuration is to run quietly, i.e. don't publish
103 -# routes. This is to keep from catching users unaware since routed
104 -# will publish routes if there's more than one interface configured on
105 -# the machine.
106 -ROUTED_OPTS="-q"
107
108 diff --git a/net-misc/netkit-routed/files/routed.initd b/net-misc/netkit-routed/files/routed.initd
109 deleted file mode 100644
110 index 3b022fb54586..000000000000
111 --- a/net-misc/netkit-routed/files/routed.initd
112 +++ /dev/null
113 @@ -1,20 +0,0 @@
114 -#!/sbin/openrc-run
115 -# Copyright 1999-2016 Gentoo Foundation
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -depend() {
119 - need net
120 -}
121 -
122 -start() {
123 - ebegin "Starting routed"
124 - /sbin/start-stop-daemon --start --quiet \
125 - --exec /usr/sbin/routed -- ${ROUTED_OPTS}
126 - eend $?
127 -}
128 -
129 -stop() {
130 - ebegin "Stopping routed"
131 - /sbin/start-stop-daemon --stop --quiet --exec /usr/sbin/routed
132 - eend $?
133 -}
134
135 diff --git a/net-misc/netkit-routed/metadata.xml b/net-misc/netkit-routed/metadata.xml
136 deleted file mode 100644
137 index 85e4ed814fa2..000000000000
138 --- a/net-misc/netkit-routed/metadata.xml
139 +++ /dev/null
140 @@ -1,5 +0,0 @@
141 -<?xml version="1.0" encoding="UTF-8"?>
142 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
143 -<pkgmetadata>
144 -<!-- maintainer-needed -->
145 -</pkgmetadata>
146
147 diff --git a/net-misc/netkit-routed/netkit-routed-0.17-r5.ebuild b/net-misc/netkit-routed/netkit-routed-0.17-r5.ebuild
148 deleted file mode 100644
149 index 0670c06e7c2e..000000000000
150 --- a/net-misc/netkit-routed/netkit-routed-0.17-r5.ebuild
151 +++ /dev/null
152 @@ -1,46 +0,0 @@
153 -# Copyright 1999-2021 Gentoo Authors
154 -# Distributed under the terms of the GNU General Public License v2
155 -
156 -EAPI="5"
157 -
158 -inherit epatch toolchain-funcs
159 -
160 -DESCRIPTION="Netkit - routed"
161 -HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
162 -SRC_URI="mirror://debian/pool/main/n/netkit-routed/${PN}_${PV}.orig.tar.gz"
163 -
164 -LICENSE="BSD GPL-2"
165 -SLOT="0"
166 -KEYWORDS="~alpha ~amd64 ~mips ppc sparc x86"
167 -IUSE=""
168 -
169 -src_prepare() {
170 - sed -i configure -e '/^LDFLAGS=/d' || die
171 - epatch "${FILESDIR}"/${P}-time.patch
172 - epatch "${FILESDIR}"/${P}-printf.patch #529992
173 -}
174 -
175 -src_configure() {
176 - # Not an autotools generated configure script
177 - ./configure --with-c-compiler=$(tc-getCC) || die
178 -}
179 -
180 -src_install() {
181 - # ripquery
182 - dosbin ripquery/ripquery
183 - doman ripquery/ripquery.8
184 -
185 - # routed
186 - dosbin routed/routed
187 - dosym routed /usr/sbin/in.routed
188 - doman routed/routed.8
189 - dosym routed.8 /usr/share/man/man8/in.routed.8
190 -
191 - # docs
192 - dodoc README ChangeLog
193 - newdoc routed/README README.routed
194 -
195 - # init scripts
196 - newconfd "${FILESDIR}"/routed.confd routed
197 - newinitd "${FILESDIR}"/routed.initd routed
198 -}
199
200 diff --git a/profiles/package.mask b/profiles/package.mask
201 index 65fe9be1619e..bf3792e9221a 100644
202 --- a/profiles/package.mask
203 +++ b/profiles/package.mask
204 @@ -297,14 +297,6 @@ sci-biology/ApE
205 # Masked for removal in 30 days.
206 dev-ruby/typhoeus:0
207
208 -# Marek Szuba <marecki@g.o> (2021-11-25)
209 -# Ancient, very few distributions still package it. Both upstream
210 -# and the Debian package we use in SRC_URI are now gone. EAPI 5,
211 -# unmaintained in Gentoo. Consider using net-misc/frr, which supports
212 -# both RIP and many other routing protocols, instead.
213 -# Removal in 30 days. Bug #827322
214 -net-misc/netkit-routed
215 -
216 # Volkmar W. Pogatzki <gentoo@××××××××.net> (2021-11-23)
217 # Does not support updated dev-java/pdfbox-2.0.24, Bug #803488
218 # Blocks (CVE-2018-11797, CVE-2021-{27807,27906,31811,31812})