-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alarig Le Lay <[email protected]>
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST openbgpd-6.9p0.tar.gz 719173 BLAKE2B 13360fdec909fbb18e4b9f71cb6751c406bb58a685d51bbb9caa38302f4dd1d91ba7a3ed90eac308f57851410fdf9b21652266f29488f086bba4b3ec24844efe SHA512 ba6f73aeb03e798fd081f67fc500d24e0b2efdb9564fe5f294460abc8e66762692177a1238f8f0372ca74e0ad9c11aa9f640e50cd0978198639655b3985240bc | ||
DIST openbgpd-8.4.tar.gz 841272 BLAKE2B 1a7ea4a2ada7ff11f4311672c6ade0b233cdfc03b9b478e283ce92b36259980e74f78c89e96473f01bd4a51e6104e1c5d8027f92a675555423a171c9adf5f852 SHA512 4774d693ebfd9ba4f4fb355cb19f671d6f229284dc45483fafc8517f7b1d1a583e4657bf8d3f54d559b177e8959a536d0b50f70f0270d57ddf8dc2b6290c5fb6 | ||
DIST openbgpd-8.5.tar.gz 848032 BLAKE2B 74bfaa718000aa5329b2d70cc86869606107bc061f858655678c9734a403ddb521e66b195b649b3e09f42d07098081218963e929389a55d43b4424bf14f81bf4 SHA512 4f1592e3b83b4aeea35ac42a2bfed3072a4003de560055d06bdc27c02f82679860b298636faa27843752e291f50a47f70bf3314c66167d77077e0dc11f825a52 | ||
DIST openbgpd-8.6.tar.gz 851232 BLAKE2B 604ca04444bb4b5da800f3dea1b70228162bd9ebac7f621c27e341b1129165155c76d115f8b0e25cdaf15b92cba59f7c8cfc5f251ef806c9d345210540aaea10 SHA512 1dce01a7c9939f2097f6cc5cebaa6a9c9531bb244d93c22457bc0d8438412c277e9c4a1ddda4580394b8e88dda6856838dac1e8c4e855f58a73b4ca062800672 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright 2020-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
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=" | ||
!!net-misc/frr | ||
acct-group/_bgpd | ||
acct-user/_bgpd | ||
dev-libs/libevent | ||
net-libs/libmnl | ||
" | ||
DEPEND="${RDEPEND}" | ||
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) can’t export its RIB" | ||
ewarn "to the FIB. It’s only suitable for route-reflectors or" | ||
ewarn "route-servers." | ||
ewarn "" | ||
fi | ||
} |