net-misc/openbgpd: Backporting GURU contribution

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-03-24 21:16:41 +01:00
parent ec98d5e350
commit 9f7e3458bc
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 6 additions and 11 deletions

View file

@ -1,5 +1,5 @@
--- src/bgpd/config.c 2020-03-20 17:55:04.089577745 +0100 --- a/src/bgpd/config.c 2020-03-20 17:55:04.089577745 +0100
+++ src/bgpd/config.c 2020-03-20 17:56:01.480205070 +0100 +++ b/src/bgpd/config.c 2020-03-20 17:56:01.480205070 +0100
@@ -343,7 +343,8 @@ @@ -343,7 +343,8 @@
fatal("getifaddrs"); fatal("getifaddrs");

View file

@ -6,7 +6,6 @@ EAPI=7
inherit systemd inherit systemd
MY_PV="${PV/_p/p}" MY_PV="${PV/_p/p}"
#MY_PN="openbgpd-portable"
MY_P="${PN}-${MY_PV}" MY_P="${PN}-${MY_PV}"
DESCRIPTION="OpenBGPD is a free implementation of BGPv4" DESCRIPTION="OpenBGPD is a free implementation of BGPv4"
@ -29,15 +28,11 @@ BDEPEND="
sys-devel/libtool sys-devel/libtool
" "
src_unpack() { S="${WORKDIR}/${MY_P}"
default
mv "${WORKDIR}/${MY_P}" "${S}"
}
src_prepare() { PATCHES=(
eapply -p0 "${FILESDIR}/${P}-config.c.patch" "${FILESDIR}/${P}-config.c.patch"
default )
}
src_install() { src_install() {
default default