summaryrefslogtreecommitdiff
path: root/net-misc/quagga
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/quagga')
-rw-r--r--net-misc/quagga/Manifest17
-rw-r--r--net-misc/quagga/files/quagga-0.99.22.4-ipctl-forwarding.patch22
-rw-r--r--net-misc/quagga/files/quagga-services.init.343
-rw-r--r--net-misc/quagga/files/quagga.pam26
-rw-r--r--net-misc/quagga/files/systemd/bgpd.service16
-rw-r--r--net-misc/quagga/files/systemd/isisd.service16
-rw-r--r--net-misc/quagga/files/systemd/nhrpd.service16
-rw-r--r--net-misc/quagga/files/systemd/ospf6d.service16
-rw-r--r--net-misc/quagga/files/systemd/ospfd.service16
-rw-r--r--net-misc/quagga/files/systemd/pimd.service17
-rw-r--r--net-misc/quagga/files/systemd/quagga.conf1
-rw-r--r--net-misc/quagga/files/systemd/ripd.service16
-rw-r--r--net-misc/quagga/files/systemd/ripngd.service16
-rw-r--r--net-misc/quagga/files/systemd/zebra.service16
-rw-r--r--net-misc/quagga/metadata.xml53
-rw-r--r--net-misc/quagga/quagga-1.2.4-r2.ebuild135
16 files changed, 0 insertions, 442 deletions
diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
deleted file mode 100644
index 8f61e7a9661b..000000000000
--- a/net-misc/quagga/Manifest
+++ /dev/null
@@ -1,17 +0,0 @@
-AUX quagga-0.99.22.4-ipctl-forwarding.patch 731 BLAKE2B 9c97d7fdc7b7facb59a73f4b693c285ebd91cb0ba8f7fea0ef49d5eddd8660100315ca7d74ece8d553cdd8ad79a9a0b1a4c173c6dedf90e0be2bdc72d948b2be SHA512 56bdeb8a1f350fea3ad8ed0cdba28964b00384878853e584746d8ce80c6f9ea5ca5adc4539e314f7fd82203c08d5f2ce6adeec61dac9a7a28282131d0d371447
-AUX quagga-services.init.3 1072 BLAKE2B b4c3c8d6399c6c60cedfffad65f3cde56a46c9b97a62b04709660c9ff9023dd4254e7d5c78c9672bcd83c678c57c921605afbaaf9961df94d5e00abd7bb00211 SHA512 03ce5cf77612ece73d3df85c6afa747dab479949299458b5c6f59dcf778b60314fd0a9c7987be289cc0b8363dcc6e337ab5309e0a86f716208ddfc5f12b8a4b3
-AUX quagga.pam 975 BLAKE2B 71fba18cca8f1a12399556f8247a04e9a1750ef178092c6066c3f93383baff25ddfa9aae495ab20a5d068586bcc6032dde31c590aebdc639e8ad7681e0b56417 SHA512 92dc6c68146d46046c6f5ff410629a2a7170e81e9657b7a2aebe1d94c8fa267acdcac9d8d8596fb54dbbacc0566502e82d900ea33f8824c07fba497b7e0f1efe
-AUX systemd/bgpd.service 347 BLAKE2B 96902e15c0d8cc6f800f31abe085b8447f7607fe1322f181fb251da18bc3ebdf371fe38f285e2d973f63881e18efa647812b0fc89b4a798903f1d3fabbf5e3c5 SHA512 dfefd7b758fd41ccaeb024c0ba4f08400086e05f44c1985cb387d0dfb0c0e19844879b49f84c350282e0d5d56dd1c65c8ac33f65e06543a20aacdfbba593606b
-AUX systemd/isisd.service 352 BLAKE2B 8f2ebb0441e994dd70e637fcf6bec6c06a270a1eb428019efab2b937292eaa3eb0fbe521817bee2c91e8583492ab6d692adbe8240ba534a8089933ee2ca9189c SHA512 28c054986c9171f960663056d3058c46c81270a0cb14c356d31deb1e77ef44e710535ec402773fc44191b449eae3367411ee6344386069fda9ac150c6c715713
-AUX systemd/nhrpd.service 344 BLAKE2B 6fabe5c537b5c2d8dc683f84575cae1d3620e5e48bb394be9f9b35d545a48ac1afaaf1085f39f3c96614557b7f5d60a60a4d3b4a70c00107d1a265508b524940 SHA512 d289853f3dfca5f6de2a24935fbcd13018938e8d6614dd4eeb127b5085e6a772b0af2e8f15786c309d515b998fc7f49edd159d47e4fb7686029167775bca2635
-AUX systemd/ospf6d.service 364 BLAKE2B f3567f74e5eb5a1884038c8b186d2b1ec68bfae5383970cfc36cb949e734c23ec24b9543aa93603b61312b63b5f7704de0b391405e45a2358fb8b3250b286457 SHA512 379f72ec275329a715c0e4b044cbdeae8f51e06b3ed8eb1bf643163ab824a9539c6a1b0d6521cea6585eca58fbf8bd3fa153ef62936c14c06fad48395e7103ac
-AUX systemd/ospfd.service 352 BLAKE2B f752e08d2d1f76114dd19f5d2f159ef5fdb202dd5af4b3337dfd1780f811f6bc39d3e9c853a4af11441e9c484caa3b07ee6845a49e36166df81d8be50e946d8d SHA512 48fff984c5ac6e446fcf77307645258df881e194869aeff4d145233bb1306e422e7964f9043d244cd3bfcf9fe4cb2ebf117f562c564c847138ef32e070c50a85
-AUX systemd/pimd.service 359 BLAKE2B 0574421bb2db4248ee4506d64ef7116272180266db27763b0e18f315ad74a428f0a7b69db2e783fdecb186f79c1d9fa0b17792b349fc6c0af4880451418baf3a SHA512 fc0d6dbf746c3fd95cf82be44415c456559596c03460c9975f957591b0d647cdf6968fe16091673114306f3dcdfce9fc401a053d8bf8f00b67b3957512b26640
-AUX systemd/quagga.conf 33 BLAKE2B 58926119e2e5fe2050c33e598c9a6ef30f792d2c31b98f5a157e42da4bc176db897ecceee2999cbdcab32eb0d0f1434d84f51970fe96c45a557f892df5843f96 SHA512 78effd7fe5ddd0187dc6e110ac2550001e24e803423ece7332e7dae0f83fde2d897aafe18665c64a15e2c1747b347d8eb9c99c8b95f16348deffca454a79ad8a
-AUX systemd/ripd.service 347 BLAKE2B eaca725f889ad7689ba246ecbc20aa78314cc60a5a7d648ed3196afc2272fa0b968b0de088b7e34087d08d25ea053c0756e9cf9d35b358818c8639a4e0ec5d44 SHA512 4251609529c0fe7b8cee1191eae3d13ae1813d5d9544d2844df7e135f341f84cfd2192e6331bb2642da3637f7dd2ec29ffa93df918ecc1e071cfb45802ceabee
-AUX systemd/ripngd.service 364 BLAKE2B e79e086c0bbe3ceb12fadc711a1c88a34034780807d6abc63cad390854140835ab477b7203b8c492baae297f7fbe3085791944d1b2db2a737930c1bf36a81465 SHA512 ccfd048152896ee7ebdc434554a080b8ba36444d4de1cd11b5d2408cddfeb2ea1312962460b9a761d1a2db31dd5e72cadddf1807f9783ac1c2a51fd52c85ad54
-AUX systemd/zebra.service 354 BLAKE2B e22f8e321c5116179937e9c681482e779436092a10548ea4e564a0005f102a8d6dbba17fe5ef2a3952752f1ca6b1539841ccfee25b4a7b03b9e9faca1618004b SHA512 d02a801a421c143cefb63abc3448b162505fb9063130523f939f1e6ad33c4b39f113d00e6d0c4ea7f53616fffa1aa2333bf33660b5ccb4d7fd9d4f048c5a979a
-DIST ht-20040304-classless-bgp.patch 1581 BLAKE2B 64df9a86c235c4f6d35be0f19fe1b056958ae2fa28bd2e9e8d9902e569a8f9a2925ba45396bb92e345bfcaf8ca1ef9136a433c615a5bd12a279e7c062939549a SHA512 3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
-DIST quagga-1.2.4.tar.gz 2925847 BLAKE2B e0e8d8b8e2243bc5cecc2e66d26040780f839414a16fb8a719d25a6fe1c29dc8545a92700a3758100715e1efb3d874584903885af51ef9f5d88c4a02d02dbc74 SHA512 3e72440bcccfd3c1a449a62b7ff8623441256399a2bee0a39fa0a19694a5a78ac909c5c2128a24735bc034ea8b0811827293b480a2584a3a4c8ae36be9cf1fcd
-EBUILD quagga-1.2.4-r2.ebuild 3749 BLAKE2B c74664cb99e99f230728675a454452b629b93942c9f249e03977d43ae9e9456618351641750ab58bd104c633aaed3003b99eb5edea4df971239e7ff56bb1f0fb SHA512 19591d2a01f07b798ea900ac63ef7c9b52ee3194b542baa4d1437011efb78c4895571cae372c3a15bdff8bdcf0446e383de767ac1f9c97f9cbe04d59cb6330e8
-MISC metadata.xml 2376 BLAKE2B 645ca93c56f216ddfca8d0642c2191e38aeaa911fdc42f20b23786899f728da4ae6d148fb5c71d7ca29579c37be74cf8e8c83da6f3372a69bb29b1df93188b04 SHA512 ed9a49432cd75f68007f5bc29077861dc95432977972c801e6fb84976a0611d2d253dd8edd71e64325eff43ae77b66898104dbff230c7015f971a12fcb19b6e4
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
deleted file mode 100644
index f6b726b591f7..000000000000
--- a/net-misc/quagga/files/quagga-0.99.22.4-ipctl-forwarding.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Fix for missing definitions on some Hardened configurations
-Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=437292
-
-diff -Naur quagga-0.99.16.orig/zebra/ipforward_sysctl.c quagga-0.99.16/zebra/ipforward_sysctl.c
---- quagga-0.99.16.orig/zebra/ipforward_sysctl.c 2010-03-11 12:11:32.000000000 -0500
-+++ quagga-0.99.16/zebra/ipforward_sysctl.c 2010-03-11 12:11:39.000000000 -0500
-@@ -31,6 +31,15 @@
-
- #define MIB_SIZ 4
-
-+/* Fix for recent (2.6.14) kernel headers */
-+#ifndef IPCTL_FORWARDING
-+ #define IPCTL_FORWARDING NET_IPV4_FORWARD
-+#endif
-+
-+#ifndef IP6CTL_FORWARDING
-+ #define IP6CTL_FORWARDING NET_IPV6_FORWARDING
-+#endif
-+
- extern struct zebra_privs_t zserv_privs;
-
- /* IPv4 forwarding control MIB. */
diff --git a/net-misc/quagga/files/quagga-services.init.3 b/net-misc/quagga/files/quagga-services.init.3
deleted file mode 100644
index e613b26abb03..000000000000
--- a/net-misc/quagga/files/quagga-services.init.3
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-: ${CFGFILE:=/etc/quagga/${SVCNAME}.conf}
-
-pidfile=/run/quagga/${SVCNAME}.pid
-
-command=/usr/sbin/${SVCNAME}
-command_args="-d -f ${CFGFILE} ${EXTRA_OPTS} --pid_file ${pidfile}"
-
-get_service_config() {
- [ -e "$CFGFILE" ] || return
-
- awk '$1 == "'$1'" { s=$2 } END { print s }' "$CFGFILE"
-}
-
-depend() {
- config "$CFGFILE"
-
- [ ${SVCNAME} = "zebra" ] && need net || need zebra
-
- [ "$(get_service_config log)" = "syslog" ] && \
- use logger
-}
-
-start_pre() {
- if [ ! -e "${CFGFILE}" ] ; then
- eerror "Before starting ${SVCNAME} you have to configure it, by creating"
- eerror "a ${CFGFILE} file."
- eerror ""
- eerror "A sample file has been installed in `echo /usr/share/doc/quagga-*/samples/${SVCNAME}.conf.sample*`"
- return 1
- fi
-
- checkpath -d -m 0750 -o quagga:quagga /run/quagga
-
- if [ ${SVCNAME} = "zebra" ]; then
- ebegin "Cleaning up stale zebra routes..."
- ip route flush proto zebra
- eend $?
- fi
-}
diff --git a/net-misc/quagga/files/quagga.pam b/net-misc/quagga/files/quagga.pam
deleted file mode 100644
index 9a91ad852fbd..000000000000
--- a/net-misc/quagga/files/quagga.pam
+++ /dev/null
@@ -1,26 +0,0 @@
-#%PAM-1.0
-#
-
-##### if running quagga as root:
-# Only allow root (and possibly wheel) to use this because enable access
-# is unrestricted.
-auth sufficient pam_rootok.so
-
-# Uncomment the following line to implicitly trust users in the "wheel" group.
-#auth sufficient pam_wheel.so trust use_uid
-# Uncomment the following line to require a user to be in the "wheel" group.
-#auth required pam_wheel.so use_uid
-###########################################################
-
-# If using quagga privileges and with a seperate group for vty access, then
-# access can be controlled via the vty access group, and pam can simply
-# check for valid user/password, eg:
-#
-# only allow local users.
-#auth required pam_securetty.so
-#auth include system-auth
-#auth required pam_nologin.so
-#account include system-auth
-#password include system-auth
-#session include system-auth
-#session optional pam_console.so
diff --git a/net-misc/quagga/files/systemd/bgpd.service b/net-misc/quagga/files/systemd/bgpd.service
deleted file mode 100644
index f5db0b2510ec..000000000000
--- a/net-misc/quagga/files/systemd/bgpd.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=BGP routing daemon
-Documentation=man:bgpd(8) man:zebra(8)
-BindsTo=zebra.service
-After=network.target zebra.service
-ConditionPathExists=/etc/quagga/bgpd.conf
-
-[Service]
-Type=forking
-PIDFile=/run/quagga/bgpd.pid
-ExecStart=/usr/sbin/bgpd -d
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-misc/quagga/files/systemd/isisd.service b/net-misc/quagga/files/systemd/isisd.service
deleted file mode 100644
index 10eb0a8fe1d8..000000000000
--- a/net-misc/quagga/files/systemd/isisd.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=IS-IS routing daemon
-Documentation=man:isis(8) man:zebra(8)
-BindsTo=zebra.service
-After=network.target zebra.service
-ConditionPathExists=/etc/quagga/isisd.conf
-
-[Service]
-Type=forking
-PIDFile=/run/quagga/isisd.pid
-ExecStart=/usr/sbin/isisd -d
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-misc/quagga/files/systemd/nhrpd.service b/net-misc/quagga/files/systemd/nhrpd.service
deleted file mode 100644
index 1a93bae61b14..000000000000
--- a/net-misc/quagga/files/systemd/nhrpd.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=NHRP daemon
-Documentation=man:nhrpd(8) man:zebra(8)
-BindsTo=zebra.service
-After=network.target zebra.service
-ConditionPathExists=/etc/quagga/nhrpd.conf
-
-[Service]
-Type=forking
-PIDFile=/run/quagga/nhrpd.pid
-ExecStart=/usr/sbin/nhrpd -d
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-misc/quagga/files/systemd/ospf6d.service b/net-misc/quagga/files/systemd/ospf6d.service
deleted file mode 100644
index b6372d10d898..000000000000
--- a/net-misc/quagga/files/systemd/ospf6d.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=OSPF routing daemon for IPv6
-Documentation=man:ospfd(8) man:zebra(8)
-BindsTo=zebra.service
-After=network.target zebra.service
-ConditionPathExists=/etc/quagga/ospf6d.conf
-
-[Service]
-Type=forking
-PIDFile=/run/quagga/ospf6d.pid
-ExecStart=/usr/sbin/ospf6d -d
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-misc/quagga/files/systemd/ospfd.service b/net-misc/quagga/files/systemd/ospfd.service
deleted file mode 100644
index 310d219c0014..000000000000
--- a/net-misc/quagga/files/systemd/ospfd.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=OSPF routing daemon
-Documentation=man:ospfd(8) man:zebra(8)
-BindsTo=zebra.service
-After=network.target zebra.service
-ConditionPathExists=/etc/quagga/ospfd.conf
-
-[Service]
-Type=forking
-PIDFile=/run/quagga/ospfd.pid
-ExecStart=/usr/sbin/ospfd -d
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-misc/quagga/files/systemd/pimd.service b/net-misc/quagga/files/systemd/pimd.service
deleted file mode 100644
index d39f59696c51..000000000000
--- a/net-misc/quagga/files/systemd/pimd.service
+++ /dev/null
@@ -1,17 +0,0 @@
-[Unit]
-Description=PIM-SSM routing daemon
-Documentation=man:zebra(8)
-BindsTo=zebra.service
-After=network.target zebra.service
-ConditionPathExists=/etc/quagga/pimd.conf
-
-[Service]
-Type=forking
-PIDFile=/run/quagga/pimd.pid
-ExecStart=/usr/sbin/pimd -d
-ExecReload=/bin/kill -HUP $MAINPID
-SuccessExitStatus=1
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-misc/quagga/files/systemd/quagga.conf b/net-misc/quagga/files/systemd/quagga.conf
deleted file mode 100644
index 296083753e0a..000000000000
--- a/net-misc/quagga/files/systemd/quagga.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /run/quagga 0750 quagga quagga
diff --git a/net-misc/quagga/files/systemd/ripd.service b/net-misc/quagga/files/systemd/ripd.service
deleted file mode 100644
index b2a74df47fb9..000000000000
--- a/net-misc/quagga/files/systemd/ripd.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=RIP routing daemon
-Documentation=man:ripd(8) man:zebra(8)
-BindsTo=zebra.service
-After=network.target zebra.service
-ConditionPathExists=/etc/quagga/ripd.conf
-
-[Service]
-Type=forking
-PIDFile=/run/quagga/ripd.pid
-ExecStart=/usr/sbin/ripd -d
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-misc/quagga/files/systemd/ripngd.service b/net-misc/quagga/files/systemd/ripngd.service
deleted file mode 100644
index 75c60d8395b5..000000000000
--- a/net-misc/quagga/files/systemd/ripngd.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=RIP routing daemon for IPv6
-Documentation=man:ripngd(8) man:zebra(8)
-BindsTo=zebra.service
-After=network.target zebra.service
-ConditionPathExists=/etc/quagga/ripngd.conf
-
-[Service]
-Type=forking
-PIDFile=/run/quagga/ripngd.pid
-ExecStart=/usr/sbin/ripngd -d
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-misc/quagga/files/systemd/zebra.service b/net-misc/quagga/files/systemd/zebra.service
deleted file mode 100644
index d2374411b459..000000000000
--- a/net-misc/quagga/files/systemd/zebra.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=GNU Zebra routing manager
-Documentation=man:zebra(8)
-After=network.target
-ConditionPathExists=/etc/quagga/zebra.conf
-
-[Service]
-Type=forking
-PIDFile=/run/quagga/zebra.pid
-ExecStartPre=/bin/ip route flush proto zebra
-ExecStart=/usr/sbin/zebra -d
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-misc/quagga/metadata.xml b/net-misc/quagga/metadata.xml
deleted file mode 100644
index b4781a230f1f..000000000000
--- a/net-misc/quagga/metadata.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>pinkbyte@gentoo.org</email>
- <name>Sergey Popov</name>
- </maintainer>
- <longdescription>
- Quagga is a modern fork of Zebra. Quagga is a routing software package that provides TCP/IP
- based routing services with routing protocols support such as RIPv1, RIPv2, RIPng, OSPFv2,
- OSPFv3, BGP-4, and BGP-4+. Quagga also supports special BGP Route Reflector and Route Server
- behavior. In addition to traditional IPv4 routing protocols, Quagga also supports IPv6 routing
- protocols. With SNMP daemon which supports SMUX protocol, Quagga provides routing protocol
- MIBs. Furthermore Quagga supports OSPFAPI, a API interface to the OSPF LSDB. It supports
- inspection as well as injection of normal and opaque OSPF LSAs. Applications like SRRD - The
- Service Rounting Redundancy Daemon - can make use of OSPFAPI to inject opaque data into the OSPF
- routing domain. SRRD, for example, implements a cluster server by using the OSPFAPI to flood
- service state information into the routing domain
- </longdescription>
- <use>
- <flag name="bgpclassless">
- Apply unofficial patch to enable classless prefixes for BGP. Patch and information to be found
- at http://hasso.linux.ee/doku.php/english:network:quagga
- </flag>
- <flag name="fpm">
- Enable Forwarding Plane Manager support
- </flag>
- <flag name="multipath">
- Enable multipath routes support for any number of routes
- </flag>
- <flag name="nhrpd">
- Build Next Hop Resolution Protocol daemon
- </flag>
- <flag name="ospfapi">
- Enable OSPFAPI support for client applications accessing the OSPF link state database
- </flag>
- <flag name="pam">
- Add support for PAM (via <pkg>sys-libs/pam</pkg>) to the Quagga Virtual Terminal Interface
- Shell (vtysh); if the readline USE flag is disabled, this flag is ignored
- </flag>
- <flag name="protobuf">
- Enable support for <pkg>dev-libs/protobuf</pkg>
- </flag>
- <flag name="readline">
- Enable support for <pkg>sys-libs/readline</pkg> to provide the Quagga Virtual Terminal
- Interface Shell (vtysh)
- </flag>
- <flag name="tcp-zebra">
- Enable TCP zserv interface on port 2600 for Zebra/protocol-daemon communication. Unix domain
- sockets are chosen otherwise
- </flag>
- </use>
-</pkgmetadata>
diff --git a/net-misc/quagga/quagga-1.2.4-r2.ebuild b/net-misc/quagga/quagga-1.2.4-r2.ebuild
deleted file mode 100644
index a2be0d887b3d..000000000000
--- a/net-misc/quagga/quagga-1.2.4-r2.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
-
-inherit autotools flag-o-matic pam readme.gentoo-r1 systemd tmpfiles
-
-DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP"
-HOMEPAGE="https://www.quagga.net/"
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
- bgpclassless? ( http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ppc ~s390 sparc x86"
-
-IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam protobuf +readline snmp tcp-zebra test"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
- acct-group/quagga
- acct-user/quagga
- virtual/libcrypt:=
- caps? ( sys-libs/libcap )
- nhrpd? ( net-dns/c-ares:0= )
- protobuf? ( dev-libs/protobuf-c:0= )
- readline? (
- sys-libs/readline:0=
- pam? ( sys-libs/pam )
- )
- snmp? ( net-analyzer/net-snmp:= )
- !elibc_glibc? ( dev-libs/libpcre )"
-DEPEND="${COMMON_DEPEND}
- sys-apps/gawk
- sys-devel/libtool:2
- test? ( dev-util/dejagnu )"
-RDEPEND="${COMMON_DEPEND}
- sys-apps/iproute2"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
-)
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="Sample configuration files can be found in /usr/share/doc/${PF}/samples
-You have to create config files in /etc/quagga before
-starting one of the daemons.
-
-You can pass additional options to the daemon by setting the EXTRA_OPTS
-variable in their respective file in /etc/conf.d"
-
-src_prepare() {
- # Classless prefixes for BGP
- # http://hasso.linux.ee/doku.php/english:network:quagga
- use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
-
- eapply "${PATCHES[@]}"
- eapply_user
- eautoreconf
-}
-
-src_configure() {
- # -fcommon is added as a workaround for bug #707422
- append-flags -fno-strict-aliasing -fcommon
-
- # do not build PDF docs
- export ac_cv_prog_PDFLATEX=no
- export ac_cv_prog_LATEXMK=no
-
- econf \
- --enable-exampledir=/usr/share/doc/${PF}/samples \
- --enable-irdp \
- --enable-isisd \
- --enable-isis-topology \
- --enable-pimd \
- --enable-user=quagga \
- --enable-group=quagga \
- --enable-vty-group=quagga \
- --with-cflags="${CFLAGS}" \
- --with-pkg-extra-version="-gentoo" \
- --sysconfdir=/etc/quagga \
- --localstatedir=/run/quagga \
- --disable-static \
- $(use_enable caps capabilities) \
- $(usex snmp '--enable-snmp' '' '' '') \
- $(use_enable !elibc_glibc pcreposix) \
- $(use_enable fpm) \
- $(use_enable tcp-zebra) \
- $(use_enable doc) \
- $(usex multipath $(use_enable multipath) '' '=0' '') \
- $(usex ospfapi '--enable-ospfclient' '' '' '') \
- $(use_enable readline vtysh) \
- $(use_with pam libpam) \
- $(use_enable nhrpd) \
- $(use_enable protobuf) \
- $(use_enable ipv6 ripngd) \
- $(use_enable ipv6 ospf6d) \
- $(use_enable ipv6 rtadv)
-}
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die
- readme.gentoo_create_doc
-
- keepdir /etc/quagga
- fowners root:quagga /etc/quagga
- fperms 0770 /etc/quagga
-
- # Install systemd-related stuff, bug #553136
- dotmpfiles "${FILESDIR}/systemd/quagga.conf"
- systemd_dounit "${FILESDIR}/systemd/zebra.service"
-
- # install zebra as a file, symlink the rest
- newinitd "${FILESDIR}"/quagga-services.init.3 zebra
-
- for service in bgpd isisd ospfd pimd ripd $(use ipv6 && echo ospf6d ripngd) $(use nhrpd && echo nhrpd); do
- dosym zebra /etc/init.d/${service}
- systemd_dounit "${FILESDIR}/systemd/${service}.service"
- done
-
- use readline && use pam && newpamd "${FILESDIR}/quagga.pam" quagga
-
- insinto /etc/logrotate.d
- newins redhat/quagga.logrotate quagga
-}
-
-pkg_postinst() {
- # Path for PIDs before first reboot should be created here, bug #558194
- tmpfiles_process quagga.conf
-
- readme.gentoo_print_elog
-}