-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
Signed-off-by: Alarig Le Lay <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright 2020-2021 Gentoo Authors | ||
This comment has been minimized.
Sorry, something went wrong. |
||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
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=" | ||
${DEPEND} | ||
This comment has been minimized.
Sorry, something went wrong.
pastalian
Contributor
|
||
!!net-misc/frr | ||
acct-group/_bgpd | ||
acct-user/_bgpd | ||
dev-libs/libevent | ||
net-libs/libmnl | ||
" | ||
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 | ||
} |
2020-2024