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/quagga/files/, net-misc/quagga/, profiles/, ...
Date: Wed, 22 Dec 2021 11:24:02
Message-Id: 1640172183.a0b4caeebfee75547a7525cbe8c3a112402ed395.jsmolic@gentoo
1 commit: a0b4caeebfee75547a7525cbe8c3a112402ed395
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 22 11:19:51 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 22 11:23:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0b4caee
7
8 net-misc/quagga: treeclean
9
10 Bug: https://bugs.gentoo.org/825358
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 net-misc/quagga/Manifest | 2 -
14 .../files/quagga-0.99.22.4-ipctl-forwarding.patch | 22 ----
15 net-misc/quagga/files/quagga-services.init.3 | 43 -------
16 net-misc/quagga/files/quagga.pam | 26 ----
17 net-misc/quagga/files/systemd/bgpd.service | 16 ---
18 net-misc/quagga/files/systemd/isisd.service | 16 ---
19 net-misc/quagga/files/systemd/nhrpd.service | 16 ---
20 net-misc/quagga/files/systemd/ospf6d.service | 16 ---
21 net-misc/quagga/files/systemd/ospfd.service | 16 ---
22 net-misc/quagga/files/systemd/pimd.service | 17 ---
23 net-misc/quagga/files/systemd/quagga.conf | 1 -
24 net-misc/quagga/files/systemd/ripd.service | 16 ---
25 net-misc/quagga/files/systemd/ripngd.service | 16 ---
26 net-misc/quagga/files/systemd/zebra.service | 16 ---
27 net-misc/quagga/metadata.xml | 53 --------
28 net-misc/quagga/quagga-1.2.4-r2.ebuild | 135 ---------------------
29 profiles/package.mask | 7 --
30 17 files changed, 434 deletions(-)
31
32 diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
33 deleted file mode 100644
34 index 579eea17a844..000000000000
35 --- a/net-misc/quagga/Manifest
36 +++ /dev/null
37 @@ -1,2 +0,0 @@
38 -DIST ht-20040304-classless-bgp.patch 1581 BLAKE2B 64df9a86c235c4f6d35be0f19fe1b056958ae2fa28bd2e9e8d9902e569a8f9a2925ba45396bb92e345bfcaf8ca1ef9136a433c615a5bd12a279e7c062939549a SHA512 3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
39 -DIST quagga-1.2.4.tar.gz 2925847 BLAKE2B e0e8d8b8e2243bc5cecc2e66d26040780f839414a16fb8a719d25a6fe1c29dc8545a92700a3758100715e1efb3d874584903885af51ef9f5d88c4a02d02dbc74 SHA512 3e72440bcccfd3c1a449a62b7ff8623441256399a2bee0a39fa0a19694a5a78ac909c5c2128a24735bc034ea8b0811827293b480a2584a3a4c8ae36be9cf1fcd
40
41 diff --git a/net-misc/quagga/files/quagga-0.99.22.4-ipctl-forwarding.patch b/net-misc/quagga/files/quagga-0.99.22.4-ipctl-forwarding.patch
42 deleted file mode 100644
43 index f6b726b591f7..000000000000
44 --- a/net-misc/quagga/files/quagga-0.99.22.4-ipctl-forwarding.patch
45 +++ /dev/null
46 @@ -1,22 +0,0 @@
47 -Fix for missing definitions on some Hardened configurations
48 -Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=437292
49 -
50 -diff -Naur quagga-0.99.16.orig/zebra/ipforward_sysctl.c quagga-0.99.16/zebra/ipforward_sysctl.c
51 ---- quagga-0.99.16.orig/zebra/ipforward_sysctl.c 2010-03-11 12:11:32.000000000 -0500
52 -+++ quagga-0.99.16/zebra/ipforward_sysctl.c 2010-03-11 12:11:39.000000000 -0500
53 -@@ -31,6 +31,15 @@
54 -
55 - #define MIB_SIZ 4
56 -
57 -+/* Fix for recent (2.6.14) kernel headers */
58 -+#ifndef IPCTL_FORWARDING
59 -+ #define IPCTL_FORWARDING NET_IPV4_FORWARD
60 -+#endif
61 -+
62 -+#ifndef IP6CTL_FORWARDING
63 -+ #define IP6CTL_FORWARDING NET_IPV6_FORWARDING
64 -+#endif
65 -+
66 - extern struct zebra_privs_t zserv_privs;
67 -
68 - /* IPv4 forwarding control MIB. */
69
70 diff --git a/net-misc/quagga/files/quagga-services.init.3 b/net-misc/quagga/files/quagga-services.init.3
71 deleted file mode 100644
72 index e613b26abb03..000000000000
73 --- a/net-misc/quagga/files/quagga-services.init.3
74 +++ /dev/null
75 @@ -1,43 +0,0 @@
76 -#!/sbin/openrc-run
77 -# Copyright 1999-2013 Gentoo Foundation
78 -# Distributed under the terms of the GNU General Public License v2
79 -
80 -: ${CFGFILE:=/etc/quagga/${SVCNAME}.conf}
81 -
82 -pidfile=/run/quagga/${SVCNAME}.pid
83 -
84 -command=/usr/sbin/${SVCNAME}
85 -command_args="-d -f ${CFGFILE} ${EXTRA_OPTS} --pid_file ${pidfile}"
86 -
87 -get_service_config() {
88 - [ -e "$CFGFILE" ] || return
89 -
90 - awk '$1 == "'$1'" { s=$2 } END { print s }' "$CFGFILE"
91 -}
92 -
93 -depend() {
94 - config "$CFGFILE"
95 -
96 - [ ${SVCNAME} = "zebra" ] && need net || need zebra
97 -
98 - [ "$(get_service_config log)" = "syslog" ] && \
99 - use logger
100 -}
101 -
102 -start_pre() {
103 - if [ ! -e "${CFGFILE}" ] ; then
104 - eerror "Before starting ${SVCNAME} you have to configure it, by creating"
105 - eerror "a ${CFGFILE} file."
106 - eerror ""
107 - eerror "A sample file has been installed in `echo /usr/share/doc/quagga-*/samples/${SVCNAME}.conf.sample*`"
108 - return 1
109 - fi
110 -
111 - checkpath -d -m 0750 -o quagga:quagga /run/quagga
112 -
113 - if [ ${SVCNAME} = "zebra" ]; then
114 - ebegin "Cleaning up stale zebra routes..."
115 - ip route flush proto zebra
116 - eend $?
117 - fi
118 -}
119
120 diff --git a/net-misc/quagga/files/quagga.pam b/net-misc/quagga/files/quagga.pam
121 deleted file mode 100644
122 index 9a91ad852fbd..000000000000
123 --- a/net-misc/quagga/files/quagga.pam
124 +++ /dev/null
125 @@ -1,26 +0,0 @@
126 -#%PAM-1.0
127 -#
128 -
129 -##### if running quagga as root:
130 -# Only allow root (and possibly wheel) to use this because enable access
131 -# is unrestricted.
132 -auth sufficient pam_rootok.so
133 -
134 -# Uncomment the following line to implicitly trust users in the "wheel" group.
135 -#auth sufficient pam_wheel.so trust use_uid
136 -# Uncomment the following line to require a user to be in the "wheel" group.
137 -#auth required pam_wheel.so use_uid
138 -###########################################################
139 -
140 -# If using quagga privileges and with a seperate group for vty access, then
141 -# access can be controlled via the vty access group, and pam can simply
142 -# check for valid user/password, eg:
143 -#
144 -# only allow local users.
145 -#auth required pam_securetty.so
146 -#auth include system-auth
147 -#auth required pam_nologin.so
148 -#account include system-auth
149 -#password include system-auth
150 -#session include system-auth
151 -#session optional pam_console.so
152
153 diff --git a/net-misc/quagga/files/systemd/bgpd.service b/net-misc/quagga/files/systemd/bgpd.service
154 deleted file mode 100644
155 index f5db0b2510ec..000000000000
156 --- a/net-misc/quagga/files/systemd/bgpd.service
157 +++ /dev/null
158 @@ -1,16 +0,0 @@
159 -[Unit]
160 -Description=BGP routing daemon
161 -Documentation=man:bgpd(8) man:zebra(8)
162 -BindsTo=zebra.service
163 -After=network.target zebra.service
164 -ConditionPathExists=/etc/quagga/bgpd.conf
165 -
166 -[Service]
167 -Type=forking
168 -PIDFile=/run/quagga/bgpd.pid
169 -ExecStart=/usr/sbin/bgpd -d
170 -ExecReload=/bin/kill -HUP $MAINPID
171 -Restart=on-abort
172 -
173 -[Install]
174 -WantedBy=multi-user.target
175
176 diff --git a/net-misc/quagga/files/systemd/isisd.service b/net-misc/quagga/files/systemd/isisd.service
177 deleted file mode 100644
178 index 10eb0a8fe1d8..000000000000
179 --- a/net-misc/quagga/files/systemd/isisd.service
180 +++ /dev/null
181 @@ -1,16 +0,0 @@
182 -[Unit]
183 -Description=IS-IS routing daemon
184 -Documentation=man:isis(8) man:zebra(8)
185 -BindsTo=zebra.service
186 -After=network.target zebra.service
187 -ConditionPathExists=/etc/quagga/isisd.conf
188 -
189 -[Service]
190 -Type=forking
191 -PIDFile=/run/quagga/isisd.pid
192 -ExecStart=/usr/sbin/isisd -d
193 -ExecReload=/bin/kill -HUP $MAINPID
194 -Restart=on-abort
195 -
196 -[Install]
197 -WantedBy=multi-user.target
198
199 diff --git a/net-misc/quagga/files/systemd/nhrpd.service b/net-misc/quagga/files/systemd/nhrpd.service
200 deleted file mode 100644
201 index 1a93bae61b14..000000000000
202 --- a/net-misc/quagga/files/systemd/nhrpd.service
203 +++ /dev/null
204 @@ -1,16 +0,0 @@
205 -[Unit]
206 -Description=NHRP daemon
207 -Documentation=man:nhrpd(8) man:zebra(8)
208 -BindsTo=zebra.service
209 -After=network.target zebra.service
210 -ConditionPathExists=/etc/quagga/nhrpd.conf
211 -
212 -[Service]
213 -Type=forking
214 -PIDFile=/run/quagga/nhrpd.pid
215 -ExecStart=/usr/sbin/nhrpd -d
216 -ExecReload=/bin/kill -HUP $MAINPID
217 -Restart=on-abort
218 -
219 -[Install]
220 -WantedBy=multi-user.target
221
222 diff --git a/net-misc/quagga/files/systemd/ospf6d.service b/net-misc/quagga/files/systemd/ospf6d.service
223 deleted file mode 100644
224 index b6372d10d898..000000000000
225 --- a/net-misc/quagga/files/systemd/ospf6d.service
226 +++ /dev/null
227 @@ -1,16 +0,0 @@
228 -[Unit]
229 -Description=OSPF routing daemon for IPv6
230 -Documentation=man:ospfd(8) man:zebra(8)
231 -BindsTo=zebra.service
232 -After=network.target zebra.service
233 -ConditionPathExists=/etc/quagga/ospf6d.conf
234 -
235 -[Service]
236 -Type=forking
237 -PIDFile=/run/quagga/ospf6d.pid
238 -ExecStart=/usr/sbin/ospf6d -d
239 -ExecReload=/bin/kill -HUP $MAINPID
240 -Restart=on-abort
241 -
242 -[Install]
243 -WantedBy=multi-user.target
244
245 diff --git a/net-misc/quagga/files/systemd/ospfd.service b/net-misc/quagga/files/systemd/ospfd.service
246 deleted file mode 100644
247 index 310d219c0014..000000000000
248 --- a/net-misc/quagga/files/systemd/ospfd.service
249 +++ /dev/null
250 @@ -1,16 +0,0 @@
251 -[Unit]
252 -Description=OSPF routing daemon
253 -Documentation=man:ospfd(8) man:zebra(8)
254 -BindsTo=zebra.service
255 -After=network.target zebra.service
256 -ConditionPathExists=/etc/quagga/ospfd.conf
257 -
258 -[Service]
259 -Type=forking
260 -PIDFile=/run/quagga/ospfd.pid
261 -ExecStart=/usr/sbin/ospfd -d
262 -ExecReload=/bin/kill -HUP $MAINPID
263 -Restart=on-abort
264 -
265 -[Install]
266 -WantedBy=multi-user.target
267
268 diff --git a/net-misc/quagga/files/systemd/pimd.service b/net-misc/quagga/files/systemd/pimd.service
269 deleted file mode 100644
270 index d39f59696c51..000000000000
271 --- a/net-misc/quagga/files/systemd/pimd.service
272 +++ /dev/null
273 @@ -1,17 +0,0 @@
274 -[Unit]
275 -Description=PIM-SSM routing daemon
276 -Documentation=man:zebra(8)
277 -BindsTo=zebra.service
278 -After=network.target zebra.service
279 -ConditionPathExists=/etc/quagga/pimd.conf
280 -
281 -[Service]
282 -Type=forking
283 -PIDFile=/run/quagga/pimd.pid
284 -ExecStart=/usr/sbin/pimd -d
285 -ExecReload=/bin/kill -HUP $MAINPID
286 -SuccessExitStatus=1
287 -Restart=on-abort
288 -
289 -[Install]
290 -WantedBy=multi-user.target
291
292 diff --git a/net-misc/quagga/files/systemd/quagga.conf b/net-misc/quagga/files/systemd/quagga.conf
293 deleted file mode 100644
294 index 296083753e0a..000000000000
295 --- a/net-misc/quagga/files/systemd/quagga.conf
296 +++ /dev/null
297 @@ -1 +0,0 @@
298 -d /run/quagga 0750 quagga quagga
299
300 diff --git a/net-misc/quagga/files/systemd/ripd.service b/net-misc/quagga/files/systemd/ripd.service
301 deleted file mode 100644
302 index b2a74df47fb9..000000000000
303 --- a/net-misc/quagga/files/systemd/ripd.service
304 +++ /dev/null
305 @@ -1,16 +0,0 @@
306 -[Unit]
307 -Description=RIP routing daemon
308 -Documentation=man:ripd(8) man:zebra(8)
309 -BindsTo=zebra.service
310 -After=network.target zebra.service
311 -ConditionPathExists=/etc/quagga/ripd.conf
312 -
313 -[Service]
314 -Type=forking
315 -PIDFile=/run/quagga/ripd.pid
316 -ExecStart=/usr/sbin/ripd -d
317 -ExecReload=/bin/kill -HUP $MAINPID
318 -Restart=on-abort
319 -
320 -[Install]
321 -WantedBy=multi-user.target
322
323 diff --git a/net-misc/quagga/files/systemd/ripngd.service b/net-misc/quagga/files/systemd/ripngd.service
324 deleted file mode 100644
325 index 75c60d8395b5..000000000000
326 --- a/net-misc/quagga/files/systemd/ripngd.service
327 +++ /dev/null
328 @@ -1,16 +0,0 @@
329 -[Unit]
330 -Description=RIP routing daemon for IPv6
331 -Documentation=man:ripngd(8) man:zebra(8)
332 -BindsTo=zebra.service
333 -After=network.target zebra.service
334 -ConditionPathExists=/etc/quagga/ripngd.conf
335 -
336 -[Service]
337 -Type=forking
338 -PIDFile=/run/quagga/ripngd.pid
339 -ExecStart=/usr/sbin/ripngd -d
340 -ExecReload=/bin/kill -HUP $MAINPID
341 -Restart=on-abort
342 -
343 -[Install]
344 -WantedBy=multi-user.target
345
346 diff --git a/net-misc/quagga/files/systemd/zebra.service b/net-misc/quagga/files/systemd/zebra.service
347 deleted file mode 100644
348 index d2374411b459..000000000000
349 --- a/net-misc/quagga/files/systemd/zebra.service
350 +++ /dev/null
351 @@ -1,16 +0,0 @@
352 -[Unit]
353 -Description=GNU Zebra routing manager
354 -Documentation=man:zebra(8)
355 -After=network.target
356 -ConditionPathExists=/etc/quagga/zebra.conf
357 -
358 -[Service]
359 -Type=forking
360 -PIDFile=/run/quagga/zebra.pid
361 -ExecStartPre=/bin/ip route flush proto zebra
362 -ExecStart=/usr/sbin/zebra -d
363 -ExecReload=/bin/kill -HUP $MAINPID
364 -Restart=on-abort
365 -
366 -[Install]
367 -WantedBy=multi-user.target
368
369 diff --git a/net-misc/quagga/metadata.xml b/net-misc/quagga/metadata.xml
370 deleted file mode 100644
371 index b4781a230f1f..000000000000
372 --- a/net-misc/quagga/metadata.xml
373 +++ /dev/null
374 @@ -1,53 +0,0 @@
375 -<?xml version="1.0" encoding="UTF-8"?>
376 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
377 -<pkgmetadata>
378 - <maintainer type="person">
379 - <email>pinkbyte@g.o</email>
380 - <name>Sergey Popov</name>
381 - </maintainer>
382 - <longdescription>
383 - Quagga is a modern fork of Zebra. Quagga is a routing software package that provides TCP/IP
384 - based routing services with routing protocols support such as RIPv1, RIPv2, RIPng, OSPFv2,
385 - OSPFv3, BGP-4, and BGP-4+. Quagga also supports special BGP Route Reflector and Route Server
386 - behavior. In addition to traditional IPv4 routing protocols, Quagga also supports IPv6 routing
387 - protocols. With SNMP daemon which supports SMUX protocol, Quagga provides routing protocol
388 - MIBs. Furthermore Quagga supports OSPFAPI, a API interface to the OSPF LSDB. It supports
389 - inspection as well as injection of normal and opaque OSPF LSAs. Applications like SRRD - The
390 - Service Rounting Redundancy Daemon - can make use of OSPFAPI to inject opaque data into the OSPF
391 - routing domain. SRRD, for example, implements a cluster server by using the OSPFAPI to flood
392 - service state information into the routing domain
393 - </longdescription>
394 - <use>
395 - <flag name="bgpclassless">
396 - Apply unofficial patch to enable classless prefixes for BGP. Patch and information to be found
397 - at http://hasso.linux.ee/doku.php/english:network:quagga
398 - </flag>
399 - <flag name="fpm">
400 - Enable Forwarding Plane Manager support
401 - </flag>
402 - <flag name="multipath">
403 - Enable multipath routes support for any number of routes
404 - </flag>
405 - <flag name="nhrpd">
406 - Build Next Hop Resolution Protocol daemon
407 - </flag>
408 - <flag name="ospfapi">
409 - Enable OSPFAPI support for client applications accessing the OSPF link state database
410 - </flag>
411 - <flag name="pam">
412 - Add support for PAM (via <pkg>sys-libs/pam</pkg>) to the Quagga Virtual Terminal Interface
413 - Shell (vtysh); if the readline USE flag is disabled, this flag is ignored
414 - </flag>
415 - <flag name="protobuf">
416 - Enable support for <pkg>dev-libs/protobuf</pkg>
417 - </flag>
418 - <flag name="readline">
419 - Enable support for <pkg>sys-libs/readline</pkg> to provide the Quagga Virtual Terminal
420 - Interface Shell (vtysh)
421 - </flag>
422 - <flag name="tcp-zebra">
423 - Enable TCP zserv interface on port 2600 for Zebra/protocol-daemon communication. Unix domain
424 - sockets are chosen otherwise
425 - </flag>
426 - </use>
427 -</pkgmetadata>
428
429 diff --git a/net-misc/quagga/quagga-1.2.4-r2.ebuild b/net-misc/quagga/quagga-1.2.4-r2.ebuild
430 deleted file mode 100644
431 index a2be0d887b3d..000000000000
432 --- a/net-misc/quagga/quagga-1.2.4-r2.ebuild
433 +++ /dev/null
434 @@ -1,135 +0,0 @@
435 -# Copyright 1999-2021 Gentoo Authors
436 -# Distributed under the terms of the GNU General Public License v2
437 -
438 -EAPI=7
439 -
440 -CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
441 -
442 -inherit autotools flag-o-matic pam readme.gentoo-r1 systemd tmpfiles
443 -
444 -DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP"
445 -HOMEPAGE="https://www.quagga.net/"
446 -SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
447 - bgpclassless? ( http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
448 -
449 -LICENSE="GPL-2"
450 -SLOT="0"
451 -KEYWORDS="~alpha amd64 arm ~hppa ppc ~s390 sparc x86"
452 -
453 -IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam protobuf +readline snmp tcp-zebra test"
454 -RESTRICT="!test? ( test )"
455 -
456 -COMMON_DEPEND="
457 - acct-group/quagga
458 - acct-user/quagga
459 - virtual/libcrypt:=
460 - caps? ( sys-libs/libcap )
461 - nhrpd? ( net-dns/c-ares:0= )
462 - protobuf? ( dev-libs/protobuf-c:0= )
463 - readline? (
464 - sys-libs/readline:0=
465 - pam? ( sys-libs/pam )
466 - )
467 - snmp? ( net-analyzer/net-snmp:= )
468 - !elibc_glibc? ( dev-libs/libpcre )"
469 -DEPEND="${COMMON_DEPEND}
470 - sys-apps/gawk
471 - sys-devel/libtool:2
472 - test? ( dev-util/dejagnu )"
473 -RDEPEND="${COMMON_DEPEND}
474 - sys-apps/iproute2"
475 -
476 -PATCHES=(
477 - "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
478 -)
479 -
480 -DISABLE_AUTOFORMATTING=1
481 -DOC_CONTENTS="Sample configuration files can be found in /usr/share/doc/${PF}/samples
482 -You have to create config files in /etc/quagga before
483 -starting one of the daemons.
484 -
485 -You can pass additional options to the daemon by setting the EXTRA_OPTS
486 -variable in their respective file in /etc/conf.d"
487 -
488 -src_prepare() {
489 - # Classless prefixes for BGP
490 - # http://hasso.linux.ee/doku.php/english:network:quagga
491 - use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
492 -
493 - eapply "${PATCHES[@]}"
494 - eapply_user
495 - eautoreconf
496 -}
497 -
498 -src_configure() {
499 - # -fcommon is added as a workaround for bug #707422
500 - append-flags -fno-strict-aliasing -fcommon
501 -
502 - # do not build PDF docs
503 - export ac_cv_prog_PDFLATEX=no
504 - export ac_cv_prog_LATEXMK=no
505 -
506 - econf \
507 - --enable-exampledir=/usr/share/doc/${PF}/samples \
508 - --enable-irdp \
509 - --enable-isisd \
510 - --enable-isis-topology \
511 - --enable-pimd \
512 - --enable-user=quagga \
513 - --enable-group=quagga \
514 - --enable-vty-group=quagga \
515 - --with-cflags="${CFLAGS}" \
516 - --with-pkg-extra-version="-gentoo" \
517 - --sysconfdir=/etc/quagga \
518 - --localstatedir=/run/quagga \
519 - --disable-static \
520 - $(use_enable caps capabilities) \
521 - $(usex snmp '--enable-snmp' '' '' '') \
522 - $(use_enable !elibc_glibc pcreposix) \
523 - $(use_enable fpm) \
524 - $(use_enable tcp-zebra) \
525 - $(use_enable doc) \
526 - $(usex multipath $(use_enable multipath) '' '=0' '') \
527 - $(usex ospfapi '--enable-ospfclient' '' '' '') \
528 - $(use_enable readline vtysh) \
529 - $(use_with pam libpam) \
530 - $(use_enable nhrpd) \
531 - $(use_enable protobuf) \
532 - $(use_enable ipv6 ripngd) \
533 - $(use_enable ipv6 ospf6d) \
534 - $(use_enable ipv6 rtadv)
535 -}
536 -
537 -src_install() {
538 - default
539 - find "${D}" -name '*.la' -delete || die
540 - readme.gentoo_create_doc
541 -
542 - keepdir /etc/quagga
543 - fowners root:quagga /etc/quagga
544 - fperms 0770 /etc/quagga
545 -
546 - # Install systemd-related stuff, bug #553136
547 - dotmpfiles "${FILESDIR}/systemd/quagga.conf"
548 - systemd_dounit "${FILESDIR}/systemd/zebra.service"
549 -
550 - # install zebra as a file, symlink the rest
551 - newinitd "${FILESDIR}"/quagga-services.init.3 zebra
552 -
553 - for service in bgpd isisd ospfd pimd ripd $(use ipv6 && echo ospf6d ripngd) $(use nhrpd && echo nhrpd); do
554 - dosym zebra /etc/init.d/${service}
555 - systemd_dounit "${FILESDIR}/systemd/${service}.service"
556 - done
557 -
558 - use readline && use pam && newpamd "${FILESDIR}/quagga.pam" quagga
559 -
560 - insinto /etc/logrotate.d
561 - newins redhat/quagga.logrotate quagga
562 -}
563 -
564 -pkg_postinst() {
565 - # Path for PIDs before first reboot should be created here, bug #558194
566 - tmpfiles_process quagga.conf
567 -
568 - readme.gentoo_print_elog
569 -}
570
571 diff --git a/profiles/package.mask b/profiles/package.mask
572 index aac1d562be1b..c9a7f61eb738 100644
573 --- a/profiles/package.mask
574 +++ b/profiles/package.mask
575 @@ -362,13 +362,6 @@ dev-tex/pdfannotextractor
576 # Removal in 30 days. Bug #756925
577 app-text/dbacl
578
579 -# Sergey Popov <pinkbyte@g.o> (2021-11-22)
580 -# Upstream is pretty much dead
581 -# Has at least one security issue - bug #825358
582 -# Replaced by net-misc/frr
583 -# Removal in 30 days
584 -net-misc/quagga
585 -
586 # Stephan Hartmann <sultan@g.o> (2021-11-22)
587 # Dev channel releases are only for people who
588 # are developers or want more experimental features