net-misc/bird: drop 3.0_alpha1
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
471e8bb47c
commit
0a7fc59b07
|
@ -2,4 +2,3 @@ DIST bird-1.6.8.tar.gz 1042222 BLAKE2B 65974c936a711dfa14d43817a4d23420ebbed317d
|
|||
DIST bird-2.14.tar.gz 1396217 BLAKE2B fe16b89c7f0ff35c5126366920960e0c55f57fe343380b2c32230122cf24f9abc3eb4d6ed9f37d2176f9e9340a83dffd1e68fed276b59b86cf1bdf5b8bd3c169 SHA512 f6b0672df048cfb78d289030675799e6d19db49d8cc458778d36a4e7c10a15be161dd101d7b03cf017f0fa948206d6504b59139515cbb80acc5bb1fdaa4358b9
|
||||
DIST bird-2.15.1.tar.gz 1409653 BLAKE2B c3fe95ae2b8a3dca036278c8014f3ce2d1fd224c65c10abcc77b2cc1dbdfaa1b5766e8643b873a12ac33f00cd5e866aa7ce853ead78150ec4314b53457ad554a SHA512 75828ae7c3e574097ba6d7e38dd275ada3b078e215454478f2ed9898f7f8447b149e9ba4f47de05a2b8f4e4959b5ee8d46bee0ef58c79b9cb908a44e12df2842
|
||||
DIST bird-2.16.tar.gz 1434760 BLAKE2B a76dec4b3babd9739083c29530741e28e61b0cd0eeba726df06070c78f5e61f683aa0039b0952c0384fb7133c09e1788b6daf905a7f3d25e3441df49ba0a6ead SHA512 c230d36bcfad9731e6951a07ef81fdd53dbe65ab3b4883b0ef51cf691f5b67df5b2038af9781e443c436b932b78494e779cab6bddaeb136b8befe84833d184ff
|
||||
DIST bird-3.0alpha1.tar.gz 2415234 BLAKE2B c0a035500c4b5e9abd426c8f6835c9c1cb2be0f908803a17b7d6995de41d704c5667bf4e5037bcc19e166629aabe8a411f899d7df719564af4cf93fda9c6f362 SHA512 e41fd923a7e29ba16d70aaf4a5fe70913abc65d84b39bffe1a24fbb70e407ce9eac1b8189c3aecd5b88928dfc7ae62d6a2685dd8aa7de808f73edc918d604cc1
|
||||
|
|
|
@ -1,88 +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"
|
||||
MY_PV="${PV/_/}"
|
||||
SRC_URI="https://bird.network.cz/download/3.0pre/bird-${MY_PV}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
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
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# This export makes compilation and test phases verbose
|
||||
export VERBOSE=1
|
||||
|
||||
# lto must be enabled by default as bird is mono-threaded and use several
|
||||
# optimisations to be fast, at it may very likely be exposed to several
|
||||
# thounsand BGP updates per seconds
|
||||
# Although, we make it possible to desactivate it if wanted
|
||||
if use custom-cflags; then
|
||||
export bird_cv_c_lto=no
|
||||
fi
|
||||
|
||||
local myargs=(
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
$(use_enable client)
|
||||
$(use_enable debug)
|
||||
$(use_enable libssh)
|
||||
)
|
||||
|
||||
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."
|
||||
}
|
Loading…
Reference in a new issue