net-misc/openbgpd: Improvements
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
1e936ac631
commit
ce7a3218ad
|
@ -1,5 +1,5 @@
|
|||
--- openbsd/src/usr.sbin/bgpd/config.c 2020-03-20 17:55:04.089577745 +0100
|
||||
+++ openbsd/src/usr.sbin/bgpd/config.c 2020-03-20 17:56:01.480205070 +0100
|
||||
--- a/openbsd/src/usr.sbin/bgpd/config.c 2020-03-20 17:55:04.089577745 +0100
|
||||
+++ b/openbsd/src/usr.sbin/bgpd/config.c 2020-03-20 17:56:01.480205070 +0100
|
||||
@@ -343,7 +343,8 @@
|
||||
fatal("getifaddrs");
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- update.sh 2020-03-20 15:14:46.462983445 +0100
|
||||
+++ update.sh 2020-03-20 15:14:56.473090379 +0100
|
||||
--- a/update.sh 2020-03-20 15:14:46.462983445 +0100
|
||||
+++ b/update.sh 2020-03-20 15:14:56.473090379 +0100
|
||||
@@ -13,10 +13,6 @@
|
||||
git clone "${OPENBGPD_GIT}/openbsd"
|
||||
fi
|
||||
|
|
|
@ -43,8 +43,11 @@ src_install() {
|
|||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn ""
|
||||
ewarn "OpenBGPD portable (not running on OpenBSD) can’t export its RIB to"
|
||||
ewarn "the FIB. It’s only suitable for route-reflectors or route-servers."
|
||||
ewarn ""
|
||||
if [ -z "${REPLACING_VERSIONS}" ]; then
|
||||
ewarn ""
|
||||
ewarn "OpenBGPD portable (not running on OpenBSD) can’t export its RIB"
|
||||
ewarn "to the FIB. It’s only suitable for route-reflectors or"
|
||||
ewarn "route-servers."
|
||||
ewarn ""
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -6,8 +6,8 @@ EAPI=7
|
|||
inherit autotools git-r3 systemd
|
||||
|
||||
DESCRIPTION="OpenBGPD is a free implementation of BGPv4"
|
||||
HOMEPAGE="http://www.openbgpd.org/index.html"
|
||||
EGIT_REPO_URI="https://github.com/openbgpd-portable/openbgpd-portable.git"
|
||||
HOMEPAGE="http://www.openbgpd.org/"
|
||||
EGIT_REPO_URI="https://github.com/${PN}-portable/${PN}-portable.git"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
|
@ -23,11 +23,14 @@ RDEPEND="
|
|||
"
|
||||
BDEPEND="
|
||||
dev-util/byacc
|
||||
sys-devel/autoconf
|
||||
sys-devel/automake
|
||||
sys-devel/libtool
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-update.patch"
|
||||
"${FILESDIR}/${P}-config.c.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
|
||||
|
@ -41,8 +44,6 @@ src_unpack() {
|
|||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply -p0 "${FILESDIR}/${P}-update.patch"
|
||||
eapply -p0 "${FILESDIR}/${P}-config.c.patch"
|
||||
default
|
||||
./autogen.sh
|
||||
eautoreconf
|
||||
|
@ -62,8 +63,11 @@ src_install() {
|
|||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn ""
|
||||
ewarn "OpenBGPD portable (not running on OpenBSD) can’t export its RIB to"
|
||||
ewarn "the FIB. It’s only suitable for route-reflectors or route-servers."
|
||||
ewarn ""
|
||||
if [ -z "${REPLACING_VERSIONS}" ]; then
|
||||
ewarn ""
|
||||
ewarn "OpenBGPD portable (not running on OpenBSD) can’t export its RIB"
|
||||
ewarn "to the FIB. It’s only suitable for route-reflectors or"
|
||||
ewarn "route-servers."
|
||||
ewarn ""
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue