1 |
commit: d03387b0f305bf07de71d80e4453c1b1eedc4831 |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Tue Mar 30 09:29:11 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 30 09:29:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d03387b0 |
7 |
|
8 |
net-misc/frr: Remove old 7.5 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/19201 |
11 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
net-misc/frr/Manifest | 1 - |
15 |
net-misc/frr/frr-7.5.ebuild | 150 -------------------------------------------- |
16 |
2 files changed, 151 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/frr/Manifest b/net-misc/frr/Manifest |
19 |
index 34ad8e3763c..0edab74ae8d 100644 |
20 |
--- a/net-misc/frr/Manifest |
21 |
+++ b/net-misc/frr/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
DIST frr-7.5.1.tar.gz 6746148 BLAKE2B e6a8d38bac1323852d933ca9eaac681df8824407af008bb0170937a01564b3fb9fb081418630b7540f3ccdb899ac0948121d63accfa65ae0fd3fd6933fdafd6d SHA512 cf20316abd39a2d96bb377bd594464ae74c20ad70c60246409fe9f04f0177fcd8891a8da54d83bee962f589a00e71f7b51e78f9729c8680e6265ddd548e0464e |
24 |
-DIST frr-7.5.tar.gz 6730659 BLAKE2B 12c915e7564b8f0157b20b0714b1efd8c2ad0c51dbaeb1eb3ef2d5ea50406c297d7f4bd854d9246b515d42f3fa326b2b3c7a30d83f35b64c374947b26709f6fe SHA512 d0d3c0bc0d30e2ebb93e20906768a996d21db23b23118c8e3c50d238e7bfdee7a789b4a90c9d7dbdc842d857f60bd44f0922b01b0c2c8b289ac860f008a430a9 |
25 |
|
26 |
diff --git a/net-misc/frr/frr-7.5.ebuild b/net-misc/frr/frr-7.5.ebuild |
27 |
deleted file mode 100644 |
28 |
index 425a5994403..00000000000 |
29 |
--- a/net-misc/frr/frr-7.5.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,150 +0,0 @@ |
32 |
-# Copyright 2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-PYTHON_COMPAT=( python3_{7,8} ) |
38 |
-inherit autotools pam python-single-r1 systemd |
39 |
- |
40 |
-DESCRIPTION="The FRRouting Protocol Suite" |
41 |
-HOMEPAGE="https://frrouting.org/" |
42 |
-SRC_URI="https://github.com/FRRouting/frr/archive/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="GPL-2" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64 ~x86" |
47 |
- |
48 |
-IUSE="doc fpm grpc ipv6 kernel_linux nhrp ospfapi pam rpki snmp systemd test" |
49 |
- |
50 |
-COMMON_DEPEND=" |
51 |
- ${PYTHON_DEPS} |
52 |
- acct-user/frr |
53 |
- dev-libs/json-c:0= |
54 |
- >=net-libs/libyang-1.0.184 |
55 |
- sys-libs/libcap |
56 |
- sys-libs/readline:0= |
57 |
- grpc? ( net-libs/grpc ) |
58 |
- nhrp? ( net-dns/c-ares:0= ) |
59 |
- pam? ( sys-libs/pam ) |
60 |
- rpki? ( >=net-libs/rtrlib-0.6.3[ssh] ) |
61 |
- snmp? ( net-analyzer/net-snmp ) |
62 |
-" |
63 |
- |
64 |
-BDEPEND=" |
65 |
- doc? ( dev-python/sphinx ) |
66 |
- sys-devel/flex |
67 |
- virtual/yacc |
68 |
-" |
69 |
- |
70 |
-DEPEND=" |
71 |
- ${COMMON_DEPEND} |
72 |
- test? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') ) |
73 |
-" |
74 |
- |
75 |
-RDEPEND=" |
76 |
- ${COMMON_DEPEND} |
77 |
- $(python_gen_cond_dep 'dev-python/ipaddr[${PYTHON_USEDEP}]') |
78 |
- !!net-misc/quagga |
79 |
-" |
80 |
- |
81 |
-PATCHES=( |
82 |
- "${FILESDIR}/${PN}-7.5-ipctl-forwarding.patch" |
83 |
-) |
84 |
- |
85 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
86 |
- |
87 |
-RESTRICT="!test? ( test )" |
88 |
- |
89 |
-# FRR tarballs have weird format. |
90 |
-S="${WORKDIR}/frr-${P}" |
91 |
- |
92 |
-src_prepare() { |
93 |
- default |
94 |
- |
95 |
- python_fix_shebang tools |
96 |
- eautoreconf |
97 |
-} |
98 |
- |
99 |
-src_configure() { |
100 |
- econf \ |
101 |
- --disable-static \ |
102 |
- --with-pkg-extra-version="-gentoo" \ |
103 |
- --enable-configfile-mask=0640 \ |
104 |
- --enable-logfile-mask=0640 \ |
105 |
- --prefix=/usr \ |
106 |
- --libdir=/usr/lib/frr \ |
107 |
- --sbindir=/usr/lib/frr \ |
108 |
- --libexecdir=/usr/lib/frr \ |
109 |
- --sysconfdir=/etc/frr \ |
110 |
- --localstatedir=/run/frr \ |
111 |
- --with-moduledir=/usr/lib/frr/modules \ |
112 |
- --enable-exampledir=/usr/share/doc/${PF}/samples \ |
113 |
- --enable-user=frr \ |
114 |
- --enable-group=frr \ |
115 |
- --enable-vty-group=frr \ |
116 |
- --enable-multipath=64 \ |
117 |
- $(use_enable doc) \ |
118 |
- $(use_enable fpm) \ |
119 |
- $(use_enable grpc) \ |
120 |
- $(use_enable ipv6 ospf6d) \ |
121 |
- $(use_enable ipv6 ripngd) \ |
122 |
- $(use_enable ipv6 rtadv) \ |
123 |
- $(use_enable kernel_linux realms) \ |
124 |
- $(use_enable nhrp nhrpd) \ |
125 |
- $(usex ospfapi '--enable-ospfclient' '' '' '') \ |
126 |
- $(use_enable rpki) \ |
127 |
- $(use_enable snmp) \ |
128 |
- $(use_enable systemd) |
129 |
-} |
130 |
- |
131 |
-src_compile() { |
132 |
- default |
133 |
- |
134 |
- use doc && (cd doc; make html) |
135 |
-} |
136 |
- |
137 |
-src_install() { |
138 |
- default |
139 |
- find "${D}" -name '*.la' -delete || die |
140 |
- |
141 |
- # Install user documentation if asked |
142 |
- use doc && dodoc -r doc/user/_build/html |
143 |
- |
144 |
- # Create configuration directory with correct permissions |
145 |
- keepdir /etc/frr |
146 |
- fowners frr:frr /etc/frr |
147 |
- fperms 775 /etc/frr |
148 |
- |
149 |
- # Create logs directory with the correct permissions |
150 |
- keepdir /var/log/frr |
151 |
- fowners frr:frr /var/log/frr |
152 |
- fperms 775 /var/log/frr |
153 |
- |
154 |
- # Install the default configuration files |
155 |
- insinto /etc/frr |
156 |
- doins tools/etc/frr/vtysh.conf |
157 |
- doins tools/etc/frr/frr.conf |
158 |
- doins tools/etc/frr/daemons |
159 |
- |
160 |
- # Fix permissions/owners. |
161 |
- fowners frr:frr /etc/frr/vtysh.conf |
162 |
- fowners frr:frr /etc/frr/frr.conf |
163 |
- fowners frr:frr /etc/frr/daemons |
164 |
- fperms 640 /etc/frr/vtysh.conf |
165 |
- fperms 640 /etc/frr/frr.conf |
166 |
- fperms 640 /etc/frr/daemons |
167 |
- |
168 |
- # Install logrotate configuration |
169 |
- insinto /etc/logrotate.d |
170 |
- newins redhat/frr.logrotate frr |
171 |
- |
172 |
- # Install PAM configuration file |
173 |
- use pam && newpamd "${FILESDIR}/frr.pam" frr |
174 |
- |
175 |
- # Install init scripts |
176 |
- systemd_dounit tools/frr.service |
177 |
- newinitd "${FILESDIR}/frr-openrc-v1" frr |
178 |
- |
179 |
- # Conflict files, installed by net-libs/libsmi, bug #758383 |
180 |
- rm "${D}/usr/share/yang/ietf-interfaces.yang" || die |
181 |
-} |