summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-03-18 08:45:03 +0000
committerAlin Năstac <mrness@gentoo.org>2007-03-18 08:45:03 +0000
commitb4c9a6ccdcd362f6f53ff2a51c0c118b582e7dae (patch)
tree9e072fecff1db26639b9477b3de67c9de26e0ba7 /net-misc
parentRemove obsolete version. (diff)
downloadgentoo-2-b4c9a6ccdcd362f6f53ff2a51c0c118b582e7dae.tar.gz
gentoo-2-b4c9a6ccdcd362f6f53ff2a51c0c118b582e7dae.tar.bz2
gentoo-2-b4c9a6ccdcd362f6f53ff2a51c0c118b582e7dae.zip
Remove obsolete testing version.
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/quagga/ChangeLog5
-rw-r--r--net-misc/quagga/files/digest-quagga-0.99.56
-rw-r--r--net-misc/quagga/quagga-0.99.5.ebuild120
3 files changed, 4 insertions, 127 deletions
diff --git a/net-misc/quagga/ChangeLog b/net-misc/quagga/ChangeLog
index 20b91ac17f06..adb3be759060 100644
--- a/net-misc/quagga/ChangeLog
+++ b/net-misc/quagga/ChangeLog
@@ -2,7 +2,10 @@
# Copyright 1999-2007 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.48 2007/02/25 09:57:17 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.49 2007/03/18 08:45:03 mrness Exp $
+
+ 18 Mar 2007; Alin Năstac <mrness@gentoo.org> -quagga-0.99.5.ebuild:
+ Remove obsolete testing version.
25 Feb 2007; Alin Năstac <mrness@gentoo.org> files/zebra.init:
Speed up cleanup of staled zebra routes, thanks to Jan Oravec <jan.oravec at
diff --git a/net-misc/quagga/files/digest-quagga-0.99.5 b/net-misc/quagga/files/digest-quagga-0.99.5
deleted file mode 100644
index f52d125b3758..000000000000
--- a/net-misc/quagga/files/digest-quagga-0.99.5
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 a5ff8d360fe733df38cf86c5d04090e8 quagga-0.99.5-patches-20061111.tar.gz 17786
-RMD160 a301713e724bd0190302858f1209b4e32abb0e5b quagga-0.99.5-patches-20061111.tar.gz 17786
-SHA256 0be922ffe1fbdf420500f8c93c8ac08bf37af77e91171d2f1a4fa2cad279272b quagga-0.99.5-patches-20061111.tar.gz 17786
-MD5 3f9c71aca6faa22a889e2f84ecfd0076 quagga-0.99.5.tar.gz 2311140
-RMD160 7e9237f12bd6105b91d79c5e22f6999234126b50 quagga-0.99.5.tar.gz 2311140
-SHA256 2555535654893806d21e804406f2cf594214bb2b9661458eb5bbf00402c31c7b quagga-0.99.5.tar.gz 2311140
diff --git a/net-misc/quagga/quagga-0.99.5.ebuild b/net-misc/quagga/quagga-0.99.5.ebuild
deleted file mode 100644
index a17deb7aab43..000000000000
--- a/net-misc/quagga/quagga-0.99.5.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.5.ebuild,v 1.3 2006/11/29 20:10:44 mrness Exp $
-
-WANT_AUTOMAKE="latest"
-WANT_AUTOCONF="latest"
-
-inherit eutils multilib autotools
-
-DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP. Includes OSPFAPI, NET-SNMP and IPV6 support."
-HOMEPAGE="http://quagga.net/"
-SRC_URI="http://www.quagga.net/download/${P}.tar.gz
- mirror://gentoo/${P}-patches-20061111.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
-IUSE="ipv6 snmp pam tcpmd5 bgpclassless ospfapi realms multipath tcp-zebra"
-RESTRICT="userpriv"
-
-DEPEND=">=sys-libs/libcap-1.10-r5
- snmp? ( net-analyzer/net-snmp )
- pam? ( sys-libs/pam )"
-RDEPEND="${DEPEND}
- sys-apps/iproute2"
-
-src_unpack() {
- unpack ${A} || die "failed to unpack sources"
-
- cd "${S}" || die "source dir not found"
- epatch "${WORKDIR}/patch/${P}-link-libcap.patch"
-
- # TCP MD5 for BGP patch for Linux (RFC 2385) - http://hasso.linux.ee/doku.php/english:network:rfc2385
- use tcpmd5 && epatch "${WORKDIR}/patch/ht-20050321-0.98.2-bgp-md5_adapted.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 --enable-dynamic"
-
- 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 snmp && myconf="${myconf} --enable-snmp"
- use pam && myconf="${myconf} --with-libpam"
- use tcpmd5 && myconf="${myconf} --enable-tcp-md5"
- use realms && myconf="${myconf} --enable-realms"
- use multipath && myconf="${myconf} --enable-multipath=0"
- use tcp-zebra && myconf="${myconf} --enable-tcp-zebra"
-
- 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"
-
- keepdir /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
- fi
-
- newenvd "${FILESDIR}/quagga.env" 99quagga
-}
-
-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."
-
- if use tcpmd5; then
- echo
- ewarn "TCP MD5 for BGP needs a patched kernel!"
- ewarn "See http://hasso.linux.ee/doku.php/english:network:rfc2385 for more info."
- fi
-}