From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA24A1580EB for ; Thu, 29 May 2025 16:49:42 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C4F453431C0 for ; Thu, 29 May 2025 16:49:42 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 0B9CF1104AE; Thu, 29 May 2025 16:49:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 051711104AE for ; Thu, 29 May 2025 16:49:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A900D343173 for ; Thu, 29 May 2025 16:49:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1084928F8 for ; Thu, 29 May 2025 16:49:24 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1748537302.44fa012094d2223f132a9bc1d276b1f1a90af4fb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/bird/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/bird/Manifest net-misc/bird/bird-3.0.4.ebuild net-misc/bird/bird-3.1.2.ebuild X-VCS-Directories: net-misc/bird/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 44fa012094d2223f132a9bc1d276b1f1a90af4fb X-VCS-Branch: master Date: Thu, 29 May 2025 16:49:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8ed108c7-0518-4cfa-b69b-fe09258ee2ff X-Archives-Hash: 867fdb9ddd6d2f3714751d7474310346 commit: 44fa012094d2223f132a9bc1d276b1f1a90af4fb Author: Alarig Le Lay swordarmor fr> AuthorDate: Wed May 28 19:25:18 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu May 29 16:48:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44fa0120 net-misc/bird: add 3.0.4, 3.1.2 Signed-off-by: Alarig Le Lay swordarmor.fr> Part-of: https://github.com/gentoo/gentoo/pull/42308 Closes: https://github.com/gentoo/gentoo/pull/42308 Signed-off-by: Sam James gentoo.org> net-misc/bird/Manifest | 2 ++ net-misc/bird/bird-3.0.4.ebuild | 79 +++++++++++++++++++++++++++++++++++++++++ net-misc/bird/bird-3.1.2.ebuild | 79 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 160 insertions(+) diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest index dca411c7409c..4eda62af7643 100644 --- a/net-misc/bird/Manifest +++ b/net-misc/bird/Manifest @@ -2,4 +2,6 @@ DIST bird-2.16.1.tar.gz 1433936 BLAKE2B 80698f6e009662ec944831b869538fb3d74e405f DIST bird-2.16.2.tar.gz 1435594 BLAKE2B 7c336c582d67e382a9d2481ec8e1b391b0e08418d10dc991bf9d4fdfdcba94f5e93e40202cddc18589545bac9d43b9517d0ad848dad05d153e01c23208d416f5 SHA512 cd1a014f01dcb889bef04c878c49f3d1954ff8b14a58bb3ad4e6983bdb2c8dd71363739c8ea2c795409f17e2c293145018bb3f20fbdc540b7bda84ffa5173f21 DIST bird-2.17.1.tar.gz 1471008 BLAKE2B 6e5557ffea67be745aa1a1659aa6215f7b6ed7f83bf1a66130f43e8ea40e6d6e218902f3d2e8da5fa1218b00c3cc797c0d3616775420becac75387bcb6d282c2 SHA512 b535bc74f7e865167f40eef3dd82042f085d06de394a2eac2d94bae4c44e247b590d4c45206afe360b2d8879e33f2478117f0a0b1a5182431204cbbf595b9890 DIST bird-3.0.3.tar.gz 2692787 BLAKE2B 76d414b1a72a2207c9499615c88bbb8dcefc03afb7e6dcbca1f47b616e9948695e7b32386b847ae393733336541577cbaaee5e72f2f0536273d529778042186d SHA512 96b60b6185c0019aa78b13da2f0ebf8a2ca787882489b0b460dd8b4f790032b34fcab1d57d29192bd20e15a2b20678d50afc09bef47c32587fd74703fd7f6b8a +DIST bird-3.0.4.tar.gz 2698491 BLAKE2B b6c6addbdedf4f36135e09b32c50b91c124f34b118d2e60eb55024a29a49aa34e28f5eba68d73ef163830a7d465e6b2a96eaa05482a3d5b1f5126ee4c9123c2b SHA512 d6dca887f9852073ba9fd6b63abb123a9fac7c88d1cec21e3c0483c7ec2806dc320bc6814b1e467f748d47ee1fe0e7402c96efbe898b5e21203ee792e8a433d8 DIST bird-3.1.1.tar.gz 2725214 BLAKE2B 8a50cb91a0263726493bcd3661a487d8e0e10c7b9ac9ed8f012960396e3df8cbb5b647f873d7997ad1a82ae5b5b4e14ac04e35dc62e9a484ea52daea921e53a4 SHA512 16d926b2387a05ed599b704a112c171f98a84fd8e9bebc5a739ed3688825f688a933de4ebe367ad87d83cb806390c422b8f68edf3d643285a9f00a7f871920fa +DIST bird-3.1.2.tar.gz 2731209 BLAKE2B e891cac960a05c1936f18f8f1bea7333a824a51b07ce71f7f6391051925954d28b40eb82bb67fba3a7fd4adf4f545cf187648017609cb45a489d0edc1acf8fff SHA512 cd09bb36c957bf78ae8077d8653431de71398624bb298e6da99d8847b89700015b452879c0bf8a4931b6423feabebf58c65a2c028210bfaf7e0a04c630267b15 diff --git a/net-misc/bird/bird-3.0.4.ebuild b/net-misc/bird/bird-3.0.4.ebuild new file mode 100644 index 000000000000..8b7fb3d6b1f3 --- /dev/null +++ b/net-misc/bird/bird-3.0.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." +} diff --git a/net-misc/bird/bird-3.1.2.ebuild b/net-misc/bird/bird-3.1.2.ebuild new file mode 100644 index 000000000000..8b7fb3d6b1f3 --- /dev/null +++ b/net-misc/bird/bird-3.1.2.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." +}