net-misc/openbgpd: add 8.3

This commit is contained in:
Alarig Le Lay 2023-11-04 13:27:15 +01:00
parent a9d135e5e5
commit f1ec498247
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 50 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST openbgpd-8.0.tar.gz 837979 BLAKE2B 64c9ea56e1e9944271d3ab72e2eed738841c3e2904b919f987a52e1adf95b137c20d31a738595ff48a113cdde603e8e5aac2cb4d0c7f7e17399111358b0e7a72 SHA512 9d0c8b6e8c3d46b2510817c750e2faf1e79609becbe66eb02731317db3c2c455273a1135abfae3d32bcc970e02f55c90091e478334ec94dcd46ba5074d3b9b12
DIST openbgpd-8.2.tar.gz 838992 BLAKE2B ad0143bbdefcd3e12b046979630d746b51ecf92578b63050e449ac7c8ee59172df1aa212669c4a7b6a7cc6bc78cff0af5531d89af6fa93bc9132138442e08c23 SHA512 658718211067ac68f8866e9389c7760656c52e0bfc11e24239068bb516b8c9b73001edd0a3f3067eb22586bd3b2fb67b6cdcdeeffddd33baf639288e747e5db4
DIST openbgpd-8.3.tar.gz 839081 BLAKE2B e318cf48f7e65f1077740d6b0e0f4f58f5ba88d19b6f76cd8b738e107a1cdae34a9fa3f7ce52daa094d13e4bb9aa262438213d353f57e37af8d112e6b4c6b56f SHA512 a873254c8996c489b170a6fd74a2eaf7052f89e673ac4a5bbd019bcb28a65d9978af4530d6b242252e96789910cd2e81b6f265e507dfa6050cd57664609adb2b

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
}