diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2016-09-27 15:29:37 +0100 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2016-09-27 15:29:50 +0100 |
commit | ad1e96f8e90da81e63ddba381dddceb0a1cfd758 (patch) | |
tree | a36bc4f0ed2ed5db2e91096ba7e5007014e0f9bd /net-misc/bird | |
parent | media-libs/opencv: revision bump to 3.1.0-r5 (diff) | |
download | gentoo-ad1e96f8e90da81e63ddba381dddceb0a1cfd758.tar.gz gentoo-ad1e96f8e90da81e63ddba381dddceb0a1cfd758.tar.bz2 gentoo-ad1e96f8e90da81e63ddba381dddceb0a1cfd758.zip |
net-misc/bird: Version bump to 1.6.1 as requested by Moyaze Shivji in the LINX technology team.
Package-Manager: portage-2.3.1
Diffstat (limited to 'net-misc/bird')
-rw-r--r-- | net-misc/bird/Manifest | 1 | ||||
-rw-r--r-- | net-misc/bird/bird-1.6.1.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest index be1ecebfa3e8..098099225f97 100644 --- a/net-misc/bird/Manifest +++ b/net-misc/bird/Manifest @@ -4,3 +4,4 @@ DIST bird-1.4.4.tar.gz 1282882 SHA256 ef506afa5852202379256c0db71c8db577e59babde DIST bird-1.4.5.tar.gz 1284666 SHA256 ff485f0c64c5f762458e0f09e327e2f518a14b0247194c62ffa480d1eb3f9ffc SHA512 fba60e7daacfdf86e3fa9cb4dc627d33928b4b84dca98d3bfbd378265e422b7ecfe10c2d17369d295afe8a5f1f2e771209bbd54710485a19d64e6551f16d6b94 WHIRLPOOL 894401301e1756f2b2cf27d6829a911e51f81569a92b375ec0a504f1aa1563b37396eb929ccf1423e5387ca181ab2669a08a26040da52c4134128ebc5bc36ba4 DIST bird-1.5.0.tar.gz 1300141 SHA256 79d5c4254e25f5890626830ca42aae03735716bdf152ddd8368473d2b3c17b5d SHA512 6814a1393d192083bc9807fd9c56e4bfe169aa34b70811f10da61c79d2fd4b18827bd4f3ea70d9ceba32125e54afb3f8df388416bff619c6f7e838a171f70ae8 WHIRLPOOL 2bd9429fef41dc4be09c9ece7ea6a109237c8d405ef16f5748516a3ec6ce3423ae05796e9ea875d08e476ea0da91ae617a9a90f574085decdab2bcdc40a7274d DIST bird-1.6.0.tar.gz 1273899 SHA256 db3dfe37deac73b38b7d6966e577985f7b8e23f246760cb095ad13b0d8010e13 SHA512 3b73c5aa26ac725547d8ff67c35008b6793ef4dc9f22940bacc3871f60abb77e41d93bef0e493d5808eea455e17a04bbba837f16665d726a0a80e73270fed67a WHIRLPOOL 05abee4f45e687c9ff7e31fef3b9a8385081ead8d13b723cb0c79faf59964f9cec46f337eecc2207d0cf2c67c2ad9ea04c096a13465b81a89eba5effe7bba9d1 +DIST bird-1.6.1.tar.gz 1286450 SHA256 23ab3cbbf879f1b672e8c20f2e198d4e6342b2ca50893f9a70473d99a1f8ef25 SHA512 ac95aafdc0c94af32a9a78c7d9746bc085d6c4ba74e1acbf5ddf9c1f80a035ce6ece2adf66b1de54c9405e0887c79c6bbde3657c6c7cb727869b661fb7105196 WHIRLPOOL b7bba4586680c6dd990a244d73565d5209a668b6c6ec39459155ba3f2c5c38343c7bdf10a11c6000cca0b3663931e2d52bb5503c9d1329a62c4040dbdca3b037 diff --git a/net-misc/bird/bird-1.6.1.ebuild b/net-misc/bird/bird-1.6.1.ebuild new file mode 100644 index 000000000000..d6394ea93ef3 --- /dev/null +++ b/net-misc/bird/bird-1.6.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 or IPv6" +HOMEPAGE="http://bird.network.cz" +SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug ipv6" + +RDEPEND="sys-libs/ncurses + sys-libs/readline" +DEPEND="sys-devel/flex + sys-devel/bison + sys-devel/m4" + +src_prepare() { + mkdir ipv6 + tar c --exclude ipv6 . | tar x -C ipv6 + eapply_user +} + +src_configure() { + econf \ + --enable-client \ + --disable-ipv6 \ + --localstatedir="${EPREFIX}/var" \ + $(use_enable debug) + + if use ipv6; then + cd ipv6 + econf \ + --enable-client \ + --enable-ipv6 \ + --localstatedir="${EPREFIX}/var" \ + $(use_enable debug) + fi +} + +src_compile() { + emake + if use ipv6; then + cd ipv6 + emake + fi +} + +src_install() { + if use ipv6; then + newbin ipv6/birdc birdc6 + newsbin ipv6/bird bird6 + newinitd "${FILESDIR}/initd-v6-${PN}-1.3.8" bird6 + fi + dobin birdc + dosbin bird + newinitd "${FILESDIR}/initd-v4-${PN}-1.3.8" bird + dodoc doc/bird.conf.example +} |