From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- net-misc/exabgp/Manifest | 5 +- net-misc/exabgp/exabgp-4.2.11-r1.ebuild | 56 +++++++++++++++++++++++ net-misc/exabgp/exabgp-4.2.7-r3.ebuild | 54 ---------------------- net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch | 13 ++++++ 4 files changed, 72 insertions(+), 56 deletions(-) create mode 100644 net-misc/exabgp/exabgp-4.2.11-r1.ebuild delete mode 100644 net-misc/exabgp/exabgp-4.2.7-r3.ebuild create mode 100644 net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch (limited to 'net-misc/exabgp') diff --git a/net-misc/exabgp/Manifest b/net-misc/exabgp/Manifest index e106e58f94f5..9d896fddbf5f 100644 --- a/net-misc/exabgp/Manifest +++ b/net-misc/exabgp/Manifest @@ -1,8 +1,9 @@ +AUX exabgp-4.2.10-ip-path.patch 794 BLAKE2B 54a55550f928eaa3c3a64e3c7e19acff21b71753255f6c3abfede6e2f3446417e7e99413d82d12e03fcc292802ec76ccf6e572c0af081c46351b7d15ebcd5970 SHA512 71568d0d6b11f427d795e3a47e7877fd7ea5c5708d49e51958ee5077758a5ca2af0272d8143a3cca506f07e010cf4e8875403dce1d8d366a171c2c9eb1c7ef6c AUX exabgp-4.2.7-paths.patch 302 BLAKE2B 52110fefb75e0a36452ea3e53f099897b30df8287d033b353f66df25cf75c4a75a80e91ef49a47c652a46274faabfcf5385653ae03eb75ed1afd866c068967c7 SHA512 678258e4848b17b9880849cb8d105ee64b4cb6bdd678c3c96707467a2bae51c30d34b8609bf5c9a48bcd0722f6247b009dc5c406a3bab02d77bf2f919e7f4fbc AUX exabgp.confd 183 BLAKE2B 59338bbd61001e4418b970abc45786004b833f80576117122fec99f148c1bab3bc7feed80c46b8bac2ac639b720daa320bd141f65b25a37a6ce1f229653f3741 SHA512 7b888ea5053ebb8da9acbd4a85b6a9900663cadb89258aea86d47cade505e8bbfc6e741fed599d410480467f76f759175d710c284bc6caafdabb4a61c53611ac AUX exabgp.initd 1472 BLAKE2B 488c1de5222be9f5f67e279fa9607c326922d80c2aafa6cb098f5f721ef1df30f1d56a2a0a0ef6ca376cdb00f65cb1fc644214248b7ea9dbc9dfd55442be7d2b SHA512 453ab87961b4647374af62a02280e750ba0b1bf535a5e92c4434c4ff6c0a55f7ec52a5e0e5a784a31695e02ece42543260186aa25c658368331c06c12794d4b4 AUX exabgp.logrotate 61 BLAKE2B 63024bebc07e3eadacf1550674f5fbb7cf22d903a02784d8d5f1aae3b8f6e543e5b4b2f7208af91b4c063cb68d831caf18c2b03fce211c4c447f3828c5c8127f SHA512 27e751f0ff066448fc0121a129a9c48ac645738f65041aa29816cddc80dc73f2458110ccd12fa48b2ccb573908357425070103303d5645987b2a4e74986a2786 AUX exabgp.tmpfiles 136 BLAKE2B 1255c9e510f9dc53b4e1b678ab8be2c7e88aac461789b15106ebf1e9606eb48ccd732efcc8ebfc8271efa5d0f6972705476a5f8c658480909b35ebf6eb399281 SHA512 3a11a011967f83483c85035ab63376bc92af3c3076ddbaac2e2cb3557aa314cfb188ee8e3208bfec7cb74d86a7b877c50487cbfa5f3097534cdbc7e98fc4b537 -DIST exabgp-4.2.7.tar.gz 2931058 BLAKE2B 2c7bf175322a36c800a8a5874b699b01f4c3d4a8712b1f8decb73665cd214c25ccf657909cfef74610e6a5fd1903245bc4da638ac9245b04c6e63d8247d72d50 SHA512 9c53b78e3fc5ff9cef4d267e2cb3509dbcfdd4a3b21d2c7e40a8d873a9ac586b8d5bf860699b6f878cc221af341df140acdf88aaa26a79b0e7865ce7cc607e01 -EBUILD exabgp-4.2.7-r3.ebuild 1225 BLAKE2B 056734c689ddd191bf4227f71f8af8221b19bb176feb233ea1f8c6515886b9088c8b16c3cb2657a7e6ad4fac627282f349ac20b560fb9671eb6de7f770b44842 SHA512 5204bbdb48d313bae38e74fca9ddf48f1d2e57e7eaabd18943f13abedc4961c2b2ca1ef8335f5b38664aa8bf4910bf7c18c1c28d2827a323c06a403b6e500c1c +DIST exabgp-4.2.11.tar.gz 2931753 BLAKE2B e5241619db24e2e82dfb42bc613d6b2c28efac205d2bedf732a665a5a9eff1b384833cb1fec3e68a285fc01269c2eaca55b311650e59bcda13d8f024e5294dc3 SHA512 61c143e90fd81323b03682ad46f2861576ab0328e2030259eff15bb9ef965477c514fb355112cbaf3dc138fb9f5582b6e1e1efb8d0d4313a9b9924ced156a155 +EBUILD exabgp-4.2.11-r1.ebuild 1250 BLAKE2B 487239a380451c6449514e6e69c84b17f06ca78469e784d19eb4f5b5fe525734246b7e5d547147741e7334da6c77756e1f407068db8a2b3a991ffc094ef22b76 SHA512 38dc1b8d68f86a54e2002fe55150d1f5212b9ecb140688cf17e8505a87b7372b3a013cd42e9c9915224d3123f80f0c54c6aa664fd396859a5ef79ef1ca493d0e MISC metadata.xml 343 BLAKE2B 306f12e34e1edf8060cdd1515f77040a2b400a9d853b8b46a73b219464947cf3fc1f64efc32bde26074aa61cb483466ea752481876a02cb14c8388787105e61f SHA512 9c4c8e26eb586fa1153b1f02db408cebd9a460c6ceca049fe121977d1a14ec130d9289aca2f0cffee009a5e7f314818eb37b55790c75502817bb2941be7352f6 diff --git a/net-misc/exabgp/exabgp-4.2.11-r1.ebuild b/net-misc/exabgp/exabgp-4.2.11-r1.ebuild new file mode 100644 index 000000000000..e3f3362cd862 --- /dev/null +++ b/net-misc/exabgp/exabgp-4.2.11-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} ) +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" +) + +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 + + doman doc/man/*.? +} diff --git a/net-misc/exabgp/exabgp-4.2.7-r3.ebuild b/net-misc/exabgp/exabgp-4.2.7-r3.ebuild deleted file mode 100644 index bdcff317c204..000000000000 --- a/net-misc/exabgp/exabgp-4.2.7-r3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# 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 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 - 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.7-paths.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" ${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.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\d+):\s+(?P\S+)\s+inet6?\s+" r"(?P[\da-f.:]+)/(?P\d+)\s+.*") + labelre = re.compile(r".*\s+lo:(?P