mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
net-misc/bird: drop 2.0.12-r1
Closes: https://bugs.gentoo.org/903604 Closes: https://bugs.gentoo.org/925221 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr> Part-of: https://github.com/gentoo/gentoo/pull/42308 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST bird-2.0.12.tar.gz 1307984 BLAKE2B ca00574bb8e508255afb90e0d65f4e1763880699cff9877731d072efc48944b9f9ac77b35bb7ffd7b780e8e8b1c2eacdc38ee273353817c53723e7972fb5f0d6 SHA512 b5e1235210e500511955c009456710dd12d6ea747825806a6d35a9de5f2f984d9a45fa541d45dd5e353f87f4d61bf1d4612cb6058769e905e4ef6b414ab4212f
|
||||
DIST bird-2.16.1.tar.gz 1433936 BLAKE2B 80698f6e009662ec944831b869538fb3d74e405f94841cfdd372143b0b6ee6db85e8f136e607574a188e8b1794f2da8b59a9fb2629600bae4ddb1c6e5505a464 SHA512 7eccc9ada56f0f151237e7dacaea968526058dbadc36257adfc2f307876237b7267239cb5f3ee6a01832834dc81f9f54000c1550ae200b69f97da8e748f6af70
|
||||
DIST bird-2.16.2.tar.gz 1435594 BLAKE2B 7c336c582d67e382a9d2481ec8e1b391b0e08418d10dc991bf9d4fdfdcba94f5e93e40202cddc18589545bac9d43b9517d0ad848dad05d153e01c23208d416f5 SHA512 cd1a014f01dcb889bef04c878c49f3d1954ff8b14a58bb3ad4e6983bdb2c8dd71363739c8ea2c795409f17e2c293145018bb3f20fbdc540b7bda84ffa5173f21
|
||||
DIST bird-2.17.1.tar.gz 1471008 BLAKE2B 6e5557ffea67be745aa1a1659aa6215f7b6ed7f83bf1a66130f43e8ea40e6d6e218902f3d2e8da5fa1218b00c3cc797c0d3616775420becac75387bcb6d282c2 SHA512 b535bc74f7e865167f40eef3dd82042f085d06de394a2eac2d94bae4c44e247b590d4c45206afe360b2d8879e33f2478117f0a0b1a5182431204cbbf595b9890
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
# 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.network.cz/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~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
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-musl-tests.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
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_cv_c_lto=no )
|
||||
|
||||
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."
|
||||
}
|
||||
Reference in New Issue
Block a user