commit:     202f8d8bb2d5c88b681bdbc05f5f64c072d77895
Author:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
AuthorDate: Tue Oct 20 18:53:44 2020 +0000
Commit:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
CommitDate: Tue Oct 20 18:53:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=202f8d8b

net-misc/openbgpd: New release 6.8_p0

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr>

 net-misc/openbgpd/Manifest               |  1 +
 net-misc/openbgpd/openbgpd-6.8_p0.ebuild | 49 ++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/net-misc/openbgpd/Manifest b/net-misc/openbgpd/Manifest
index 5e4abe29..419d2c1c 100644
--- a/net-misc/openbgpd/Manifest
+++ b/net-misc/openbgpd/Manifest
@@ -1,2 +1,3 @@
 DIST openbgpd-6.6p0.tar.gz 676732 BLAKE2B 
80b391ead81d8d3bd20fe9b3eb3f8976485d29241f30c7395c678ff3f0fd87b2f3036b2ebb502ff0ca27d79f4fbbe6ba93576069edb32f004705d71d92e2b3a2
 SHA512 
07a7599b3ab14181575dc38647b307a4efa7d5dfa8a7aefe70483eb6773cb792eac788a10ea865d78daa59f197fc2d9cd2ce96d0c0251564507963716057fee0
 DIST openbgpd-6.7p0.tar.gz 699211 BLAKE2B 
981105c3a9ba6a7b143ad6d926459382686f23b6355392fedaecaaf572c0d6054f6ce7656eaf7461d5bdc753e0be3d70f7ae44ee85395fd0d310d2bef7251bf8
 SHA512 
7309fe00ada74503ae6c739886e8a78af6cba93cbe6d29f9656eb95f96124401ac7b00ebe1b345b1c786582f661c72caf22c9193968662db2a1f19703f34cd2e
+DIST openbgpd-6.8p0.tar.gz 701164 BLAKE2B 
458e3aeab026b3c2ee3f676d35d657ef2b8b9b2cb11efc6a32f18c387e6f08594fa3e736b53f9413e9ec59139adfd3c89d26da780bcdcb4b2925124cf9a1ea05
 SHA512 
0c99a94a9a1401c22a3400d424ac1e682bdab92d09844717f8bb576c0ede67140d918f48c15b318abebf21b39468333f8f1c2d963a1541f4ead9067f85434a94

diff --git a/net-misc/openbgpd/openbgpd-6.8_p0.ebuild 
b/net-misc/openbgpd/openbgpd-6.8_p0.ebuild
new file mode 100644
index 00000000..ccd7a6ba
--- /dev/null
+++ b/net-misc/openbgpd/openbgpd-6.8_p0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2020 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/quagga
+       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
+}

Reply via email to