net-misc/networkmanager-fortisslvpn: version bump 1.2.2 → 1.2.4
authorGilles Dartiguelongue <eva@gentoo.org>
Sun, 3 Sep 2017 20:38:25 +0000 (22:38 +0200)
committerGilles Dartiguelongue <eva@gentoo.org>
Sun, 3 Sep 2017 22:47:14 +0000 (00:47 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

net-misc/networkmanager-fortisslvpn/Manifest
net-misc/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.2.6-location-fix.diff [new file with mode: 0644]
net-misc/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.2.6.ebuild [new file with mode: 0644]

index 9a9d2070e972e8c9775cbc28777e3f8984481ace..a5e0ad34d2dcdfed79284de5576742446cb2c3f7 100644 (file)
@@ -1 +1,2 @@
 DIST NetworkManager-fortisslvpn-1.2.2.tar.xz 294576 SHA256 d7d9e396bee90df73ecaa3e49ef55308cab2666771ee1dd72060701eeb11a04f SHA512 db9660107e3ce9dec436ad0aeaba922b1a883a016ad19bb1946b310f2b97168451c72803f5f6fceec68ca766fd30720dc8b6d5fcdcd8f52543bc707341c30737 WHIRLPOOL 77355c2cc0af80e7e4974e82ebdda91b2daa787f8dbd8375eda5760d26d9ca1ccf45b6d24fb95af8642569e252a503e1e63ad444e5fc8d695395c8cdc7e1b606
+DIST NetworkManager-fortisslvpn-1.2.6.tar.xz 324048 SHA256 8ec489c37c92ca2d382e889ade109caac11737d448c9c64f7bc5848d5e512b17 SHA512 5f1bd180a810ca778bfc4d58522e827281a941f6a9b63bcbcadf42f94edadbe556db6693d77a55f42422fa657b37fc64df9480f4ae691151fa65688247bce69d WHIRLPOOL d4428c163ff643a2da5ee710818d2ff1397c7e6fa8575cf90520bfa9497bfba3d85ef7b56c7a75eb681c691dbb3e64f4a0957ee8bbfb1dda74c74e28846f7902
diff --git a/net-misc/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.2.6-location-fix.diff b/net-misc/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.2.6-location-fix.diff
new file mode 100644 (file)
index 0000000..c0439bf
--- /dev/null
@@ -0,0 +1,37 @@
+diff --git a/Makefile.am b/Makefile.am
+index 59ba94121..6419e9f57 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -26,6 +26,8 @@ dbusservice_DATA = nm-fortisslvpn-service.conf
+ nmvpnservicedir = $(NM_VPN_SERVICE_DIR)
+ nmvpnservice_DATA = nm-fortisslvpn-service.name
++fortisslvpn_statedir = $(localstatedir)/lib/$(PACKAGE)
++
+ BUILT_SOURCES =
+ ###############################################################################
+@@ -276,7 +278,7 @@ auth_dialog_nm_fortisslvpn_auth_dialog_LDADD = \
+ if WITH_LIBNM_GLIB
+ # Install a file with full path to plugins for an old gnome-shell
+ # https://bugzilla.gnome.org/show_bug.cgi?id=693590
+-install-data-hook:
++install-compat-name-file:
+       mkdir -p $(DESTDIR)$(sysconfdir)/NetworkManager/VPN
+       sed -e "1s|^|# This file is obsoleted by a file in $(NM_VPN_SERVICE_DIR)\n\n|" \
+           -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|g' \
+@@ -286,8 +288,14 @@ install-data-hook:
+ uninstall-hook:
+        rm -f $(DESTDIR)$(sysconfdir)/NetworkManager/VPN/nm-fortisslvpn-service.name
++else
++install-compat-name-file:
++      @:
+ endif
++install-data-hook: install-compat-name-file
++      $(mkinstalldirs) -m 0700 $(DESTDIR)$(fortisslvpn_statedir)
++
+ appdatadir = $(datadir)/appdata
+ appdata_files = $(appdata_in_files:.xml.in=.xml)
+ if WITH_GNOME
diff --git a/net-misc/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.2.6.ebuild b/net-misc/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.2.6.ebuild
new file mode 100644 (file)
index 0000000..9844262
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
+GNOME2_LA_PUNT="yes"
+GNOME2_EAUTORECONF="yes"
+
+inherit gnome2
+
+DESCRIPTION="NetworkManager Fortinet SSLVPN compatible plugin"
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gtk"
+
+RDEPEND="
+       >=net-misc/networkmanager-1.2:=
+       >=dev-libs/glib-2.32:2
+       net-dialup/ppp:=
+       >=net-vpn/openfortivpn-1.2.0
+       gtk? (
+               >=app-crypt/libsecret-0.18
+               >=gnome-extra/nm-applet-1.2.0
+               >=x11-libs/gtk+-3.4:3
+       )
+"
+DEPEND="${RDEPEND}
+       sys-devel/gettext
+       >=dev-util/intltool-0.35
+       virtual/pkgconfig
+"
+
+PATCHES=(
+       # Upstream patch e5d476076e068f58ef4fa938f09945159fce36a6
+       "${FILESDIR}"/${P}-location-fix.diff
+)
+
+src_configure() {
+       gnome2_src_configure \
+               --disable-static \
+               --with-dist-version=Gentoo \
+               --localstatedir=/var \
+               $(use_with gtk gnome)
+}