net-misc/openbgpd: add 8.2
This commit is contained in:
parent
5520113a33
commit
5a5da52886
|
@ -1,2 +1,3 @@
|
||||||
DIST openbgpd-7.8.tar.gz 808568 BLAKE2B 98ca75de590c7de3ff8c6635f018b804c153543ba5ab1cfad937561a746b888072877bb62797feca2ca0934fe767b5bc96783fc23791a9b97079b7509b680ba6 SHA512 61ad11b9d82919d60121976aeee4908e0f4de9eb37aabbdc8ef5e50e0233cac962ee7a915439054456f20be9e8b879f967887ad455598c43dada479362933aaf
|
DIST openbgpd-7.8.tar.gz 808568 BLAKE2B 98ca75de590c7de3ff8c6635f018b804c153543ba5ab1cfad937561a746b888072877bb62797feca2ca0934fe767b5bc96783fc23791a9b97079b7509b680ba6 SHA512 61ad11b9d82919d60121976aeee4908e0f4de9eb37aabbdc8ef5e50e0233cac962ee7a915439054456f20be9e8b879f967887ad455598c43dada479362933aaf
|
||||||
DIST openbgpd-8.0.tar.gz 837979 BLAKE2B 64c9ea56e1e9944271d3ab72e2eed738841c3e2904b919f987a52e1adf95b137c20d31a738595ff48a113cdde603e8e5aac2cb4d0c7f7e17399111358b0e7a72 SHA512 9d0c8b6e8c3d46b2510817c750e2faf1e79609becbe66eb02731317db3c2c455273a1135abfae3d32bcc970e02f55c90091e478334ec94dcd46ba5074d3b9b12
|
DIST openbgpd-8.0.tar.gz 837979 BLAKE2B 64c9ea56e1e9944271d3ab72e2eed738841c3e2904b919f987a52e1adf95b137c20d31a738595ff48a113cdde603e8e5aac2cb4d0c7f7e17399111358b0e7a72 SHA512 9d0c8b6e8c3d46b2510817c750e2faf1e79609becbe66eb02731317db3c2c455273a1135abfae3d32bcc970e02f55c90091e478334ec94dcd46ba5074d3b9b12
|
||||||
|
DIST openbgpd-8.2.tar.gz 838992 BLAKE2B ad0143bbdefcd3e12b046979630d746b51ecf92578b63050e449ac7c8ee59172df1aa212669c4a7b6a7cc6bc78cff0af5531d89af6fa93bc9132138442e08c23 SHA512 658718211067ac68f8866e9389c7760656c52e0bfc11e24239068bb516b8c9b73001edd0a3f3067eb22586bd3b2fb67b6cdcdeeffddd33baf639288e747e5db4
|
||||||
|
|
49
net-misc/openbgpd/openbgpd-8.2.ebuild
Normal file
49
net-misc/openbgpd/openbgpd-8.2.ebuild
Normal 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) can’t export its RIB"
|
||||||
|
ewarn "to the FIB. It’s only suitable for route-reflectors or"
|
||||||
|
ewarn "route-servers."
|
||||||
|
ewarn ""
|
||||||
|
fi
|
||||||
|
}
|
Loading…
Reference in a new issue