[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2023-03-12 Thread Arthur Zamarin
commit: 907d210e9ab59c12d3fac9413b603ef61f9384ac
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 12 13:38:59 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 12 13:38:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=907d210e

net-misc/bird: Stabilize 2.0.12-r1 amd64, #900723

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-misc/bird/bird-2.0.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/bird/bird-2.0.12-r1.ebuild 
b/net-misc/bird/bird-2.0.12-r1.ebuild
index 043f67e052c9..ced3b211938d 100644
--- a/net-misc/bird/bird-2.0.12-r1.ebuild
+++ b/net-misc/bird/bird-2.0.12-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz;
 LICENSE="GPL-2"
 
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm64 ~x86 ~x64-macos"
 IUSE="+client custom-cflags debug libssh"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2023-03-12 Thread Joonas Niilola
commit: 76058b09fc8002469837b552ccdf82eabd70370a
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Mar 12 08:35:42 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Mar 12 08:36:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76058b09

net-misc/bird: revbump 2.0.12 due to init.d script change

Bug: https://bugs.gentoo.org/900723
Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/bird/{bird-2.0.12.ebuild => bird-2.0.12-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/bird/bird-2.0.12.ebuild 
b/net-misc/bird/bird-2.0.12-r1.ebuild
similarity index 97%
rename from net-misc/bird/bird-2.0.12.ebuild
rename to net-misc/bird/bird-2.0.12-r1.ebuild
index ced3b211938d..043f67e052c9 100644
--- a/net-misc/bird/bird-2.0.12.ebuild
+++ b/net-misc/bird/bird-2.0.12-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz;
 LICENSE="GPL-2"
 
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86 ~x64-macos"
+KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
 IUSE="+client custom-cflags debug libssh"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/, net-misc/bird/files/

2023-03-12 Thread Joonas Niilola
commit: 3bff7b72a68e95bdf2755fd49433dc1294915c80
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Sun Mar 12 00:37:14 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Mar 12 08:36:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bff7b72

net-misc/bird: fixes for the initrd script

Fixes for the initrd script (can’t check conf with a restricted
socket anymore, and unix rights fixes while not running as root)

Bug: https://bugs.gentoo.org/900723
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/30065
Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/bird/bird-2.0.12.ebuild |  2 +-
 net-misc/bird/files/initd-bird-2 | 14 --
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/net-misc/bird/bird-2.0.12.ebuild b/net-misc/bird/bird-2.0.12.ebuild
index 043f67e052c9..ced3b211938d 100644
--- a/net-misc/bird/bird-2.0.12.ebuild
+++ b/net-misc/bird/bird-2.0.12.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz;
 LICENSE="GPL-2"
 
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm64 ~x86 ~x64-macos"
 IUSE="+client custom-cflags debug libssh"
 
 RDEPEND="

diff --git a/net-misc/bird/files/initd-bird-2 b/net-misc/bird/files/initd-bird-2
index 3b759df883d8..fc4908990c20 100644
--- a/net-misc/bird/files/initd-bird-2
+++ b/net-misc/bird/files/initd-bird-2
@@ -5,13 +5,12 @@
 
 extra_started_commands="reload"
 
-pidfile="/run/${RC_SVCNAME}.pid"
+pidfile="/run/${RC_SVCNAME}/${RC_SVCNAME}.pid"
 command="/usr/sbin/${RC_SVCNAME}"
 retry=15
-start_stop_daemon_args="--make-pidfile"
 
 CONF_FILE="/etc/${RC_SVCNAME}.conf"
-SOCK="/run/${RC_SVCNAME}.ctl"
+SOCK="/run/${RC_SVCNAME}/${RC_SVCNAME}.ctl"
 
 if [ ${BIRD_GROUP} ]; then
BIRD_OPTS="${BIRD_OPTS} -g ${BIRD_GROUP}"
@@ -22,10 +21,9 @@ fi
 
 client_args="-s ${SOCK}"
 command_args="${client_args} -c ${CONF_FILE} -P ${pidfile} ${BIRD_OPTS}"
-client_args="${client_args} -r"
 
 depend() {
-   need net
+   use net
use logger
 }
 
@@ -52,8 +50,12 @@ reload() {
eend $?
 }
 
+start_pre() {
+   checkpath -d -m 0755 -o bird:bird "/run/${RC_SVCNAME}"
+}
+
 start_post() {
-   checkpath -f -m 0655 -o bird:bird "${pidfile}"
+   ln -sf "${SOCK}" /run
 }
 
 stop_pre() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2023-03-08 Thread Sam James
commit: 447ab933512e18f1d9d3e37cdf84b8b8d12f08e4
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Tue Mar  7 18:11:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar  8 22:40:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=447ab933

net-misc/bird: Using custom-cflags to make lto optionnal

Closes: https://bugs.gentoo.org/781923
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/29980
Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/bird-2.0.12.ebuild | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/net-misc/bird/bird-2.0.12.ebuild b/net-misc/bird/bird-2.0.12.ebuild
index 11b8c7484e39..043f67e052c9 100644
--- a/net-misc/bird/bird-2.0.12.ebuild
+++ b/net-misc/bird/bird-2.0.12.ebuild
@@ -12,7 +12,7 @@ LICENSE="GPL-2"
 
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
-IUSE="+client debug libssh"
+IUSE="+client custom-cflags debug libssh"
 
 RDEPEND="
client? (
@@ -56,6 +56,12 @@ src_configure() {
$(use_enable libssh)
)
 
+   # lto must be enabled by default as bird is mono-threaded and use 
several
+   # optimisations to be fast, as it may very likely be exposed to several
+   # thounsand BGP updates per seconds
+   # Although, we make it possible to deactivate it if wanted
+   use custom-cflags && myargs+=( bird_cv_c_lto=no )
+
econf "${myargs[@]}"
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2023-03-07 Thread Sam James
commit: b0f1765113bc6eed2a15cdebf306a36059b5a1bc
Author: Petr Vaněk  atlas  cz>
AuthorDate: Sun Mar  5 16:16:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 17:17:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0f17651

net-misc/bird: Make the compilation and test phases verbose

Signed-off-by: Petr Vaněk  atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/29977
Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/bird-2.0.12.ebuild | 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/net-misc/bird/bird-2.0.12.ebuild b/net-misc/bird/bird-2.0.12.ebuild
index 5d34f3ad4cd1..11b8c7484e39 100644
--- a/net-misc/bird/bird-2.0.12.ebuild
+++ b/net-misc/bird/bird-2.0.12.ebuild
@@ -46,11 +46,17 @@ src_prepare() {
 }
 
 src_configure() {
-   econf \
-   --localstatedir="${EPREFIX}/var" \
-   $(use_enable client) \
-   $(use_enable debug) \
+   # This export makes compilation and test phases verbose
+   export VERBOSE=1
+
+   local myargs=(
+   --localstatedir="${EPREFIX}/var"
+   $(use_enable client)
+   $(use_enable debug)
$(use_enable libssh)
+   )
+
+   econf "${myargs[@]}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2023-03-07 Thread Sam James
commit: 464d85c85b1d70ff6b824e887a78e1757162d0c0
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Tue Mar  7 13:24:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 13:32:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=464d85c8

net-misc/bird: drop 2.0.8, 2.0.9

Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/29976
Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/Manifest  |  2 --
 net-misc/bird/bird-2.0.8.ebuild | 61 -
 net-misc/bird/bird-2.0.9.ebuild | 74 -
 3 files changed, 137 deletions(-)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 6c93163a66d8..3be63b711736 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -2,5 +2,3 @@ DIST bird-2.0.10.tar.gz 1276546 BLAKE2B 
21e1dde7d38d836c761eb13067b6aacdfc66211c
 DIST bird-2.0.11.tar.gz 1301502 BLAKE2B 
0761bd50b3b0338ecf2a6325f61f90db9f92324ed814de2ec6b360c6f5a7e12d6ae4ae9b73a11ddede0e6c8fd1d15bea1b62076c38c937ae281f10a8bc2d1cbf
 SHA512 
aaab11b4faf7d0c0afc3c4e3480f24ab6e0037b209aee969192eea57bef698073da5fa9155ef43d999ed91cbe3cd87acb95aa08fa03f2525c5c7653a0589dcf6
 DIST bird-2.0.12.tar.gz 1307984 BLAKE2B 
ca00574bb8e508255afb90e0d65f4e1763880699cff9877731d072efc48944b9f9ac77b35bb7ffd7b780e8e8b1c2eacdc38ee273353817c53723e7972fb5f0d6
 SHA512 
b5e1235210e500511955c009456710dd12d6ea747825806a6d35a9de5f2f984d9a45fa541d45dd5e353f87f4d61bf1d4612cb6058769e905e4ef6b414ab4212f
 DIST bird-2.0.7.tar.gz 1993395 BLAKE2B 
ceb88d811d254e57e089ef4b4e1e4f34fd96d4622d9f5563cc8694323c060e99d6cdfccfeb5d8c885b9431dc71e96d5cc04e4344901a7c7d899f4249e7503720
 SHA512 
48ca63be923285dd282e80d7e2b240256953fd7ad4f6eaa5dcba2648f3f148be20198bc8c6e7e888aac1588ecb005a4f4c03e979853e76ea6f8680643a874b35
-DIST bird-2.0.8.tar.gz 1135228 BLAKE2B 
4b36688ac85967ad8c39d9c37dc717d77b1cb5c3ec44a0cf4e84ff38b8d1710d10653a1333b50cd2ede79fd7f012ec86de0baefc9ac18435693ec5b3e43b8a3a
 SHA512 
5f8ad63b1dcdcfdfd4c98f55601dda3a07dea3099fc51b52a340650ca475bd943ee6aac31a1e7735b7596b279e338697c65728754b97108ae687a05f566c94e2
-DIST bird-2.0.9.tar.gz 1282045 BLAKE2B 
a9f60ac7a768793e985ff8edc4c42af4b5e0eb9028af575d12e2fbe9ea67092cdc908289be848ef71403e6fafdcf46a8b78e90a5880951f9cb09854a3a3f0c73
 SHA512 
14c1f5c792de58e1b89ce16ea942244ad998833cf159a3cde78fd0c7d81238b1ad18fd76f6a0e7e11210447c73a6c74cfef4c6a70989891fa78ba5df0ae71d90

diff --git a/net-misc/bird/bird-2.0.8.ebuild b/net-misc/bird/bird-2.0.8.ebuild
deleted file mode 100644
index 5b842e0b42ed..
--- a/net-misc/bird/bird-2.0.8.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit fcaps
-
-DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 & IPv6"
-HOMEPAGE="https://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 libssh"
-
-RDEPEND="
-   client? ( sys-libs/ncurses:= )
-   client? ( sys-libs/readline:= )
-   filecaps? (
-   acct-group/bird
-   acct-user/bird
-   )
-   libssh? ( net-libs/libssh:= )"
-BDEPEND="
-   sys-devel/bison
-   sys-devel/flex
-   sys-devel/m4
-"
-
-FILECAPS=(
-   CAP_NET_ADMIN   usr/sbin/bird
-   CAP_NET_BIND_SERVICEusr/sbin/bird
-   CAP_NET_RAW usr/sbin/bird
-)
-
-src_configure() {
-   econf \
-   --localstatedir="${EPREFIX}/var" \
-   $(use_enable client) \
-   $(use_enable debug) \
-   $(use_enable libssh)
-}
-
-src_install() {
-   if use client; then
-   dobin birdc
-   fi
-   dobin birdcl
-   dosbin bird
-   newinitd "${FILESDIR}/initd-${PN}-2" ${PN}
-   newconfd "${FILESDIR}/confd-${PN}-2" ${PN}
-   dodoc doc/bird.conf.example
-}
-
-pkg_postinst() {
-   use filecaps && \
-   einfo "If you want to run bird as non-root, edit"
-   einfo "'${EROOT}/etc/conf.d/bird' and set BIRD_GROUP and 
BIRD_USER with"
-   einfo "the wanted username."
-}

diff --git a/net-misc/bird/bird-2.0.9.ebuild b/net-misc/bird/bird-2.0.9.ebuild
deleted file mode 100644
index 31d6bb48520a..
--- a/net-misc/bird/bird-2.0.9.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools fcaps
-
-DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 & IPv6"
-HOMEPAGE="https://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 libssh"
-
-RDEPEND="
-   client? (
-   sys-libs/ncurses:=

[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2023-03-07 Thread Sam James
commit: 27324a9bc45bc1cede253b106dd121b9f86dee70
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Tue Mar  7 09:11:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 13:32:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27324a9b

net-misc/bird: stabilize 2.0.10 for amd64

Signed-off-by: Alarig Le Lay  swordarmor.fr>
Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/bird-2.0.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/bird/bird-2.0.10.ebuild b/net-misc/bird/bird-2.0.10.ebuild
index 05e00dc95fd6..9e1415507309 100644
--- a/net-misc/bird/bird-2.0.10.ebuild
+++ b/net-misc/bird/bird-2.0.10.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz;
 LICENSE="GPL-2"
 
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm64 ~x86 ~x64-macos"
 IUSE="+client debug libssh"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2023-03-07 Thread Sam James
commit: e1f0f4986d9a2cb706df8a77414309d8a1b37dca
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Tue Mar  7 13:22:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 13:32:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f0f498

net-misc/bird: add 2.0.11

Signed-off-by: Alarig Le Lay  swordarmor.fr>
Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/Manifest   |  1 +
 net-misc/bird/bird-2.0.11.ebuild | 75 
 2 files changed, 76 insertions(+)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 74953029bdde..06225fc34379 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -1,4 +1,5 @@
 DIST bird-2.0.10.tar.gz 1276546 BLAKE2B 
21e1dde7d38d836c761eb13067b6aacdfc66211ca75f4ae72948f2c3a9519ac45af410f764c638e9a7314c51873675621feabc730e0604a42c00f054b0db1017
 SHA512 
607f9c96bbf55b7622a8c49126ad568ce9a220520801a13e89be63eee65a76c575a8095485e5bbd867d1306fed87c8394a82fe88d76307eaa40ee5902842d158
+DIST bird-2.0.11.tar.gz 1301502 BLAKE2B 
0761bd50b3b0338ecf2a6325f61f90db9f92324ed814de2ec6b360c6f5a7e12d6ae4ae9b73a11ddede0e6c8fd1d15bea1b62076c38c937ae281f10a8bc2d1cbf
 SHA512 
aaab11b4faf7d0c0afc3c4e3480f24ab6e0037b209aee969192eea57bef698073da5fa9155ef43d999ed91cbe3cd87acb95aa08fa03f2525c5c7653a0589dcf6
 DIST bird-2.0.7.tar.gz 1993395 BLAKE2B 
ceb88d811d254e57e089ef4b4e1e4f34fd96d4622d9f5563cc8694323c060e99d6cdfccfeb5d8c885b9431dc71e96d5cc04e4344901a7c7d899f4249e7503720
 SHA512 
48ca63be923285dd282e80d7e2b240256953fd7ad4f6eaa5dcba2648f3f148be20198bc8c6e7e888aac1588ecb005a4f4c03e979853e76ea6f8680643a874b35
 DIST bird-2.0.8.tar.gz 1135228 BLAKE2B 
4b36688ac85967ad8c39d9c37dc717d77b1cb5c3ec44a0cf4e84ff38b8d1710d10653a1333b50cd2ede79fd7f012ec86de0baefc9ac18435693ec5b3e43b8a3a
 SHA512 
5f8ad63b1dcdcfdfd4c98f55601dda3a07dea3099fc51b52a340650ca475bd943ee6aac31a1e7735b7596b279e338697c65728754b97108ae687a05f566c94e2
 DIST bird-2.0.9.tar.gz 1282045 BLAKE2B 
a9f60ac7a768793e985ff8edc4c42af4b5e0eb9028af575d12e2fbe9ea67092cdc908289be848ef71403e6fafdcf46a8b78e90a5880951f9cb09854a3a3f0c73
 SHA512 
14c1f5c792de58e1b89ce16ea942244ad998833cf159a3cde78fd0c7d81238b1ad18fd76f6a0e7e11210447c73a6c74cfef4c6a70989891fa78ba5df0ae71d90

diff --git a/net-misc/bird/bird-2.0.11.ebuild b/net-misc/bird/bird-2.0.11.ebuild
new file mode 100644
index ..05e00dc95fd6
--- /dev/null
+++ b/net-misc/bird/bird-2.0.11.ebuild
@@ -0,0 +1,75 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools fcaps
+
+DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 & IPv6"
+HOMEPAGE="https://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 libssh"
+
+RDEPEND="
+   client? (
+   sys-libs/ncurses:=
+   sys-libs/readline:=
+   )
+   filecaps? (
+   acct-group/bird
+   acct-user/bird
+   )
+   libssh? ( net-libs/libssh:= )"
+BDEPEND="
+   sys-devel/bison
+   sys-devel/flex
+   sys-devel/m4
+"
+
+FILECAPS=(
+   CAP_NET_ADMIN   usr/sbin/bird
+   CAP_NET_BIND_SERVICEusr/sbin/bird
+   CAP_NET_RAW usr/sbin/bird
+)
+
+PATCHES=(
+   "${FILESDIR}/${PN}-2.0.9-musl-tests.patch"
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --localstatedir="${EPREFIX}/var" \
+   $(use_enable client) \
+   $(use_enable debug) \
+   $(use_enable libssh)
+}
+
+src_install() {
+   if use client; then
+   dobin birdc
+   fi
+
+   dobin birdcl
+   dosbin bird
+
+   newinitd "${FILESDIR}/initd-${PN}-2" ${PN}
+   newconfd "${FILESDIR}/confd-${PN}-2" ${PN}
+
+   dodoc doc/bird.conf.example
+}
+
+pkg_postinst() {
+   use filecaps && \
+   einfo "If you want to run bird as non-root, edit"
+   einfo "'${EROOT}/etc/conf.d/bird' and set BIRD_GROUP and 
BIRD_USER with"
+   einfo "the wanted username."
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2023-03-07 Thread Sam James
commit: 11e23afeca48ce1eeb218a42be055fb14c27d647
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Tue Mar  7 13:23:35 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 13:32:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11e23afe

net-misc/bird: add 2.0.12

Signed-off-by: Alarig Le Lay  swordarmor.fr>
Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/Manifest   |  1 +
 net-misc/bird/bird-2.0.12.ebuild | 75 
 2 files changed, 76 insertions(+)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 06225fc34379..6c93163a66d8 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -1,5 +1,6 @@
 DIST bird-2.0.10.tar.gz 1276546 BLAKE2B 
21e1dde7d38d836c761eb13067b6aacdfc66211ca75f4ae72948f2c3a9519ac45af410f764c638e9a7314c51873675621feabc730e0604a42c00f054b0db1017
 SHA512 
607f9c96bbf55b7622a8c49126ad568ce9a220520801a13e89be63eee65a76c575a8095485e5bbd867d1306fed87c8394a82fe88d76307eaa40ee5902842d158
 DIST bird-2.0.11.tar.gz 1301502 BLAKE2B 
0761bd50b3b0338ecf2a6325f61f90db9f92324ed814de2ec6b360c6f5a7e12d6ae4ae9b73a11ddede0e6c8fd1d15bea1b62076c38c937ae281f10a8bc2d1cbf
 SHA512 
aaab11b4faf7d0c0afc3c4e3480f24ab6e0037b209aee969192eea57bef698073da5fa9155ef43d999ed91cbe3cd87acb95aa08fa03f2525c5c7653a0589dcf6
+DIST bird-2.0.12.tar.gz 1307984 BLAKE2B 
ca00574bb8e508255afb90e0d65f4e1763880699cff9877731d072efc48944b9f9ac77b35bb7ffd7b780e8e8b1c2eacdc38ee273353817c53723e7972fb5f0d6
 SHA512 
b5e1235210e500511955c009456710dd12d6ea747825806a6d35a9de5f2f984d9a45fa541d45dd5e353f87f4d61bf1d4612cb6058769e905e4ef6b414ab4212f
 DIST bird-2.0.7.tar.gz 1993395 BLAKE2B 
ceb88d811d254e57e089ef4b4e1e4f34fd96d4622d9f5563cc8694323c060e99d6cdfccfeb5d8c885b9431dc71e96d5cc04e4344901a7c7d899f4249e7503720
 SHA512 
48ca63be923285dd282e80d7e2b240256953fd7ad4f6eaa5dcba2648f3f148be20198bc8c6e7e888aac1588ecb005a4f4c03e979853e76ea6f8680643a874b35
 DIST bird-2.0.8.tar.gz 1135228 BLAKE2B 
4b36688ac85967ad8c39d9c37dc717d77b1cb5c3ec44a0cf4e84ff38b8d1710d10653a1333b50cd2ede79fd7f012ec86de0baefc9ac18435693ec5b3e43b8a3a
 SHA512 
5f8ad63b1dcdcfdfd4c98f55601dda3a07dea3099fc51b52a340650ca475bd943ee6aac31a1e7735b7596b279e338697c65728754b97108ae687a05f566c94e2
 DIST bird-2.0.9.tar.gz 1282045 BLAKE2B 
a9f60ac7a768793e985ff8edc4c42af4b5e0eb9028af575d12e2fbe9ea67092cdc908289be848ef71403e6fafdcf46a8b78e90a5880951f9cb09854a3a3f0c73
 SHA512 
14c1f5c792de58e1b89ce16ea942244ad998833cf159a3cde78fd0c7d81238b1ad18fd76f6a0e7e11210447c73a6c74cfef4c6a70989891fa78ba5df0ae71d90

diff --git a/net-misc/bird/bird-2.0.12.ebuild b/net-misc/bird/bird-2.0.12.ebuild
new file mode 100644
index ..5d34f3ad4cd1
--- /dev/null
+++ b/net-misc/bird/bird-2.0.12.ebuild
@@ -0,0 +1,75 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools fcaps
+
+DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 & IPv6"
+HOMEPAGE="https://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 libssh"
+
+RDEPEND="
+   client? (
+   sys-libs/ncurses:=
+   sys-libs/readline:=
+   )
+   filecaps? (
+   acct-group/bird
+   acct-user/bird
+   )
+   libssh? ( net-libs/libssh:= )"
+BDEPEND="
+   sys-devel/bison
+   sys-devel/flex
+   sys-devel/m4
+"
+
+FILECAPS=(
+   CAP_NET_ADMIN   usr/sbin/bird
+   CAP_NET_BIND_SERVICEusr/sbin/bird
+   CAP_NET_RAW usr/sbin/bird
+)
+
+PATCHES=(
+   "${FILESDIR}/${P}-musl-tests.patch"
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --localstatedir="${EPREFIX}/var" \
+   $(use_enable client) \
+   $(use_enable debug) \
+   $(use_enable libssh)
+}
+
+src_install() {
+   if use client; then
+   dobin birdc
+   fi
+
+   dobin birdcl
+   dosbin bird
+
+   newinitd "${FILESDIR}/initd-${PN}-2" ${PN}
+   newconfd "${FILESDIR}/confd-${PN}-2" ${PN}
+
+   dodoc doc/bird.conf.example
+}
+
+pkg_postinst() {
+   use filecaps && \
+   einfo "If you want to run bird as non-root, edit"
+   einfo "'${EROOT}/etc/conf.d/bird' and set BIRD_GROUP and 
BIRD_USER with"
+   einfo "the wanted username."
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/files/

2023-03-07 Thread Sam James
commit: 7377c09d61dd996d0bed4f5c293eec02144eecf3
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Tue Mar  7 12:50:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 13:32:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7377c09d

net-misc/bird: Fixing musl patch for < 2.0.12

Closes: https://bugs.gentoo.org/900104
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Signed-off-by: Sam James  gentoo.org>

 ...sl-tests.patch => bird-2.0.12-musl-tests.patch} |  0
 net-misc/bird/files/bird-2.0.9-musl-tests.patch| 39 --
 2 files changed, 13 insertions(+), 26 deletions(-)

diff --git a/net-misc/bird/files/bird-2.0.9-musl-tests.patch 
b/net-misc/bird/files/bird-2.0.12-musl-tests.patch
similarity index 100%
copy from net-misc/bird/files/bird-2.0.9-musl-tests.patch
copy to net-misc/bird/files/bird-2.0.12-musl-tests.patch

diff --git a/net-misc/bird/files/bird-2.0.9-musl-tests.patch 
b/net-misc/bird/files/bird-2.0.9-musl-tests.patch
index df6e00e04dfe..4da5788fa4d4 100644
--- a/net-misc/bird/files/bird-2.0.9-musl-tests.patch
+++ b/net-misc/bird/files/bird-2.0.9-musl-tests.patch
@@ -1,43 +1,30 @@
 https://bird.network.cz/pipermail/bird-users/2023-March/016743.html
-https://gitlab.nic.cz/labs/bird/-/commit/0f679438f36d8c2a31dfe490007e983b085caef6
-
-From 0f679438f36d8c2a31dfe490007e983b085caef6 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20Van=C4=9Bk?= 
-Date: Mon, 6 Mar 2023 11:19:30 +0100
-Subject: [PATCH] Printf test suite fails on systems with musl libc because
- tests for "%m" and "%M" formats expect "Input/output error" message but musl
- returns "I/O error". Proposed change compares the printf output with string
- returned from strerror function for EIO constant.
-
 See-also: https://bugs.gentoo.org/836713
-
-Minor change from committer.
+Signed-off-by: Petr Vaněk 
 ---
- lib/printf_test.c | 9 ++---
- 1 file changed, 6 insertions(+), 3 deletions(-)
+ lib/printf_test.c | 7 +--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
 
 diff --git a/lib/printf_test.c b/lib/printf_test.c
-index 47ea905d..88ecf05e 100644
+index 47ea905d..ca278975 100644
 --- a/lib/printf_test.c
 +++ b/lib/printf_test.c
 @@ -32,11 +32,14 @@ t_simple(void)
BSPRINTF(1, "@", buf, "@", 64);
BSPRINTF(1, "\xff", buf, "%c", 0xff);
- 
--  errno = 5;
--  BSPRINTF(18, "Input/output error", buf, "%m");
-+  const char *io_error_str = lp_strdup(tmp_linpool, strerror(EIO));
+
++  const char * io_error_str = strerror(EIO);
 +  const int io_error_len = strlen(io_error_str);
 +
-+  errno = EIO;
+   errno = 5;
+-  BSPRINTF(18, "Input/output error", buf, "%m");
 +  BSPRINTF(io_error_len, io_error_str, buf, "%m");
errno = 0;
- 
+
 -  BSPRINTF(18, "Input/output error", buf, "%M", 5);
-+  BSPRINTF(io_error_len, io_error_str, buf, "%M", EIO);
- 
++  BSPRINTF(io_error_len, io_error_str, buf, "%M", 5);
+
BSPRINTF(11, "TeSt%StRiNg", buf, "%s", "TeSt%StRiNg");
- 
--- 
-GitLab
 
+--
+2.39.2



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/files/, net-misc/bird/

2023-03-06 Thread Sam James
commit: 4029824a2813d5d5957e1f27f6bc6ebab6b34646
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Mon Mar  6 20:11:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 07:10:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4029824a

net-misc/bird: fixing tests on MUSL

Closes: https://bugs.gentoo.org/836713
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/29962
Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/bird-2.0.10.ebuild|  6 +++-
 net-misc/bird/bird-2.0.9.ebuild |  6 +++-
 net-misc/bird/files/bird-2.0.9-musl-tests.patch | 43 +
 3 files changed, 53 insertions(+), 2 deletions(-)

diff --git a/net-misc/bird/bird-2.0.10.ebuild b/net-misc/bird/bird-2.0.10.ebuild
index 7301cfefc2dd..05e00dc95fd6 100644
--- a/net-misc/bird/bird-2.0.10.ebuild
+++ b/net-misc/bird/bird-2.0.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,6 +36,10 @@ FILECAPS=(
CAP_NET_RAW usr/sbin/bird
 )
 
+PATCHES=(
+   "${FILESDIR}/${PN}-2.0.9-musl-tests.patch"
+)
+
 src_prepare() {
default
eautoreconf

diff --git a/net-misc/bird/bird-2.0.9.ebuild b/net-misc/bird/bird-2.0.9.ebuild
index d04ea9812f50..31d6bb48520a 100644
--- a/net-misc/bird/bird-2.0.9.ebuild
+++ b/net-misc/bird/bird-2.0.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -37,6 +37,10 @@ FILECAPS=(
CAP_NET_RAW usr/sbin/bird
 )
 
+PATCHES=(
+   "${FILESDIR}/${P}-musl-tests.patch"
+)
+
 src_prepare() {
default
 

diff --git a/net-misc/bird/files/bird-2.0.9-musl-tests.patch 
b/net-misc/bird/files/bird-2.0.9-musl-tests.patch
new file mode 100644
index ..df6e00e04dfe
--- /dev/null
+++ b/net-misc/bird/files/bird-2.0.9-musl-tests.patch
@@ -0,0 +1,43 @@
+https://bird.network.cz/pipermail/bird-users/2023-March/016743.html
+https://gitlab.nic.cz/labs/bird/-/commit/0f679438f36d8c2a31dfe490007e983b085caef6
+
+From 0f679438f36d8c2a31dfe490007e983b085caef6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20Van=C4=9Bk?= 
+Date: Mon, 6 Mar 2023 11:19:30 +0100
+Subject: [PATCH] Printf test suite fails on systems with musl libc because
+ tests for "%m" and "%M" formats expect "Input/output error" message but musl
+ returns "I/O error". Proposed change compares the printf output with string
+ returned from strerror function for EIO constant.
+
+See-also: https://bugs.gentoo.org/836713
+
+Minor change from committer.
+---
+ lib/printf_test.c | 9 ++---
+ 1 file changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/lib/printf_test.c b/lib/printf_test.c
+index 47ea905d..88ecf05e 100644
+--- a/lib/printf_test.c
 b/lib/printf_test.c
+@@ -32,11 +32,14 @@ t_simple(void)
+   BSPRINTF(1, "@", buf, "@", 64);
+   BSPRINTF(1, "\xff", buf, "%c", 0xff);
+ 
+-  errno = 5;
+-  BSPRINTF(18, "Input/output error", buf, "%m");
++  const char *io_error_str = lp_strdup(tmp_linpool, strerror(EIO));
++  const int io_error_len = strlen(io_error_str);
++
++  errno = EIO;
++  BSPRINTF(io_error_len, io_error_str, buf, "%m");
+   errno = 0;
+ 
+-  BSPRINTF(18, "Input/output error", buf, "%M", 5);
++  BSPRINTF(io_error_len, io_error_str, buf, "%M", EIO);
+ 
+   BSPRINTF(11, "TeSt%StRiNg", buf, "%s", "TeSt%StRiNg");
+ 
+-- 
+GitLab
+



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2022-02-28 Thread Joonas Niilola
commit: 910926c1510de92ec366385aef45cc34c9ce6346
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Feb 28 14:26:00 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 28 14:26:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=910926c1

net-misc/bird: clean DEPEND-RDEPEND block on 2.0.9

Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/bird/bird-2.0.9.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-misc/bird/bird-2.0.9.ebuild b/net-misc/bird/bird-2.0.9.ebuild
index c311bc1756d5..d04ea9812f50 100644
--- a/net-misc/bird/bird-2.0.9.ebuild
+++ b/net-misc/bird/bird-2.0.9.ebuild
@@ -15,13 +15,16 @@ KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
 IUSE="+client debug libssh"
 
 RDEPEND="
-   client? ( sys-libs/ncurses:= )
-   client? ( sys-libs/readline:= )
+   client? (
+   sys-libs/ncurses:=
+   sys-libs/readline:=
+   )
filecaps? (
acct-group/bird
acct-user/bird
)
libssh? ( net-libs/libssh:= )"
+DEPEND="${RDEPEND}"
 BDEPEND="
sys-devel/bison
sys-devel/flex



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2022-02-28 Thread Joonas Niilola
commit: f1231e288840204c6c32349a6333aaf9a7794141
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Sat Feb 26 14:30:36 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 28 14:26:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1231e28

net-misc/bird: Version bump to 2.0.9

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/24360
Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/bird/Manifest  |  1 +
 net-misc/bird/bird-2.0.9.ebuild | 67 +
 2 files changed, 68 insertions(+)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 65402b14904f..d4a615a8d812 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -1,2 +1,3 @@
 DIST bird-2.0.7.tar.gz 1993395 BLAKE2B 
ceb88d811d254e57e089ef4b4e1e4f34fd96d4622d9f5563cc8694323c060e99d6cdfccfeb5d8c885b9431dc71e96d5cc04e4344901a7c7d899f4249e7503720
 SHA512 
48ca63be923285dd282e80d7e2b240256953fd7ad4f6eaa5dcba2648f3f148be20198bc8c6e7e888aac1588ecb005a4f4c03e979853e76ea6f8680643a874b35
 DIST bird-2.0.8.tar.gz 1135228 BLAKE2B 
4b36688ac85967ad8c39d9c37dc717d77b1cb5c3ec44a0cf4e84ff38b8d1710d10653a1333b50cd2ede79fd7f012ec86de0baefc9ac18435693ec5b3e43b8a3a
 SHA512 
5f8ad63b1dcdcfdfd4c98f55601dda3a07dea3099fc51b52a340650ca475bd943ee6aac31a1e7735b7596b279e338697c65728754b97108ae687a05f566c94e2
+DIST bird-2.0.9.tar.gz 1282045 BLAKE2B 
a9f60ac7a768793e985ff8edc4c42af4b5e0eb9028af575d12e2fbe9ea67092cdc908289be848ef71403e6fafdcf46a8b78e90a5880951f9cb09854a3a3f0c73
 SHA512 
14c1f5c792de58e1b89ce16ea942244ad998833cf159a3cde78fd0c7d81238b1ad18fd76f6a0e7e11210447c73a6c74cfef4c6a70989891fa78ba5df0ae71d90

diff --git a/net-misc/bird/bird-2.0.9.ebuild b/net-misc/bird/bird-2.0.9.ebuild
new file mode 100644
index ..c311bc1756d5
--- /dev/null
+++ b/net-misc/bird/bird-2.0.9.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools fcaps
+
+DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 & IPv6"
+HOMEPAGE="https://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 libssh"
+
+RDEPEND="
+   client? ( sys-libs/ncurses:= )
+   client? ( sys-libs/readline:= )
+   filecaps? (
+   acct-group/bird
+   acct-user/bird
+   )
+   libssh? ( net-libs/libssh:= )"
+BDEPEND="
+   sys-devel/bison
+   sys-devel/flex
+   sys-devel/m4
+"
+
+FILECAPS=(
+   CAP_NET_ADMIN   usr/sbin/bird
+   CAP_NET_BIND_SERVICEusr/sbin/bird
+   CAP_NET_RAW usr/sbin/bird
+)
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --localstatedir="${EPREFIX}/var" \
+   $(use_enable client) \
+   $(use_enable debug) \
+   $(use_enable libssh)
+}
+
+src_install() {
+   if use client; then
+   dobin birdc
+   fi
+   dobin birdcl
+   dosbin bird
+   newinitd "${FILESDIR}/initd-${PN}-2" ${PN}
+   newconfd "${FILESDIR}/confd-${PN}-2" ${PN}
+   dodoc doc/bird.conf.example
+}
+
+pkg_postinst() {
+   use filecaps && \
+   einfo "If you want to run bird as non-root, edit"
+   einfo "'${EROOT}/etc/conf.d/bird' and set BIRD_GROUP and 
BIRD_USER with"
+   einfo "the wanted username."
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2021-10-10 Thread Sam James
commit: af9a6bef8a98cbad127312056ce10ed49f8a59da
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 11 00:02:18 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 11 00:02:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af9a6bef

net-misc/bird: Stabilize 2.0.7 amd64, #817428

Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/bird-2.0.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/bird/bird-2.0.7.ebuild b/net-misc/bird/bird-2.0.7.ebuild
index d2f563e2975..e1b3892ab3f 100644
--- a/net-misc/bird/bird-2.0.7.ebuild
+++ b/net-misc/bird/bird-2.0.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,7 @@ SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz;
 LICENSE="GPL-2"
 
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm64 ~x86 ~x64-macos"
 IUSE="+client debug"
 
 RDEPEND="client? ( sys-libs/ncurses )



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2021-10-04 Thread Sam James
commit: 6e4d7c4ad32dad88ea7b7c6213a8f041b1ffb44b
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct  4 20:46:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  4 20:46:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e4d7c4a

net-misc/bird: update maintainers

Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/metadata.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/bird/metadata.xml b/net-misc/bird/metadata.xml
index 55cc3b80e80..a20ed6d40c8 100644
--- a/net-misc/bird/metadata.xml
+++ b/net-misc/bird/metadata.xml
@@ -1,14 +1,14 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   

Alarig Le Lay
ala...@swordarmor.fr

+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

Build the ncurses/readline full featured 
CLI




[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2021-10-04 Thread Sam James
commit: 2d8d81f4f2160c4f057b7fab1a544c0c4e0e7ff5
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct  4 20:38:45 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  4 20:40:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d8d81f4

net-misc/bird: drop inactive chainsaw@

As agreed with retirement@.

Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/net-misc/bird/metadata.xml b/net-misc/bird/metadata.xml
index 99ef16e22e4..55cc3b80e80 100644
--- a/net-misc/bird/metadata.xml
+++ b/net-misc/bird/metadata.xml
@@ -1,10 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   chain...@gentoo.org
-   Tony Vroon
-   

proxy-ma...@gentoo.org
Proxy Maintainers



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2021-04-09 Thread Sam James
commit: b760ae5e013fb949c631144fefc48cb3e1ac754d
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Fri Apr  9 22:29:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr  9 22:51:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b760ae5e

net-misc/bird: Adding myself as co-maintainer

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/20319
Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/metadata.xml | 8 
 1 file changed, 8 insertions(+)

diff --git a/net-misc/bird/metadata.xml b/net-misc/bird/metadata.xml
index f5abf70908f..3d132613ac5 100644
--- a/net-misc/bird/metadata.xml
+++ b/net-misc/bird/metadata.xml
@@ -5,6 +5,14 @@
chain...@gentoo.org
Tony Vroon

+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   Alarig Le Lay
+   ala...@swordarmor.fr
+   

Build the ncurses/readline full featured 
CLI




[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/files/

2021-04-09 Thread Sam James
commit: 63cb2ebe3a5725da13e43d5b3c367d53755dccae
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  9 22:02:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr  9 22:02:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63cb2ebe

net-misc/bird: fix ExecutableFile

Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/files/initd-bird-2 | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/net-misc/bird/files/initd-bird-2 b/net-misc/bird/files/initd-bird-2
old mode 100755
new mode 100644



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/, net-misc/bird/files/

2021-04-09 Thread Sam James
commit: 13229763ef3e9b2ebfeed2fefda7c2c7c403bc02
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Tue Mar 30 09:40:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr  9 22:01:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13229763

net-misc/bird: New upstream version 2.0.8

Closes: https://bugs.gentoo.org/779328
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/20196
Signed-off-by: Sam James  gentoo.org>

 net-misc/bird/Manifest   |  1 +
 net-misc/bird/bird-2.0.8.ebuild  | 61 
 net-misc/bird/files/confd-bird-2 |  9 ++
 net-misc/bird/files/initd-bird-2 | 16 +--
 net-misc/bird/metadata.xml   |  4 +++
 5 files changed, 89 insertions(+), 2 deletions(-)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 4954f5f12bc..65402b14904 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -1 +1,2 @@
 DIST bird-2.0.7.tar.gz 1993395 BLAKE2B 
ceb88d811d254e57e089ef4b4e1e4f34fd96d4622d9f5563cc8694323c060e99d6cdfccfeb5d8c885b9431dc71e96d5cc04e4344901a7c7d899f4249e7503720
 SHA512 
48ca63be923285dd282e80d7e2b240256953fd7ad4f6eaa5dcba2648f3f148be20198bc8c6e7e888aac1588ecb005a4f4c03e979853e76ea6f8680643a874b35
+DIST bird-2.0.8.tar.gz 1135228 BLAKE2B 
4b36688ac85967ad8c39d9c37dc717d77b1cb5c3ec44a0cf4e84ff38b8d1710d10653a1333b50cd2ede79fd7f012ec86de0baefc9ac18435693ec5b3e43b8a3a
 SHA512 
5f8ad63b1dcdcfdfd4c98f55601dda3a07dea3099fc51b52a340650ca475bd943ee6aac31a1e7735b7596b279e338697c65728754b97108ae687a05f566c94e2

diff --git a/net-misc/bird/bird-2.0.8.ebuild b/net-misc/bird/bird-2.0.8.ebuild
new file mode 100644
index 000..5b842e0b42e
--- /dev/null
+++ b/net-misc/bird/bird-2.0.8.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit fcaps
+
+DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 & IPv6"
+HOMEPAGE="https://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 libssh"
+
+RDEPEND="
+   client? ( sys-libs/ncurses:= )
+   client? ( sys-libs/readline:= )
+   filecaps? (
+   acct-group/bird
+   acct-user/bird
+   )
+   libssh? ( net-libs/libssh:= )"
+BDEPEND="
+   sys-devel/bison
+   sys-devel/flex
+   sys-devel/m4
+"
+
+FILECAPS=(
+   CAP_NET_ADMIN   usr/sbin/bird
+   CAP_NET_BIND_SERVICEusr/sbin/bird
+   CAP_NET_RAW usr/sbin/bird
+)
+
+src_configure() {
+   econf \
+   --localstatedir="${EPREFIX}/var" \
+   $(use_enable client) \
+   $(use_enable debug) \
+   $(use_enable libssh)
+}
+
+src_install() {
+   if use client; then
+   dobin birdc
+   fi
+   dobin birdcl
+   dosbin bird
+   newinitd "${FILESDIR}/initd-${PN}-2" ${PN}
+   newconfd "${FILESDIR}/confd-${PN}-2" ${PN}
+   dodoc doc/bird.conf.example
+}
+
+pkg_postinst() {
+   use filecaps && \
+   einfo "If you want to run bird as non-root, edit"
+   einfo "'${EROOT}/etc/conf.d/bird' and set BIRD_GROUP and 
BIRD_USER with"
+   einfo "the wanted username."
+}

diff --git a/net-misc/bird/files/confd-bird-2 b/net-misc/bird/files/confd-bird-2
new file mode 100644
index 000..a2dc3ed89db
--- /dev/null
+++ b/net-misc/bird/files/confd-bird-2
@@ -0,0 +1,9 @@
+# /etc/init.d/bird
+
+# Options to pass to the bird process
+# See https://bird.network.cz/?get_doc=20=bird-1.html#ss1.3
+# BIRD_GROUP and BIRD_USER will be appended to BIRD_OPTS
+
+#BIRD_GROUP="bird"
+#BIRD_USER="bird"
+#BIRD_OPTS=""

diff --git a/net-misc/bird/files/initd-bird-2 b/net-misc/bird/files/initd-bird-2
old mode 100644
new mode 100755
index 06030d4b301..3b759df883d
--- a/net-misc/bird/files/initd-bird-2
+++ b/net-misc/bird/files/initd-bird-2
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Copyright 2019 Alarig Le Lay 
 # Distributed under the terms of the GNU General Public License v2
 
@@ -8,12 +8,20 @@ extra_started_commands="reload"
 pidfile="/run/${RC_SVCNAME}.pid"
 command="/usr/sbin/${RC_SVCNAME}"
 retry=15
+start_stop_daemon_args="--make-pidfile"
 
 CONF_FILE="/etc/${RC_SVCNAME}.conf"
 SOCK="/run/${RC_SVCNAME}.ctl"
 
+if [ ${BIRD_GROUP} ]; then
+   BIRD_OPTS="${BIRD_OPTS} -g ${BIRD_GROUP}"
+fi
+if [ ${BIRD_USER} ]; then
+   BIRD_OPTS="${BIRD_OPTS} -u ${BIRD_USER}"
+fi
+
 client_args="-s ${SOCK}"
-command_args="${client_args} -c ${CONF_FILE} -P ${pidfile}"
+command_args="${client_args} -c ${CONF_FILE} -P ${pidfile} ${BIRD_OPTS}"
 client_args="${client_args} -r"
 
 depend() {
@@ -44,6 +52,10 @@ reload() {
  

[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/, net-misc/bird/files/

2020-10-31 Thread Andreas K. Hüttel
commit: e32a7e93e5f494ad743e00972496b7261dcbc8c3
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sun Nov  1 01:02:41 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sun Nov  1 01:02:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e32a7e93

net-misc/bird: Add build fix for gcc-10

Closes: https://bugs.gentoo.org/706704
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 net-misc/bird/bird-2.0.7.ebuild|  4 
 net-misc/bird/files/bird-2.0.7-gcc10.patch | 12 
 2 files changed, 16 insertions(+)

diff --git a/net-misc/bird/bird-2.0.7.ebuild b/net-misc/bird/bird-2.0.7.ebuild
index edc17f5b33c..d2f563e2975 100644
--- a/net-misc/bird/bird-2.0.7.ebuild
+++ b/net-misc/bird/bird-2.0.7.ebuild
@@ -18,6 +18,10 @@ DEPEND="sys-devel/flex
sys-devel/bison
sys-devel/m4"
 
+PATCHES=(
+   "${FILESDIR}/${P}-gcc10.patch"
+)
+
 src_configure() {
econf \
--localstatedir="${EPREFIX}/var" \

diff --git a/net-misc/bird/files/bird-2.0.7-gcc10.patch 
b/net-misc/bird/files/bird-2.0.7-gcc10.patch
new file mode 100644
index 000..5ba3fdaef34
--- /dev/null
+++ b/net-misc/bird/files/bird-2.0.7-gcc10.patch
@@ -0,0 +1,12 @@
+diff -ruN bird-2.0.7.orig/nest/route.h bird-2.0.7/nest/route.h
+--- bird-2.0.7.orig/nest/route.h   2019-10-16 13:45:52.0 +0300
 bird-2.0.7/nest/route.h2020-11-01 02:59:41.199775491 +0200
+@@ -458,7 +458,7 @@
+  protocol-specific metric is availabe 
*/
+ 
+ 
+-const char * rta_dest_names[RTD_MAX];
++extern const char * rta_dest_names[RTD_MAX];
+ 
+ static inline const char *rta_dest_name(uint n)
+ { return (n < RTD_MAX) ? rta_dest_names[n] : "???"; }



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/files/

2020-06-25 Thread Conrad Kostecki
commit: f16e25677d8f3c0a90a5927f837d3520bae25d39
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Mon Jun 22 18:11:19 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu Jun 25 07:30:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f16e2567

net-misc/bird: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/16375
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-misc/bird/files/initd-v4-bird-1.3.8 | 40 -
 net-misc/bird/files/initd-v6-bird-1.3.8 | 40 -
 2 files changed, 80 deletions(-)

diff --git a/net-misc/bird/files/initd-v4-bird-1.3.8 
b/net-misc/bird/files/initd-v4-bird-1.3.8
deleted file mode 100644
index c7c6a0b63af..000
--- a/net-misc/bird/files/initd-v4-bird-1.3.8
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-
-EXE=bird
-SOCK="/var/run/${EXE}.ctl"
-
-depend() {
-   need net
-   use logger
-}
-
-checkconfig() {
-   if [ ! -f "/etc/${EXE}.conf" ]; then
-   eerror "Please create /etc/${EXE}.conf"
-   return 1
-   fi
-   return 0
-}
-
-start() {
-   checkconfig || return $?
-   ebegin "Starting BIRD"
-   start-stop-daemon --start --exec /usr/sbin/${EXE} -- -c 
"/etc/${EXE}.conf" -s "${SOCK}"
-   eend $? "Failed to start BIRD"
-}
-
-stop() {
-   ebegin "Stopping BIRD"
-   start-stop-daemon --stop --exec /usr/sbin/${EXE}
-   eend $? "Failed to stop BIRD"
-}
-
-reload() {
-   ebegin "Reloading BIRD"
-   start-stop-daemon --stop --signal HUP --oknodo --exec /usr/sbin/${EXE}
-   eend $? "Failed to reload BIRD"
-}

diff --git a/net-misc/bird/files/initd-v6-bird-1.3.8 
b/net-misc/bird/files/initd-v6-bird-1.3.8
deleted file mode 100644
index 94ba4426e5d..000
--- a/net-misc/bird/files/initd-v6-bird-1.3.8
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-
-EXE=bird6
-SOCK="/var/run/${EXE}.ctl"
-
-depend() {
-   need net
-   use logger
-}
-
-checkconfig() {
-   if [ ! -f "/etc/${EXE}.conf" ]; then
-   eerror "Please create /etc/${EXE}.conf"
-   return 1
-   fi
-   return 0
-}
-
-start() {
-   checkconfig || return $?
-   ebegin "Starting BIRD"
-   start-stop-daemon --start --exec /usr/sbin/${EXE} -- -c 
"/etc/${EXE}.conf" -s "${SOCK}"
-   eend $? "Failed to start BIRD"
-}
-
-stop() {
-   ebegin "Stopping BIRD"
-   start-stop-daemon --stop --exec /usr/sbin/${EXE}
-   eend $? "Failed to stop BIRD"
-}
-
-reload() {
-   ebegin "Reloading BIRD"
-   start-stop-daemon --stop --signal HUP --oknodo --exec /usr/sbin/${EXE}
-   eend $? "Failed to reload BIRD"
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2020-06-19 Thread Aaron Bauman
commit: 3b234888717bd5e3377ac77a668f2686d3b98ead
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Jun 20 01:13:29 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Jun 20 01:13:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b234888

net-misc/bird: drop vulnerable

Bug: https://bugs.gentoo.org/695530
Signed-off-by: Aaron Bauman  gentoo.org>

 net-misc/bird/Manifest |  9 -
 net-misc/bird/bird-1.6.3-r1.ebuild | 68 --
 net-misc/bird/bird-1.6.4.ebuild| 68 --
 net-misc/bird/bird-1.6.5.ebuild| 68 --
 net-misc/bird/bird-1.6.6.ebuild| 68 --
 net-misc/bird/bird-2.0.2.ebuild| 36 
 net-misc/bird/bird-2.0.3.ebuild| 36 
 net-misc/bird/bird-2.0.4.ebuild| 36 
 net-misc/bird/bird-2.0.5.ebuild| 36 
 net-misc/bird/bird-2.0.6.ebuild| 36 
 10 files changed, 461 deletions(-)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 0aa3b17dfbc..4954f5f12bc 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -1,10 +1 @@
-DIST bird-1.6.3.tar.gz 1337198 BLAKE2B 
e1a4a5ec4f46980f77f7c69860343da50eadea54129f20b52302aca5cdf63b19370f8cc2642b480af621772ed7b49ed7ed61a38c486f22c055abbe6be210aab9
 SHA512 
d0f044cbbb3e5fe0624ad8ae58f5fa352ff41a9cd73f37d803431d9d148927bce52d8f2b82e31dd65c753c55b1034aaf8e15739a511e42cd2dd122b5cd1e15df
-DIST bird-1.6.4.tar.gz 1018874 BLAKE2B 
f6ef0b952f6b8fadcaa1c1a32ac31b42a9804e221edb75073e23ff942276bf1beee6d3f4c9d89f90339e99bb82a5953c17ff6963e5ff60d29a50f45e06d4
 SHA512 
5034d6bdca40ecddaed57bd4ab6e700828b89221bd3ce6d347aa9caa4dca65880c080ee3f276a8c31adde2de16402c8b7e7fd32dc4463d29d63b3f16b833b2eb
-DIST bird-1.6.5.tar.gz 1114984 BLAKE2B 
15b2a432e467a8ce81acc4d3d5cf7dea865cf7d3a8c893ab348916fbf60104a5606a6cbc2fcd647c102f3177f0d04d2f046860da244f26a7357f321285f1e295
 SHA512 
a86c340f4acd9d90b5babe8f19dbd753b2ad94db2c92181bf969244c1d7b20aa825a0311c13a1e19b019019b91af7827775970fd39e807ab32da690492ce356e
-DIST bird-1.6.6.tar.gz 1029505 BLAKE2B 
45cd621175962ea22848948e61aaf8b5c4eebbae5f5703bd71571defb2661d0aee646e93a1b42b8d93e6901d256a6e6d91d9bc4573bc01c31d9b359f5184dc5a
 SHA512 
2419e487af2c8e75f613892ee1b1ada00085945bcafe17de972d3196f50a32321a6d18c9a3b58c0c58a5273f348a6d6de8b861505ad559269510a0ba69041fd9
-DIST bird-2.0.2.tar.gz 1015224 BLAKE2B 
3931c0431dc6511596e7214f6e2099548aafa69c951a44cd628443701eac061e8d95c387d74d81ad889988750c5bdb32a69ed77bfe655b161932017f1a1266a1
 SHA512 
aef96f246484a52269b44963df033ccc584e62d50d1ae31a97a97b9c7375e576d70d00f61a0f6da336e60cefc4c921945df0cc821d5fd1c737b19f508e65d30b
-DIST bird-2.0.3.tar.gz 1141917 BLAKE2B 
14b51a4195003ddcf848be45755057ebf835edf54f35208f8d80121c22eeb83c9afa0c0c1ab269c376da59f5d07843054b08e1679db873a0b8121aa611b9202b
 SHA512 
c88d0119dbebf4b2224ff7c6555e1ebf516748611e3544e7cfba47adb60c45a996efed7d2dc2b8fd849f15689e5d3c2624c4019c4a9a5a356d551a35db8fa0e2
-DIST bird-2.0.4.tar.gz 1051911 BLAKE2B 
12100685e4aad969dbb51eaa567e1038f50e7c030a25a8697bc35d4f33d0f64f9ccbc045e1210acb78f3d8d4a7cc7ef2be7ae50a36679f2322d292e8e6993ed4
 SHA512 
65092ca6be115b4d0c31c3c4a79d3ee2e196dc2f85454448eab568cc9cc1fe37b7bdfe1ddb74d4f6f147dc479a8570cf7bf702d762cd69414f976678c14c8e2f
-DIST bird-2.0.5.tar.gz 1099509 BLAKE2B 
cc865db0a845c045b441b27d1cfba6865f711ee3a68f056b701ba5d0652478325d3797069785af912b5f955a24647837d818c269b299106acba4acabce4f
 SHA512 
2da6f99c5e55915f8669a0dc3778357aedbb75cf06e0f672a5ddcc01a5b850aa4a1932957d2044f89f075cd437a74ba6c5da5a607225b391525aa48f43c47140
-DIST bird-2.0.6.tar.gz 1899912 BLAKE2B 
068f740a01a327b5fecf10a8aaafecac218fd14536ea98c93980d7ef9426766be80c68202410aaa20012f7f3b1837173e51d83d0ce2fb1828029d54174065206
 SHA512 
22aa676e171cf5ddf6dedbf0dfe9bb36a959efdf9cb278b7e969d5b08b06fe483e3b30ef40c1f9980387ed6ac6ee6626f3d85704925256c22dae91fa7d23267d
 DIST bird-2.0.7.tar.gz 1993395 BLAKE2B 
ceb88d811d254e57e089ef4b4e1e4f34fd96d4622d9f5563cc8694323c060e99d6cdfccfeb5d8c885b9431dc71e96d5cc04e4344901a7c7d899f4249e7503720
 SHA512 
48ca63be923285dd282e80d7e2b240256953fd7ad4f6eaa5dcba2648f3f148be20198bc8c6e7e888aac1588ecb005a4f4c03e979853e76ea6f8680643a874b35

diff --git a/net-misc/bird/bird-1.6.3-r1.ebuild 
b/net-misc/bird/bird-1.6.3-r1.ebuild
deleted file mode 100644
index 5b0b890c824..000
--- a/net-misc/bird/bird-1.6.3-r1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# 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 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 ~arm64 ~x86 ~x64-macos"
-IUSE="+client debug ipv6"
-
-RDEPEND="client? ( 

[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2020-02-10 Thread Tony Vroon
commit: 04dd55d527f2e49961ad32cd156148db82b04b0a
Author: Tony Vroon  gentoo  org>
AuthorDate: Mon Feb 10 13:53:17 2020 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Mon Feb 10 13:53:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04dd55d5

net-misc/bird: Version bump to 2.0.7

Version 2.0.7 (2019-10-11)
  o BGP: Accumulated IGP metric (RFC 7311)
  o Important filter reconfiguration bugfix
  o Several other bugfixes

Version 2.0.6 (2019-09-10)
  o RAdv: Solicited unicast RAs
  o BGP: Optional Adj-RIB-Out
  o BGP: Extended optional parameters length
  o Filter: Sets and set expressions in path masks
  o Several important bugfixes

Version 2.0.5 (2019-08-01)
  o OSPF Graceful restart (RFC 3623, RFC 5187)
  o BGP: Dynamic BGP
  o BGP: Promiscuous ASN mode
  o BGP: Mandatory option for channels
  o BFD: Support for VRFs
  o Graceful restart command
  o Redesigned filtering code
  o Many bugfixes

  Notes:

  Previous version introduced an error in handling of OSPF NSSA-LSA, causing
  compatibility issues with proper implementations. The error is fixed in this
  version, therefore there are compatibility issues in OSPF NSSA areas between
  this and previous version.

Signed-Off-By: Tony Vroon  gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 net-misc/bird/Manifest  |  3 +++
 net-misc/bird/bird-2.0.5.ebuild | 36 
 net-misc/bird/bird-2.0.6.ebuild | 36 
 net-misc/bird/bird-2.0.7.ebuild | 36 
 4 files changed, 111 insertions(+)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 1e7bd719165..0aa3b17dfbc 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -5,3 +5,6 @@ DIST bird-1.6.6.tar.gz 1029505 BLAKE2B 
45cd621175962ea22848948e61aaf8b5c4eebbae5
 DIST bird-2.0.2.tar.gz 1015224 BLAKE2B 
3931c0431dc6511596e7214f6e2099548aafa69c951a44cd628443701eac061e8d95c387d74d81ad889988750c5bdb32a69ed77bfe655b161932017f1a1266a1
 SHA512 
aef96f246484a52269b44963df033ccc584e62d50d1ae31a97a97b9c7375e576d70d00f61a0f6da336e60cefc4c921945df0cc821d5fd1c737b19f508e65d30b
 DIST bird-2.0.3.tar.gz 1141917 BLAKE2B 
14b51a4195003ddcf848be45755057ebf835edf54f35208f8d80121c22eeb83c9afa0c0c1ab269c376da59f5d07843054b08e1679db873a0b8121aa611b9202b
 SHA512 
c88d0119dbebf4b2224ff7c6555e1ebf516748611e3544e7cfba47adb60c45a996efed7d2dc2b8fd849f15689e5d3c2624c4019c4a9a5a356d551a35db8fa0e2
 DIST bird-2.0.4.tar.gz 1051911 BLAKE2B 
12100685e4aad969dbb51eaa567e1038f50e7c030a25a8697bc35d4f33d0f64f9ccbc045e1210acb78f3d8d4a7cc7ef2be7ae50a36679f2322d292e8e6993ed4
 SHA512 
65092ca6be115b4d0c31c3c4a79d3ee2e196dc2f85454448eab568cc9cc1fe37b7bdfe1ddb74d4f6f147dc479a8570cf7bf702d762cd69414f976678c14c8e2f
+DIST bird-2.0.5.tar.gz 1099509 BLAKE2B 
cc865db0a845c045b441b27d1cfba6865f711ee3a68f056b701ba5d0652478325d3797069785af912b5f955a24647837d818c269b299106acba4acabce4f
 SHA512 
2da6f99c5e55915f8669a0dc3778357aedbb75cf06e0f672a5ddcc01a5b850aa4a1932957d2044f89f075cd437a74ba6c5da5a607225b391525aa48f43c47140
+DIST bird-2.0.6.tar.gz 1899912 BLAKE2B 
068f740a01a327b5fecf10a8aaafecac218fd14536ea98c93980d7ef9426766be80c68202410aaa20012f7f3b1837173e51d83d0ce2fb1828029d54174065206
 SHA512 
22aa676e171cf5ddf6dedbf0dfe9bb36a959efdf9cb278b7e969d5b08b06fe483e3b30ef40c1f9980387ed6ac6ee6626f3d85704925256c22dae91fa7d23267d
+DIST bird-2.0.7.tar.gz 1993395 BLAKE2B 
ceb88d811d254e57e089ef4b4e1e4f34fd96d4622d9f5563cc8694323c060e99d6cdfccfeb5d8c885b9431dc71e96d5cc04e4344901a7c7d899f4249e7503720
 SHA512 
48ca63be923285dd282e80d7e2b240256953fd7ad4f6eaa5dcba2648f3f148be20198bc8c6e7e888aac1588ecb005a4f4c03e979853e76ea6f8680643a874b35

diff --git a/net-misc/bird/bird-2.0.5.ebuild b/net-misc/bird/bird-2.0.5.ebuild
new file mode 100644
index 000..edc17f5b33c
--- /dev/null
+++ b/net-misc/bird/bird-2.0.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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-${PN}-2" bird
+   dodoc doc/bird.conf.example
+}

diff --git a/net-misc/bird/bird-2.0.6.ebuild b/net-misc/bird/bird-2.0.6.ebuild
new file mode 100644
index 000..edc17f5b33c
--- /dev/null
+++ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/files/, net-misc/bird/

2019-05-22 Thread Tony Vroon
commit: 5c925cf427ea6590a61b9030cca0cae090f21201
Author: Tony Vroon  gentoo  org>
AuthorDate: Wed May 22 12:11:04 2019 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Wed May 22 12:11:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c925cf4

net-misc/bird: 1.6.6 & 2.0.4 version bumps

New init script by Alarig Le Lay fixes bad behaviour for 2.x daemons,
by rewriting in a different style as suggested by Michael Orlitzky.
1.6.6 contains several bugfixes related to route propagation.
2.0.4 contains:
 * OSPF: DN-bit handling (RFC 4576)
 * Preferred route counters are back
 * Important BGP bugfix
 * Several bugfixes related to route propagation
 * Some minor bugfixes

Closes: https://bugs.gentoo.org/682628
Bug: https://bugs.gentoo.org/622334
Suggested-By: Michael Orlitzky  gentoo.org>
Tested-by: Alarig Le Lay  swordarmor.fr>
Signed-Off-By: Tony Vroon  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 net-misc/bird/Manifest   |  2 ++
 net-misc/bird/bird-1.6.6.ebuild  | 68 
 net-misc/bird/bird-2.0.4.ebuild  | 36 +
 net-misc/bird/files/initd-bird-2 | 51 ++
 4 files changed, 157 insertions(+)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 613f07ffcd1..1e7bd719165 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -1,5 +1,7 @@
 DIST bird-1.6.3.tar.gz 1337198 BLAKE2B 
e1a4a5ec4f46980f77f7c69860343da50eadea54129f20b52302aca5cdf63b19370f8cc2642b480af621772ed7b49ed7ed61a38c486f22c055abbe6be210aab9
 SHA512 
d0f044cbbb3e5fe0624ad8ae58f5fa352ff41a9cd73f37d803431d9d148927bce52d8f2b82e31dd65c753c55b1034aaf8e15739a511e42cd2dd122b5cd1e15df
 DIST bird-1.6.4.tar.gz 1018874 BLAKE2B 
f6ef0b952f6b8fadcaa1c1a32ac31b42a9804e221edb75073e23ff942276bf1beee6d3f4c9d89f90339e99bb82a5953c17ff6963e5ff60d29a50f45e06d4
 SHA512 
5034d6bdca40ecddaed57bd4ab6e700828b89221bd3ce6d347aa9caa4dca65880c080ee3f276a8c31adde2de16402c8b7e7fd32dc4463d29d63b3f16b833b2eb
 DIST bird-1.6.5.tar.gz 1114984 BLAKE2B 
15b2a432e467a8ce81acc4d3d5cf7dea865cf7d3a8c893ab348916fbf60104a5606a6cbc2fcd647c102f3177f0d04d2f046860da244f26a7357f321285f1e295
 SHA512 
a86c340f4acd9d90b5babe8f19dbd753b2ad94db2c92181bf969244c1d7b20aa825a0311c13a1e19b019019b91af7827775970fd39e807ab32da690492ce356e
+DIST bird-1.6.6.tar.gz 1029505 BLAKE2B 
45cd621175962ea22848948e61aaf8b5c4eebbae5f5703bd71571defb2661d0aee646e93a1b42b8d93e6901d256a6e6d91d9bc4573bc01c31d9b359f5184dc5a
 SHA512 
2419e487af2c8e75f613892ee1b1ada00085945bcafe17de972d3196f50a32321a6d18c9a3b58c0c58a5273f348a6d6de8b861505ad559269510a0ba69041fd9
 DIST bird-2.0.2.tar.gz 1015224 BLAKE2B 
3931c0431dc6511596e7214f6e2099548aafa69c951a44cd628443701eac061e8d95c387d74d81ad889988750c5bdb32a69ed77bfe655b161932017f1a1266a1
 SHA512 
aef96f246484a52269b44963df033ccc584e62d50d1ae31a97a97b9c7375e576d70d00f61a0f6da336e60cefc4c921945df0cc821d5fd1c737b19f508e65d30b
 DIST bird-2.0.3.tar.gz 1141917 BLAKE2B 
14b51a4195003ddcf848be45755057ebf835edf54f35208f8d80121c22eeb83c9afa0c0c1ab269c376da59f5d07843054b08e1679db873a0b8121aa611b9202b
 SHA512 
c88d0119dbebf4b2224ff7c6555e1ebf516748611e3544e7cfba47adb60c45a996efed7d2dc2b8fd849f15689e5d3c2624c4019c4a9a5a356d551a35db8fa0e2
+DIST bird-2.0.4.tar.gz 1051911 BLAKE2B 
12100685e4aad969dbb51eaa567e1038f50e7c030a25a8697bc35d4f33d0f64f9ccbc045e1210acb78f3d8d4a7cc7ef2be7ae50a36679f2322d292e8e6993ed4
 SHA512 
65092ca6be115b4d0c31c3c4a79d3ee2e196dc2f85454448eab568cc9cc1fe37b7bdfe1ddb74d4f6f147dc479a8570cf7bf702d762cd69414f976678c14c8e2f

diff --git a/net-misc/bird/bird-1.6.6.ebuild b/net-misc/bird/bird-1.6.6.ebuild
new file mode 100644
index 000..db540658a18
--- /dev/null
+++ b/net-misc/bird/bird-1.6.6.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~arm64 ~x86 ~x64-macos"
+IUSE="+client debug ipv6"
+
+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
+}
+
+src_configure() {
+   econf \
+   --disable-ipv6 \
+   --localstatedir="${EPREFIX}/var" \
+   $(use_enable client) \
+   $(use_enable debug)
+
+   if use ipv6; then
+   cd ipv6
+   econf \
+   --enable-ipv6 \
+   --localstatedir="${EPREFIX}/var" \
+   $(use_enable client) \
+   $(use_enable debug)
+   fi
+}
+
+src_compile() {
+   emake
+   if use ipv6; then
+   cd ipv6
+ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2019-01-10 Thread Tony Vroon
commit: b9655d0abe2d13230f8d9adbb38c95494faae240
Author: Tony Vroon  gentoo  org>
AuthorDate: Thu Jan 10 10:06:29 2019 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Thu Jan 10 10:07:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9655d0a

net-misc/bird: 1.6.5 & 2.0.3 version bumps.

As requested by Joakim Tjernlund, bump up ebuilds in both branches.

Closes: https://bugs.gentoo.org/675036
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-Off-By: Tony Vroon  gentoo.org>

 net-misc/bird/Manifest  |  2 ++
 net-misc/bird/bird-1.6.5.ebuild | 68 +
 net-misc/bird/bird-2.0.3.ebuild | 36 ++
 3 files changed, 106 insertions(+)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 34de4ba5bf0..613f07ffcd1 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -1,3 +1,5 @@
 DIST bird-1.6.3.tar.gz 1337198 BLAKE2B 
e1a4a5ec4f46980f77f7c69860343da50eadea54129f20b52302aca5cdf63b19370f8cc2642b480af621772ed7b49ed7ed61a38c486f22c055abbe6be210aab9
 SHA512 
d0f044cbbb3e5fe0624ad8ae58f5fa352ff41a9cd73f37d803431d9d148927bce52d8f2b82e31dd65c753c55b1034aaf8e15739a511e42cd2dd122b5cd1e15df
 DIST bird-1.6.4.tar.gz 1018874 BLAKE2B 
f6ef0b952f6b8fadcaa1c1a32ac31b42a9804e221edb75073e23ff942276bf1beee6d3f4c9d89f90339e99bb82a5953c17ff6963e5ff60d29a50f45e06d4
 SHA512 
5034d6bdca40ecddaed57bd4ab6e700828b89221bd3ce6d347aa9caa4dca65880c080ee3f276a8c31adde2de16402c8b7e7fd32dc4463d29d63b3f16b833b2eb
+DIST bird-1.6.5.tar.gz 1114984 BLAKE2B 
15b2a432e467a8ce81acc4d3d5cf7dea865cf7d3a8c893ab348916fbf60104a5606a6cbc2fcd647c102f3177f0d04d2f046860da244f26a7357f321285f1e295
 SHA512 
a86c340f4acd9d90b5babe8f19dbd753b2ad94db2c92181bf969244c1d7b20aa825a0311c13a1e19b019019b91af7827775970fd39e807ab32da690492ce356e
 DIST bird-2.0.2.tar.gz 1015224 BLAKE2B 
3931c0431dc6511596e7214f6e2099548aafa69c951a44cd628443701eac061e8d95c387d74d81ad889988750c5bdb32a69ed77bfe655b161932017f1a1266a1
 SHA512 
aef96f246484a52269b44963df033ccc584e62d50d1ae31a97a97b9c7375e576d70d00f61a0f6da336e60cefc4c921945df0cc821d5fd1c737b19f508e65d30b
+DIST bird-2.0.3.tar.gz 1141917 BLAKE2B 
14b51a4195003ddcf848be45755057ebf835edf54f35208f8d80121c22eeb83c9afa0c0c1ab269c376da59f5d07843054b08e1679db873a0b8121aa611b9202b
 SHA512 
c88d0119dbebf4b2224ff7c6555e1ebf516748611e3544e7cfba47adb60c45a996efed7d2dc2b8fd849f15689e5d3c2624c4019c4a9a5a356d551a35db8fa0e2

diff --git a/net-misc/bird/bird-1.6.5.ebuild b/net-misc/bird/bird-1.6.5.ebuild
new file mode 100644
index 000..f4ccc176494
--- /dev/null
+++ b/net-misc/bird/bird-1.6.5.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~arm64 ~x86 ~x64-macos"
+IUSE="+client debug ipv6"
+
+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
+}
+
+src_configure() {
+   econf \
+   --disable-ipv6 \
+   --localstatedir="${EPREFIX}/var" \
+   $(use_enable client) \
+   $(use_enable debug)
+
+   if use ipv6; then
+   cd ipv6
+   econf \
+   --enable-ipv6 \
+   --localstatedir="${EPREFIX}/var" \
+   $(use_enable client) \
+   $(use_enable debug)
+   fi
+}
+
+src_compile() {
+   emake
+   if use ipv6; then
+   cd ipv6
+   emake
+   fi
+}
+
+src_install() {
+   if use ipv6; then
+   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
+   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.3.ebuild b/net-misc/bird/bird-2.0.3.ebuild
new file mode 100644
index 000..298936acd43
--- /dev/null
+++ b/net-misc/bird/bird-2.0.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+

[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2018-06-08 Thread Tony Vroon
commit: ced556648fe3eeecc86bd8b50d26dce1e098a009
Author: Tony Vroon  gentoo  org>
AuthorDate: Fri Jun  8 13:03:25 2018 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Fri Jun  8 13:03:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced55664

net-misc/bird: 1.6.4 & 2.0.2 version bumps

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 |  2 ++
 .../bird/{bird-1.6.3.ebuild => bird-1.6.4.ebuild}  | 26 ++--
 net-misc/bird/bird-2.0.2.ebuild| 36 ++
 3 files changed, 54 insertions(+), 10 deletions(-)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 21097c326b9..34de4ba5bf0 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -1 +1,3 @@
 DIST bird-1.6.3.tar.gz 1337198 BLAKE2B 
e1a4a5ec4f46980f77f7c69860343da50eadea54129f20b52302aca5cdf63b19370f8cc2642b480af621772ed7b49ed7ed61a38c486f22c055abbe6be210aab9
 SHA512 
d0f044cbbb3e5fe0624ad8ae58f5fa352ff41a9cd73f37d803431d9d148927bce52d8f2b82e31dd65c753c55b1034aaf8e15739a511e42cd2dd122b5cd1e15df
+DIST bird-1.6.4.tar.gz 1018874 BLAKE2B 
f6ef0b952f6b8fadcaa1c1a32ac31b42a9804e221edb75073e23ff942276bf1beee6d3f4c9d89f90339e99bb82a5953c17ff6963e5ff60d29a50f45e06d4
 SHA512 
5034d6bdca40ecddaed57bd4ab6e700828b89221bd3ce6d347aa9caa4dca65880c080ee3f276a8c31adde2de16402c8b7e7fd32dc4463d29d63b3f16b833b2eb
+DIST bird-2.0.2.tar.gz 1015224 BLAKE2B 
3931c0431dc6511596e7214f6e2099548aafa69c951a44cd628443701eac061e8d95c387d74d81ad889988750c5bdb32a69ed77bfe655b161932017f1a1266a1
 SHA512 
aef96f246484a52269b44963df033ccc584e62d50d1ae31a97a97b9c7375e576d70d00f61a0f6da336e60cefc4c921945df0cc821d5fd1c737b19f508e65d30b

diff --git a/net-misc/bird/bird-1.6.3.ebuild b/net-misc/bird/bird-1.6.4.ebuild
similarity index 71%
rename from net-misc/bird/bird-1.6.3.ebuild
rename to net-misc/bird/bird-1.6.4.ebuild
index 580dd569410..ebdf7de5c1f 100644
--- a/net-misc/bird/bird-1.6.3.ebuild
+++ b/net-misc/bird/bird-1.6.4.ebuild
@@ -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
index 000..b5bd01fc551
--- /dev/null
+++ b/net-misc/bird/bird-2.0.2.ebuild
@@ -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) \
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2018-04-06 Thread Fabian Groffen
commit: cd5b112a3e875db5b65afaaee3711c7b01a406f7
Author: Fabian Groffen  gentoo  org>
AuthorDate: Fri Apr  6 11:00:30 2018 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Fri Apr  6 11:05:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd5b112a

net-misc/bird: marked ~x64-macos, bug #650848

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/bird/bird-1.6.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/bird/bird-1.6.3-r1.ebuild 
b/net-misc/bird/bird-1.6.3-r1.ebuild
index 3bfce423950..5b0b890c824 100644
--- a/net-misc/bird/bird-1.6.3-r1.ebuild
+++ b/net-misc/bird/bird-1.6.3-r1.ebuild
@@ -9,7 +9,7 @@ SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz;
 LICENSE="GPL-2"
 
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
 IUSE="+client debug ipv6"
 
 RDEPEND="client? ( sys-libs/ncurses )



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2018-03-14 Thread Michał Górny
commit: dccf9f8e16c4e39e4dff6ed175dd1ca07eca5c26
Author: Roy Bamford  gentoo  org>
AuthorDate: Sat Mar 10 15:13:31 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 14 14:36:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dccf9f8e

net-misc/bird: added ~arm64 keyword.

Closes: https://github.com/gentoo/gentoo/pull/7414
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/bird/bird-1.6.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/bird/bird-1.6.3-r1.ebuild 
b/net-misc/bird/bird-1.6.3-r1.ebuild
index 07a2f35e307..3bfce423950 100644
--- a/net-misc/bird/bird-1.6.3-r1.ebuild
+++ b/net-misc/bird/bird-1.6.3-r1.ebuild
@@ -9,7 +9,7 @@ SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz;
 LICENSE="GPL-2"
 
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="+client debug ipv6"
 
 RDEPEND="client? ( sys-libs/ncurses )



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2018-01-16 Thread Tony Vroon
commit: af31c05549e4685e31376f91ae2dbae05e135386
Author: Tony Vroon  gentoo  org>
AuthorDate: Tue Jan 16 11:39:23 2018 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Tue Jan 16 11:39:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af31c055

net-misc/bird: Build both CLIs, ncurses/readline version optional. Remove old.

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 net-misc/bird/Manifest |  5 --
 net-misc/bird/bird-1.4.5.ebuild| 61 -
 net-misc/bird/bird-1.5.0.ebuild| 61 -
 net-misc/bird/bird-1.6.0.ebuild| 62 --
 net-misc/bird/bird-1.6.2.ebuild| 62 --
 .../{bird-1.6.1.ebuild => bird-1.6.3-r1.ebuild}| 22 +---
 net-misc/bird/metadata.xml |  3 ++
 7 files changed, 17 insertions(+), 259 deletions(-)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 70620907f30..21097c326b9 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -1,6 +1 @@
-DIST bird-1.4.5.tar.gz 1284666 BLAKE2B 
46e233f41170cd888f0f1bee50e30d5d99b767a3a6cd9681c4d0091b325513efa7cc329be6549ec7d5c707cd97c90065d80a85212747cd0e34b908905d8b7c89
 SHA512 
fba60e7daacfdf86e3fa9cb4dc627d33928b4b84dca98d3bfbd378265e422b7ecfe10c2d17369d295afe8a5f1f2e771209bbd54710485a19d64e6551f16d6b94
-DIST bird-1.5.0.tar.gz 1300141 BLAKE2B 
fcce23b580552fead97ff0eb577cd1980a84381ba52138808e22f1fda9b0318c3e260e5ce996b52384ab090e25d67cbbcfdd12e1581ade035af187b4fc18ba26
 SHA512 
6814a1393d192083bc9807fd9c56e4bfe169aa34b70811f10da61c79d2fd4b18827bd4f3ea70d9ceba32125e54afb3f8df388416bff619c6f7e838a171f70ae8
-DIST bird-1.6.0.tar.gz 1273899 BLAKE2B 
25c8c89f0609392fc47d8ef943f193b575f0fcf5209c6211ae34188ffb4381e830e00b582261e3970061d9f73866a309bc007e34fa1190f15f7a50f6c208d6fa
 SHA512 
3b73c5aa26ac725547d8ff67c35008b6793ef4dc9f22940bacc3871f60abb77e41d93bef0e493d5808eea455e17a04bbba837f16665d726a0a80e73270fed67a
-DIST bird-1.6.1.tar.gz 1286450 BLAKE2B 
cad7febc28adaf0ea6fafca571611e38193904445bd0b9c2915073a7b2ac249ad5dd2c152a4ea5c95f0493cd95450fe350e34123730c76f6c1dd4aa8d60fbd8a
 SHA512 
ac95aafdc0c94af32a9a78c7d9746bc085d6c4ba74e1acbf5ddf9c1f80a035ce6ece2adf66b1de54c9405e0887c79c6bbde3657c6c7cb727869b661fb7105196
-DIST bird-1.6.2.tar.gz 1300037 BLAKE2B 
0a9949ed60dc40825c0fcc2045bee2f3b80617d80aed101aa7edd37cfca3ef398e1940d7c455330733a62c1feb0ca2f077b21cfd991b9e52d7ac797c514b0cbb
 SHA512 
a45ef7fba6caec3ae3908a4cad83d5b5d75533f625bd9fd75d4c42aa1642e76ffd01b2d4f2fbaeffc298b525f426c726432a092d15c9d23e7ccf9ddfa6beeaa1
 DIST bird-1.6.3.tar.gz 1337198 BLAKE2B 
e1a4a5ec4f46980f77f7c69860343da50eadea54129f20b52302aca5cdf63b19370f8cc2642b480af621772ed7b49ed7ed61a38c486f22c055abbe6be210aab9
 SHA512 
d0f044cbbb3e5fe0624ad8ae58f5fa352ff41a9cd73f37d803431d9d148927bce52d8f2b82e31dd65c753c55b1034aaf8e15739a511e42cd2dd122b5cd1e15df

diff --git a/net-misc/bird/bird-1.4.5.ebuild b/net-misc/bird/bird-1.4.5.ebuild
deleted file mode 100644
index 4804c17b02d..000
--- a/net-misc/bird/bird-1.4.5.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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
-}
-
-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
-}

diff --git a/net-misc/bird/bird-1.5.0.ebuild b/net-misc/bird/bird-1.5.0.ebuild
deleted file mode 100644
index 2cad4e37a20..000
--- a/net-misc/bird/bird-1.5.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General 

[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/files/

2017-01-26 Thread David Seifert
commit: 180db639b2bb75dbbd172b62c53c8aedc5c91b75
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Tue Jan 24 16:41:39 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jan 26 22:36:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=180db639

net-misc/bird: remove unused patches/files

Closes: https://github.com/gentoo/gentoo/pull/3628

 net-misc/bird/files/1.2.3-v4-v6-build.patch | 109 
 net-misc/bird/files/1.2.4-v4-v6-build.patch | 109 
 net-misc/bird/files/1.3.0-v4-v6-build.patch | 109 
 net-misc/bird/files/1.3.1-v4-v6-build.patch | 109 
 net-misc/bird/files/1.3.2-v4-v6-build.patch | 109 
 net-misc/bird/files/initd-v4-bird-1.2.3 |  39 --
 net-misc/bird/files/initd-v4-bird-1.2.4 |  39 --
 net-misc/bird/files/initd-v4-bird-1.3.0 |  42 ---
 net-misc/bird/files/initd-v4-bird-1.3.1 |  42 ---
 net-misc/bird/files/initd-v4-bird-1.3.2 |  42 ---
 net-misc/bird/files/initd-v6-bird-1.2.3 |  39 --
 net-misc/bird/files/initd-v6-bird-1.2.4 |  39 --
 net-misc/bird/files/initd-v6-bird-1.3.0 |  42 ---
 net-misc/bird/files/initd-v6-bird-1.3.1 |  42 ---
 net-misc/bird/files/initd-v6-bird-1.3.2 |  42 ---
 15 files changed, 953 deletions(-)

diff --git a/net-misc/bird/files/1.2.3-v4-v6-build.patch 
b/net-misc/bird/files/1.2.3-v4-v6-build.patch
deleted file mode 100644
index 12f9e21..
--- a/net-misc/bird/files/1.2.3-v4-v6-build.patch
+++ /dev/null
@@ -1,109 +0,0 @@
-diff -uNr bird-1.2.3.ORIG//tools/Makefile.in bird-1.2.3/tools/Makefile.in
 bird-1.2.3.ORIG//tools/Makefile.in 2010-06-07 14:15:41.0 +0100
-+++ bird-1.2.3/tools/Makefile.in   2010-06-07 14:15:58.0 +0100
-@@ -3,13 +3,13 @@
- 
- include Rules
- 
--.PHONY: all daemon client subdir depend clean distclean tags docs userdocs 
progdocs
-+.PHONY: all daemon client subdir depend clean distclean tags docs userdocs 
progdocs almost-clean
- 
- all: sysdep/paths.h .dep-stamp subdir daemon @CLIENT@
- 
--daemon: $(exedir)/bird
-+daemon: $(exedir)/bird@SUFFIX6@
- 
--client: $(exedir)/birdc
-+client: $(exedir)/birdc@SUFFIX6@
- 
- bird-dep := $(addsuffix /all.o, $(static-dirs)) conf/all.o lib/birdlib.a
- 
-@@ -27,10 +27,10 @@
-   set -e ; for a in $(dynamic-dirs) ; do $(MAKE) -C $$a $@ ; done
-   set -e ; for a in $(static-dirs) $(client-dirs) ; do $(MAKE) -C $$a -f 
$(srcdir_abs)/$$a/Makefile $@ ; done
- 
--$(exedir)/bird: $(bird-dep)
-+$(exedir)/bird@SUFFIX6@: $(bird-dep)
-   $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
- 
--$(exedir)/birdc: $(birdc-dep)
-+$(exedir)/birdc@SUFFIX6@: $(birdc-dep)
-   $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) $(CLIENT_LIBS)
- 
- .dir-stamp: sysdep/paths.h
-@@ -54,25 +54,42 @@
- tags:
-   cd $(srcdir) ; etags -lc `find $(static-dirs) $(addprefix 
$(objdir)/,$(dynamic-dirs)) $(client-dirs) -name *.[chY]`
- 
--install: all
-+install-gen:
-   $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir) 
$(DESTDIR)/$(localstatedir)/run
--  $(INSTALL_PROGRAM) -s $(exedir)/bird $(DESTDIR)/$(sbindir)/bird@SUFFIX6@
-+
-+install-bin: install-gen
-+  $(INSTALL_PROGRAM) $(exedir)/bird $(DESTDIR)/$(sbindir)/
-+  if test -n "@CLIENT@" ; then
\
-+  $(INSTALL_PROGRAM) $(exedir)/birdc $(DESTDIR)/$(sbindir)/ ; 
 \
-+  fi
-+  if ! test -f $(DESTDIR)/$(sysconfdir)/bird.conf ; then  
\
-+  $(INSTALL_DATA) $(srcdir)/doc/bird.conf.example 
$(DESTDIR)/$(sysconfdir)/bird.conf ;\
-+  else
\
-+  echo "Not overwriting old bird.conf" ;  
\
-+  fi
-+
-+install-bin6: install-gen
-+  $(INSTALL_PROGRAM) $(exedir)/bird $(DESTDIR)/$(sbindir)/
-   if test -n "@CLIENT@" ; then
\
--  $(INSTALL_PROGRAM) -s $(exedir)/birdc 
$(DESTDIR)/$(sbindir)/birdc@SUFFIX6@ ;\
-+  $(INSTALL_PROGRAM) $(exedir)/birdc6 $(DESTDIR)/$(sbindir)/birdc 
;   \
-   fi
--  if ! test -f $(DESTDIR)/$(sysconfdir)/bird@SUFFIX6@.conf ; then 
\
--  $(INSTALL_DATA) $(srcdir)/doc/bird.conf.example 
$(DESTDIR)/$(sysconfdir)/bird@SUFFIX6@.conf ;   \
-+  if ! test -f $(DESTDIR)/$(sysconfdir)/bird6.conf ; then 
\
-+  $(INSTALL_DATA) $(srcdir)/doc/bird.conf.example 
$(DESTDIR)/$(sysconfdir)/bird6.conf ;   \
-   else
  

[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2016-12-23 Thread Tony Vroon
commit: 59e44ec400746783dddac1037fa3d927cdd28855
Author: Tony Vroon  gentoo  org>
AuthorDate: Fri Dec 23 09:31:19 2016 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Fri Dec 23 09:31:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59e44ec4

net-misc/bird: 1.6.3 release with large BGP communities support

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/bird/Manifest |  5 +-
 net-misc/bird/bird-1.4.4.ebuild| 62 --
 .../bird/{bird-1.3.9.ebuild => bird-1.6.2.ebuild}  |  5 +-
 .../bird/{bird-1.4.3.ebuild => bird-1.6.3.ebuild}  |  5 +-
 4 files changed, 8 insertions(+), 69 deletions(-)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 0980992..bc6c96c 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -1,7 +1,6 @@
-DIST bird-1.3.9.tar.gz 994681 SHA256 
928073d9f6c768869c002a0c732d48159dc50530ed90fb7f3da76a6febd0cf94 SHA512 
b9961fc1aeff81273606d645c0d66d3f4bdd7ef2539bf41105d1c8b360905a74d789f3bd38ef378068579334426911f21b50926e45f56d7d791276e80cf2f258
 WHIRLPOOL 
2e4bd405f8117827dc186b0223c0126ab00d9d5a6da905bfde7e24471ab758a25eb39a2df33cb94bc7877a4f46a9327bf7fc09bec797ca8fb695f3b54213fed5
-DIST bird-1.4.3.tar.gz 1277383 SHA256 
5d05fdc938af0522414ff38704b908e5f2afb290687e7d9006f682855c0962d6 SHA512 
39866d8e2859bb0db2581a971b42d626af77746f09fff3e5b151429fff99dc2f707eb0855d40a5a46a84aab01f096a3e769cbce6d0cdd5c6cee2e7dcd4aba853
 WHIRLPOOL 
fbea11f1893a09a1014576e24240913bc119df61ffa4cb856d546f8a56a6a819628b44c0b0cae0736ba19e3578a192dad5f063a3d0d731d8042cf1eef633ff19
-DIST bird-1.4.4.tar.gz 1282882 SHA256 
ef506afa5852202379256c0db71c8db577e59babde79d63b8f40863de2270136 SHA512 
12a91eb87002692458dab3674a05a2918e2663303e4af4204b9ac343a2440f888febbc0cea865ecdbb876641947804e0764950214a6db99eb1246cd71c50c6d9
 WHIRLPOOL 
5224238ccc1984cb5aeeeda44ba07959489ff60b959f3faf9444bee4b8679bb43d87331579dff5f627587dde9d5f2a0627e5fb4d6cdfa9a183585dc600bdc80b
 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
+DIST bird-1.6.2.tar.gz 1300037 SHA256 
8853f857045057e02c645232629754e9f5554eafa9d19fdef6097af72a3a98f6 SHA512 
a45ef7fba6caec3ae3908a4cad83d5b5d75533f625bd9fd75d4c42aa1642e76ffd01b2d4f2fbaeffc298b525f426c726432a092d15c9d23e7ccf9ddfa6beeaa1
 WHIRLPOOL 
98dd7e227ec4d72b1efe6d9f5798ed9b9f1b30b601883095528bbaf875ca8f33e9549d3f8b5adb2163cf1a4a36c9d4f926c0790c806b61f1628d211aaec9c8ca
+DIST bird-1.6.3.tar.gz 1337198 SHA256 
39c51cf57c3ba8b5978b2a657ffa2f647ec7f3ae643e91cf42ee5cb070cf7e7c SHA512 
d0f044cbbb3e5fe0624ad8ae58f5fa352ff41a9cd73f37d803431d9d148927bce52d8f2b82e31dd65c753c55b1034aaf8e15739a511e42cd2dd122b5cd1e15df
 WHIRLPOOL 
08172f354df6955e1a4542faf51f3f1d7754a2d2f3c1dd2f19679f46c059874bc96d615a4f342cd6f7ccb60a4ef63bdb917a2af6a38538d210fa82435fbc964e

diff --git a/net-misc/bird/bird-1.4.4.ebuild b/net-misc/bird/bird-1.4.4.ebuild
deleted file mode 100644
index 40e3c4a..
--- a/net-misc/bird/bird-1.4.4.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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
-  

[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2016-09-27 Thread Tony Vroon
commit: ad1e96f8e90da81e63ddba381dddceb0a1cfd758
Author: Tony Vroon  gentoo  org>
AuthorDate: Tue Sep 27 14:29:37 2016 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Tue Sep 27 14:29:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad1e96f8

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

 net-misc/bird/Manifest  |  1 +
 net-misc/bird/bird-1.6.1.ebuild | 63 +
 2 files changed, 64 insertions(+)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index be1eceb..0980992 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 ..d6394ea
--- /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
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/bird/

2016-05-03 Thread Tony Vroon
commit: 5dff67c7f1469fc22fbf6b3d3e32af60a3e3d827
Author: Tony Vroon  gentoo  org>
AuthorDate: Tue May  3 10:21:44 2016 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Tue May  3 10:21:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dff67c7

net-misc/bird: Version bump to 1.6.0; as requested by Moyaze Shivji in the LINX 
technology team.

Package-Manager: portage-2.2.28

 net-misc/bird/Manifest  |  1 +
 net-misc/bird/bird-1.6.0.ebuild | 63 +
 2 files changed, 64 insertions(+)

diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 5738fed..be1eceb 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -3,3 +3,4 @@ DIST bird-1.4.3.tar.gz 1277383 SHA256 
5d05fdc938af0522414ff38704b908e5f2afb29068
 DIST bird-1.4.4.tar.gz 1282882 SHA256 
ef506afa5852202379256c0db71c8db577e59babde79d63b8f40863de2270136 SHA512 
12a91eb87002692458dab3674a05a2918e2663303e4af4204b9ac343a2440f888febbc0cea865ecdbb876641947804e0764950214a6db99eb1246cd71c50c6d9
 WHIRLPOOL 
5224238ccc1984cb5aeeeda44ba07959489ff60b959f3faf9444bee4b8679bb43d87331579dff5f627587dde9d5f2a0627e5fb4d6cdfa9a183585dc600bdc80b
 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

diff --git a/net-misc/bird/bird-1.6.0.ebuild b/net-misc/bird/bird-1.6.0.ebuild
new file mode 100644
index 000..d6394ea
--- /dev/null
+++ b/net-misc/bird/bird-1.6.0.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
+}