net-misc/openbgpd: add 7.7

This commit is contained in:
Alarig Le Lay 2023-03-19 15:04:23 +01:00
parent eb947539fd
commit ebe2827f01
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 50 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST openbgpd-6.9p0.tar.gz 719173 BLAKE2B 13360fdec909fbb18e4b9f71cb6751c406bb58a685d51bbb9caa38302f4dd1d91ba7a3ed90eac308f57851410fdf9b21652266f29488f086bba4b3ec24844efe SHA512 ba6f73aeb03e798fd081f67fc500d24e0b2efdb9564fe5f294460abc8e66762692177a1238f8f0372ca74e0ad9c11aa9f640e50cd0978198639655b3985240bc DIST openbgpd-6.9p0.tar.gz 719173 BLAKE2B 13360fdec909fbb18e4b9f71cb6751c406bb58a685d51bbb9caa38302f4dd1d91ba7a3ed90eac308f57851410fdf9b21652266f29488f086bba4b3ec24844efe SHA512 ba6f73aeb03e798fd081f67fc500d24e0b2efdb9564fe5f294460abc8e66762692177a1238f8f0372ca74e0ad9c11aa9f640e50cd0978198639655b3985240bc
DIST openbgpd-7.7.tar.gz 787996 BLAKE2B 26cf451b54f76fd41a361674ed9149309a40b29565b139b6d5e918d4d052f6420181e7010106fc57edd5c0ccce1283e38482ba4dea85798516292ef83aa7c29e SHA512 0ba64bec14e8b855cf4f038c481abfc9ed277a0c472f5de2c37d933ffdd7cf7166f50652c785abfff296733e37b9c086510cb2930ea6e189201a4525cecd0dc6

View file

@ -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"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="
${DEPEND}
!!net-misc/frr
acct-group/_bgpd
acct-user/_bgpd
"
BDEPEND="
sys-devel/libtool
"
S="${WORKDIR}/${MY_P}"
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
}