net-misc/openbgpd: add 8.5

Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2024-08-24 12:42:14 +02:00
parent 63434c537d
commit 7daef1d5a2
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 51 additions and 3 deletions

View file

@ -1,4 +1,4 @@
BDEPEND=sys-devel/libtool virtual/pkgconfig BDEPEND=dev-build/libtool virtual/pkgconfig
DEFINED_PHASES=install postinst DEFINED_PHASES=install postinst
DESCRIPTION=OpenBGPD is a free implementation of BGPv4 DESCRIPTION=OpenBGPD is a free implementation of BGPv4
EAPI=7 EAPI=7
@ -8,6 +8,6 @@ KEYWORDS=~amd64 ~x86
LICENSE=ISC LICENSE=ISC
RDEPEND=!!net-misc/frr acct-group/_bgpd acct-user/_bgpd RDEPEND=!!net-misc/frr acct-group/_bgpd acct-user/_bgpd
SLOT=0 SLOT=0
SRC_URI=mirror://openbsd/OpenBGPD/openbgpd-8.2.tar.gz SRC_URI=mirror://openbsd/OpenBGPD/openbgpd-8.5.tar.gz
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 systemd c8b03e8df84486aa991d4396686e8942 _eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 systemd c8b03e8df84486aa991d4396686e8942
_md5_=c14b75b7f914b1160a60cb1002791e3f _md5_=8b92058a494b0061051bd28d0926748d

View file

@ -1,2 +1,3 @@
DIST openbgpd-8.3.tar.gz 839081 BLAKE2B e318cf48f7e65f1077740d6b0e0f4f58f5ba88d19b6f76cd8b738e107a1cdae34a9fa3f7ce52daa094d13e4bb9aa262438213d353f57e37af8d112e6b4c6b56f SHA512 a873254c8996c489b170a6fd74a2eaf7052f89e673ac4a5bbd019bcb28a65d9978af4530d6b242252e96789910cd2e81b6f265e507dfa6050cd57664609adb2b DIST openbgpd-8.3.tar.gz 839081 BLAKE2B e318cf48f7e65f1077740d6b0e0f4f58f5ba88d19b6f76cd8b738e107a1cdae34a9fa3f7ce52daa094d13e4bb9aa262438213d353f57e37af8d112e6b4c6b56f SHA512 a873254c8996c489b170a6fd74a2eaf7052f89e673ac4a5bbd019bcb28a65d9978af4530d6b242252e96789910cd2e81b6f265e507dfa6050cd57664609adb2b
DIST openbgpd-8.4.tar.gz 841272 BLAKE2B 1a7ea4a2ada7ff11f4311672c6ade0b233cdfc03b9b478e283ce92b36259980e74f78c89e96473f01bd4a51e6104e1c5d8027f92a675555423a171c9adf5f852 SHA512 4774d693ebfd9ba4f4fb355cb19f671d6f229284dc45483fafc8517f7b1d1a583e4657bf8d3f54d559b177e8959a536d0b50f70f0270d57ddf8dc2b6290c5fb6 DIST openbgpd-8.4.tar.gz 841272 BLAKE2B 1a7ea4a2ada7ff11f4311672c6ade0b233cdfc03b9b478e283ce92b36259980e74f78c89e96473f01bd4a51e6104e1c5d8027f92a675555423a171c9adf5f852 SHA512 4774d693ebfd9ba4f4fb355cb19f671d6f229284dc45483fafc8517f7b1d1a583e4657bf8d3f54d559b177e8959a536d0b50f70f0270d57ddf8dc2b6290c5fb6
DIST openbgpd-8.5.tar.gz 848032 BLAKE2B 74bfaa718000aa5329b2d70cc86869606107bc061f858655678c9734a403ddb521e66b195b649b3e09f42d07098081218963e929389a55d43b4424bf14f81bf4 SHA512 4f1592e3b83b4aeea35ac42a2bfed3072a4003de560055d06bdc27c02f82679860b298636faa27843752e291f50a47f70bf3314c66167d77077e0dc11f825a52

View file

@ -0,0 +1,47 @@
# 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
"
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) cant export its RIB"
ewarn "to the FIB. Its only suitable for route-reflectors or"
ewarn "route-servers."
ewarn ""
fi
}