* [gentoo-commits] gentoo-x86 commit in net-misc/quagga: ChangeLog quagga-0.99.12.ebuild
@ 2009-05-13 21:27 Alin Nastac (mrness)
0 siblings, 0 replies; only message in thread
From: Alin Nastac (mrness) @ 2009-05-13 21:27 UTC (permalink / raw
To: gentoo-commits
mrness 09/05/13 21:27:46
Modified: ChangeLog
Added: quagga-0.99.12.ebuild
Log:
Version bump (#269393).
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Revision Changes Path
1.81 net-misc/quagga/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/quagga/ChangeLog?rev=1.81&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/quagga/ChangeLog?rev=1.81&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/quagga/ChangeLog?r1=1.80&r2=1.81
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- ChangeLog 2 May 2009 09:37:52 -0000 1.80
+++ ChangeLog 13 May 2009 21:27:46 -0000 1.81
@@ -2,7 +2,12 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 2003-2004 DataCore GmbH
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.80 2009/05/02 09:37:52 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.81 2009/05/13 21:27:46 mrness Exp $
+
+*quagga-0.99.12 (13 May 2009)
+
+ 13 May 2009; Alin Năstac <mrness@gentoo.org> +quagga-0.99.12.ebuild:
+ Version bump (#269393).
*quagga-0.99.11-r1 (02 May 2009)
1.1 net-misc/quagga/quagga-0.99.12.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/quagga/quagga-0.99.12.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/quagga/quagga-0.99.12.ebuild?rev=1.1&content-type=text/plain
Index: quagga-0.99.12.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.12.ebuild,v 1.1 2009/05/13 21:27:46 mrness Exp $
EAPI="2"
WANT_AUTOMAKE="latest"
WANT_AUTOCONF="latest"
inherit eutils multilib autotools
DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP."
HOMEPAGE="http://quagga.net/"
SRC_URI="http://www.quagga.net/download/${P}.tar.gz
mirror://gentoo/${P}-patches-20090513.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
IUSE="caps ipv6 snmp pam bgpclassless ospfapi realms multipath tcp-zebra"
RESTRICT="userpriv"
COMMON_DEPEND="sys-libs/readline
caps? ( sys-libs/libcap )
snmp? ( net-analyzer/net-snmp )
pam? ( sys-libs/pam )"
DEPEND="${COMMON_DEPEND}
>=sys-devel/libtool-2.2.4"
RDEPEND="${COMMON_DEPEND}
sys-apps/iproute2"
src_prepare() {
epatch "${WORKDIR}/patch/${P}-link-libcap.patch"
epatch "${WORKDIR}/patch/${P}-ipv6.patch"
# Classless prefixes for BGP - http://hasso.linux.ee/doku.php/english:network:quagga
use bgpclassless && epatch "${WORKDIR}/patch/ht-20040304-classless-bgp_adapted.patch"
# Realms support (Calin Velea) - http://vcalinus.gemenii.ro/quaggarealms.html
use realms && epatch "${WORKDIR}/patch/${P}-realms.diff"
eautoreconf
}
src_configure() {
local myconf="--disable-static \
$(use_enable caps capabilities) \
$(use_enable snmp) \
$(use_with pam libpam) \
$(use_enable tcp-zebra)"
use ipv6 \
&& myconf="${myconf} --enable-ipv6 --enable-ripngd --enable-ospf6d --enable-rtadv" \
|| myconf="${myconf} --disable-ipv6 --disable-ripngd --disable-ospf6d"
use ospfapi \
&& myconf="${myconf} --enable-opaque-lsa --enable-ospf-te --enable-ospfclient"
use realms && myconf="${myconf} --enable-realms"
use multipath && myconf="${myconf} --enable-multipath=0"
econf \
--enable-user=quagga \
--enable-group=quagga \
--enable-vty-group=quagga \
--with-cflags="${CFLAGS}" \
--enable-vtysh \
--sysconfdir=/etc/quagga \
--enable-exampledir=/etc/quagga/samples \
--localstatedir=/var/run/quagga \
--libdir=/usr/$(get_libdir)/quagga \
${myconf} \
|| die "configure failed"
}
src_install() {
einstall \
localstatedir="${D}/var/run/quagga" \
sysconfdir="${D}/etc/quagga" \
exampledir="${D}/etc/quagga/samples" \
libdir="${D}/usr/$(get_libdir)/quagga" || die "make install failed"
dodir /var/run/quagga || die "failed to install /var/run/quagga"
local i MY_SERVICES_LIST="zebra ripd ospfd bgpd"
use ipv6 && MY_SERVICES_LIST="${MY_SERVICES_LIST} ripngd ospf6d"
for i in ${MY_SERVICES_LIST} ; do
newinitd "${FILESDIR}/${i}.init" ${i} || die "failed to install ${i} init.d script"
done
newconfd "${FILESDIR}/zebra.conf" zebra || die "failed to install zebra conf.d script"
if use pam; then
insinto /etc/pam.d
newins "${FILESDIR}/quagga.pam" quagga || die "failed to install pam.d file"
fi
newenvd "${FILESDIR}/quagga.env" 99quagga || die "failed to install env file"
}
pkg_preinst() {
enewgroup quagga
enewuser quagga -1 -1 /var/empty quagga
}
pkg_postinst() {
# empty dir for pid files for the new priv separation auth
#set proper owner/group/perms even if dir already existed
install -d -m0770 -o root -g quagga "${ROOT}/etc/quagga"
install -d -m0755 -o quagga -g quagga "${ROOT}/var/run/quagga"
einfo "Sample configuration files can be found in /etc/quagga/samples."
einfo "You have to create config files in /etc/quagga before"
einfo "starting one of the daemons."
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-13 21:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-13 21:27 [gentoo-commits] gentoo-x86 commit in net-misc/quagga: ChangeLog quagga-0.99.12.ebuild Alin Nastac (mrness)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox