diff options
-rw-r--r-- | net-misc/openbgpd/Manifest | 1 | ||||
-rw-r--r-- | net-misc/openbgpd/openbgpd-8.6.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/net-misc/openbgpd/Manifest b/net-misc/openbgpd/Manifest index 96ac0f722..0ea0735ce 100644 --- a/net-misc/openbgpd/Manifest +++ b/net-misc/openbgpd/Manifest @@ -1,3 +1,4 @@ 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 +DIST openbgpd-8.6.tar.gz 851232 BLAKE2B 604ca04444bb4b5da800f3dea1b70228162bd9ebac7f621c27e341b1129165155c76d115f8b0e25cdaf15b92cba59f7c8cfc5f251ef806c9d345210540aaea10 SHA512 1dce01a7c9939f2097f6cc5cebaa6a9c9531bb244d93c22457bc0d8438412c277e9c4a1ddda4580394b8e88dda6856838dac1e8c4e855f58a73b4ca062800672 diff --git a/net-misc/openbgpd/openbgpd-8.6.ebuild b/net-misc/openbgpd/openbgpd-8.6.ebuild new file mode 100644 index 000000000..7672136a9 --- /dev/null +++ b/net-misc/openbgpd/openbgpd-8.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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=" + !!net-misc/frr + acct-group/_bgpd + acct-user/_bgpd + dev-libs/libevent + net-libs/libmnl +" +DEPEND="${RDEPEND}" +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 +} |