net-misc/bird: New pre-version 2.0.9
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
parent
203fc1115b
commit
f3428c7410
|
@ -2,3 +2,4 @@ DIST bird-1.6.8.tar.gz 1042222 BLAKE2B 65974c936a711dfa14d43817a4d23420ebbed317d
|
|||
DIST bird-2.0.6.tar.gz 1899912 BLAKE2B 068f740a01a327b5fecf10a8aaafecac218fd14536ea98c93980d7ef9426766be80c68202410aaa20012f7f3b1837173e51d83d0ce2fb1828029d54174065206 SHA512 22aa676e171cf5ddf6dedbf0dfe9bb36a959efdf9cb278b7e969d5b08b06fe483e3b30ef40c1f9980387ed6ac6ee6626f3d85704925256c22dae91fa7d23267d
|
||||
DIST bird-2.0.7.tar.gz 1993395 BLAKE2B ceb88d811d254e57e089ef4b4e1e4f34fd96d4622d9f5563cc8694323c060e99d6cdfccfeb5d8c885b9431dc71e96d5cc04e4344901a7c7d899f4249e7503720 SHA512 48ca63be923285dd282e80d7e2b240256953fd7ad4f6eaa5dcba2648f3f148be20198bc8c6e7e888aac1588ecb005a4f4c03e979853e76ea6f8680643a874b35
|
||||
DIST bird-2.0.8.tar.gz 1135228 BLAKE2B 4b36688ac85967ad8c39d9c37dc717d77b1cb5c3ec44a0cf4e84ff38b8d1710d10653a1333b50cd2ede79fd7f012ec86de0baefc9ac18435693ec5b3e43b8a3a SHA512 5f8ad63b1dcdcfdfd4c98f55601dda3a07dea3099fc51b52a340650ca475bd943ee6aac31a1e7735b7596b279e338697c65728754b97108ae687a05f566c94e2
|
||||
DIST bird-2.0.9_pre20210209.tar.bz2 30049 BLAKE2B 3a150a069e999cd6e6a29d828e74381d37a17ac0750237dd6b5d7824fc720277ec38ef92dbed45b3f39355064fb24342bf4c965030598e0505b5ee39a00de289 SHA512 e9beb4f8bd3542b51cc2dcd367bfa6f7f11bb7a2ba502625d84f0155df7a82a0e8b367f240d9699cbdafd375a7f0c3544935044f3fd29f75a04e18b775b82c65
|
||||
|
|
62
net-misc/bird/bird-2.0.9_pre20210209.ebuild
Normal file
62
net-misc/bird/bird-2.0.9_pre20210209.ebuild
Normal file
|
@ -0,0 +1,62 @@
|
|||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit fcaps
|
||||
|
||||
DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 & IPv6"
|
||||
HOMEPAGE="https://bird.network.cz"
|
||||
GIT_HASH="71c9484b00b4428ae6c7d7c8eea6d96073683a54"
|
||||
SRC_URI="https://gitlab.nic.cz/labs/${PN}/bird/-/archive/${GIT_HASH}/${PN}-${GIT_HASH}.tar.bz2 -> ${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="+client debug libssh"
|
||||
|
||||
RDEPEND="
|
||||
client? ( sys-libs/ncurses:= )
|
||||
client? ( 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
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--localstatedir="${EPREFIX}/var" \
|
||||
$(use_enable client) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable libssh)
|
||||
}
|
||||
|
||||
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