Gentoo Archives: gentoo-commits

From: Sergey Popov <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/
Date: Thu, 30 Nov 2017 10:21:50
Message-Id: 1512037289.521d210490bc69aaa5dedb13d25268b6335b4283.pinkbyte@gentoo
1 commit: 521d210490bc69aaa5dedb13d25268b6335b4283
2 Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 30 10:21:29 2017 +0000
4 Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 30 10:21:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=521d2104
7
8 net-misc/quagga: drop old versions
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 net-misc/quagga/Manifest | 2 -
13 net-misc/quagga/quagga-1.1.1.ebuild | 133 --------------------------------
14 net-misc/quagga/quagga-1.2.0-r2.ebuild | 136 ---------------------------------
15 3 files changed, 271 deletions(-)
16
17 diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
18 index fcd879417b3..45688b19e26 100644
19 --- a/net-misc/quagga/Manifest
20 +++ b/net-misc/quagga/Manifest
21 @@ -1,5 +1,3 @@
22 DIST ht-20040304-classless-bgp.patch 1581 BLAKE2B 64df9a86c235c4f6d35be0f19fe1b056958ae2fa28bd2e9e8d9902e569a8f9a2925ba45396bb92e345bfcaf8ca1ef9136a433c615a5bd12a279e7c062939549a SHA512 3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
23 -DIST quagga-1.1.1.tar.gz 2871705 BLAKE2B e5c4cfe865b7fffa27ee1c377210bc28cea1ecc8151378099a5aeedd98a87b4705e5d698867fe39326c991e8c0b0cbb76c90fd7e252ee2e5fcb04e03e7cd9f02 SHA512 51eb64ada07b42c663705cedf56be5b8b54143a5543b472e3dc7c703a4ab0542f39cfbeed64d1c33ceee6a15ea8d25ef84616fa40b6bf9cc32023f7241c18c58
24 -DIST quagga-1.2.0.tar.gz 2948778 BLAKE2B 6fd54c2d2613545b10a40659cd5ee9890fb077f116e035412a8f0b7734a629d3f3b45dafb01a867038ffee025942c3942a5a5b00d6b168e96df2041cdadb5a20 SHA512 0ad28b828c2e52ad486189bd68e21041fe7c4affada7e3f12ba83a95f3532e0b012ba6b4271f9d0de63d4f5b15e80c706977b3afa54b57a3a5ec02400227d5ae
25 DIST quagga-1.2.1.tar.gz 2922514 BLAKE2B ab0a59c1162bb4ac8ba3a75c015a433e2022bc35cd2a4678dbc7c80510f8c687d944b5e2bac03e9d3362bdb20badb2c17228dfd4172eebc6c87b24b2be2276e4 SHA512 ab7693ccb0cfa0f9ed90cc2b626dcd27aa6cc52e626646a2a37914a01f4b38dd80bf8d0e35d8a6a113718e82024203dbc3704c017f7c5c07bcdc2fe0109e89eb
26 DIST quagga-1.2.2.tar.gz 2986142 BLAKE2B 2c2326e015ed4ce7364a960b56108bbd04c184b7cd78dca0cac528cd2869e65e6efbd40c303ce2b6eb29eed809e8b384baa36329b365ae6799a5b25fa21daa4c SHA512 861f6524bcdc01d1a895762bf1904744c12ae4dfc7c3583ecb7e55b3978c98187bde76df0ff85093c744139be9d5cf324fec75b5ba86cf1fdbce70d923710d14
27
28 diff --git a/net-misc/quagga/quagga-1.1.1.ebuild b/net-misc/quagga/quagga-1.1.1.ebuild
29 deleted file mode 100644
30 index 0cf903443f3..00000000000
31 --- a/net-misc/quagga/quagga-1.1.1.ebuild
32 +++ /dev/null
33 @@ -1,133 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
40 -
41 -inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd user
42 -
43 -DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP"
44 -HOMEPAGE="http://quagga.net/"
45 -SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
46 - bgpclassless? ( http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc x86"
51 -
52 -IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf +readline snmp tcp-zebra"
53 -
54 -COMMON_DEPEND="
55 - caps? ( sys-libs/libcap )
56 - protobuf? ( dev-libs/protobuf-c:0= )
57 - readline? (
58 - sys-libs/readline:0=
59 - pam? ( sys-libs/pam )
60 - )
61 - snmp? ( net-analyzer/net-snmp )
62 - !elibc_glibc? ( dev-libs/libpcre )"
63 -DEPEND="${COMMON_DEPEND}
64 - sys-apps/gawk
65 - sys-devel/libtool:2"
66 -RDEPEND="${COMMON_DEPEND}
67 - sys-apps/iproute2"
68 -
69 -PATCHES=(
70 - "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
71 -)
72 -
73 -DISABLE_AUTOFORMATTING=1
74 -DOC_CONTENTS="Sample configuration files can be found in /usr/share/doc/${PF}/samples
75 -You have to create config files in /etc/quagga before
76 -starting one of the daemons.
77 -
78 -You can pass additional options to the daemon by setting the EXTRA_OPTS
79 -variable in their respective file in /etc/conf.d"
80 -
81 -pkg_setup() {
82 - enewgroup quagga
83 - enewuser quagga -1 -1 /var/empty quagga
84 -}
85 -
86 -src_prepare() {
87 - # Classless prefixes for BGP
88 - # http://hasso.linux.ee/doku.php/english:network:quagga
89 - use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
90 -
91 - eapply "${PATCHES[@]}"
92 - eapply_user
93 - eautoreconf
94 -}
95 -
96 -src_configure() {
97 - append-flags -fno-strict-aliasing
98 -
99 - # do not build PDF docs
100 - export ac_cv_prog_PDFLATEX=no
101 - export ac_cv_prog_LATEXMK=no
102 -
103 - econf \
104 - --enable-exampledir=/usr/share/doc/${PF}/samples \
105 - --enable-irdp \
106 - --enable-isisd \
107 - --enable-isis-topology \
108 - --enable-pimd \
109 - --enable-user=quagga \
110 - --enable-group=quagga \
111 - --enable-vty-group=quagga \
112 - --with-cflags="${CFLAGS}" \
113 - --with-pkg-extra-version="-gentoo" \
114 - --sysconfdir=/etc/quagga \
115 - --localstatedir=/run/quagga \
116 - --disable-static \
117 - $(use_enable caps capabilities) \
118 - $(usex snmp '--enable-snmp' '' '' '') \
119 - $(use_enable !elibc_glibc pcreposix) \
120 - $(use_enable tcp-zebra) \
121 - $(use_enable doc) \
122 - $(usex multipath $(use_enable multipath) '' '=0' '') \
123 - $(usex ospfapi '--enable-opaque-lsa --enable-ospf-te --enable-ospfclient' '' '' '') \
124 - $(use_enable readline vtysh) \
125 - $(use_with pam libpam) \
126 - $(use_enable protobuf) \
127 - $(use_enable ipv6 ripngd) \
128 - $(use_enable ipv6 ospf6d) \
129 - $(use_enable ipv6 rtadv)
130 -}
131 -
132 -src_install() {
133 - default
134 - prune_libtool_files
135 - readme.gentoo_create_doc
136 -
137 - keepdir /etc/quagga
138 - fowners root:quagga /etc/quagga
139 - fperms 0770 /etc/quagga
140 -
141 - # Path for PIDs before first reboot should be created here, bug #558194
142 - dodir /run/quagga
143 - fowners quagga:quagga /run/quagga
144 - fperms 0770 /run/quagga
145 -
146 - # Install systemd-related stuff, bug #553136
147 - systemd_dotmpfilesd "${FILESDIR}/systemd/quagga.conf"
148 - systemd_dounit "${FILESDIR}/systemd/zebra.service"
149 -
150 - # install zebra as a file, symlink the rest
151 - newinitd "${FILESDIR}"/quagga-services.init.3 zebra
152 -
153 - for service in bgpd isisd ospfd pimd ripd $(use ipv6 && echo ospf6d ripngd); do
154 - dosym zebra /etc/init.d/${service}
155 - systemd_dounit "${FILESDIR}/systemd/${service}.service"
156 - done
157 -
158 - use readline && use pam && newpamd "${FILESDIR}/quagga.pam" quagga
159 -
160 - insinto /etc/logrotate.d
161 - newins redhat/quagga.logrotate quagga
162 -}
163 -
164 -pkg_postinst() {
165 - readme.gentoo_print_elog
166 -}
167
168 diff --git a/net-misc/quagga/quagga-1.2.0-r2.ebuild b/net-misc/quagga/quagga-1.2.0-r2.ebuild
169 deleted file mode 100644
170 index 6897c5f9eac..00000000000
171 --- a/net-misc/quagga/quagga-1.2.0-r2.ebuild
172 +++ /dev/null
173 @@ -1,136 +0,0 @@
174 -# Copyright 1999-2017 Gentoo Foundation
175 -# Distributed under the terms of the GNU General Public License v2
176 -
177 -EAPI=6
178 -
179 -CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
180 -
181 -inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd user
182 -
183 -DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP"
184 -HOMEPAGE="http://quagga.net/"
185 -SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
186 - bgpclassless? ( http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
187 -
188 -LICENSE="GPL-2"
189 -SLOT="0"
190 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
191 -
192 -IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam protobuf +readline snmp tcp-zebra"
193 -
194 -COMMON_DEPEND="
195 - caps? ( sys-libs/libcap )
196 - nhrpd? ( net-dns/c-ares:0= )
197 - protobuf? ( dev-libs/protobuf-c:0= )
198 - readline? (
199 - sys-libs/readline:0=
200 - pam? ( sys-libs/pam )
201 - )
202 - snmp? ( net-analyzer/net-snmp )
203 - !elibc_glibc? ( dev-libs/libpcre )"
204 -DEPEND="${COMMON_DEPEND}
205 - sys-apps/gawk
206 - sys-devel/libtool:2"
207 -RDEPEND="${COMMON_DEPEND}
208 - sys-apps/iproute2"
209 -
210 -PATCHES=(
211 - "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
212 -)
213 -
214 -DISABLE_AUTOFORMATTING=1
215 -DOC_CONTENTS="Sample configuration files can be found in /usr/share/doc/${PF}/samples
216 -You have to create config files in /etc/quagga before
217 -starting one of the daemons.
218 -
219 -You can pass additional options to the daemon by setting the EXTRA_OPTS
220 -variable in their respective file in /etc/conf.d"
221 -
222 -pkg_setup() {
223 - enewgroup quagga
224 - enewuser quagga -1 -1 /var/empty quagga
225 -}
226 -
227 -src_prepare() {
228 - # Classless prefixes for BGP
229 - # http://hasso.linux.ee/doku.php/english:network:quagga
230 - use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
231 -
232 - eapply "${PATCHES[@]}"
233 - eapply_user
234 - eautoreconf
235 -}
236 -
237 -src_configure() {
238 - append-flags -fno-strict-aliasing
239 -
240 - # do not build PDF docs
241 - export ac_cv_prog_PDFLATEX=no
242 - export ac_cv_prog_LATEXMK=no
243 -
244 - econf \
245 - --enable-exampledir=/usr/share/doc/${PF}/samples \
246 - --enable-irdp \
247 - --enable-isisd \
248 - --enable-isis-topology \
249 - --enable-pimd \
250 - --enable-user=quagga \
251 - --enable-group=quagga \
252 - --enable-vty-group=quagga \
253 - --with-cflags="${CFLAGS}" \
254 - --with-pkg-extra-version="-gentoo" \
255 - --sysconfdir=/etc/quagga \
256 - --localstatedir=/run/quagga \
257 - --disable-static \
258 - $(use_enable caps capabilities) \
259 - $(usex snmp '--enable-snmp' '' '' '') \
260 - $(use_enable !elibc_glibc pcreposix) \
261 - $(use_enable fpm) \
262 - $(use_enable tcp-zebra) \
263 - $(use_enable doc) \
264 - $(usex multipath $(use_enable multipath) '' '=0' '') \
265 - $(usex ospfapi '--enable-opaque-lsa --enable-ospf-te --enable-ospfclient' '' '' '') \
266 - $(use_enable readline vtysh) \
267 - $(use_with pam libpam) \
268 - $(use_enable nhrpd) \
269 - $(use_enable protobuf) \
270 - $(use_enable ipv6 ripngd) \
271 - $(use_enable ipv6 ospf6d) \
272 - $(use_enable ipv6 rtadv)
273 -}
274 -
275 -src_install() {
276 - default
277 - prune_libtool_files
278 - readme.gentoo_create_doc
279 -
280 - keepdir /etc/quagga
281 - fowners root:quagga /etc/quagga
282 - fperms 0770 /etc/quagga
283 -
284 - # Path for PIDs before first reboot should be created here, bug #558194
285 - dodir /run/quagga
286 - fowners quagga:quagga /run/quagga
287 - fperms 0770 /run/quagga
288 -
289 - # Install systemd-related stuff, bug #553136
290 - systemd_dotmpfilesd "${FILESDIR}/systemd/quagga.conf"
291 - systemd_dounit "${FILESDIR}/systemd/zebra.service"
292 -
293 - # install zebra as a file, symlink the rest
294 - newinitd "${FILESDIR}"/quagga-services.init.3 zebra
295 -
296 - for service in bgpd isisd ospfd pimd ripd $(use ipv6 && echo ospf6d ripngd) $(use nhrpd && echo nhrpd); do
297 - dosym zebra /etc/init.d/${service}
298 - systemd_dounit "${FILESDIR}/systemd/${service}.service"
299 - done
300 -
301 - use readline && use pam && newpamd "${FILESDIR}/quagga.pam" quagga
302 -
303 - insinto /etc/logrotate.d
304 - newins redhat/quagga.logrotate quagga
305 -}
306 -
307 -pkg_postinst() {
308 - readme.gentoo_print_elog
309 -}