net-misc/bird: New release 1.6.8

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-12-01 08:46:43 +01:00
parent 443cb7650a
commit 677957b704
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 69 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST bird-1.6.8.tar.gz 1042222 BLAKE2B 65974c936a711dfa14d43817a4d23420ebbed317da4ec6211a2e36f031af917f90e34f4ab580802552cf5c506d819dbee663716b9a765ae9f2906ea44ab5cec6 SHA512 0a777ea1b7e613bd1048e7baf83c2f3636fd50b79b2b9570ab3db3e0981ce3703836d69f6fb1143222d8d4c6883936014a04d303e3c07c4ce1e6e60c938616d0
DIST bird-2.0.6.tar.gz 1899912 BLAKE2B 068f740a01a327b5fecf10a8aaafecac218fd14536ea98c93980d7ef9426766be80c68202410aaa20012f7f3b1837173e51d83d0ce2fb1828029d54174065206 SHA512 22aa676e171cf5ddf6dedbf0dfe9bb36a959efdf9cb278b7e969d5b08b06fe483e3b30ef40c1f9980387ed6ac6ee6626f3d85704925256c22dae91fa7d23267d
DIST bird-2.0.7.tar.gz 1993395 BLAKE2B ceb88d811d254e57e089ef4b4e1e4f34fd96d4622d9f5563cc8694323c060e99d6cdfccfeb5d8c885b9431dc71e96d5cc04e4344901a7c7d899f4249e7503720 SHA512 48ca63be923285dd282e80d7e2b240256953fd7ad4f6eaa5dcba2648f3f148be20198bc8c6e7e888aac1588ecb005a4f4c03e979853e76ea6f8680643a874b35

View file

@ -0,0 +1,68 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 or IPv6"
HOMEPAGE="http://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 debug ipv6"
RDEPEND="client? ( sys-libs/ncurses )
client? ( sys-libs/readline )"
DEPEND="sys-devel/flex
sys-devel/bison
sys-devel/m4"
src_prepare() {
eapply_user
mkdir ipv6
tar c --exclude ipv6 . | tar x -C ipv6
}
src_configure() {
econf \
--disable-ipv6 \
--localstatedir="${EPREFIX}/var" \
$(use_enable client) \
$(use_enable debug)
if use ipv6; then
cd ipv6
econf \
--enable-ipv6 \
--localstatedir="${EPREFIX}/var" \
$(use_enable client) \
$(use_enable debug)
fi
}
src_compile() {
emake
if use ipv6; then
cd ipv6
emake
fi
}
src_install() {
if use ipv6; then
if use client; then
newbin ipv6/birdc birdc6
fi
newbin ipv6/birdcl birdcl6
newsbin ipv6/bird bird6
newinitd "${FILESDIR}/initd-${PN}-2" bird6
fi
if use client; then
dobin birdc
fi
dobin birdcl
dosbin bird
newinitd "${FILESDIR}/initd-${PN}-2" bird
dodoc doc/bird.conf.example
}