summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-11-03 18:19:58 -0800
committerPatrick McLean <chutzpah@gentoo.org>2020-11-03 18:21:07 -0800
commit4fcc63b780eb64f039754a7f5008bd1f52b1f0f0 (patch)
tree160aca349034d0ce6b44bf95b041666d3e2e8f76 /net-misc/exabgp
parentsys-process/parallel: bump to 20201022 (diff)
downloadgentoo-4fcc63b780eb64f039754a7f5008bd1f52b1f0f0.tar.gz
gentoo-4fcc63b780eb64f039754a7f5008bd1f52b1f0f0.tar.bz2
gentoo-4fcc63b780eb64f039754a7f5008bd1f52b1f0f0.zip
net-misc/exabgp-4.2.11: Version bump
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'net-misc/exabgp')
-rw-r--r--net-misc/exabgp/Manifest2
-rw-r--r--net-misc/exabgp/exabgp-4.2.11.ebuild (renamed from net-misc/exabgp/exabgp-4.2.7-r3.ebuild)4
-rw-r--r--net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch13
3 files changed, 16 insertions, 3 deletions
diff --git a/net-misc/exabgp/Manifest b/net-misc/exabgp/Manifest
index 7ffb7202572e..310718963b10 100644
--- a/net-misc/exabgp/Manifest
+++ b/net-misc/exabgp/Manifest
@@ -1 +1 @@
-DIST exabgp-4.2.7.tar.gz 2931058 BLAKE2B 2c7bf175322a36c800a8a5874b699b01f4c3d4a8712b1f8decb73665cd214c25ccf657909cfef74610e6a5fd1903245bc4da638ac9245b04c6e63d8247d72d50 SHA512 9c53b78e3fc5ff9cef4d267e2cb3509dbcfdd4a3b21d2c7e40a8d873a9ac586b8d5bf860699b6f878cc221af341df140acdf88aaa26a79b0e7865ce7cc607e01
+DIST exabgp-4.2.11.tar.gz 2931753 BLAKE2B e5241619db24e2e82dfb42bc613d6b2c28efac205d2bedf732a665a5a9eff1b384833cb1fec3e68a285fc01269c2eaca55b311650e59bcda13d8f024e5294dc3 SHA512 61c143e90fd81323b03682ad46f2861576ab0328e2030259eff15bb9ef965477c514fb355112cbaf3dc138fb9f5582b6e1e1efb8d0d4313a9b9924ced156a155
diff --git a/net-misc/exabgp/exabgp-4.2.7-r3.ebuild b/net-misc/exabgp/exabgp-4.2.11.ebuild
index bdcff317c204..a8c1d2b70f6c 100644
--- a/net-misc/exabgp/exabgp-4.2.7-r3.ebuild
+++ b/net-misc/exabgp/exabgp-4.2.11.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit tmpfiles systemd distutils-r1
@@ -19,7 +19,6 @@ RESTRICT="!test? ( test )"
RDEPEND="
acct-group/exabgp
acct-user/exabgp
- dev-python/ipaddr[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
@@ -31,6 +30,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/exabgp-4.2.7-paths.patch"
+ "${FILESDIR}/exabgp-4.2.10-ip-path.patch"
)
python_test() {
diff --git a/net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch b/net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch
new file mode 100644
index 000000000000..0a86f72dd912
--- /dev/null
+++ b/net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/exabgp/application/healthcheck.py b/lib/exabgp/application/healthcheck.py
+index a4f6b8d1..2b4e928e 100644
+--- a/lib/exabgp/application/healthcheck.py
++++ b/lib/exabgp/application/healthcheck.py
+@@ -184,7 +184,7 @@ def loopback_ips(label, label_only):
+ # Use "ip" (ifconfig is not able to see all addresses)
+ ipre = re.compile(r"^(?P<index>\d+):\s+(?P<name>\S+)\s+inet6?\s+" r"(?P<ip>[\da-f.:]+)/(?P<mask>\d+)\s+.*")
+ labelre = re.compile(r".*\s+lo:(?P<label>\S+).*")
+- cmd = subprocess.Popen("/sbin/ip -o address show dev lo".split(), shell=False, stdout=subprocess.PIPE)
++ cmd = subprocess.Popen("ip -o address show dev lo".split(), shell=False, stdout=subprocess.PIPE)
+ else:
+ # Try with ifconfig
+ ipre = re.compile(