summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmir Guindehi <amir@gentoo.org>2005-12-13 14:45:07 +0000
committerAmir Guindehi <amir@gentoo.org>2005-12-13 14:45:07 +0000
commit540f995ad087742b34d4e0f6a62882dae4136c49 (patch)
treeb016c882a0d7b0846ae1836853f9b5bf93a9808a /net-misc/quagga
parentAdded local use flags multipath (enables multipath routes for any number of r... (diff)
downloadgentoo-2-540f995ad087742b34d4e0f6a62882dae4136c49.tar.gz
gentoo-2-540f995ad087742b34d4e0f6a62882dae4136c49.tar.bz2
gentoo-2-540f995ad087742b34d4e0f6a62882dae4136c49.zip
Removed obsolete versions.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-misc/quagga')
-rw-r--r--net-misc/quagga/ChangeLog6
-rw-r--r--net-misc/quagga/files/digest-quagga-0.96.5-r12
-rw-r--r--net-misc/quagga/files/digest-quagga-0.98.21
-rw-r--r--net-misc/quagga/files/digest-quagga-0.98.52
-rw-r--r--net-misc/quagga/quagga-0.96.5-r1.ebuild125
-rw-r--r--net-misc/quagga/quagga-0.98.2.ebuild137
-rw-r--r--net-misc/quagga/quagga-0.98.5.ebuild130
7 files changed, 5 insertions, 398 deletions
diff --git a/net-misc/quagga/ChangeLog b/net-misc/quagga/ChangeLog
index eed9e4840454..af3417dc189f 100644
--- a/net-misc/quagga/ChangeLog
+++ b/net-misc/quagga/ChangeLog
@@ -2,7 +2,11 @@
# Copyright 1999-2005 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.26 2005/12/13 14:37:07 amir Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.27 2005/12/13 14:45:07 amir Exp $
+
+ 13 Dec 2005; Amir Guindehi <amir@gentoo.org> -quagga-0.96.5-r1.ebuild,
+ -quagga-0.98.2.ebuild, -quagga-0.98.5.ebuild:
+ Removed obsolete versions.
*quagga-0.98.5-r2 (13 Dec 2005)
diff --git a/net-misc/quagga/files/digest-quagga-0.96.5-r1 b/net-misc/quagga/files/digest-quagga-0.96.5-r1
deleted file mode 100644
index 1c208a87005f..000000000000
--- a/net-misc/quagga/files/digest-quagga-0.96.5-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 cc84ef15cf4c2823a36097fe01775dc3 quagga-0.96.5.tar.gz 1558033
-MD5 5352f366e6c7d07101d9b1684e8c6710 ht-20040525-0.96.5-bgp-md5.patch 15395
diff --git a/net-misc/quagga/files/digest-quagga-0.98.2 b/net-misc/quagga/files/digest-quagga-0.98.2
deleted file mode 100644
index 3860c803d08a..000000000000
--- a/net-misc/quagga/files/digest-quagga-0.98.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8757b155aa2458f6158ccd330d0e1b39 quagga-0.98.2.tar.gz 2012251
diff --git a/net-misc/quagga/files/digest-quagga-0.98.5 b/net-misc/quagga/files/digest-quagga-0.98.5
deleted file mode 100644
index fd9b256cf883..000000000000
--- a/net-misc/quagga/files/digest-quagga-0.98.5
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 ec09c1ec624aea98e18aa19282666784 quagga-0.98.5.tar.gz 2018058
-MD5 fbf4a396755161c7023540bcccdc52cc quagga-0.98.5-patches-20051105.tar.gz 19206
diff --git a/net-misc/quagga/quagga-0.96.5-r1.ebuild b/net-misc/quagga/quagga-0.96.5-r1.ebuild
deleted file mode 100644
index 740b04e6ff09..000000000000
--- a/net-misc/quagga/quagga-0.96.5-r1.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.96.5-r1.ebuild,v 1.6 2005/10/14 05:19:12 mrness Exp $
-
-inherit eutils
-
-MD5_PATCH="ht-20040525-0.96.5-bgp-md5.patch"
-
-DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP. Includes OSPFAPI, NET-SNMP and IPV6 support."
-HOMEPAGE="http://quagga.net/"
-KEYWORDS="x86 ~ppc ~sparc ~alpha ~amd64"
-SLOT="0"
-LICENSE="GPL-2"
-SRC_URI="http://www.quagga.net/download/${P}.tar.gz
- tcpmd5? ( http://hasso.linux.ee/quagga/$MD5_PATCH )"
-
-IUSE="ipv6 snmp pam tcpmd5 ospfapi"
-
-DEPEND="virtual/libc
- sys-devel/binutils
- sys-apps/iproute2
- >=sys-libs/libcap-1.10-r3"
-
-[ -z "${QUAGGA_USER_NAME}" ] && QUAGGA_USER_NAME="quagga"
-[ -z "${QUAGGA_USER_UID}" ] && QUAGGA_USER_UID=441
-[ -z "${QUAGGA_GROUP_NAME}" ] && QUAGGA_GROUP_NAME="quagga"
-[ -z "${QUAGGA_GROUP_GID}" ] && QUAGGA_GROUP_GID=441
-[ -z "${QUAGGA_VTYGROUP}" ] && QUAGGA_VTYGROUP="quagga"
-[ -z "${QUAGGA_USER_SH}" ] && QUAGGA_USER_SH="/bin/false"
-[ -z "${QUAGGA_USER_HOMEDIR}" ] && QUAGGA_USER_HOMEDIR=/var/empty
-[ -z "${QUAGGA_USER_GROUPS}" ] && QUAGGA_USER_GROUPS=${QUAGGA_GROUP_NAME}
-[ -z "${QUAGGA_STATEDIR}" ] && QUAGGA_STATEDIR=/var/run/quagga
-
-pkg_preinst() {
- enewgroup ${QUAGGA_GROUP_NAME} ${QUAGGA_GROUP_GID}
- enewuser ${QUAGGA_USER_NAME} ${QUAGGA_USER_UID} ${QUAGGA_USER_SH} ${QUAGGA_USER_HOMEDIR} ${QUAGGA_USER_GROUPS}
-}
-
-src_unpack() {
- unpack ${A} || die
- cd ${S} || die
- [ -d ${FILESDIR}/patches-${PV} ] && epatch ${FILESDIR}/patches-${PV}
-}
-
-src_compile() {
- local ipv
- local snmp
- local pam
- local tcpmd5
- local ospfapi
-
- use ipv6 && ipv="--enable-ipv6 --enable-ripng --enable-ospf6d --enable-rtadv" || ipv="--disable-ipv6 --disable-ripngd --disable-ospf6d"
- use snmp && snmp="--enable-snmp"
- use pam && pam="--with-libpam"
-
- use tcpmd5 && tcpmd5="--enable-tcp-md5"
- use tcpmd5 && epatch ${DISTDIR}/$MD5_PATCH
-
- use ospfapi && ospfapi="--enable-opaque-lsa --enable-ospf-te --enable-ospfclient"
-
- # update makefiles
-
- export WANT_AUTOMAKE=1.7
-
- ./update-autotools || die
-
- #
- # ipforward detection is broken (and usersandbox will break it too)
- # thanks to Merlin from irc://irc.freenode.net/#quagga
- #
- export IPFORWARD=ipforward_proc.o
- export zebra_ipforward_path="proc"
-
- # configure the stuff
-
- ./configure --host=${CHOST} \
- --prefix=${D}/usr \
- --enable-tcp-zebra \
- --enable-nssa \
- --enable-user=${QUAGGA_USER} \
- --enable-group=${QUAGGA_GROUP} \
- --enable-vty-group=${QUAGGA_VTYGROUP} \
- --with-cflags="${CFLAGS}" \
- --enable-vtysh ${ipv} ${snmp} ${pam} ${tcpmd5} ${ospfapi} \
- --sysconfdir=/etc/quagga \
- --enable-exampledir=${D}/etc/quagga/samples \
- --includedir=${D}/usr/include \
- --localstatedir=${QUAGGA_STATEDIR} \
- --libdir=${D}/usr/lib/quagga \
- || die
- emake || die
-}
-
-src_install() {
- einstall || die
-
- dodir /etc/quagga || die
- dodir /etc/quagga/samples || die
-
- keepdir /var/run/quagga || die
-
- 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"
-}
-
-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 -m0700 -o ${QUAGGA_USER_NAME} -g ${QUAGGA_GROUP_NAME} ${ROOT}/etc/quagga
- install -d -m0755 -o ${QUAGGA_USER_NAME} -g ${QUAGGA_GROUP_NAME} ${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!"
- einfo "See http://hasso.linux.ee/quagga/bgp-md5.en.php for more info."
- fi
-}
diff --git a/net-misc/quagga/quagga-0.98.2.ebuild b/net-misc/quagga/quagga-0.98.2.ebuild
deleted file mode 100644
index e4382906a8f5..000000000000
--- a/net-misc/quagga/quagga-0.98.2.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.98.2.ebuild,v 1.11 2005/11/10 05:19:51 mrness Exp $
-
-inherit eutils
-
-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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ppc ~sparc x86"
-IUSE="ipv6 snmp pam tcpmd5 bgpclassless ospfapi"
-
-RDEPEND="sys-apps/iproute2
- >=sys-libs/libcap-1.10-r5
- snmp? ( net-analyzer/net-snmp )
- pam? ( sys-libs/pam )"
-DEPEND="${RDEPEND}
- virtual/libc
- sys-devel/binutils
- sys-devel/autoconf-wrapper
- sys-devel/libtool"
-
-# TCP MD5 for BGP patch for Linux (RFC 2385)
-MD5_PATCH="ht-20050110-0.98.0-bgp-md5.patch"
-# http://hasso.linux.ee/quagga/ht-20050110-0.98.0-bgp-md5.patch
-
-# Classless prefixes for BGP
-CLASSLESS_PATCH="ht-20040304-classless-bgp.patch"
-# http://hasso.linux.ee/quagga/pending-patches/ht-20040304-classless-bgp.patch
-
-# Connected route fix (Amir)
-CONNECTED_PATCH="amir-connected-route.patch"
-# http://voidptr.sboost.org/quagga/amir-connected-route.patch.bz2
-
-[ -z "${QUAGGA_USER_NAME}" ] && QUAGGA_USER_NAME="quagga"
-[ -z "${QUAGGA_USER_UID}" ] && QUAGGA_USER_UID="-1"
-[ -z "${QUAGGA_GROUP_NAME}" ] && QUAGGA_GROUP_NAME="quagga"
-#[ -z "${QUAGGA_GROUP_GID}" ] && QUAGGA_GROUP_GID=""
-[ -z "${QUAGGA_VTYGROUP}" ] && QUAGGA_VTYGROUP="quagga"
-[ -z "${QUAGGA_USER_SH}" ] && QUAGGA_USER_SH="/bin/false"
-[ -z "${QUAGGA_USER_HOMEDIR}" ] && QUAGGA_USER_HOMEDIR=/var/empty
-[ -z "${QUAGGA_USER_GROUPS}" ] && QUAGGA_USER_GROUPS=${QUAGGA_GROUP_NAME}
-[ -z "${QUAGGA_STATEDIR}" ] && QUAGGA_STATEDIR=/var/run/quagga
-
-pkg_preinst() {
- enewgroup ${QUAGGA_GROUP_NAME} ${QUAGGA_GROUP_GID}
- enewuser ${QUAGGA_USER_NAME} ${QUAGGA_USER_UID} ${QUAGGA_USER_SH} ${QUAGGA_USER_HOMEDIR} ${QUAGGA_USER_GROUPS}
-}
-
-src_unpack() {
- unpack ${A} || die "failed to unpack sources"
-
- cd ${S} || die "source dir not found"
- use tcpmd5 && epatch ${FILESDIR}/patches-${PV}/${MD5_PATCH}
- use bgpclassless && epatch ${FILESDIR}/patches-${PV}/${CLASSLESS_PATCH}
- # non-upstream connected route patch
- epatch ${FILESDIR}/patches-${PV}/${CONNECTED_PATCH}
-}
-
-src_compile() {
- # regenerate configure and co if we touch .ac or .am files
- #export WANT_AUTOMAKE=1.7
- #./update-autotools || die
- autoreconf
- libtoolize --copy --force
-
- 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"
-
- econf \
- --enable-tcp-zebra \
- --enable-nssa \
- --enable-user=${QUAGGA_USER_NAME} \
- --enable-group=${QUAGGA_GROUP_NAME} \
- --enable-vty-group=${QUAGGA_VTYGROUP} \
- --with-cflags="${CFLAGS}" \
- --enable-vtysh \
- --sysconfdir=/etc/quagga \
- --enable-exampledir=/etc/quagga/samples \
- --localstatedir=${QUAGGA_STATEDIR} \
- --libdir=/usr/lib/quagga \
- ${myconf} \
- || die "configure failed"
- emake || die "make failed"
-}
-
-src_install() {
- einstall \
- localstatedir=${D}/${QUAGGA_STATEDIR} \
- sysconfdir=${D}/etc/quagga \
- exampledir=${D}/etc/quagga/samples \
- libdir=${D}/usr/lib/quagga || die "make install failed"
-
- keepdir /var/run/quagga || die
-
- 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_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_GROUP_NAME} ${ROOT}/etc/quagga
- install -d -m0755 -o ${QUAGGA_USER_NAME} -g ${QUAGGA_GROUP_NAME} ${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!"
- einfo "See http://hasso.linux.ee/quagga/bgp-md5.en.php for more info."
- fi
-}
diff --git a/net-misc/quagga/quagga-0.98.5.ebuild b/net-misc/quagga/quagga-0.98.5.ebuild
deleted file mode 100644
index b0d4c32268d3..000000000000
--- a/net-misc/quagga/quagga-0.98.5.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.98.5.ebuild,v 1.1 2005/11/10 05:19:51 mrness Exp $
-
-inherit eutils multilib
-
-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-20051105.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~sparc ~x86"
-IUSE="ipv6 snmp pam tcpmd5 bgpclassless ospfapi realms"
-
-RDEPEND="sys-apps/iproute2
- >=sys-libs/libcap-1.10-r5
- snmp? ( net-analyzer/net-snmp )
- pam? ( sys-libs/pam )"
-DEPEND="${RDEPEND}
- virtual/libc
- sys-devel/binutils
- sys-devel/autoconf-wrapper
- sys-devel/libtool"
-
-src_unpack() {
- unpack ${A} || die "failed to unpack sources"
-
- cd ${S} || die "source dir not found"
- # TCP MD5 for BGP patch for Linux (RFC 2385) - http://hasso.linux.ee/quagga/ht-20050110-0.98.0-bgp-md5.patch
- use tcpmd5 && epatch "${WORKDIR}/patch/ht-20050110-0.98.0-bgp-md5.patch"
- # Classless prefixes for BGP - http://hasso.linux.ee/quagga/pending-patches/ht-20040304-classless-bgp.patch
- use bgpclassless && epatch "${WORKDIR}/patch/ht-20040304-classless-bgp.patch"
- # Connected route fix (Amir) - http://voidptr.sboost.org/quagga/amir-connected-route.patch.bz2
- epatch "${WORKDIR}/patch/amir-connected-route.patch"
- # Realms support (Calin Velea) - http://vcalinus.gemenii.ro/quaggarealms.html
- use realms && epatch "${WORKDIR}/patch/${P}-realms.diff"
-}
-
-src_compile() {
- # regenerate configure and co if we touch .ac or .am files
- #export WANT_AUTOMAKE=1.7
- #./update-autotools || die
- autoreconf
- libtoolize --copy --force
-
- 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"
-
- econf \
- --enable-tcp-zebra \
- --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 || die
-
- 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!"
- einfo "See http://hasso.linux.ee/quagga/bgp-md5.en.php for more info."
- fi
-
- if use ipv6; then
- echo
- ewarn "This version of quagga contains a netlink race condition fix that triggered a kernel bug"
- ewarn "which affects IPv6 users who have a kernel version < 2.6.13-rc6."
- einfo "See following links for more info:"
- einfo " http://lists.quagga.net/pipermail/quagga-dev/2005-June/003507.html"
- einfo " http://bugzilla.quagga.net/show_bug.cgi?id=196"
- fi
-}