summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-05-19 22:54:23 +0200
committerConrad Kostecki <conikost@gentoo.org>2020-05-19 23:34:57 +0200
commit62a73aa977886bfb5062b628d6bb7a0b88262976 (patch)
tree757e9df9c0536ae12a666598d94328eb0974ad22 /net-vpn/networkmanager-strongswan
parentdev-python/transitions: drop old version (diff)
downloadgentoo-62a73aa977886bfb5062b628d6bb7a0b88262976.tar.gz
gentoo-62a73aa977886bfb5062b628d6bb7a0b88262976.tar.bz2
gentoo-62a73aa977886bfb5062b628d6bb7a0b88262976.zip
net-vpn/networkmanager-strongswan: bump to 1.5.2
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-vpn/networkmanager-strongswan')
-rw-r--r--net-vpn/networkmanager-strongswan/Manifest1
-rw-r--r--net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.5.2.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-strongswan/Manifest b/net-vpn/networkmanager-strongswan/Manifest
index 9a577fafa9b6..d5c6400c9ca2 100644
--- a/net-vpn/networkmanager-strongswan/Manifest
+++ b/net-vpn/networkmanager-strongswan/Manifest
@@ -1,2 +1,3 @@
DIST NetworkManager-strongswan-1.4.5.tar.bz2 306689 BLAKE2B c00a45eede846b927ea63c97d8fec75ceae296fe0f32aa61c87438adbb4bb0108c61c5b6e056dc8973f8bab6a51f8c63443695816a03b9c360565cb880b2d6f5 SHA512 b1c8958ec40065ec251f625ac69707d3e86e2d3b0466bd33a23edbdabefa952582ee066fc7e61bfd5921ed8340a7233353a219cff50fdc279a67c8269920cb86
DIST NetworkManager-strongswan-1.5.1.tar.bz2 300700 BLAKE2B 543cdf340eafcaa6690f6ecf6ef9c3de944ceb47d867c2b8835285fd324ca2212b824665b194b2589ad8dbb3f3b1e89cdf24d554d2531da1d8bb800d7c0ef41a SHA512 3ef305dd5d95f377784db3069d5af4f60df2ce2fd8459577a20f99fd0cef43a973610acffa5b305c79e7d1754dfa138ea1ba1d59e57b2826ff5f85c97100fb06
+DIST NetworkManager-strongswan-1.5.2.tar.bz2 300735 BLAKE2B f8ac0002d14bc79b33b897785eb60ac46d43d29c2e897a9d2249c905a524bd7e8942d8bb535a551956b81be0af16b6fa8876a8c636aadc06d2c068a4b21b403e SHA512 c79f011470778ae05f80b71330acfd7df75363fd089624007e9bdd82b75513a23eaaa3ef10141f780df075eb501ee675e4c293710e0a4c5fd9d4f4b0565bae59
diff --git a/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.5.2.ebuild b/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.5.2.ebuild
new file mode 100644
index 000000000000..38d75a8c1745
--- /dev/null
+++ b/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.5.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ app-crypt/libsecret
+ >=net-libs/libnma-1.1.0
+ net-misc/networkmanager
+ >=net-vpn/strongswan-5.8.3[networkmanager]
+ x11-libs/gtk+:3
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ dev-util/intltool
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/${MY_P}"
+
+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
+ --without-libnm-glib
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -delete || die
+}