1 |
flameeyes 11/09/29 13:40:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: quagga-0.99.20.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.119 net-misc/quagga/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/ChangeLog?rev=1.119&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/ChangeLog?rev=1.119&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/ChangeLog?r1=1.118&r2=1.119 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v |
20 |
retrieving revision 1.118 |
21 |
retrieving revision 1.119 |
22 |
diff -u -r1.118 -r1.119 |
23 |
--- ChangeLog 28 Sep 2011 04:36:45 -0000 1.118 |
24 |
+++ ChangeLog 29 Sep 2011 13:40:00 -0000 1.119 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-misc/quagga |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.118 2011/09/28 04:36:45 xarthisius Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.119 2011/09/29 13:40:00 flameeyes Exp $ |
30 |
+ |
31 |
+*quagga-0.99.20 (29 Sep 2011) |
32 |
+ |
33 |
+ 29 Sep 2011; Diego E. Pettenò <flameeyes@g.o> +quagga-0.99.20.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
28 Sep 2011; Kacper Kowalik <xarthisius@g.o> quagga-0.99.19-r1.ebuild: |
37 |
ppc stable wrt #384651 |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/quagga/quagga-0.99.20.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/quagga-0.99.20.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/quagga-0.99.20.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: quagga-0.99.20.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.20.ebuild,v 1.1 2011/09/29 13:40:00 flameeyes Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch |
55 |
|
56 |
BACKPORTS=1 |
57 |
|
58 |
inherit eutils multilib autotools pam flag-o-matic |
59 |
|
60 |
DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP." |
61 |
HOMEPAGE="http://quagga.net/" |
62 |
SRC_URI="http://www.quagga.net/download/${P}.tar.gz |
63 |
${BACKPORTS:+ |
64 |
http://dev.gentoo.org/~flameeyes/${PN}/${P}-backports-${BACKPORTS}.tar.bz2} |
65 |
bgpclassless? ( http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86" |
70 |
IUSE="caps doc ipv6 snmp pam bgpclassless ospfapi multipath tcp-zebra elibc_glibc +readline" |
71 |
|
72 |
COMMON_DEPEND=" |
73 |
caps? ( sys-libs/libcap ) |
74 |
snmp? ( net-analyzer/net-snmp ) |
75 |
readline? ( |
76 |
sys-libs/readline |
77 |
pam? ( sys-libs/pam ) |
78 |
) |
79 |
!elibc_glibc? ( dev-libs/libpcre )" |
80 |
DEPEND="${COMMON_DEPEND} |
81 |
>=sys-devel/libtool-2.2.4" |
82 |
RDEPEND="${COMMON_DEPEND} |
83 |
sys-apps/openrc |
84 |
sys-apps/iproute2" |
85 |
|
86 |
pkg_setup() { |
87 |
enewgroup quagga |
88 |
enewuser quagga -1 -1 /var/empty quagga |
89 |
} |
90 |
|
91 |
src_prepare() { |
92 |
[[ -n ${BACKPORTS} ]] && \ |
93 |
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ |
94 |
epatch |
95 |
|
96 |
# Classless prefixes for BGP |
97 |
# http://hasso.linux.ee/doku.php/english:network:quagga |
98 |
use bgpclassless && epatch "${DISTDIR}/${CLASSLESS_BGP_PATCH}" |
99 |
|
100 |
eautoreconf |
101 |
} |
102 |
|
103 |
src_configure() { |
104 |
local myconf= |
105 |
|
106 |
use ospfapi \ |
107 |
&& myconf="${myconf} --enable-opaque-lsa --enable-ospf-te --enable-ospfclient" |
108 |
|
109 |
use multipath && myconf="${myconf} --enable-multipath=0" |
110 |
|
111 |
append-flags -fno-strict-aliasing |
112 |
|
113 |
econf \ |
114 |
--enable-user=quagga \ |
115 |
--enable-group=quagga \ |
116 |
--enable-vty-group=quagga \ |
117 |
--with-cflags="${CFLAGS}" \ |
118 |
--sysconfdir=/etc/quagga \ |
119 |
--enable-exampledir=/usr/share/doc/${PF}/samples \ |
120 |
--localstatedir=/var/run/quagga \ |
121 |
--disable-static \ |
122 |
--disable-pie \ |
123 |
\ |
124 |
$(use_enable caps capabilities) \ |
125 |
$(use_enable snmp) \ |
126 |
$(use_enable !elibc_glibc pcreposix) \ |
127 |
$(use_enable tcp-zebra) \ |
128 |
$(use_enable doc) \ |
129 |
\ |
130 |
$(use_enable readline vtysh) \ |
131 |
$(use_with pam libpam) \ |
132 |
\ |
133 |
$(use_enable ipv6) \ |
134 |
$(use_enable ipv6 ripngd) \ |
135 |
$(use_enable ipv6 ospf6d) \ |
136 |
$(use_enable ipv6 rtadv) \ |
137 |
\ |
138 |
${myconf} |
139 |
} |
140 |
|
141 |
src_install() { |
142 |
emake DESTDIR="${D}" install |
143 |
find "${D}" -name '*.la' -delete || die |
144 |
|
145 |
keepdir /etc/quagga |
146 |
fowners root:quagga /etc/quagga |
147 |
fperms 0770 /etc/quagga |
148 |
|
149 |
newinitd "${FILESDIR}"/zebra.init.3 zebra |
150 |
|
151 |
# install ripd as a file, symlink the rest |
152 |
newinitd "${FILESDIR}"/quagga-services.init.2 ripd |
153 |
|
154 |
for service in ospfd bgpd $(use ipv6 && echo ripngd ospf6d); do |
155 |
dosym ripd /etc/init.d/${service} |
156 |
done |
157 |
|
158 |
use readline && newpamd "${FILESDIR}/quagga.pam" quagga |
159 |
} |
160 |
|
161 |
pkg_postinst() { |
162 |
elog "Sample configuration files can be found in /usr/share/doc/${PF}/samples" |
163 |
elog "You have to create config files in /etc/quagga before" |
164 |
elog "starting one of the daemons." |
165 |
elog "" |
166 |
elog "You can pass additional options to the daemon by setting the EXTRA_OPTS" |
167 |
elog "variable in their respective file in /etc/conf.d" |
168 |
elog "" |
169 |
elog "Starting from version 0.99.18, quagga no longer supports the realms patch." |
170 |
elog "The patch was abandoned upstream and once again didn't apply; it needs a" |
171 |
elog "dedicated maintainer, if it is still necessary." |
172 |
} |