diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-03-21 16:27:11 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-03-21 16:27:11 +0000 |
commit | ef2478d2568a39f26781fddc6b3afe72d83c5d72 (patch) | |
tree | 9d1c1677c1bf6a93d871b01914f97c79c9850079 /net-misc | |
parent | [sci-chemistry/gromacs] Version bump (diff) | |
download | historical-ef2478d2568a39f26781fddc6b3afe72d83c5d72.tar.gz historical-ef2478d2568a39f26781fddc6b3afe72d83c5d72.tar.bz2 historical-ef2478d2568a39f26781fddc6b3afe72d83c5d72.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/quagga/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/quagga/Manifest | 14 | ||||
-rw-r--r-- | net-misc/quagga/quagga-0.99.18.ebuild | 123 |
3 files changed, 142 insertions, 2 deletions
diff --git a/net-misc/quagga/ChangeLog b/net-misc/quagga/ChangeLog index 4f6e53c5f744..7bdadd155ff6 100644 --- a/net-misc/quagga/ChangeLog +++ b/net-misc/quagga/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/quagga # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.102 2011/02/12 18:22:06 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.103 2011/03/21 16:27:11 flameeyes Exp $ + +*quagga-0.99.18 (21 Mar 2011) + + 21 Mar 2011; Diego E. Pettenò <flameeyes@gentoo.org> +quagga-0.99.18.ebuild: + Version bump. 06 Feb 2011; Diego E. Pettenò <flameeyes@gentoo.org> metadata.xml: Fix email address and missing space. diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest index 3cf6f06fe64f..d81c3a4416eb 100644 --- a/net-misc/quagga/Manifest +++ b/net-misc/quagga/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX quagga-0.99.17-gentoo.patch 1782 RMD160 ad7b1f09bc072d2cbc4af4bfd2f1272ab3dcdf21 SHA1 c597104d65cb4a4ccec5e4641ee01cbe2602c4cc SHA256 4d4ab6b57ff2e16ea231bfbccd20848d1fbabbeac59530883e7381a2fa197ade AUX quagga-services.init 1287 RMD160 7342eac8f86c4f56442866ebef23df2a54b98fd7 SHA1 512eef0c490226a3165e1743e30ccea7334e18bc SHA256 32bb9f40533ee38394fffadf33ca4bf94535be7aecf3f856bd83f0b526651773 AUX quagga.pam 975 RMD160 df2433b76a16f2c8747f9569e88ed90c9c1f2bae SHA1 bfcd1bbbd4162fd70541f0d754a0e5a818025bc9 SHA256 aa68ac97d7a951324bc3c4124a1c70f6fa88a45da860f636ac01cbcbfa36db70 @@ -5,6 +8,15 @@ AUX zebra.init.2 1368 RMD160 d08432138577f2b7870d7a439a9a86698cf858f7 SHA1 8d5ff DIST ht-20040304-classless-bgp.patch 1581 RMD160 e08f18b725d2f899f0c4abe7df37dc6608e88baf SHA1 5216bfbcb0f0c42846d56afe7ab778895197a039 SHA256 39993890f9e31d662ed0564c732fb22392a901beb45b64261ffeadd9edf27887 DIST quagga-0.99.14-realms-test2-gentoo.patch.bz2 10644 RMD160 3a709594e0c884a7a0b2efd3dee0f48fe34b27c8 SHA1 087b45666159470c7d4ca2976db58291a1b52ba3 SHA256 d501d3af061a001cef3698caff58c313872c0fbce55aa869b6e36377443c2e33 DIST quagga-0.99.17.tar.gz 2202151 RMD160 f00bf01930f781ae0de9fe9981c74e7bae0798b5 SHA1 31f42fa9f4d96aadf1bf97c3d9bf3308eb0d56c1 SHA256 1d77df121a334e9504b45e489ee7ce35bf478e27d33cd2793a23280b59d9efd4 +DIST quagga-0.99.18.tar.gz 2199014 RMD160 8c13de87ec9b73b4897e4387a7faebdbcb6cb826 SHA1 3486a8452212515f429dfae2cad5ed541b3d88d8 SHA256 0cdbe4b90075f4997ca6ecc71ef683a07b4a8ca3c718080fe83f4bcadbcc4d93 EBUILD quagga-0.99.17-r2.ebuild 3503 RMD160 ec2e3a89903f0cbe41ec04080522fdbb6df06697 SHA1 fd327e5e3f7ba7fc548ea280578cec0d712ba526 SHA256 0087196e974c5a5425af98656e42473b5f9f7a1a08f20b8bdd85b931c492e8a2 -MISC ChangeLog 17926 RMD160 7b4aca3b84f952f499df47483be1d933312a9b7e SHA1 eebd8eae43c26b92e08f7eab4ba9b6f06aaf3f7a SHA256 c5a176abad2bafe65ea9926de34e108ef21b2dc192b260a6eacdf85a4241f93b +EBUILD quagga-0.99.18.ebuild 3572 RMD160 0d110b215ebcf82e95b6eddd57da84a43bdb1236 SHA1 fd9b431abc822303eec861695ff40086b868fba8 SHA256 7caa5d0a8c76f56cb9aefc654b978b55844e6145fec69023bbd27ab170f0895f +MISC ChangeLog 18058 RMD160 4fcf1557506e399aed0f9e2639b1072361471207 SHA1 7a0e858a6df5579b8a5bc8071d3d42c2074ac13c SHA256 bddec0e642133151026b9a56eef2992fcba9b6ac127585594f64f36ddf71865e MISC metadata.xml 2577 RMD160 c2d0cf38a9f6381d07cb8da14084d44c81c88941 SHA1 e02360db7c6f7284e57baa1355750b3fe43bf3c7 SHA256 bfcacc88fd4c925d20241afcb9fb65f336cab5dfd81920d5f6aef32379005474 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk2HfFQACgkQAiZjviIA2XiKXACbBu6v8olkEwVy0lXJBYbc7T/2 +EG8An2deHvkXM0pfWaQBeOOEsF0O7PSg +=eS7G +-----END PGP SIGNATURE----- diff --git a/net-misc/quagga/quagga-0.99.18.ebuild b/net-misc/quagga/quagga-0.99.18.ebuild new file mode 100644 index 000000000000..516d28221656 --- /dev/null +++ b/net-misc/quagga/quagga-0.99.18.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.18.ebuild,v 1.1 2011/03/21 16:27:10 flameeyes Exp $ + +EAPI="2" + +CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch +#REALMS_PATCH=quagga-0.99.14-realms-test2.diff +REALMS_PATCH=quagga-0.99.14-realms-test2-gentoo.patch.bz2 + +inherit eutils multilib autotools pam + +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 + bgpclassless? ( http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} ) + realms? ( http://dev.gentoo.org/~flameeyes/patches/${PN}/${REALMS_PATCH} )" +# realms? ( http://linux.mantech.ro/download/quagga/${REALMS_PATCH} ) + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86" +IUSE="caps doc ipv6 snmp pam bgpclassless ospfapi realms multipath tcp-zebra elibc_glibc +readline" + +COMMON_DEPEND=" + caps? ( sys-libs/libcap ) + snmp? ( net-analyzer/net-snmp ) + readline? ( + sys-libs/readline + pam? ( sys-libs/pam ) + ) + !elibc_glibc? ( dev-libs/libpcre )" +DEPEND="${COMMON_DEPEND} + >=sys-devel/libtool-2.2.4" +RDEPEND="${COMMON_DEPEND} + sys-apps/iproute2" + +pkg_setup() { + enewgroup quagga + enewuser quagga -1 -1 /var/empty quagga +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-0.99.17-gentoo.patch" + + # Classless prefixes for BGP + # http://hasso.linux.ee/doku.php/english:network:quagga + use bgpclassless && epatch "${DISTDIR}/${CLASSLESS_BGP_PATCH}" + + # Realms support (Calin Velea) + # http://vcalinus.gemenii.ro/quaggarealms.html + # http://linux.mantech.ro/quagga+realm_en.php + use realms && epatch "${DISTDIR}/${REALMS_PATCH}" + + eautoreconf +} + +src_configure() { + local myconf= + + 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-user=quagga \ + --enable-group=quagga \ + --enable-vty-group=quagga \ + --with-cflags="${CFLAGS}" \ + --sysconfdir=/etc/quagga \ + --enable-exampledir=/usr/share/doc/${PF}/samples \ + --localstatedir=/var/run/quagga \ + --disable-static \ + --disable-pie \ + \ + $(use_enable caps capabilities) \ + $(use_enable snmp) \ + $(use_enable !elibc_glibc pcreposix) \ + $(use_enable tcp-zebra) \ + $(use_enable doc) \ + \ + $(use_enable readline vtysh) \ + $(use_with pam libpam) \ + \ + $(use_enable ipv6) \ + $(use_enable ipv6 ripngd) \ + $(use_enable ipv6 ospf6d) \ + $(use_enable ipv6 rtadv) \ + \ + ${myconf} \ + || die "configure failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + find "${D}" -name '*.la' -delete || die + + keepdir /etc/quagga || die + fowners root:quagga /etc/quagga || die + fperms 0770 /etc/quagga || die + + newinitd "${FILESDIR}"/zebra.init.2 zebra || die + + # install ripd as a file, symlink the rest + newinitd "${FILESDIR}"/quagga-services.init ripd || die + + for service in ospfd bgpd $(use ipv6 && echo ripngd ospf6d); do + ln -s ripd "${D}"/etc/init.d/${service} || die + done + + use readline && newpamd "${FILESDIR}/quagga.pam" quagga +} + +pkg_postinst() { + elog "Sample configuration files can be found in /usr/share/doc/${PF}/samples" + elog "You have to create config files in /etc/quagga before" + elog "starting one of the daemons." + elog "" + elog "You can pass additional options to the daemon by setting the EXTRA_OPTS" + elog "variable in their respective file in /etc/conf.d" +} |