From: Alin Năstac Date: Fri, 12 Jan 2007 14:04:43 +0000 (+0000) Subject: Version bump (#161728). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cc58aca0b8bd22f1b5fe58bfa848158ff16cdfa8;p=gentoo.git Version bump (#161728). Package-Manager: portage-2.1.1-r2 --- diff --git a/net-misc/quagga/ChangeLog b/net-misc/quagga/ChangeLog index f79c334694e6..94ae6e29e408 100644 --- a/net-misc/quagga/ChangeLog +++ b/net-misc/quagga/ChangeLog @@ -1,8 +1,13 @@ # ChangeLog for net-misc/quagga -# Copyright 1999-2006 Gentoo Foundation +# 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.46 2006/11/29 20:10:44 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.47 2007/01/12 14:04:43 mrness Exp $ + +*quagga-0.99.6 (12 Jan 2007) + + 12 Jan 2007; Alin Năstac +quagga-0.99.6.ebuild: + Version bump (#161728). 29 Nov 2006; Alin Năstac quagga-0.98.6-r1.ebuild, -quagga-0.99.4.ebuild, quagga-0.99.5.ebuild: diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest index 4355b11e57d5..0da55f2a62e6 100644 --- a/net-misc/quagga/Manifest +++ b/net-misc/quagga/Manifest @@ -41,6 +41,8 @@ DIST quagga-0.98.6-patches-20060511.tar.gz 19251 RMD160 0c46dc9aac99a74871bf1252 DIST quagga-0.98.6.tar.gz 2019992 RMD160 e15cd93b5d321660d7e29fc27174352967342879 SHA1 2234d1235f504e9dc5865cc8d5fd4e250bf43ed5 SHA256 a84e1aac4e666929abd1942fa8958d9ef0d0bbf605f47d5c2a09f6be716987a1 DIST quagga-0.99.5-patches-20061111.tar.gz 17786 RMD160 a301713e724bd0190302858f1209b4e32abb0e5b SHA1 fa2afcb1bb0ca2bded17eefb14a734b8f5ecc3d4 SHA256 0be922ffe1fbdf420500f8c93c8ac08bf37af77e91171d2f1a4fa2cad279272b DIST quagga-0.99.5.tar.gz 2311140 RMD160 7e9237f12bd6105b91d79c5e22f6999234126b50 SHA1 ef20ca8b0d161a9cac1a232fa4a8c0db94b0d58d SHA256 2555535654893806d21e804406f2cf594214bb2b9661458eb5bbf00402c31c7b +DIST quagga-0.99.6-patches-20070112.tar.gz 17361 RMD160 d8704b3dbb8ba550fc7aa0fa9ad6e9ee5007aac6 SHA1 b8813902cf4354fe142e54924d9a3ce70614d691 SHA256 967e31f3bc8d79a107ad619b35204c1d626fba6eb4e4fb33418f56a815c5d213 +DIST quagga-0.99.6.tar.gz 2324051 RMD160 0dbeedc6d64ea7266677e88f951adc2f63d02935 SHA1 eb35c4bf2a8da4fdf66f2a7eb7724852b0f7e017 SHA256 a22c927f9ceb7152b0c45c939ccb81217c8d614f3c411c86781b24520f2ec15a EBUILD quagga-0.98.6-r1.ebuild 5089 RMD160 5651737641dbb5646a6c020e6a99acac1edd70af SHA1 e9507728c1b9c36aa76f0cc154c092b678b748fc SHA256 2982a9d62c04d4b229557198bd3e5aae6e3b070dcd5cc42e941626595a065300 MD5 6255b83707ebb2d6d0a4bd77dbec5d71 quagga-0.98.6-r1.ebuild 5089 RMD160 5651737641dbb5646a6c020e6a99acac1edd70af quagga-0.98.6-r1.ebuild 5089 @@ -49,10 +51,14 @@ EBUILD quagga-0.99.5.ebuild 3943 RMD160 ccd295fe81093746b78c06820ddcc7ef7de3063d MD5 70e5d54f2123cbefc48784005d30c3da quagga-0.99.5.ebuild 3943 RMD160 ccd295fe81093746b78c06820ddcc7ef7de3063d quagga-0.99.5.ebuild 3943 SHA256 aa8509f23339f6d51591643d041e43aab59902820d3462d2a197d2535e9b5e05 quagga-0.99.5.ebuild 3943 -MISC ChangeLog 13198 RMD160 ae5c334bd5ada1b21e825e922ca4537584206f4d SHA1 eb24ba51cd4aa300eb1a727f29de525127708078 SHA256 7593d646458a710dd33ab1d8f97a7cec522b89b9d2053afb8a4205453aa1787a -MD5 bc5dc21feb4d3164790a8c732e45e79a ChangeLog 13198 -RMD160 ae5c334bd5ada1b21e825e922ca4537584206f4d ChangeLog 13198 -SHA256 7593d646458a710dd33ab1d8f97a7cec522b89b9d2053afb8a4205453aa1787a ChangeLog 13198 +EBUILD quagga-0.99.6.ebuild 3943 RMD160 6734457d5ada5f3f1a923cd403952c92338f4ffe SHA1 831e6bfb67f7dec1f351070cd3ef947274b91862 SHA256 4e48c3b643d7fa1b929c3f5a3b5febd296325b4f13c53f7c629e918aa6fd0d38 +MD5 6a7ef034bd6a351f38d5f2c0ad797497 quagga-0.99.6.ebuild 3943 +RMD160 6734457d5ada5f3f1a923cd403952c92338f4ffe quagga-0.99.6.ebuild 3943 +SHA256 4e48c3b643d7fa1b929c3f5a3b5febd296325b4f13c53f7c629e918aa6fd0d38 quagga-0.99.6.ebuild 3943 +MISC ChangeLog 13326 RMD160 af4661f1482c894b52512fbc224ed28ebf7d2fae SHA1 17d79a2d81efb1b4a8438fa485182c42ddabd651 SHA256 2e424a7aa1e08b39971ad827e88d97a228cd7bfa95cc43ecbcf64fe38a922029 +MD5 ce8bd71a52e1979e4c7b85d4923a369a ChangeLog 13326 +RMD160 af4661f1482c894b52512fbc224ed28ebf7d2fae ChangeLog 13326 +SHA256 2e424a7aa1e08b39971ad827e88d97a228cd7bfa95cc43ecbcf64fe38a922029 ChangeLog 13326 MISC metadata.xml 1301 RMD160 2f07ee712c18a121b153385c20a69ceee57395aa SHA1 0d1a07e1b3821ec910b98531511f51f733915a8d SHA256 b6b92c898b68e0c1a270fbd47b91321e9a0db76068990fcbbd93ad83246b4cbb MD5 558920a085e2065a8aef6eca3e1896fb metadata.xml 1301 RMD160 2f07ee712c18a121b153385c20a69ceee57395aa metadata.xml 1301 @@ -63,10 +69,13 @@ SHA256 16c8576b8842fd33e5545deed73e9d2c4a0a3530e8e9556b567695551a714716 files/di MD5 c13316f5837127e7515e0498d15984d4 files/digest-quagga-0.99.5 533 RMD160 dcc9497638b2d6d071b741c45064f2ee01c73464 files/digest-quagga-0.99.5 533 SHA256 0e6afbebd5de7159100db142acbc29bc46a59951b74cb414aad2764cce984972 files/digest-quagga-0.99.5 533 +MD5 020249364f04aca6a99c4a884a11a344 files/digest-quagga-0.99.6 533 +RMD160 1f613d61d300c0a90644025df7e68b4845738c3e files/digest-quagga-0.99.6 533 +SHA256 9ff7f2ca0f6759755a3679f8fea920f3d205e3e7f28af0d53a54bd582333bd07 files/digest-quagga-0.99.6 533 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFbell3sf9c6kjmR8RAhkVAKCSGknbBNW14X8aThxI3sNKesg3HQCeKNmH -3EcJxi6KTNnmNZUUVmkOI7w= -=ks5t +iD8DBQFFp5WIJnxX6mF440QRAs3lAJ9KmZ0iKHCJ5SipeSpcbCx3mr4zrwCeKrj5 +ydNAMspm6Gd3mBv5r6ZwfSY= +=9E14 -----END PGP SIGNATURE----- diff --git a/net-misc/quagga/files/digest-quagga-0.99.6 b/net-misc/quagga/files/digest-quagga-0.99.6 new file mode 100644 index 000000000000..e29b70e976d8 --- /dev/null +++ b/net-misc/quagga/files/digest-quagga-0.99.6 @@ -0,0 +1,6 @@ +MD5 3b7231e70a4abf40cc708650127b9495 quagga-0.99.6-patches-20070112.tar.gz 17361 +RMD160 d8704b3dbb8ba550fc7aa0fa9ad6e9ee5007aac6 quagga-0.99.6-patches-20070112.tar.gz 17361 +SHA256 967e31f3bc8d79a107ad619b35204c1d626fba6eb4e4fb33418f56a815c5d213 quagga-0.99.6-patches-20070112.tar.gz 17361 +MD5 78137ecaa66ff4c3780bd05f60e51cf5 quagga-0.99.6.tar.gz 2324051 +RMD160 0dbeedc6d64ea7266677e88f951adc2f63d02935 quagga-0.99.6.tar.gz 2324051 +SHA256 a22c927f9ceb7152b0c45c939ccb81217c8d614f3c411c86781b24520f2ec15a quagga-0.99.6.tar.gz 2324051 diff --git a/net-misc/quagga/quagga-0.99.6.ebuild b/net-misc/quagga/quagga-0.99.6.ebuild new file mode 100644 index 000000000000..f14fad8cc102 --- /dev/null +++ b/net-misc/quagga/quagga-0.99.6.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.6.ebuild,v 1.1 2007/01/12 14:04:43 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-20070112.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.99.6-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 +}