1 |
commit: 66139ead8c4ed55cdc06bf520b8710191e64200d |
2 |
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 6 11:57:03 2016 +0000 |
4 |
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 6 11:57:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66139ead |
7 |
|
8 |
net-misc/quagga: stabilize new revision |
9 |
|
10 |
Transfer stable keywords from previous revision, drop old |
11 |
|
12 |
Package-Manager: portage-2.2.28 |
13 |
|
14 |
net-misc/quagga/quagga-1.0.20160315-r2.ebuild | 135 -------------------------- |
15 |
net-misc/quagga/quagga-1.0.20160315-r3.ebuild | 2 +- |
16 |
2 files changed, 1 insertion(+), 136 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/quagga/quagga-1.0.20160315-r2.ebuild b/net-misc/quagga/quagga-1.0.20160315-r2.ebuild |
19 |
deleted file mode 100644 |
20 |
index cdf60d6..00000000 |
21 |
--- a/net-misc/quagga/quagga-1.0.20160315-r2.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,135 +0,0 @@ |
24 |
-# Copyright 1999-2016 Gentoo Foundation |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Id$ |
27 |
- |
28 |
-EAPI=6 |
29 |
- |
30 |
-CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch |
31 |
- |
32 |
-inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd user |
33 |
- |
34 |
-DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP" |
35 |
-HOMEPAGE="http://quagga.net/" |
36 |
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz |
37 |
- bgpclassless? ( http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )" |
38 |
- |
39 |
-LICENSE="GPL-2" |
40 |
-SLOT="0" |
41 |
-KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc x86" |
42 |
- |
43 |
-IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline snmp tcp-zebra" |
44 |
- |
45 |
-COMMON_DEPEND=" |
46 |
- caps? ( sys-libs/libcap ) |
47 |
- snmp? ( net-analyzer/net-snmp ) |
48 |
- readline? ( |
49 |
- sys-libs/readline:0 |
50 |
- pam? ( sys-libs/pam ) |
51 |
- ) |
52 |
- !elibc_glibc? ( dev-libs/libpcre )" |
53 |
-DEPEND="${COMMON_DEPEND} |
54 |
- app-arch/xz-utils |
55 |
- sys-apps/gawk |
56 |
- sys-devel/libtool:2" |
57 |
-RDEPEND="${COMMON_DEPEND} |
58 |
- sys-apps/iproute2" |
59 |
- |
60 |
-PATCHES=( |
61 |
- "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch" |
62 |
- "${FILESDIR}/${P}-ripd-null-pointer-fix.patch" |
63 |
- "${FILESDIR}/${P}-ospfd-dangling-pointer-fix.patch" |
64 |
-) |
65 |
- |
66 |
-DISABLE_AUTOFORMATTING=1 |
67 |
-DOC_CONTENTS="Sample configuration files can be found in /usr/share/doc/${PF}/samples |
68 |
-You have to create config files in /etc/quagga before |
69 |
-starting one of the daemons. |
70 |
- |
71 |
-You can pass additional options to the daemon by setting the EXTRA_OPTS |
72 |
-variable in their respective file in /etc/conf.d" |
73 |
- |
74 |
-pkg_setup() { |
75 |
- enewgroup quagga |
76 |
- enewuser quagga -1 -1 /var/empty quagga |
77 |
-} |
78 |
- |
79 |
-src_prepare() { |
80 |
- # Classless prefixes for BGP |
81 |
- # http://hasso.linux.ee/doku.php/english:network:quagga |
82 |
- use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}" |
83 |
- |
84 |
- epatch ${PATCHES[@]} |
85 |
- eapply_user |
86 |
- eautoreconf |
87 |
-} |
88 |
- |
89 |
-src_configure() { |
90 |
- append-flags -fno-strict-aliasing |
91 |
- |
92 |
- # do not build PDF docs |
93 |
- export ac_cv_prog_PDFLATEX=no |
94 |
- export ac_cv_prog_LATEXMK=no |
95 |
- |
96 |
- econf \ |
97 |
- --enable-exampledir=/usr/share/doc/${PF}/samples \ |
98 |
- --enable-irdp \ |
99 |
- --enable-isisd \ |
100 |
- --enable-isis-topology \ |
101 |
- --enable-pimd \ |
102 |
- --enable-user=quagga \ |
103 |
- --enable-group=quagga \ |
104 |
- --enable-vty-group=quagga \ |
105 |
- --with-cflags="${CFLAGS}" \ |
106 |
- --with-pkg-extra-version="-gentoo" \ |
107 |
- --sysconfdir=/etc/quagga \ |
108 |
- --localstatedir=/run/quagga \ |
109 |
- --disable-static \ |
110 |
- $(use_enable caps capabilities) \ |
111 |
- $(usex snmp '--enable-snmp' '' '' '') \ |
112 |
- $(use_enable !elibc_glibc pcreposix) \ |
113 |
- $(use_enable tcp-zebra) \ |
114 |
- $(use_enable doc) \ |
115 |
- $(usex multipath $(use_enable multipath) '' '=0' '') \ |
116 |
- $(usex ospfapi '--enable-opaque-lsa --enable-ospf-te --enable-ospfclient' '' '' '') \ |
117 |
- $(use_enable readline vtysh) \ |
118 |
- $(use_with pam libpam) \ |
119 |
- $(use_enable ipv6 ripngd) \ |
120 |
- $(use_enable ipv6 ospf6d) \ |
121 |
- $(use_enable ipv6 rtadv) |
122 |
-} |
123 |
- |
124 |
-src_install() { |
125 |
- default |
126 |
- prune_libtool_files |
127 |
- readme.gentoo_create_doc |
128 |
- |
129 |
- keepdir /etc/quagga |
130 |
- fowners root:quagga /etc/quagga |
131 |
- fperms 0770 /etc/quagga |
132 |
- |
133 |
- # Path for PIDs before first reboot should be created here, bug #558194 |
134 |
- dodir /run/quagga |
135 |
- fowners quagga:quagga /run/quagga |
136 |
- fperms 0770 /run/quagga |
137 |
- |
138 |
- # Install systemd-related stuff, bug #553136 |
139 |
- systemd_dotmpfilesd "${FILESDIR}/systemd/quagga.conf" |
140 |
- systemd_dounit "${FILESDIR}/systemd/zebra.service" |
141 |
- |
142 |
- # install zebra as a file, symlink the rest |
143 |
- newinitd "${FILESDIR}"/quagga-services.init.3 zebra |
144 |
- |
145 |
- for service in bgpd isisd ospfd pimd ripd $(use ipv6 && echo ospf6d ripngd); do |
146 |
- dosym zebra /etc/init.d/${service} |
147 |
- systemd_dounit "${FILESDIR}/systemd/${service}.service" |
148 |
- done |
149 |
- |
150 |
- use readline && use pam && newpamd "${FILESDIR}/quagga.pam" quagga |
151 |
- |
152 |
- insinto /etc/logrotate.d |
153 |
- newins redhat/quagga.logrotate quagga |
154 |
-} |
155 |
- |
156 |
-pkg_postinst() { |
157 |
- readme.gentoo_print_elog |
158 |
-} |
159 |
|
160 |
diff --git a/net-misc/quagga/quagga-1.0.20160315-r3.ebuild b/net-misc/quagga/quagga-1.0.20160315-r3.ebuild |
161 |
index 5af09fe..c1d3e7c 100644 |
162 |
--- a/net-misc/quagga/quagga-1.0.20160315-r3.ebuild |
163 |
+++ b/net-misc/quagga/quagga-1.0.20160315-r3.ebuild |
164 |
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz |
165 |
|
166 |
LICENSE="GPL-2" |
167 |
SLOT="0" |
168 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86" |
169 |
+KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc x86" |
170 |
|
171 |
IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline snmp tcp-zebra" |