diff options
author | Mart Raudsepp <leio@gentoo.org> | 2019-02-26 02:38:25 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2019-02-26 02:38:25 +0200 |
commit | 3111d7956172c965c991f1deef570a93d8999d01 (patch) | |
tree | dedfa6a9ac95520691174773554a8b6063f7e1d5 /net-vpn/networkmanager-fortisslvpn | |
parent | dev-util/d-feet: bump to 0.3.14 (diff) | |
download | gentoo-3111d7956172c965c991f1deef570a93d8999d01.tar.gz gentoo-3111d7956172c965c991f1deef570a93d8999d01.tar.bz2 gentoo-3111d7956172c965c991f1deef570a93d8999d01.zip |
net-misc/networkmanager-fortisslvpn: pkgmove to net-vpn/networkmanager-fortisslvpn
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'net-vpn/networkmanager-fortisslvpn')
6 files changed, 164 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-fortisslvpn/Manifest b/net-vpn/networkmanager-fortisslvpn/Manifest new file mode 100644 index 000000000000..27c862cd0d8f --- /dev/null +++ b/net-vpn/networkmanager-fortisslvpn/Manifest @@ -0,0 +1,2 @@ +DIST NetworkManager-fortisslvpn-1.2.6.tar.xz 324048 BLAKE2B 1e3aeab2df0b91b09fba1678861215f164251dc1f51c12c0cdbb4c53c939849d75c5f70552e608a11a0c9c7890a15d5dd4b218c7c440c92bfa8df157ff20babf SHA512 5f1bd180a810ca778bfc4d58522e827281a941f6a9b63bcbcadf42f94edadbe556db6693d77a55f42422fa657b37fc64df9480f4ae691151fa65688247bce69d +DIST NetworkManager-fortisslvpn-1.2.8.tar.xz 325100 BLAKE2B 9449bbec99ee50c2c0b9cc1a74d8714e71995c17d2c1fa206134b71a1ea448be8fd86711ce0743f38e86ccd330eb7bc7e4cb57c2093001ac1b301b00e5c8f25e SHA512 5a602b872b1efbd8d9ed2f32d05ec8560f0a923dfdf58e7a775010ee2182790b8cbe7c2a6c8d1198eba47c66fddecf178e1c454d1ac74c10a63c75c603eeafc8 diff --git a/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.2.6-location-fix.diff b/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.2.6-location-fix.diff new file mode 100644 index 000000000000..c0439bf0e394 --- /dev/null +++ b/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.2.6-location-fix.diff @@ -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-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.2.6-nm-utils-dependency-fix.diff b/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.2.6-nm-utils-dependency-fix.diff new file mode 100644 index 000000000000..f882679954f7 --- /dev/null +++ b/net-vpn/networkmanager-fortisslvpn/files/networkmanager-fortisslvpn-1.2.6-nm-utils-dependency-fix.diff @@ -0,0 +1,21 @@ +diff --git a/Makefile.am b/Makefile.am +index 6bef38ed5..951b829e3 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -95,6 +95,7 @@ pppd_plugindir = $(PPPD_PLUGIN_DIR) + pppd_plugin_LTLIBRARIES = src/nm-fortisslvpn-pppd-plugin.la + + src_nm_fortisslvpn_pppd_plugin_la_SOURCES = \ ++ shared/nm-utils/nm-shared-utils.c \ + src/nm-fortisslvpn-pppd-plugin.c \ + src/nm-ppp-status.h + src_nm_fortisslvpn_pppd_plugin_la_CPPFLAGS = $(src_cppflags) +@@ -102,7 +103,7 @@ src_nm_fortisslvpn_pppd_plugin_la_LDFLAGS = \ + -module -avoid-version + src_nm_fortisslvpn_pppd_plugin_la_LIBADD = \ + src/libnm-fortisslvpn-pppd-service-dbus.la \ +- $(GLIB_LIBS) ++ $(GLIB_LIBS) \ + $(LIBNM_LIBS) + + ############################################################################### diff --git a/net-vpn/networkmanager-fortisslvpn/metadata.xml b/net-vpn/networkmanager-fortisslvpn/metadata.xml new file mode 100644 index 000000000000..b7fa921dff8f --- /dev/null +++ b/net-vpn/networkmanager-fortisslvpn/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mathy@vanvoorden.be</email> + <name>Mathy Vanvoorden</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> diff --git a/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.2.6.ebuild b/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.2.6.ebuild new file mode 100644 index 000000000000..94074c6b078a --- /dev/null +++ b/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.2.6.ebuild @@ -0,0 +1,49 @@ +# 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 + # Upstream patch 4195187fbe5be348222c9a8472f7c9cf0e51d346 + "${FILESDIR}"/${P}-nm-utils-dependency-fix.diff +) + +src_configure() { + gnome2_src_configure \ + --disable-static \ + --with-dist-version=Gentoo \ + --localstatedir=/var \ + $(use_with gtk gnome) +} diff --git a/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.2.8.ebuild b/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.2.8.ebuild new file mode 100644 index 000000000000..0aadb4db8bb0 --- /dev/null +++ b/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.2.8.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 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} + dev-util/gdbus-codegen + sys-devel/gettext + >=dev-util/intltool-0.35 + virtual/pkgconfig +" + +src_configure() { + gnome2_src_configure \ + --disable-static \ + --with-dist-version=Gentoo \ + --localstatedir=/var \ + $(use_with gtk gnome) +} |