1 |
commit: f37b90eb56d8feaea353a29379c14f3898bf1386 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 28 18:28:27 2022 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 18:28:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f37b90eb |
7 |
|
8 |
net-misc/exabgp: add 4.2.20 |
9 |
|
10 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
11 |
|
12 |
net-misc/exabgp/Manifest | 1 + |
13 |
net-misc/exabgp/exabgp-4.2.20.ebuild | 66 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 67 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/exabgp/Manifest b/net-misc/exabgp/Manifest |
17 |
index 874fa190a959..08bf07c092be 100644 |
18 |
--- a/net-misc/exabgp/Manifest |
19 |
+++ b/net-misc/exabgp/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST exabgp-4.2.11.tar.gz 2931753 BLAKE2B e5241619db24e2e82dfb42bc613d6b2c28efac |
21 |
DIST exabgp-4.2.16.tar.gz 2933071 BLAKE2B bc66ece537cb175811233d26f3445e1bb3f7d4f8950bf0839ced014430db17a4df614661448f275fb3a890bb2af6b2459f938f830c82f03a586829e7fe31caca SHA512 06731612df6f0f6623e8ad58c3b52fc4b5dee6b4bb3bb29cee272a4061ef087e2f98739a75cd07ae51e66fb633069926899882e6bab801010ad1db3333666471 |
22 |
DIST exabgp-4.2.17.tar.gz 2933104 BLAKE2B 5751888232479c24aa4f66ef357821178c7a5564c0522adb8abf26057eb222ecfbb33caa6d9b71219b79fa309a0c4051b6098015c2362ad9c02e59326ee2bfac SHA512 2000856f540dcaed12dfaf54b689f6b04670f0ec8f19ec7a811ea8e54663afec68a7ae97ed79a001cc09ed42e6a1c5bd2d94ae0c3e3c8bde2da446cf00d66374 |
23 |
DIST exabgp-4.2.19.tar.gz 2932903 BLAKE2B de988dca0d6c32dbe5a5a04a2f3b5065a71ec83aabccecf675ddf09f9bd38ee417b670c5a2940d12bf3618a9a39e8ec6d0184bfa77cfda8c5e853da0fd52bda4 SHA512 35031fbf1b73339926dd08c7edc80497c3a5c4d1a5d626bf2a704ad2e70baeca51a88fe56fe3e43b97187010cf7e89c2b69f0b28276bbf9a945e761c6578818f |
24 |
+DIST exabgp-4.2.20.tar.gz 2933683 BLAKE2B 8d25442dd3e95ad6db2849adb2ba04563c9c2add50fe94993cc1d72f17c704118732c1a8b88cec48f4a5c3b3f186c66b6643d3d06543475a43f0630801394006 SHA512 39de1baa9a4abee9829b3dea211966ec58e487f26c7f9d0d0cd19f5fcca596c9d3a389073bcb19506924feb7af34f4ffc6cbf13b7471cf5e51857af35271e6a5 |
25 |
|
26 |
diff --git a/net-misc/exabgp/exabgp-4.2.20.ebuild b/net-misc/exabgp/exabgp-4.2.20.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..c6fbf314f463 |
29 |
--- /dev/null |
30 |
+++ b/net-misc/exabgp/exabgp-4.2.20.ebuild |
31 |
@@ -0,0 +1,66 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..11} ) |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
+inherit tmpfiles systemd distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="The BGP swiss army knife of networking" |
42 |
+HOMEPAGE="https://github.com/Exa-Networks/exabgp" |
43 |
+SRC_URI="https://github.com/Exa-Networks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+IUSE="test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ acct-group/exabgp |
53 |
+ acct-user/exabgp |
54 |
+" |
55 |
+BDEPEND=" |
56 |
+ test? ( |
57 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
58 |
+ dev-python/nose[${PYTHON_USEDEP}] |
59 |
+ dev-python/six[${PYTHON_USEDEP}] |
60 |
+ ) |
61 |
+" |
62 |
+ |
63 |
+PATCHES=( |
64 |
+ "${FILESDIR}/exabgp-4.2.7-paths.patch" |
65 |
+ "${FILESDIR}/exabgp-4.2.10-ip-path.patch" |
66 |
+ "${FILESDIR}/exabgp-4.2.11-healthcheck-allow-disable-metric.patch" |
67 |
+ "${FILESDIR}/exabgp-4.2.11-healthcheck-fix-log-crash.patch" |
68 |
+ "${FILESDIR}/exabgp-4.2.11-less-verbose-logging.patch" |
69 |
+) |
70 |
+ |
71 |
+distutils_enable_tests pytest |
72 |
+ |
73 |
+python_test() { |
74 |
+ ./qa/bin/parsing || die "tests fail with ${EPYTHON}" |
75 |
+ epytest |
76 |
+} |
77 |
+ |
78 |
+python_install_all() { |
79 |
+ distutils-r1_python_install_all |
80 |
+ |
81 |
+ newinitd "${FILESDIR}/${PN}.initd-r2" ${PN} |
82 |
+ newconfd "${FILESDIR}/${PN}.confd" ${PN} |
83 |
+ |
84 |
+ newtmpfiles "${FILESDIR}/exabgp.tmpfiles" ${PN}.conf |
85 |
+ systemd_dounit etc/systemd/* |
86 |
+ |
87 |
+ insinto /etc/logrotate.d |
88 |
+ newins "${FILESDIR}/${PN}.logrotate" ${PN} |
89 |
+ |
90 |
+ keepdir /etc/exabgp |
91 |
+ |
92 |
+ doman doc/man/*.? |
93 |
+} |
94 |
+ |
95 |
+pkg_postinst() { |
96 |
+ tmpfiles_process ${PN}.conf |
97 |
+} |