From 76058b09fc8002469837b552ccdf82eabd70370a Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Sun, 12 Mar 2023 10:35:42 +0200 Subject: net-misc/bird: revbump 2.0.12 due to init.d script change Bug: https://bugs.gentoo.org/900723 Signed-off-by: Joonas Niilola --- net-misc/bird/bird-2.0.12.ebuild | 87 ---------------------------------------- 1 file changed, 87 deletions(-) delete mode 100644 net-misc/bird/bird-2.0.12.ebuild (limited to 'net-misc/bird/bird-2.0.12.ebuild') diff --git a/net-misc/bird/bird-2.0.12.ebuild b/net-misc/bird/bird-2.0.12.ebuild deleted file mode 100644 index ced3b211938d..000000000000 --- a/net-misc/bird/bird-2.0.12.ebuild +++ /dev/null @@ -1,87 +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 custom-cflags 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_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." -} -- cgit v1.2.3-65-gdbad