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
+++ src/bgpd/config.c 2020-03-20 17:56:01.480205070 +0100
--- a/src/bgpd/config.c 2020-03-20 17:55:04.089577745 +0100
+++ b/src/bgpd/config.c 2020-03-20 17:56:01.480205070 +0100
@@ -343,7 +343,8 @@
fatal("getifaddrs");

View file

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