commit:     fa3f4c7d237dd44113717442b09070fe132a5752
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sat Sep 21 21:07:41 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Sep 24 13:11:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa3f4c7d

net-vpn/networkmanager-strongswan: bump to version 1.4.5

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/13000
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-vpn/networkmanager-strongswan/Manifest         |  1 +
 .../networkmanager-strongswan-1.4.5.ebuild         | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/net-vpn/networkmanager-strongswan/Manifest 
b/net-vpn/networkmanager-strongswan/Manifest
index 9f2382af30d..737051011c4 100644
--- a/net-vpn/networkmanager-strongswan/Manifest
+++ b/net-vpn/networkmanager-strongswan/Manifest
@@ -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
index 00000000000..693a6bd1611
--- /dev/null
+++ b/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.4.5.ebuild
@@ -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
+}

Reply via email to