net-misc/openbgpd: add 7.8

This commit is contained in:
Alarig Le Lay 2023-03-19 15:10:57 +01:00
parent 95e9c67150
commit 828ef1b855
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
2 changed files with 50 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST openbgpd-6.9p0.tar.gz 719173 BLAKE2B 13360fdec909fbb18e4b9f71cb6751c406bb58a685d51bbb9caa38302f4dd1d91ba7a3ed90eac308f57851410fdf9b21652266f29488f086bba4b3ec24844efe SHA512 ba6f73aeb03e798fd081f67fc500d24e0b2efdb9564fe5f294460abc8e66762692177a1238f8f0372ca74e0ad9c11aa9f640e50cd0978198639655b3985240bc
DIST openbgpd-7.7.tar.gz 787996 BLAKE2B 26cf451b54f76fd41a361674ed9149309a40b29565b139b6d5e918d4d052f6420181e7010106fc57edd5c0ccce1283e38482ba4dea85798516292ef83aa7c29e SHA512 0ba64bec14e8b855cf4f038c481abfc9ed277a0c472f5de2c37d933ffdd7cf7166f50652c785abfff296733e37b9c086510cb2930ea6e189201a4525cecd0dc6
DIST openbgpd-7.8.tar.gz 808568 BLAKE2B 98ca75de590c7de3ff8c6635f018b804c153543ba5ab1cfad937561a746b888072877bb62797feca2ca0934fe767b5bc96783fc23791a9b97079b7509b680ba6 SHA512 61ad11b9d82919d60121976aeee4908e0f4de9eb37aabbdc8ef5e50e0233cac962ee7a915439054456f20be9e8b879f967887ad455598c43dada479362933aaf

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
}