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