summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-06-23 21:12:04 +0000
committerAlin Năstac <mrness@gentoo.org>2009-06-23 21:12:04 +0000
commit7226765b9a09bb812abfa61a4ff5625c1d192f07 (patch)
treed37e56a402b62b5c9ca6d94eb8bceda713c00d3e /net-misc/quagga
parentStable on alpha for xorg-server-1.5/xorg-x11-7.4 (diff)
downloadgentoo-2-7226765b9a09bb812abfa61a4ff5625c1d192f07.tar.gz
gentoo-2-7226765b9a09bb812abfa61a4ff5625c1d192f07.tar.bz2
gentoo-2-7226765b9a09bb812abfa61a4ff5625c1d192f07.zip
Version bump (#275168). Add pcre USE flag.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/quagga')
-rw-r--r--net-misc/quagga/ChangeLog8
-rw-r--r--net-misc/quagga/quagga-0.99.11.ebuild112
-rw-r--r--net-misc/quagga/quagga-0.99.13.ebuild (renamed from net-misc/quagga/quagga-0.99.11-r1.ebuild)22
3 files changed, 19 insertions, 123 deletions
diff --git a/net-misc/quagga/ChangeLog b/net-misc/quagga/ChangeLog
index fc269f7eb31d..6cb55d7318cd 100644
--- a/net-misc/quagga/ChangeLog
+++ b/net-misc/quagga/ChangeLog
@@ -2,7 +2,13 @@
# 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.82 2009/06/14 07:41:26 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.83 2009/06/23 21:12:04 mrness Exp $
+
+*quagga-0.99.13 (23 Jun 2009)
+
+ 23 Jun 2009; Alin Năstac <mrness@gentoo.org> -quagga-0.99.11.ebuild,
+ -quagga-0.99.11-r1.ebuild, +quagga-0.99.13.ebuild:
+ Version bump (#275168). Add pcre USE flag.
*quagga-0.99.12-r1 (14 Jun 2009)
diff --git a/net-misc/quagga/quagga-0.99.11.ebuild b/net-misc/quagga/quagga-0.99.11.ebuild
deleted file mode 100644
index 387af13ee804..000000000000
--- a/net-misc/quagga/quagga-0.99.11.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.11.ebuild,v 1.2 2008/10/13 21:59:33 mrness Exp $
-
-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-20081013.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"
-
-DEPEND="sys-libs/readline
- caps? ( sys-libs/libcap )
- snmp? ( net-analyzer/net-snmp )
- pam? ( sys-libs/pam )"
-RDEPEND="${DEPEND}
- sys-apps/iproute2"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}" || die "source dir not found"
- 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_compile() {
- 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-ripng --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-nssa \
- --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"
- emake || die "make 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."
-}
diff --git a/net-misc/quagga/quagga-0.99.11-r1.ebuild b/net-misc/quagga/quagga-0.99.13.ebuild
index f9b2e501ef13..e21650a93543 100644
--- a/net-misc/quagga/quagga-0.99.11-r1.ebuild
+++ b/net-misc/quagga/quagga-0.99.13.ebuild
@@ -1,35 +1,36 @@
# 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.11-r1.ebuild,v 1.1 2009/05/02 09:37:52 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.13.ebuild,v 1.1 2009/06/23 21:12:04 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-20090502.tar.gz"
+ mirror://gentoo/${P}-patches-20090623.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"
+IUSE="caps ipv6 snmp pam pcre bgpclassless ospfapi realms multipath tcp-zebra"
RESTRICT="userpriv"
-DEPEND="sys-libs/readline
+COMMON_DEPEND="sys-libs/readline
caps? ( sys-libs/libcap )
snmp? ( net-analyzer/net-snmp )
- pam? ( sys-libs/pam )"
-RDEPEND="${DEPEND}
+ pam? ( sys-libs/pam )
+ pcre? ( dev-libs/libpcre )"
+DEPEND="${COMMON_DEPEND}
+ >=sys-devel/libtool-2.2.4"
+RDEPEND="${COMMON_DEPEND}
sys-apps/iproute2"
src_prepare() {
+ epatch "${WORKDIR}/patch/${P}-ipaddr-bug486.diff"
epatch "${WORKDIR}/patch/${P}-link-libcap.patch"
- epatch "${WORKDIR}/patch/${P}-ipv6.patch"
- epatch "${WORKDIR}/patch/${P}-ASN-fixes.patch"
+ epatch "${WORKDIR}/patch/${P}-libpcre.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"
@@ -45,6 +46,7 @@ src_configure() {
$(use_enable caps capabilities) \
$(use_enable snmp) \
$(use_with pam libpam) \
+ $(use_enable pcre pcreposix) \
$(use_enable tcp-zebra)"
use ipv6 \
&& myconf="${myconf} --enable-ipv6 --enable-ripngd --enable-ospf6d --enable-rtadv" \