net-misc/bird: 1.6.4 & 2.0.2 version bumps
authorTony Vroon <chainsaw@gentoo.org>
Fri, 8 Jun 2018 13:03:25 +0000 (14:03 +0100)
committerTony Vroon <chainsaw@gentoo.org>
Fri, 8 Jun 2018 13:03:37 +0000 (14:03 +0100)
As requested by Luis Ressel, call eapply_user earlier.
Per Opportunist's request, bump up to 1.6.4 & 2.0.2 releases.

Closes: https://bugs.gentoo.org/635958
Closes: https://bugs.gentoo.org/640714
Package-Manager: Portage-2.3.40, Repoman-2.3.9

net-misc/bird/Manifest
net-misc/bird/bird-1.6.4.ebuild [moved from net-misc/bird/bird-1.6.3.ebuild with 71% similarity]
net-misc/bird/bird-2.0.2.ebuild [new file with mode: 0644]

index 21097c326b9ac4c1a9f957b2cbb6db7fd8a3db2d..34de4ba5bf0652fa726a77543002462b28269419 100644 (file)
@@ -1 +1,3 @@
 DIST bird-1.6.3.tar.gz 1337198 BLAKE2B e1a4a5ec4f46980f77f7c69860343da50eadea54129f20b52302aca5cdf63b19370f8cc2642b480af621772ed7b49ed7ed61a38c486f22c055abbe6be210aab9 SHA512 d0f044cbbb3e5fe0624ad8ae58f5fa352ff41a9cd73f37d803431d9d148927bce52d8f2b82e31dd65c753c55b1034aaf8e15739a511e42cd2dd122b5cd1e15df
+DIST bird-1.6.4.tar.gz 1018874 BLAKE2B f6ef0b952f6b00008fadcaa1c1a32ac31b42a9804e221edb75073e23ff942276bf1beee6d3f4c9d89f90339e99bb82a5953c17ff6963e5ff60d29a50f45e06d4 SHA512 5034d6bdca40ecddaed57bd4ab6e700828b89221bd3ce6d347aa9caa4dca65880c080ee3f276a8c31adde2de16402c8b7e7fd32dc4463d29d63b3f16b833b2eb
+DIST bird-2.0.2.tar.gz 1015224 BLAKE2B 3931c0431dc6511596e7214f6e2099548aafa69c951a44cd628443701eac061e8d95c387d74d81ad889988750c5bdb32a69ed77bfe655b161932017f1a1266a1 SHA512 aef96f246484a52269b44963df033ccc584e62d50d1ae31a97a97b9c7375e576d70d00f61a0f6da336e60cefc4c921945df0cc821d5fd1c737b19f508e65d30b
similarity index 71%
rename from net-misc/bird/bird-1.6.3.ebuild
rename to net-misc/bird/bird-1.6.4.ebuild
index 580dd5694106dec7394b28e9d583196b63ea21b1..ebdf7de5c1f36bf5ed7c15a1a844479d3e30535e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,34 +9,34 @@ SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz"
 LICENSE="GPL-2"
 
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug ipv6"
+KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
+IUSE="+client debug ipv6"
 
-RDEPEND="sys-libs/ncurses
-       sys-libs/readline"
+RDEPEND="client? ( sys-libs/ncurses )
+       client? ( sys-libs/readline )"
 DEPEND="sys-devel/flex
        sys-devel/bison
        sys-devel/m4"
 
 src_prepare() {
+       eapply_user
        mkdir ipv6
        tar c --exclude ipv6 . | tar x -C ipv6
-       eapply_user
 }
 
 src_configure() {
        econf \
-               --enable-client \
                --disable-ipv6 \
                --localstatedir="${EPREFIX}/var" \
+               $(use_enable client) \
                $(use_enable debug)
 
        if use ipv6; then
                cd ipv6
                econf \
-                       --enable-client \
                        --enable-ipv6 \
                        --localstatedir="${EPREFIX}/var" \
+                       $(use_enable client) \
                        $(use_enable debug)
        fi
 }
@@ -51,11 +51,17 @@ src_compile() {
 
 src_install() {
        if use ipv6; then
-               newbin ipv6/birdc birdc6
+               if use client; then
+                       newbin ipv6/birdc birdc6
+               fi
+               newbin ipv6/birdcl birdcl6
                newsbin ipv6/bird bird6
                newinitd "${FILESDIR}/initd-v6-${PN}-1.3.8" bird6
        fi
-       dobin birdc
+       if use client; then
+               dobin birdc
+       fi
+       dobin birdcl
        dosbin bird
        newinitd "${FILESDIR}/initd-v4-${PN}-1.3.8" bird
        dodoc doc/bird.conf.example
diff --git a/net-misc/bird/bird-2.0.2.ebuild b/net-misc/bird/bird-2.0.2.ebuild
new file mode 100644 (file)
index 0000000..b5bd01f
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 & IPv6"
+HOMEPAGE="http://bird.network.cz"
+SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
+IUSE="+client debug"
+
+RDEPEND="client? ( sys-libs/ncurses )
+       client? ( sys-libs/readline )"
+DEPEND="sys-devel/flex
+       sys-devel/bison
+       sys-devel/m4"
+
+src_configure() {
+       econf \
+               --localstatedir="${EPREFIX}/var" \
+               $(use_enable client) \
+               $(use_enable debug)
+}
+
+src_install() {
+       if use client; then
+               dobin birdc
+       fi
+       dobin birdcl
+       dosbin bird
+       newinitd "${FILESDIR}/initd-v4-${PN}-1.3.8" bird
+       dodoc doc/bird.conf.example
+}