net-vpn/networkmanager-strongswan: bump to version 1.4.5
authorConrad Kostecki <conrad@kostecki.com>
Sat, 21 Sep 2019 21:07:41 +0000 (23:07 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Tue, 24 Sep 2019 13:11:28 +0000 (16:11 +0300)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/13000
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
net-vpn/networkmanager-strongswan/Manifest
net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.4.5.ebuild [new file with mode: 0644]

index 9f2382af30d66c52d3047ab5523a3de46ca93ac3..737051011c4c7164385efd422115fa489a3ea883 100644 (file)
@@ -1 +1,2 @@
 DIST NetworkManager-strongswan-1.4.4.tar.bz2 305677 BLAKE2B 24d99cd3f3844b6ffd47d076153ff8f80a92e575ca7f8da01141be2a48c39a759ee60e17ccdd4928e3c625fa9caae39d8f3cf2c76481adbcdda91fd00ee9e8a2 SHA512 e3e2dd9f5b961255f897ca1912f9deb34ac62628ff40289ff0f8f3900746482f2f32d390c64b88c10f10b8a99388e27099abedb7157d77c173524dc763a32155
+DIST NetworkManager-strongswan-1.4.5.tar.bz2 306689 BLAKE2B c00a45eede846b927ea63c97d8fec75ceae296fe0f32aa61c87438adbb4bb0108c61c5b6e056dc8973f8bab6a51f8c63443695816a03b9c360565cb880b2d6f5 SHA512 b1c8958ec40065ec251f625ac69707d3e86e2d3b0466bd33a23edbdabefa952582ee066fc7e61bfd5921ed8340a7233353a219cff50fdc279a67c8269920cb86
diff --git a/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.4.5.ebuild b/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.4.5.ebuild
new file mode 100644 (file)
index 0000000..693a6bd
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+IUSE="+glib"
+
+RDEPEND="
+       app-crypt/libsecret
+       gnome-extra/nm-applet
+       net-misc/networkmanager
+       net-vpn/strongswan[networkmanager]
+       x11-libs/gtk+:3
+"
+
+DEPEND="
+       ${RDEPEND}
+       dev-util/intltool
+"
+
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+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
+               $(usex glib '' --without-libnm-glib)
+       )
+
+       econf "${myeconfargs[@]}"
+}
+
+src_install() {
+       default
+
+       find "${D}" -name '*.la' -delete || die
+}