summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlarig Le Lay <alarig@swordarmor.fr>2025-09-23 10:14:13 +0200
committerSam James <sam@gentoo.org>2025-09-23 12:41:27 +0100
commitbb9b2a2629f57b802df5215bc91c3685351b5099 (patch)
tree7ac1751ea19374e448029f240dc2cebcd414ff38
parent610db7ebfd4d50712baddfc227b0a7ff75c67106 (diff)
downloadgentoo-bb9b2a2629f57b802df5215bc91c3685351b5099.tar.gz
gentoo-bb9b2a2629f57b802df5215bc91c3685351b5099.tar.bz2
gentoo-bb9b2a2629f57b802df5215bc91c3685351b5099.zip
net-misc/bird: add 3.0.5, 3.1.4
Bug: https://bugs.gentoo.org/963325 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr> Part-of: https://github.com/gentoo/gentoo/pull/43904 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--net-misc/bird/Manifest2
-rw-r--r--net-misc/bird/bird-3.0.5.ebuild79
-rw-r--r--net-misc/bird/bird-3.1.4.ebuild79
3 files changed, 160 insertions, 0 deletions
diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
index 816ed4731bca..76c73a229d70 100644
--- a/net-misc/bird/Manifest
+++ b/net-misc/bird/Manifest
@@ -2,5 +2,7 @@ DIST bird-2.16.1.tar.gz 1433936 BLAKE2B 80698f6e009662ec944831b869538fb3d74e405f
DIST bird-2.17.1.tar.gz 1471008 BLAKE2B 6e5557ffea67be745aa1a1659aa6215f7b6ed7f83bf1a66130f43e8ea40e6d6e218902f3d2e8da5fa1218b00c3cc797c0d3616775420becac75387bcb6d282c2 SHA512 b535bc74f7e865167f40eef3dd82042f085d06de394a2eac2d94bae4c44e247b590d4c45206afe360b2d8879e33f2478117f0a0b1a5182431204cbbf595b9890
DIST bird-2.17.2.tar.gz 1499113 BLAKE2B d8f1ed7f701ced4e59fc161ddd7d5fda4b6bebd2897fd8f3b225b5ee1bb8a4173f8eaec6ec7497d1b7291772c2eb5b70a5a9be46a9b90386097fcaedc2277fae SHA512 69cd29ca7a2681b86bd62b3a2063732c30c2b639fb8d2f856adadfa0627ff456c50d870a8a07f6d1c3f7c23099776d580b97871998f34dfe8b053f6621e37b28
DIST bird-3.0.4.tar.gz 2698491 BLAKE2B b6c6addbdedf4f36135e09b32c50b91c124f34b118d2e60eb55024a29a49aa34e28f5eba68d73ef163830a7d465e6b2a96eaa05482a3d5b1f5126ee4c9123c2b SHA512 d6dca887f9852073ba9fd6b63abb123a9fac7c88d1cec21e3c0483c7ec2806dc320bc6814b1e467f748d47ee1fe0e7402c96efbe898b5e21203ee792e8a433d8
+DIST bird-3.0.5.tar.gz 2703501 BLAKE2B 415c328dc992b2b41bcc607c80db619b11d7d0e27ec80afddefd2b880c35e0125edb4fc3cd565bee73e1a780134afbb25f199de6c79c1145bd92b62dc741ae1e SHA512 7c7ea050a16bd62ccdc9e956e64af64eddcc7437c3d516e1d092efd508993a854693b289db6317d999a9fd1689be66ff618021969b5560d1ef7de119ea369e5e
DIST bird-3.1.2.tar.gz 2731209 BLAKE2B e891cac960a05c1936f18f8f1bea7333a824a51b07ce71f7f6391051925954d28b40eb82bb67fba3a7fd4adf4f545cf187648017609cb45a489d0edc1acf8fff SHA512 cd09bb36c957bf78ae8077d8653431de71398624bb298e6da99d8847b89700015b452879c0bf8a4931b6423feabebf58c65a2c028210bfaf7e0a04c630267b15
DIST bird-3.1.3.tar.gz 2733495 BLAKE2B 2b9d81539d2ba227efd69990f755c61199c262f57be198d3496ab9eda0d6046036f272f0402fa6542f6cf02452b6e34321ad6a05b1846968a81ce8b88e05b8f3 SHA512 696b0438dc25363d5e3acbf22cd0b36004b1df41f292e078efcc3088ef73304f41160050ba45d85cc64d9a3be9494537ed899e88f7506daa290f0c3540ea1106
+DIST bird-3.1.4.tar.gz 2738002 BLAKE2B 67291810095e03655d177f8ab9f8330d187ed19c17d44a784660fdb015caabd3d1f29e2bcf782edac2474a9553de88fe2531675ae5ddfa218aa6af39137fe102 SHA512 f890be2ab869c058026acfa0a39f81af5fe33ca96e9a2d3275045d2cdf8128b64748ee112173f36d3ac8fb3495e74a82f6fe511774e685f0f769077dfa3424c8
diff --git a/net-misc/bird/bird-3.0.5.ebuild b/net-misc/bird/bird-3.0.5.ebuild
new file mode 100644
index 000000000000..8b7fb3d6b1f3
--- /dev/null
+++ b/net-misc/bird/bird-3.0.5.ebuild
@@ -0,0 +1,79 @@
+# Copyright 2020-2025 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="https://bird.nic.cz/download/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+#KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~x64-macos"
+IUSE="+client custom-cflags debug libssh"
+
+RDEPEND="
+ client? (
+ sys-libs/ncurses:=
+ sys-libs/readline:=
+ )
+ filecaps? (
+ acct-group/bird
+ acct-user/bird
+ )
+ libssh? ( net-libs/libssh:= )"
+BDEPEND="
+ app-alternatives/yacc
+ app-alternatives/lex
+ sys-devel/m4
+"
+
+FILECAPS=(
+ CAP_NET_ADMIN usr/sbin/bird
+ CAP_NET_BIND_SERVICE usr/sbin/bird
+ CAP_NET_RAW usr/sbin/bird
+)
+
+src_configure() {
+ # 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)
+ )
+
+ # 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_cflags_default=no ) || \
+ myargs+=( bird_cflags_default=yes )
+
+ econf "${myargs[@]}"
+}
+
+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-3.1.4.ebuild b/net-misc/bird/bird-3.1.4.ebuild
new file mode 100644
index 000000000000..8b7fb3d6b1f3
--- /dev/null
+++ b/net-misc/bird/bird-3.1.4.ebuild
@@ -0,0 +1,79 @@
+# Copyright 2020-2025 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="https://bird.nic.cz/download/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+#KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~x64-macos"
+IUSE="+client custom-cflags debug libssh"
+
+RDEPEND="
+ client? (
+ sys-libs/ncurses:=
+ sys-libs/readline:=
+ )
+ filecaps? (
+ acct-group/bird
+ acct-user/bird
+ )
+ libssh? ( net-libs/libssh:= )"
+BDEPEND="
+ app-alternatives/yacc
+ app-alternatives/lex
+ sys-devel/m4
+"
+
+FILECAPS=(
+ CAP_NET_ADMIN usr/sbin/bird
+ CAP_NET_BIND_SERVICE usr/sbin/bird
+ CAP_NET_RAW usr/sbin/bird
+)
+
+src_configure() {
+ # 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)
+ )
+
+ # 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_cflags_default=no ) || \
+ myargs+=( bird_cflags_default=yes )
+
+ econf "${myargs[@]}"
+}
+
+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."
+}