1 |
commit: 3c699095ef5426ffe636269bd259c6aa63d02b70 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 12 08:02:53 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 12 08:04:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c699095 |
7 |
|
8 |
net-misc/frr: Remove old 8.0 |
9 |
|
10 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 |
|
12 |
net-misc/frr/Manifest | 1 - |
13 |
net-misc/frr/files/frr-8.0-c-ares.patch | 19 ---- |
14 |
net-misc/frr/frr-8.0.ebuild | 150 -------------------------------- |
15 |
3 files changed, 170 deletions(-) |
16 |
|
17 |
diff --git a/net-misc/frr/Manifest b/net-misc/frr/Manifest |
18 |
index 0d77ca8d5aa..e9a0e78de4d 100644 |
19 |
--- a/net-misc/frr/Manifest |
20 |
+++ b/net-misc/frr/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
DIST frr-8.0.1.tar.gz 8206852 BLAKE2B ed23f62457877fb3173977e1b7092c808adc5d5bd9b1d83747ac42573117adc38865abd1e722073532800f543978e5d67ba7c88416a4335c72bd6b8a3045ff5a SHA512 d9a9ee3b40bf0271779765447c67da817551b5bf2d5d1e9f8073fb4596c622e013fbf7316ca39087db7b7f478b18d07f1fd06f1778abde2734c83112573d5f8f |
23 |
-DIST frr-8.0.tar.gz 8195258 BLAKE2B 75d8d4410a5377dae3bf6938c3b095b163ad87776420a16c07d461bb3f635d623de642fa0ae483094788369c9dc6a04d5424107bf60c848ac54756c4bdb20c97 SHA512 fdf1e68c16e266a74221fb194851ef47c888e90324de2e42a4ca68b9dbce1ba6f45d73b9830bdb17774ecdde736111fa562201a5763c49092b6ce1f0a4d4865a |
24 |
|
25 |
diff --git a/net-misc/frr/files/frr-8.0-c-ares.patch b/net-misc/frr/files/frr-8.0-c-ares.patch |
26 |
deleted file mode 100644 |
27 |
index c313006e863..00000000000 |
28 |
--- a/net-misc/frr/files/frr-8.0-c-ares.patch |
29 |
+++ /dev/null |
30 |
@@ -1,19 +0,0 @@ |
31 |
-https://bugs.gentoo.org/809728 |
32 |
---- a/lib/subdir.am |
33 |
-+++ b/lib/subdir.am |
34 |
-@@ -144,7 +144,6 @@ vtysh_scan += \ |
35 |
- lib/log_vty.c \ |
36 |
- lib/nexthop_group.c \ |
37 |
- lib/plist.c \ |
38 |
-- lib/resolver.c \ |
39 |
- lib/routemap.c \ |
40 |
- lib/routemap_cli.c \ |
41 |
- lib/spf_backoff.c \ |
42 |
-@@ -333,6 +332,7 @@ lib_libfrrsnmp_la_SOURCES = \ |
43 |
- if CARES |
44 |
- lib_LTLIBRARIES += lib/libfrrcares.la |
45 |
- pkginclude_HEADERS += lib/resolver.h |
46 |
-+vtysh_scan += lib/resolver.c |
47 |
- endif |
48 |
- |
49 |
- lib_libfrrcares_la_CFLAGS = $(AM_CFLAGS) $(CARES_CFLAGS) |
50 |
|
51 |
diff --git a/net-misc/frr/frr-8.0.ebuild b/net-misc/frr/frr-8.0.ebuild |
52 |
deleted file mode 100644 |
53 |
index 6343f0f45e3..00000000000 |
54 |
--- a/net-misc/frr/frr-8.0.ebuild |
55 |
+++ /dev/null |
56 |
@@ -1,150 +0,0 @@ |
57 |
-# Copyright 2020-2021 Gentoo Authors |
58 |
-# Distributed under the terms of the GNU General Public License v2 |
59 |
- |
60 |
-EAPI=7 |
61 |
- |
62 |
-PYTHON_COMPAT=( python3_{8..10} ) |
63 |
-inherit autotools pam python-single-r1 systemd |
64 |
- |
65 |
-DESCRIPTION="The FRRouting Protocol Suite" |
66 |
-HOMEPAGE="https://frrouting.org/" |
67 |
-SRC_URI="https://github.com/FRRouting/frr/archive/${P}.tar.gz" |
68 |
-# FRR tarballs have weird format. |
69 |
-S="${WORKDIR}/frr-${P}" |
70 |
- |
71 |
-LICENSE="GPL-2" |
72 |
-SLOT="0" |
73 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
74 |
-IUSE="doc fpm grpc ipv6 kernel_linux nhrp ospfapi pam rpki snmp systemd test" |
75 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
76 |
-RESTRICT="!test? ( test )" |
77 |
- |
78 |
-COMMON_DEPEND=" |
79 |
- ${PYTHON_DEPS} |
80 |
- acct-user/frr |
81 |
- dev-libs/json-c:0= |
82 |
- >=net-libs/libyang-2.0.0 |
83 |
- sys-libs/libcap |
84 |
- sys-libs/readline:0= |
85 |
- virtual/libcrypt:= |
86 |
- grpc? ( net-libs/grpc:= ) |
87 |
- nhrp? ( net-dns/c-ares:0= ) |
88 |
- pam? ( sys-libs/pam ) |
89 |
- rpki? ( >=net-libs/rtrlib-0.6.3[ssh] ) |
90 |
- snmp? ( net-analyzer/net-snmp:= ) |
91 |
-" |
92 |
-BDEPEND=" |
93 |
- >=dev-util/clippy-${PV} |
94 |
- sys-devel/flex |
95 |
- virtual/yacc |
96 |
- doc? ( dev-python/sphinx ) |
97 |
-" |
98 |
-DEPEND=" |
99 |
- ${COMMON_DEPEND} |
100 |
- test? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') ) |
101 |
-" |
102 |
-RDEPEND=" |
103 |
- ${COMMON_DEPEND} |
104 |
- $(python_gen_cond_dep 'dev-python/ipaddr[${PYTHON_USEDEP}]') |
105 |
- !net-misc/quagga |
106 |
-" |
107 |
- |
108 |
-PATCHES=( |
109 |
- "${FILESDIR}"/${PN}-7.5-ipctl-forwarding.patch |
110 |
- "${FILESDIR}"/${P}-c-ares.patch |
111 |
-) |
112 |
- |
113 |
-src_prepare() { |
114 |
- default |
115 |
- |
116 |
- python_fix_shebang tools |
117 |
- eautoreconf |
118 |
-} |
119 |
- |
120 |
-src_configure() { |
121 |
- local myconf=( |
122 |
- --disable-static |
123 |
- --with-pkg-extra-version="-gentoo" |
124 |
- --enable-configfile-mask=0640 |
125 |
- --enable-logfile-mask=0640 |
126 |
- --prefix="${EPREFIX}"/usr |
127 |
- --libdir="${EPREFIX}"/usr/lib/frr |
128 |
- --sbindir="${EPREFIX}"/usr/lib/frr |
129 |
- --libexecdir="${EPREFIX}"/usr/lib/frr |
130 |
- --sysconfdir="${EPREFIX}"/etc/frr |
131 |
- --localstatedir="${EPREFIX}"/run/frr |
132 |
- --with-moduledir="${EPREFIX}"/usr/lib/frr/modules |
133 |
- --with-clippy="${BROOT}"/usr/bin/clippy |
134 |
- --enable-exampledir="${EPREFIX}"/usr/share/doc/${PF}/samples |
135 |
- --enable-user=frr |
136 |
- --enable-group=frr |
137 |
- --enable-vty-group=frr |
138 |
- --enable-multipath=64 |
139 |
- $(use_enable doc) |
140 |
- $(use_enable fpm) |
141 |
- $(use_enable grpc) |
142 |
- $(use_enable ipv6 ospf6d) |
143 |
- $(use_enable ipv6 ripngd) |
144 |
- $(use_enable ipv6 rtadv) |
145 |
- $(use_enable kernel_linux realms) |
146 |
- $(use_enable nhrp nhrpd) |
147 |
- $(usex ospfapi '--enable-ospfclient' '' '' '') |
148 |
- $(use_enable rpki) |
149 |
- $(use_enable snmp) |
150 |
- $(use_enable systemd) |
151 |
- ) |
152 |
- |
153 |
- econf "${myconf[@]}" |
154 |
-} |
155 |
- |
156 |
-src_compile() { |
157 |
- default |
158 |
- |
159 |
- use doc && emake -C doc html |
160 |
-} |
161 |
- |
162 |
-src_install() { |
163 |
- default |
164 |
- find "${ED}" -name '*.la' -delete || die |
165 |
- |
166 |
- # Install user documentation if asked |
167 |
- use doc && dodoc -r doc/user/_build/html |
168 |
- |
169 |
- # Create configuration directory with correct permissions |
170 |
- keepdir /etc/frr |
171 |
- fowners frr:frr /etc/frr |
172 |
- fperms 775 /etc/frr |
173 |
- |
174 |
- # Create logs directory with the correct permissions |
175 |
- keepdir /var/log/frr |
176 |
- fowners frr:frr /var/log/frr |
177 |
- fperms 775 /var/log/frr |
178 |
- |
179 |
- # Install the default configuration files |
180 |
- insinto /etc/frr |
181 |
- doins tools/etc/frr/vtysh.conf |
182 |
- doins tools/etc/frr/frr.conf |
183 |
- doins tools/etc/frr/daemons |
184 |
- |
185 |
- # Fix permissions/owners. |
186 |
- fowners frr:frr /etc/frr/vtysh.conf |
187 |
- fowners frr:frr /etc/frr/frr.conf |
188 |
- fowners frr:frr /etc/frr/daemons |
189 |
- fperms 640 /etc/frr/vtysh.conf |
190 |
- fperms 640 /etc/frr/frr.conf |
191 |
- fperms 640 /etc/frr/daemons |
192 |
- |
193 |
- # Install logrotate configuration |
194 |
- insinto /etc/logrotate.d |
195 |
- newins redhat/frr.logrotate frr |
196 |
- |
197 |
- # Install PAM configuration file |
198 |
- use pam && newpamd "${FILESDIR}"/frr.pam frr |
199 |
- |
200 |
- # Install init scripts |
201 |
- systemd_dounit tools/frr.service |
202 |
- newinitd "${FILESDIR}"/frr-openrc-v1 frr |
203 |
- |
204 |
- # Conflict files, installed by net-libs/libsmi, bug #758383 |
205 |
- rm "${ED}"/usr/share/yang/ietf-interfaces.yang || die |
206 |
-} |