commit:     7a67ac790ac6c81efd8be9152993637656dac5c2
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 25 00:36:08 2025 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Apr 25 00:37:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a67ac79

net-misc/exabgp: add 4.2.25

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 net-misc/exabgp/Manifest             |  1 +
 net-misc/exabgp/exabgp-4.2.25.ebuild | 66 ++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/net-misc/exabgp/Manifest b/net-misc/exabgp/Manifest
index f690ad9ff974..59484b6f8e50 100644
--- a/net-misc/exabgp/Manifest
+++ b/net-misc/exabgp/Manifest
@@ -1,2 +1,3 @@
 DIST exabgp-4.2.21.tar.gz 2933721 BLAKE2B 
1d4b7cb6d053d2a9b8a338b6cf5f84d8d4ea2e1d1685cac8fb9b4b02cbdb8b9d5de41d4072d9379892e4bf89444f301f88243e5d5145d213956be7319861b723
 SHA512 
0efc7143191e8b557297e9329354c01e2418e0c4c45753941eba3a1f063e77d17a0efa7a14a3062764e45e709f0598f491c10e2c02e751590bb7c0943b61932b
 DIST exabgp-4.2.23.tar.gz 2935267 BLAKE2B 
85b861e5ee318ecd6533386f8a298fdeabec161db9cba17f48957d1379ba0b30c3d9ea6c136e400c0ddf62595f7275d885d019bd6690fc7c58b65a112e6ce9e9
 SHA512 
03968997958dd1241c616b675bbea1e65d2660658205cf51f2bff6198c497a1379c949a61f9b93de4b91af2c0045eed54a94aa243fbca89c6d908bcb5811dc20
+DIST exabgp-4.2.25.tar.gz 2881687 BLAKE2B 
15addb7761a25ebbb090299925c249c30d0ffbbdb6a9b4ea4fb04f2aa3253dcf36abc705b23b83fc46e0dffe3a6c899f789968e145e3abf2bdce02746c911d06
 SHA512 
24211bbde4657edf17d36d0109353b37db641e5412f51c360e337651e0a210082329451fdeed3952f824751229ccdec6fe86da99e575686ee484147a2bdf42aa

diff --git a/net-misc/exabgp/exabgp-4.2.25.ebuild 
b/net-misc/exabgp/exabgp-4.2.25.ebuild
new file mode 100644
index 000000000000..36c0212038ac
--- /dev/null
+++ b/net-misc/exabgp/exabgp-4.2.25.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=setuptools
+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/six[${PYTHON_USEDEP}]
+       )
+"
+
+PATCHES=(
+       "${FILESDIR}/exabgp-4.2.7-paths.patch"
+       "${FILESDIR}/exabgp-4.2.10-ip-path.patch"
+       "${FILESDIR}/exabgp-4.2.23-healthcheck-allow-disable-metric.patch"
+       "${FILESDIR}/exabgp-4.2.11-healthcheck-fix-log-crash.patch"
+       "${FILESDIR}/exabgp-4.2.11-less-verbose-logging.patch"
+       
"${FILESDIR}/exabgp-4.2.21-exabgp.service-to-fix-socket-creation-on-start.patch"
+)
+
+distutils_enable_tests pytest
+
+python_test() {
+       ./qa/bin/parsing || die "parsing tests fail with ${EPYTHON}"
+       epytest
+}
+
+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
+}

Reply via email to