aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlarig Le Lay <alarig@swordarmor.fr>2024-08-24 12:49:29 +0200
committerAlarig Le Lay <alarig@swordarmor.fr>2024-08-24 12:49:29 +0200
commitf294e698dfa59f275f4cbe711030315b71a8f112 (patch)
tree82b0f791d1c767aba8ca8c1bf13eacff7fa7cc6d /net-misc
parentdev-embedded/qdl: add 2.0, drop 2024.4.9-r1 (diff)
downloadguru-f294e698dfa59f275f4cbe711030315b71a8f112.tar.gz
guru-f294e698dfa59f275f4cbe711030315b71a8f112.tar.bz2
guru-f294e698dfa59f275f4cbe711030315b71a8f112.zip
net-misc/openbgpd: add 8.5
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/openbgpd/Manifest1
-rw-r--r--net-misc/openbgpd/openbgpd-8.5.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/net-misc/openbgpd/Manifest b/net-misc/openbgpd/Manifest
index 19691ede8..96ac0f722 100644
--- a/net-misc/openbgpd/Manifest
+++ b/net-misc/openbgpd/Manifest
@@ -1,2 +1,3 @@
DIST openbgpd-6.9p0.tar.gz 719173 BLAKE2B 13360fdec909fbb18e4b9f71cb6751c406bb58a685d51bbb9caa38302f4dd1d91ba7a3ed90eac308f57851410fdf9b21652266f29488f086bba4b3ec24844efe SHA512 ba6f73aeb03e798fd081f67fc500d24e0b2efdb9564fe5f294460abc8e66762692177a1238f8f0372ca74e0ad9c11aa9f640e50cd0978198639655b3985240bc
DIST openbgpd-8.4.tar.gz 841272 BLAKE2B 1a7ea4a2ada7ff11f4311672c6ade0b233cdfc03b9b478e283ce92b36259980e74f78c89e96473f01bd4a51e6104e1c5d8027f92a675555423a171c9adf5f852 SHA512 4774d693ebfd9ba4f4fb355cb19f671d6f229284dc45483fafc8517f7b1d1a583e4657bf8d3f54d559b177e8959a536d0b50f70f0270d57ddf8dc2b6290c5fb6
+DIST openbgpd-8.5.tar.gz 848032 BLAKE2B 74bfaa718000aa5329b2d70cc86869606107bc061f858655678c9734a403ddb521e66b195b649b3e09f42d07098081218963e929389a55d43b4424bf14f81bf4 SHA512 4f1592e3b83b4aeea35ac42a2bfed3072a4003de560055d06bdc27c02f82679860b298636faa27843752e291f50a47f70bf3314c66167d77077e0dc11f825a52
diff --git a/net-misc/openbgpd/openbgpd-8.5.ebuild b/net-misc/openbgpd/openbgpd-8.5.ebuild
new file mode 100644
index 000000000..cf55b894a
--- /dev/null
+++ b/net-misc/openbgpd/openbgpd-8.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+MY_PV="${PV/_p/p}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="OpenBGPD is a free implementation of BGPv4"
+HOMEPAGE="http://www.openbgpd.org/index.html"
+SRC_URI="mirror://openbsd/OpenBGPD/${PN}-${MY_PV}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ ${DEPEND}
+ !!net-misc/frr
+ acct-group/_bgpd
+ acct-user/_bgpd
+ dev-libs/libevent
+ net-libs/libmnl
+"
+BDEPEND="
+ dev-build/libtool
+"
+
+src_install() {
+ default
+
+ newinitd "${FILESDIR}/${PN}-init.d" bgpd
+ newconfd "${FILESDIR}/${PN}-conf.d" bgpd
+ systemd_newunit "${FILESDIR}/${PN}.service" bgpd.service
+}
+
+pkg_postinst() {
+ 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
+}