commit: e9ccc5692b313ebcada08c3e8b0ef447771e9dfa Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Thu Nov 13 21:58:01 2025 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Thu Nov 13 21:58:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ccc569
net-vpn/networkmanager-strongswan: add 1.6.3 Closes: https://bugs.gentoo.org/914100 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> net-vpn/networkmanager-strongswan/Manifest | 1 + .../networkmanager-strongswan-1.6.3.ebuild | 60 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/net-vpn/networkmanager-strongswan/Manifest b/net-vpn/networkmanager-strongswan/Manifest index 47b5b7634623..e6e0d37db668 100644 --- a/net-vpn/networkmanager-strongswan/Manifest +++ b/net-vpn/networkmanager-strongswan/Manifest @@ -1 +1,2 @@ DIST NetworkManager-strongswan-1.6.2.tar.bz2 347519 BLAKE2B 4ad617b4db09bb8ca4ec52a0f20c1cf37acacf7044e77b85401d8ae361d66a2db8a9a86854ee0ac3f12fdae5f71147b49c2d6e0b852c6c1d1295e8e63cc10f05 SHA512 7cf1b12d861f1d242823d586e75820f690df5641353abe3ccbf2d97608b81b09272b43b61b8ad8bd891513974e0c27ece0f8847f73d698282d8c16ff23425cc1 +DIST NetworkManager-strongswan-1.6.3.tar.bz2 347907 BLAKE2B c5d1c98674e547d3d0f07d60b005d9db685f2edeab193ecaaa836b7fc21a341db3f469ba3d32e705132eeeb3c34593a77d5d204bfc1a77e2647d6bf99f85d85a SHA512 29bf6af1aaa65a44a2c75a08e4896a901a743f5ba689a74966ff5f3ce2e8d4c1cd4bee3d8628cc88343cc3fff916e10d0f1fd1c69345c761c5eb06f1c99976b4 diff --git a/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.6.3.ebuild b/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.6.3.ebuild new file mode 100644 index 000000000000..17e43a1ea2bd --- /dev/null +++ b/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.6.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +MY_PN="NetworkManager" +MY_P="${P/networkmanager/"${MY_PN}"}" + +DESCRIPTION="NetworkManager StrongSwan plugin" +HOMEPAGE="https://www.strongswan.org/" +SRC_URI="https://download.strongswan.org/${MY_PN}/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="gtk4" + +RDEPEND=" + app-crypt/libsecret + >=net-libs/libnma-1.1.0 + net-misc/networkmanager + >=net-vpn/strongswan-5.8.3[networkmanager] + !gtk4? ( x11-libs/gtk+:3 ) + gtk4? ( + net-libs/libnma + gui-libs/gtk:4 + ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + dev-util/intltool + virtual/pkgconfig +" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + # Don't enable all warnings, as some are treated as errors and the compilation will fail + --disable-more-warnings + --disable-static + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die +}
