* [gentoo-commits] repo/gentoo:master commit in: net-misc/exabgp/, net-misc/exabgp/files/
@ 2021-11-29 17:37 Patrick McLean
0 siblings, 0 replies; 4+ messages in thread
From: Patrick McLean @ 2021-11-29 17:37 UTC (permalink / raw
To: gentoo-commits
commit: ae397e779e821f72550b8a0f91c9acc2033a583b
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Mon Nov 29 17:37:02 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Nov 29 17:37:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae397e77
net-misc/exabgp: Version bump
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-misc/exabgp/Manifest | 1 +
net-misc/exabgp/exabgp-4.2.16.ebuild | 64 +++++++++++++++++++++++++++++++++++
net-misc/exabgp/files/exabgp.initd-r2 | 64 +++++++++++++++++++++++++++++++++++
3 files changed, 129 insertions(+)
diff --git a/net-misc/exabgp/Manifest b/net-misc/exabgp/Manifest
index 310718963b10..60dfd124da04 100644
--- a/net-misc/exabgp/Manifest
+++ b/net-misc/exabgp/Manifest
@@ -1 +1,2 @@
DIST exabgp-4.2.11.tar.gz 2931753 BLAKE2B e5241619db24e2e82dfb42bc613d6b2c28efac205d2bedf732a665a5a9eff1b384833cb1fec3e68a285fc01269c2eaca55b311650e59bcda13d8f024e5294dc3 SHA512 61c143e90fd81323b03682ad46f2861576ab0328e2030259eff15bb9ef965477c514fb355112cbaf3dc138fb9f5582b6e1e1efb8d0d4313a9b9924ced156a155
+DIST exabgp-4.2.16.tar.gz 2933071 BLAKE2B bc66ece537cb175811233d26f3445e1bb3f7d4f8950bf0839ced014430db17a4df614661448f275fb3a890bb2af6b2459f938f830c82f03a586829e7fe31caca SHA512 06731612df6f0f6623e8ad58c3b52fc4b5dee6b4bb3bb29cee272a4061ef087e2f98739a75cd07ae51e66fb633069926899882e6bab801010ad1db3333666471
diff --git a/net-misc/exabgp/exabgp-4.2.16.ebuild b/net-misc/exabgp/exabgp-4.2.16.ebuild
new file mode 100644
index 000000000000..b04278316850
--- /dev/null
+++ b/net-misc/exabgp/exabgp-4.2.16.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit tmpfiles systemd distutils-r1
+
+DESCRIPTION="The BGP swiss army knife of networking"
+HOMEPAGE="https://github.com/Exa-Networks/exabgp"
+SRC_URI="https://github.com/Exa-Networks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ acct-group/exabgp
+ acct-user/exabgp
+"
+BDEPEND="
+ test? (
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/exabgp-4.2.7-paths.patch"
+ "${FILESDIR}/exabgp-4.2.10-ip-path.patch"
+ "${FILESDIR}/exabgp-4.2.11-healthcheck-allow-disable-metric.patch"
+ "${FILESDIR}/exabgp-4.2.11-healthcheck-fix-log-crash.patch"
+ "${FILESDIR}/exabgp-4.2.11-less-verbose-logging.patch"
+)
+
+python_test() {
+ ./qa/bin/parsing || die "tests fail with ${EPYTHON}"
+ nosetests -v ./qa/tests/*_test.py || die "tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
+ newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+ newtmpfiles "${FILESDIR}/exabgp.tmpfiles" ${PN}.conf
+ systemd_dounit etc/systemd/*
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${PN}.logrotate" ${PN}
+
+ keepdir /etc/exabgp
+
+ doman doc/man/*.?
+}
+
+pkg_postinst() {
+ tmpfiles_process ${PN}.conf
+}
diff --git a/net-misc/exabgp/files/exabgp.initd-r2 b/net-misc/exabgp/files/exabgp.initd-r2
new file mode 100644
index 000000000000..30280b9cfbf7
--- /dev/null
+++ b/net-misc/exabgp/files/exabgp.initd-r2
@@ -0,0 +1,64 @@
+#!/sbin/openrc-run
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# default arguments
+: "${EXABGP_ARGS:=--env=/etc/${RC_SVCNAME}/exabgp.env /etc/${RC_SVCNAME}/exabgp.conf}"
+
+command="capsh"
+command_args="
+ --groups=${EXABGP_GROUP:=exabgp}
+ --user=${EXABGP_USER:=exabgp}
+ --caps='cap_net_admin+epi cap_setuid+ep-i cap_setgid+ep-i'
+ -- -c \"/usr/bin/exabgp ${EXABGP_ARGS}\""
+
+supervisor=supervise-daemon
+
+: "${pidfile:=/run/exabgp/${RC_SVCNAME}-supervisor.pid}"
+: "${output_log:=/var/log/${RC_SVCNAME}/exabgp.log}"
+: "${error_log:=/var/log/${RC_SVCNAME}/exabgp.log}"
+
+extra_started_commands="routes sessions"
+extra_commands="checkconfig"
+
+depend() {
+ need net
+}
+
+start_pre() {
+ checkpath -q -d -m 0755 -o "${EXABGP_USER}:${EXABGP_GROUP}" \
+ /run/exabgp || return
+
+ checkpath -q -p -m 0600 -o "${EXABGP_USER}:${EXABGP_GROUP}" \
+ /run/exabgp/${RC_SVCNAME}.in /run/exabgp/${RC_SVCNAME}.out || return
+
+ checkpath -q -d -m 0755 -o "${EXABGP_USER}:${EXABGP_GROUP}" \
+ "/var/log/${RC_SVCNAME}" || return
+
+ checkconfig || return
+}
+
+stop_pre() {
+ # don't restart if the configuration is bad
+ if [ "${RC_CMD}" = restart ]; then
+ checkconfig || return
+ fi
+}
+
+checkconfig() {
+ ebegin "Checking configuration for ${RC_SVCNAME}"
+ exabgp -t ${EXABGP_ARGS}
+ eend ${?} "Invalid configuration"
+}
+
+sessions() {
+ ebegin "Querying sessions"
+ exabgpcli --env /etc/${RC_SVCNAME}/exabgp.env show neighbor summary
+ eend ${?} "exabgpcli failed"
+}
+
+routes() {
+ ebegin "Querying routes"
+ exabgpcli --env /etc/${RC_SVCNAME}/exabgp.env show adj-rib out
+ eend ${?} "exabgpcli failed"
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/exabgp/, net-misc/exabgp/files/
@ 2020-05-20 1:06 Patrick McLean
0 siblings, 0 replies; 4+ messages in thread
From: Patrick McLean @ 2020-05-20 1:06 UTC (permalink / raw
To: gentoo-commits
commit: de4fcd8eb8aa91102dfe549b36f78b9491229f83
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Wed May 20 01:02:50 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed May 20 01:06:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de4fcd8e
net-misc/exabgp-4.2.7-r1: revbump, add init script, logrotate, etc
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
...{exabgp-4.2.7.ebuild => exabgp-4.2.7-r1.ebuild} | 17 ++++++-
net-misc/exabgp/files/exabgp-4.2.7-paths.patch | 8 +--
net-misc/exabgp/files/exabgp.confd | 10 ++++
net-misc/exabgp/files/exabgp.initd | 59 ++++++++++++++++++++++
net-misc/exabgp/files/exabgp.logrotate | 5 ++
net-misc/exabgp/files/exabgp.tmpfiles | 3 ++
6 files changed, 97 insertions(+), 5 deletions(-)
diff --git a/net-misc/exabgp/exabgp-4.2.7.ebuild b/net-misc/exabgp/exabgp-4.2.7-r1.ebuild
similarity index 69%
rename from net-misc/exabgp/exabgp-4.2.7.ebuild
rename to net-misc/exabgp/exabgp-4.2.7-r1.ebuild
index a5eec248b4f..8714af508f9 100644
--- a/net-misc/exabgp/exabgp-4.2.7.ebuild
+++ b/net-misc/exabgp/exabgp-4.2.7-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit distutils-r1
+inherit tmpfiles systemd distutils-r1
DESCRIPTION="The BGP swiss army knife of networking"
HOMEPAGE="https://github.com/Exa-Networks/exabgp"
@@ -35,3 +35,18 @@ python_test() {
./qa/bin/parsing || die "tests fail with ${EPYTHON}"
nosetests -v ./qa/tests/*_test.py || die "tests fail with ${EPYTHON}"
}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ newinitd "${FILESDIR}/${PN}.initd" ${PN}
+ newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+ newtmpfiles "${FILESDIR}/exabgp.tmpfiles" ${PN}.conf
+ systemd_dounit etc/systemd/*
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${PN}.logrotate" ${PN}
+
+ keepdir /etc/exabgp
+}
diff --git a/net-misc/exabgp/files/exabgp-4.2.7-paths.patch b/net-misc/exabgp/files/exabgp-4.2.7-paths.patch
index 57f3a50748d..0744a00d693 100644
--- a/net-misc/exabgp/files/exabgp-4.2.7-paths.patch
+++ b/net-misc/exabgp/files/exabgp-4.2.7-paths.patch
@@ -3,11 +3,11 @@ index 58d47087..a4266d05 100644
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,7 @@ def filesOf(directory):
-
-
+
+
data_files = [
- ('etc/exabgp/examples', filesOf('etc/exabgp')),
-+ ('/etc/exabgp/examples', filesOf('etc/exabgp')),
++ ('share/exabgp/examples', filesOf('etc/exabgp')),
]
-
+
if platform.system() != 'NetBSD':
diff --git a/net-misc/exabgp/files/exabgp.confd b/net-misc/exabgp/files/exabgp.confd
new file mode 100644
index 00000000000..2586be12393
--- /dev/null
+++ b/net-misc/exabgp/files/exabgp.confd
@@ -0,0 +1,10 @@
+# /etc/conf.d/exabgp
+
+# arguments to pass to exabgp
+#EXABGP_ARGS="/etc/exabgp/exabgp.conf"
+
+# user to run exabgp as
+#EXABGP_USER=exabgp
+
+# group to run exabgp as
+#EXABGP_GROUP=exabgp
diff --git a/net-misc/exabgp/files/exabgp.initd b/net-misc/exabgp/files/exabgp.initd
new file mode 100644
index 00000000000..e220108d826
--- /dev/null
+++ b/net-misc/exabgp/files/exabgp.initd
@@ -0,0 +1,59 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# default arguments
+: "${EXABGP_ARGS:=--env=/etc/${RC_SVCNAME}/exabgp.env /etc/${RC_SVCNAME}/exabgp.conf}"
+
+command="capsh"
+command_args="
+ --uid=${EXABGP_USER:-exabgp}
+ --gid=${EXABGP_GROUP:-exabgp}
+ --caps='cap_net_admin+epi cap_setuid+ep-i cap_setgid+ep-i'
+ -- -c \"/usr/bin/exabgp ${EXABGP_ARGS}\""
+command_background="yes"
+pidfile="/run/exabgp/${RC_SVCNAME}.pid"
+start_stop_daemon_args="
+ --stdout /var/log/${RC_SVCNAME}/exabgp.log
+ --stderr /var/log/${RC_SVCNAME}/exabgp.log"
+extra_started_commands="routes sessions"
+extra_commands="checkconfig"
+
+depend() {
+ need net
+}
+
+start_pre() {
+ checkpath -q -d -m 0755 -o "${EXABGP_USER}:${EXABGP_GROUP}" \
+ /run/exabgp || return
+
+ checkpath -q -p -m 0600 -o "${EXABGP_USER}:${EXABGP_GROUP}" \
+ /run/exabgp/${RC_SVCNAME}.{in,out} || return
+
+ checkconfig || return
+}
+
+stop_pre() {
+ # don't restart if the configuration is bad
+ if [ "${RC_CMD}" = restart ]; then
+ checkconfig || return
+ fi
+}
+
+checkconfig() {
+ ebegin "Checking configuration for ${RC_SVCNAME}"
+ exabgp -t ${EXABGP_ARGS}
+ eend ${?} "Invalid configuration"
+}
+
+sessions() {
+ ebegin "Querying sessions"
+ exabgpcli --env /etc/${RC_SVCNAME}/exabgp.env show neighbor summary
+ eend ${?} "exabgpcli failed"
+}
+
+routes() {
+ ebegin "Querying routes"
+ exabgpcli --env /etc/${RC_SVCNAME}/exabgp.env show adj-rib out
+ eend ${?} "exabgpcli failed"
+}
diff --git a/net-misc/exabgp/files/exabgp.logrotate b/net-misc/exabgp/files/exabgp.logrotate
new file mode 100644
index 00000000000..0616196211a
--- /dev/null
+++ b/net-misc/exabgp/files/exabgp.logrotate
@@ -0,0 +1,5 @@
+/var/log/exabgp/*.log {
+ missingok
+ compress
+ copytruncate
+}
diff --git a/net-misc/exabgp/files/exabgp.tmpfiles b/net-misc/exabgp/files/exabgp.tmpfiles
new file mode 100644
index 00000000000..7415d342e27
--- /dev/null
+++ b/net-misc/exabgp/files/exabgp.tmpfiles
@@ -0,0 +1,3 @@
+f /run/exabgp 0755 exabgp exabgp - -
+p /run/exabgp.in 0600 exabgp exabgp - -
+p /run/exabgp.out 0600 exabgp exabgp - -
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/exabgp/, net-misc/exabgp/files/
@ 2020-05-18 21:26 Patrick McLean
0 siblings, 0 replies; 4+ messages in thread
From: Patrick McLean @ 2020-05-18 21:26 UTC (permalink / raw
To: gentoo-commits
commit: 66d1505dcce53a754303ad22bd5bcc78bf383201
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Mon May 18 21:25:36 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon May 18 21:26:14 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66d1505d
net-misc/exabgp-4.2.7: Version bump
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-misc/exabgp/Manifest | 2 +-
net-misc/exabgp/{exabgp-4.2.6.ebuild => exabgp-4.2.7.ebuild} | 2 +-
.../files/{exabgp-4.2.6-paths.patch => exabgp-4.2.7-paths.patch} | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/net-misc/exabgp/Manifest b/net-misc/exabgp/Manifest
index 99bf1efea03..fe699328122 100644
--- a/net-misc/exabgp/Manifest
+++ b/net-misc/exabgp/Manifest
@@ -2,4 +2,4 @@ DIST exabgp-3.2.17.tar.gz 596373 BLAKE2B 410b77af542160334d32e3e3ea54b25f45c990c
DIST exabgp-3.4.26.tar.gz 544456 BLAKE2B 75f62ce8a68588f711e86208f00cc6de9ae51a5c82f833b91459bc05974c8eff06fec080823adfecea7b75a43caa3310f6395bd22ab4e6a696f230787bbaae23 SHA512 6cfcc8a40e1e05dfa76df46d8b5e13ce85e73f078d6ab4d2e23dd85035c1ed52bbbaaaade81602ea7572841e6e20d7d7183a7e968599f9e8314e1b89e3a6341f
DIST exabgp-3.4.28.tar.gz 546611 BLAKE2B c4916fd903fe8853e99ba872d87dc97908546c53d34936019c809ffa18761c3044dd7a21aace9bf6e5bb6a2823d2178422b4cdc2e8f65d7be1fda6de2755ae4d SHA512 40edde5262e3033b5fcccf1e6020cce1fe856b6e31420e14166d5e0d636e5f616283827af2cd82946d94a196ef76ed7c5330ac4bebc564329852869f13018403
DIST exabgp-4.0.10.tar.gz 2907852 BLAKE2B 2fad6c853aa7a6f136da3334df4b3bdcaaacd03d3fbf849510bcd40b0639bbcc521726797a196418f0ecd47047c65356ee047d30b009ee01b9d498e354ea3bfd SHA512 a21f49e5e99e28cc848cddfd3992dc18ba57d879d0964da0b906d16dca37aa05a00892d643d6cdeea80d4e629fc55a014d9bc50764d520fda77e94145297832e
-DIST exabgp-4.2.6.tar.gz 2922492 BLAKE2B de28d6e37dd46e240a224fb327ca85d9917d1447d43317fe93bd7d69a7963ee2ae6ecca613c91ade8d55f0d820c54e0ca88ebe18225f2dcee14c434e64bc1a76 SHA512 ad29195a46d1abbf0422ed8fe8013bb9ba3690d3e3876ea09f62bdc44581fda17f0499f45172b7ccac64f6d658770d9cdb7d00df4a12c211bc24310feb5cbbc6
+DIST exabgp-4.2.7.tar.gz 2931058 BLAKE2B 2c7bf175322a36c800a8a5874b699b01f4c3d4a8712b1f8decb73665cd214c25ccf657909cfef74610e6a5fd1903245bc4da638ac9245b04c6e63d8247d72d50 SHA512 9c53b78e3fc5ff9cef4d267e2cb3509dbcfdd4a3b21d2c7e40a8d873a9ac586b8d5bf860699b6f878cc221af341df140acdf88aaa26a79b0e7865ce7cc607e01
diff --git a/net-misc/exabgp/exabgp-4.2.6.ebuild b/net-misc/exabgp/exabgp-4.2.7.ebuild
similarity index 95%
rename from net-misc/exabgp/exabgp-4.2.6.ebuild
rename to net-misc/exabgp/exabgp-4.2.7.ebuild
index 5cb7947911a..a5eec248b4f 100644
--- a/net-misc/exabgp/exabgp-4.2.6.ebuild
+++ b/net-misc/exabgp/exabgp-4.2.7.ebuild
@@ -28,7 +28,7 @@ BDEPEND="
"
PATCHES=(
- "${FILESDIR}/exabgp-4.2.6-paths.patch"
+ "${FILESDIR}/exabgp-4.2.7-paths.patch"
)
python_test() {
diff --git a/net-misc/exabgp/files/exabgp-4.2.6-paths.patch b/net-misc/exabgp/files/exabgp-4.2.7-paths.patch
similarity index 54%
rename from net-misc/exabgp/files/exabgp-4.2.6-paths.patch
rename to net-misc/exabgp/files/exabgp-4.2.7-paths.patch
index 035ba12bd68..57f3a50748d 100644
--- a/net-misc/exabgp/files/exabgp-4.2.6-paths.patch
+++ b/net-misc/exabgp/files/exabgp-4.2.7-paths.patch
@@ -1,13 +1,13 @@
diff --git a/setup.py b/setup.py
-index 34c28e4d..e41069bc 100644
+index 58d47087..a4266d05 100644
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,7 @@ def filesOf(directory):
data_files = [
-- ('etc/exabgp/examples', filesOf('etc/exabgp')),
-+ ('/etc/exabgp/examples', filesOf('etc/exabgp')),
+- ('etc/exabgp/examples', filesOf('etc/exabgp')),
++ ('/etc/exabgp/examples', filesOf('etc/exabgp')),
]
if platform.system() != 'NetBSD':
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/exabgp/, net-misc/exabgp/files/
@ 2020-05-15 17:43 Patrick McLean
0 siblings, 0 replies; 4+ messages in thread
From: Patrick McLean @ 2020-05-15 17:43 UTC (permalink / raw
To: gentoo-commits
commit: 9190bd1a33a5060340b9815974779574320f13d3
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Fri May 15 17:42:56 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri May 15 17:42:56 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9190bd1a
net-misc/exabgp-4.2.6: Version bump, add py37, py38 (bug 718442)
Closes: https://bugs.gentoo.org/718442
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-misc/exabgp/Manifest | 1 +
net-misc/exabgp/exabgp-4.2.6.ebuild | 37 ++++++++++++++++++++++++++
net-misc/exabgp/files/exabgp-4.2.6-paths.patch | 13 +++++++++
3 files changed, 51 insertions(+)
diff --git a/net-misc/exabgp/Manifest b/net-misc/exabgp/Manifest
index c56a99f38e2..99bf1efea03 100644
--- a/net-misc/exabgp/Manifest
+++ b/net-misc/exabgp/Manifest
@@ -2,3 +2,4 @@ DIST exabgp-3.2.17.tar.gz 596373 BLAKE2B 410b77af542160334d32e3e3ea54b25f45c990c
DIST exabgp-3.4.26.tar.gz 544456 BLAKE2B 75f62ce8a68588f711e86208f00cc6de9ae51a5c82f833b91459bc05974c8eff06fec080823adfecea7b75a43caa3310f6395bd22ab4e6a696f230787bbaae23 SHA512 6cfcc8a40e1e05dfa76df46d8b5e13ce85e73f078d6ab4d2e23dd85035c1ed52bbbaaaade81602ea7572841e6e20d7d7183a7e968599f9e8314e1b89e3a6341f
DIST exabgp-3.4.28.tar.gz 546611 BLAKE2B c4916fd903fe8853e99ba872d87dc97908546c53d34936019c809ffa18761c3044dd7a21aace9bf6e5bb6a2823d2178422b4cdc2e8f65d7be1fda6de2755ae4d SHA512 40edde5262e3033b5fcccf1e6020cce1fe856b6e31420e14166d5e0d636e5f616283827af2cd82946d94a196ef76ed7c5330ac4bebc564329852869f13018403
DIST exabgp-4.0.10.tar.gz 2907852 BLAKE2B 2fad6c853aa7a6f136da3334df4b3bdcaaacd03d3fbf849510bcd40b0639bbcc521726797a196418f0ecd47047c65356ee047d30b009ee01b9d498e354ea3bfd SHA512 a21f49e5e99e28cc848cddfd3992dc18ba57d879d0964da0b906d16dca37aa05a00892d643d6cdeea80d4e629fc55a014d9bc50764d520fda77e94145297832e
+DIST exabgp-4.2.6.tar.gz 2922492 BLAKE2B de28d6e37dd46e240a224fb327ca85d9917d1447d43317fe93bd7d69a7963ee2ae6ecca613c91ade8d55f0d820c54e0ca88ebe18225f2dcee14c434e64bc1a76 SHA512 ad29195a46d1abbf0422ed8fe8013bb9ba3690d3e3876ea09f62bdc44581fda17f0499f45172b7ccac64f6d658770d9cdb7d00df4a12c211bc24310feb5cbbc6
diff --git a/net-misc/exabgp/exabgp-4.2.6.ebuild b/net-misc/exabgp/exabgp-4.2.6.ebuild
new file mode 100644
index 00000000000..5cb7947911a
--- /dev/null
+++ b/net-misc/exabgp/exabgp-4.2.6.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+DESCRIPTION="The BGP swiss army knife of networking"
+HOMEPAGE="https://github.com/Exa-Networks/exabgp"
+SRC_URI="https://github.com/Exa-Networks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/ipaddr[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/exabgp-4.2.6-paths.patch"
+)
+
+python_test() {
+ ./qa/bin/parsing || die "tests fail with ${EPYTHON}"
+ nosetests -v ./qa/tests/*_test.py || die "tests fail with ${EPYTHON}"
+}
diff --git a/net-misc/exabgp/files/exabgp-4.2.6-paths.patch b/net-misc/exabgp/files/exabgp-4.2.6-paths.patch
new file mode 100644
index 00000000000..035ba12bd68
--- /dev/null
+++ b/net-misc/exabgp/files/exabgp-4.2.6-paths.patch
@@ -0,0 +1,13 @@
+diff --git a/setup.py b/setup.py
+index 34c28e4d..e41069bc 100644
+--- a/setup.py
++++ b/setup.py
+@@ -31,7 +31,7 @@ def filesOf(directory):
+
+
+ data_files = [
+- ('etc/exabgp/examples', filesOf('etc/exabgp')),
++ ('/etc/exabgp/examples', filesOf('etc/exabgp')),
+ ]
+
+ if platform.system() != 'NetBSD':
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-11-29 17:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-29 17:37 [gentoo-commits] repo/gentoo:master commit in: net-misc/exabgp/, net-misc/exabgp/files/ Patrick McLean
-- strict thread matches above, loose matches on Subject: below --
2020-05-20 1:06 Patrick McLean
2020-05-18 21:26 Patrick McLean
2020-05-15 17:43 Patrick McLean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox