summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-06-18 20:05:10 +0000
committerAlin Năstac <mrness@gentoo.org>2008-06-18 20:05:10 +0000
commitb9cf4c46d4098412cc7e59076329a4b78ee1bfc9 (patch)
tree8cde9a7bfb881f65d95ff37f08148bc060e9469a /net-misc/quagga
parentVersion bumped. (diff)
downloadhistorical-b9cf4c46d4098412cc7e59076329a4b78ee1bfc9.tar.gz
historical-b9cf4c46d4098412cc7e59076329a4b78ee1bfc9.tar.bz2
historical-b9cf4c46d4098412cc7e59076329a4b78ee1bfc9.zip
Version bump (#227913).
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-misc/quagga')
-rw-r--r--net-misc/quagga/ChangeLog7
-rw-r--r--net-misc/quagga/Manifest11
-rw-r--r--net-misc/quagga/quagga-0.99.10.ebuild147
3 files changed, 160 insertions, 5 deletions
diff --git a/net-misc/quagga/ChangeLog b/net-misc/quagga/ChangeLog
index 96fddadbbaf6..f59837299065 100644
--- a/net-misc/quagga/ChangeLog
+++ b/net-misc/quagga/ChangeLog
@@ -2,7 +2,12 @@
# Copyright 1999-2008 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.73 2008/05/13 22:38:28 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.74 2008/06/18 20:05:10 mrness Exp $
+
+*quagga-0.99.10 (18 Jun 2008)
+
+ 18 Jun 2008; Alin Năstac <mrness@gentoo.org> +quagga-0.99.10.ebuild:
+ Version bump (#227913).
13 May 2008; Alin Năstac <mrness@gentoo.org> quagga-0.98.6-r4.ebuild,
quagga-0.99.9-r1.ebuild:
diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index f8a64110751b..33ce9afab385 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -12,16 +12,19 @@ AUX zebra.conf 371 RMD160 618332506925b73df1fa66b80cc6aea3a6cdebb3 SHA1 a4c7a774
AUX zebra.init 1013 RMD160 1cb01c0b95fd8a49d442b2a0c1d900e1cee7d477 SHA1 462d7e255f01fb9615f99526976cef209ea332e7 SHA256 7eac27ca9661fb453a93b131bfbf69e409a06f65c2cedb83cdd55869d6871236
DIST quagga-0.98.6-patches-20070912.tar.gz 21385 RMD160 4c4286700e5cb9d45366d59c76ca22c74fcbdb1a SHA1 a9f24b09e582aa828b5ba4bbaf616818f1db1b7a SHA256 e7292a65145e66bb30ff51b221486006d8abc2b4a587520feebc7f3f0e1e17f0
DIST quagga-0.98.6.tar.gz 2019992 RMD160 e15cd93b5d321660d7e29fc27174352967342879 SHA1 2234d1235f504e9dc5865cc8d5fd4e250bf43ed5 SHA256 a84e1aac4e666929abd1942fa8958d9ef0d0bbf605f47d5c2a09f6be716987a1
+DIST quagga-0.99.10-patches-20080618.tar.gz 29918 RMD160 7987d6951a43ff1a7e05e92c2cf2bffa70aae918 SHA1 b66cfa00f3888a25e657ea6c9c95c49f6c9c67b1 SHA256 f2a86cec598e61891b0b845931c99e88a54ac3bd7b6f7fafc31ed3c98b2367a5
+DIST quagga-0.99.10.tar.gz 2424191 RMD160 d37081842c9e64e5364f6f98c43ebb65506f9f1b SHA1 a42f3ddd269209ad05059ad9e96f31bce5699860 SHA256 f27d55904eb9a9eaf61a19b288ac79c9024b341734b984dccc04c343dfce890d
DIST quagga-0.99.9-patches-20070913.tar.gz 51990 RMD160 c6c9582c47e1ff362e39f873c03b85a02f5e8253 SHA1 b656a790e1b961b34d712b862a06c50da748b241 SHA256 532c5ea6b7d2ada6e88fd92fc0d4c5cce2b48794bed0d8a9d09e070d433b91e3
DIST quagga-0.99.9.tar.gz 2341067 RMD160 c7ad68d0c728d13c1917ec727aa113e3ec60728f SHA1 bb28ffde585a3c757d883fd75dcc1d5f3a1afe70 SHA256 92abf44c5239c8a18762cf27cafd03b46d581f180bc411706314b8b8d1e94db0
EBUILD quagga-0.98.6-r4.ebuild 5321 RMD160 f0272002dcca1170df2b47e0f8d1f07a279e8409 SHA1 758389e2bdf1410dff84c22810180e030ac24172 SHA256 0b05d494650afc1fd318f1cef356bf30b7b72206561af339c1ad07924428cf1d
+EBUILD quagga-0.99.10.ebuild 4727 RMD160 1b0c50d886d9321ec7669132b5497da82b75b40f SHA1 322bc089e605c8141af5411b418fad34005bc9cd SHA256 fb10f75c795d001c70ebf27b9c61d0306ae88791ae746d2d627528ebf1140add
EBUILD quagga-0.99.9-r1.ebuild 4691 RMD160 c739082d64f8d01db36d98827c52f1b49c07cd99 SHA1 a6e9c9e9914c9d7eddf9dcdc33704693b32e78ba SHA256 544404fa236cb04ae2491677eeb8fee180d31f7253c5cc0691f4d4eb56ef6ee1
-MISC ChangeLog 17069 RMD160 2eb5be2c504f2c442ffac9866e227effd88cfbe5 SHA1 85cc98007a04fb59c60727aba758ae7f138b3fcd SHA256 93db8b0205b8267f9a3e4bfa3c0e1ae529bd738887d9b9437bdd45d941ccb050
+MISC ChangeLog 17199 RMD160 89bdfd30a25306dd077e28207c0b9e9d5ec4eedb SHA1 0dca750a71c8fc00e8d4c4e34790b3f330734add SHA256 6efe481db6433efaba300fee63ebf9242a3d92483fccb7ba17f99afc999612a0
MISC metadata.xml 1301 RMD160 2f07ee712c18a121b153385c20a69ceee57395aa SHA1 0d1a07e1b3821ec910b98531511f51f733915a8d SHA256 b6b92c898b68e0c1a270fbd47b91321e9a0db76068990fcbbd93ad83246b4cbb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkgqGGwACgkQ+fWpoTWIA9EpiwCgixhbSM9lf+P6dU3ibqS6NAWE
-/MsAn1jFphQyNKl+wzRrWtFolIRxY5I9
-=snFt
+iEYEARECAAYFAkhZaoEACgkQ+fWpoTWIA9Fy/QCfaC5tiGYtEwGjv56RAkZi5XZw
+etUAn0HgzM/++xrA24h7txuxq+7xOHdX
+=rayB
-----END PGP SIGNATURE-----
diff --git a/net-misc/quagga/quagga-0.99.10.ebuild b/net-misc/quagga/quagga-0.99.10.ebuild
new file mode 100644
index 000000000000..0acbbb709fba
--- /dev/null
+++ b/net-misc/quagga/quagga-0.99.10.ebuild
@@ -0,0 +1,147 @@
+# 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.10.ebuild,v 1.1 2008/06/18 20:05:10 mrness Exp $
+
+WANT_AUTOMAKE="latest"
+WANT_AUTOCONF="latest"
+
+inherit eutils multilib autotools linux-info
+
+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-20080618.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+IUSE="caps ipv6 snmp pam tcpmd5 bgpas4 bgpclassless ospfapi realms multipath tcp-zebra"
+RESTRICT="userpriv"
+
+DEPEND="sys-libs/readline
+ caps? ( >=sys-libs/libcap-1.10-r9 )
+ snmp? ( net-analyzer/net-snmp )
+ pam? ( sys-libs/pam )"
+RDEPEND="${DEPEND}
+ sys-apps/iproute2"
+
+pkg_setup() {
+ if use tcpmd5 ; then
+ get_version || get_running_version
+ fi
+ return 0
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}" || die "source dir not found"
+ epatch "${WORKDIR}/patch/${P}-link-libcap.patch"
+
+ # free AS number format (aka AS4) support (original found at http://quagga.ncc.eurodata.de)
+ use bgpas4 && epatch "${WORKDIR}/patch/quagga-cvs20071015-freeasnumberformat.patch"
+
+ if use tcpmd5 ; then
+ if kernel_is lt 2 6 20 ; then
+ # TCP MD5 for BGP patch for Linux (RFC 2385)
+ # original found at http://hasso.linux.ee/doku.php/english:network:rfc2385
+ epatch "${WORKDIR}/patch/ht-20050321-${PV}-bgp-md5_adapted.patch"
+ else
+ # TCP MD5 in-kernel support for kernels >=2.6.20 (by Leigh Brown)
+ # original found at http://www.solinno.co.uk/md5sig/quagga_linux-2.6.20_md5sig.diff
+ epatch "${WORKDIR}/patch/${P}-linux-2.6.20_md5sig_adapted.patch"
+ fi
+ fi
+
+ # 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 tcpmd5 tcp-md5) \
+ $(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."
+
+ if use tcpmd5; then
+ echo
+ if kernel_is lt 2 6 20; then
+ ewarn "TCP MD5 for BGP needs a patched kernel!"
+ ewarn "See http://hasso.linux.ee/doku.php/english:network:rfc2385 for more info."
+ else
+ CONFIG_CHECK="~TCP_MD5SIG"
+ local ERROR_TCP_MD5SIG="CONFIG_TCP_MD5SIG:\t missing TCP MD5 signature support (RFC2385)"
+
+ check_extra_config
+ fi
+ fi
+}