1 |
mrness 08/10/09 22:01:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: quagga-0.99.11.ebuild |
5 |
Removed: quagga-0.99.9-r1.ebuild |
6 |
Log: |
7 |
Version bump (#240091). |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.77 net-misc/quagga/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/quagga/ChangeLog?rev=1.77&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/quagga/ChangeLog?rev=1.77&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/quagga/ChangeLog?r1=1.76&r2=1.77 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v |
20 |
retrieving revision 1.76 |
21 |
retrieving revision 1.77 |
22 |
diff -u -r1.76 -r1.77 |
23 |
--- ChangeLog 8 Jul 2008 20:02:26 -0000 1.76 |
24 |
+++ ChangeLog 9 Oct 2008 22:01:00 -0000 1.77 |
25 |
@@ -2,7 +2,13 @@ |
26 |
# Copyright 1999-2008 Gentoo Foundation |
27 |
# Copyright 2003-2004 DataCore GmbH |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.76 2008/07/08 20:02:26 mrness Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.77 2008/10/09 22:01:00 mrness Exp $ |
31 |
+ |
32 |
+*quagga-0.99.11 (09 Oct 2008) |
33 |
+ |
34 |
+ 09 Oct 2008; Alin Năstac <mrness@g.o> -quagga-0.99.9-r1.ebuild, |
35 |
+ +quagga-0.99.11.ebuild: |
36 |
+ Version bump (#240091). |
37 |
|
38 |
08 Jul 2008; Alin Năstac <mrness@g.o> quagga-0.98.6-r4.ebuild: |
39 |
Add as-needed patch (#152654). |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-misc/quagga/quagga-0.99.11.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/quagga/quagga-0.99.11.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/quagga/quagga-0.99.11.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: quagga-0.99.11.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.11.ebuild,v 1.1 2008/10/09 22:01:00 mrness Exp $ |
53 |
|
54 |
WANT_AUTOMAKE="latest" |
55 |
WANT_AUTOCONF="latest" |
56 |
|
57 |
inherit eutils multilib autotools |
58 |
|
59 |
DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP." |
60 |
HOMEPAGE="http://quagga.net/" |
61 |
SRC_URI="http://www.quagga.net/download/${P}.tar.gz |
62 |
mirror://gentoo/${P}-patches-20081009.tar.gz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86" |
67 |
IUSE="caps ipv6 snmp pam bgpclassless ospfapi realms multipath tcp-zebra" |
68 |
RESTRICT="userpriv" |
69 |
|
70 |
DEPEND="sys-libs/readline |
71 |
caps? ( sys-libs/libcap ) |
72 |
snmp? ( net-analyzer/net-snmp ) |
73 |
pam? ( sys-libs/pam )" |
74 |
RDEPEND="${DEPEND} |
75 |
sys-apps/iproute2" |
76 |
|
77 |
src_unpack() { |
78 |
unpack ${A} |
79 |
|
80 |
cd "${S}" || die "source dir not found" |
81 |
epatch "${WORKDIR}/patch/${P}-link-libcap.patch" |
82 |
|
83 |
# Classless prefixes for BGP - http://hasso.linux.ee/doku.php/english:network:quagga |
84 |
use bgpclassless && epatch "${WORKDIR}/patch/ht-20040304-classless-bgp_adapted.patch" |
85 |
|
86 |
# Realms support (Calin Velea) - http://vcalinus.gemenii.ro/quaggarealms.html |
87 |
use realms && epatch "${WORKDIR}/patch/${P}-realms.diff" |
88 |
|
89 |
eautoreconf |
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
local myconf="--disable-static \ |
94 |
$(use_enable caps capabilities) \ |
95 |
$(use_enable snmp) \ |
96 |
$(use_with pam libpam) \ |
97 |
$(use_enable tcp-zebra)" |
98 |
use ipv6 \ |
99 |
&& myconf="${myconf} --enable-ipv6 --enable-ripng --enable-ospf6d --enable-rtadv" \ |
100 |
|| myconf="${myconf} --disable-ipv6 --disable-ripngd --disable-ospf6d" |
101 |
use ospfapi \ |
102 |
&& myconf="${myconf} --enable-opaque-lsa --enable-ospf-te --enable-ospfclient" |
103 |
use realms && myconf="${myconf} --enable-realms" |
104 |
use multipath && myconf="${myconf} --enable-multipath=0" |
105 |
|
106 |
econf \ |
107 |
--enable-nssa \ |
108 |
--enable-user=quagga \ |
109 |
--enable-group=quagga \ |
110 |
--enable-vty-group=quagga \ |
111 |
--with-cflags="${CFLAGS}" \ |
112 |
--enable-vtysh \ |
113 |
--sysconfdir=/etc/quagga \ |
114 |
--enable-exampledir=/etc/quagga/samples \ |
115 |
--localstatedir=/var/run/quagga \ |
116 |
--libdir=/usr/$(get_libdir)/quagga \ |
117 |
${myconf} \ |
118 |
|| die "configure failed" |
119 |
emake || die "make failed" |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
einstall \ |
124 |
localstatedir="${D}/var/run/quagga" \ |
125 |
sysconfdir="${D}/etc/quagga" \ |
126 |
exampledir="${D}/etc/quagga/samples" \ |
127 |
libdir="${D}/usr/$(get_libdir)/quagga" || die "make install failed" |
128 |
|
129 |
dodir /var/run/quagga || die "failed to install /var/run/quagga" |
130 |
|
131 |
local i MY_SERVICES_LIST="zebra ripd ospfd bgpd" |
132 |
use ipv6 && MY_SERVICES_LIST="${MY_SERVICES_LIST} ripngd ospf6d" |
133 |
for i in ${MY_SERVICES_LIST} ; do |
134 |
newinitd "${FILESDIR}/${i}.init" ${i} || die "failed to install ${i} init.d script" |
135 |
done |
136 |
newconfd "${FILESDIR}/zebra.conf" zebra || die "failed to install zebra conf.d script" |
137 |
|
138 |
if use pam; then |
139 |
insinto /etc/pam.d |
140 |
newins "${FILESDIR}/quagga.pam" quagga || die "failed to install pam.d file" |
141 |
fi |
142 |
|
143 |
newenvd "${FILESDIR}/quagga.env" 99quagga || die "failed to install env file" |
144 |
} |
145 |
|
146 |
pkg_preinst() { |
147 |
enewgroup quagga |
148 |
enewuser quagga -1 -1 /var/empty quagga |
149 |
} |
150 |
|
151 |
pkg_postinst() { |
152 |
# empty dir for pid files for the new priv separation auth |
153 |
#set proper owner/group/perms even if dir already existed |
154 |
install -d -m0770 -o root -g quagga "${ROOT}/etc/quagga" |
155 |
install -d -m0755 -o quagga -g quagga "${ROOT}/var/run/quagga" |
156 |
|
157 |
einfo "Sample configuration files can be found in /etc/quagga/samples." |
158 |
einfo "You have to create config files in /etc/quagga before" |
159 |
einfo "starting one of the daemons." |
160 |
} |