mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <ladis@linux-mips.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 7/7] networkmanager-fortisslvpn: new package
Date: Sun, 23 Aug 2020 15:43:56 +0200	[thread overview]
Message-ID: <20200823134356.GH482575@lenoch> (raw)
In-Reply-To: <20200823134013.GA482575@lenoch>

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 rules/networkmanager-fortisslvpn.in   |  9 ++++
 rules/networkmanager-fortisslvpn.make | 74 +++++++++++++++++++++++++++
 2 files changed, 83 insertions(+)
 create mode 100644 rules/networkmanager-fortisslvpn.in
 create mode 100644 rules/networkmanager-fortisslvpn.make

diff --git a/rules/networkmanager-fortisslvpn.in b/rules/networkmanager-fortisslvpn.in
new file mode 100644
index 000000000..dc546b5d6
--- /dev/null
+++ b/rules/networkmanager-fortisslvpn.in
@@ -0,0 +1,9 @@
+## SECTION=networkmanager_plugins
+
+config NETWORKMANAGER_FORTISSLVPN
+	tristate
+	select GLIB
+	select NETWORKMANAGER
+	select NETWORKMANAGER_PPP
+	select OPENFORTIVPN
+	prompt "fortisslvpn"
diff --git a/rules/networkmanager-fortisslvpn.make b/rules/networkmanager-fortisslvpn.make
new file mode 100644
index 000000000..e5f538f3c
--- /dev/null
+++ b/rules/networkmanager-fortisslvpn.make
@@ -0,0 +1,74 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Ladislav Michl <ladis@linux-mips.org>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_NETWORKMANAGER_FORTISSLVPN) += networkmanager-fortisslvpn
+
+#
+# Paths and names
+#
+NETWORKMANAGER_FORTISSLVPN_VERSION	:= 1.2.10
+NETWORKMANAGER_FORTISSLVPN_MD5		:= 4a4bc3aae826623620c2090753a7acee
+NETWORKMANAGER_FORTISSLVPN		:= NetworkManager-fortisslvpn-$(NETWORKMANAGER_FORTISSLVPN_VERSION)
+NETWORKMANAGER_FORTISSLVPN_SUFFIX	:= tar.xz
+NETWORKMANAGER_FORTISSLVPN_URL		:= https://ftp.gnome.org/pub/GNOME/sources/NetworkManager-fortisslvpn/$(basename $(NETWORKMANAGER_FORTISSLVPN_VERSION))/$(NETWORKMANAGER_FORTISSLVPN).$(NETWORKMANAGER_FORTISSLVPN_SUFFIX)
+NETWORKMANAGER_FORTISSLVPN_SOURCE	:= $(SRCDIR)/$(NETWORKMANAGER_FORTISSLVPN).$(NETWORKMANAGER_FORTISSLVPN_SUFFIX)
+NETWORKMANAGER_FORTISSLVPN_DIR		:= $(BUILDDIR)/$(NETWORKMANAGER_FORTISSLVPN)
+NETWORKMANAGER_FORTISSLVPN_LICENSE	:= GPL-2.0-or-later 
+NETWORKMANAGER_FORTISSLVPN_LICENSE_FILES := \
+	file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
+	file://src/nm-fortisslvpn-service.c;startline=6;endline=18;md5=dc133184bee887456e34cd179e2e9549
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+NETWORKMANAGER_FORTISSLVPN_CONF_TOOL	:= autoconf
+NETWORKMANAGER_FORTISSLVPN_CONF_OPT	 = \
+	$(CROSS_AUTOCONF_USR) \
+	--enable-shared \
+	--disable-static \
+	--disable-absolute-paths \
+	--disable-nls \
+	--disable-rpath \
+	--disable-more-warnings \
+	--with-pppd-plugin-dir=$(PPP_SHARED_INST_PATH) \
+	--without-gnome \
+	--without-libnm-glib
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/networkmanager-fortisslvpn.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, networkmanager-fortisslvpn)
+	@$(call install_fixup, networkmanager-fortisslvpn,PRIORITY,optional)
+	@$(call install_fixup, networkmanager-fortisslvpn,SECTION,base)
+	@$(call install_fixup, networkmanager-fortisslvpn,AUTHOR,"Ladislav Michl <ladis@linux-mips.org>")
+	@$(call install_fixup, networkmanager-fortisslvpn,DESCRIPTION, "networkmanager-fortisslvpn")
+
+	@$(call install_copy, networkmanager-fortisslvpn, 0, 0, 0644, -, \
+		$(PPP_SHARED_INST_PATH)/nm-fortisslvpn-pppd-plugin.so)
+	@$(call install_copy, networkmanager-fortisslvpn, 0, 0, 0644, -, \
+		/usr/lib/NetworkManager/libnm-vpn-plugin-fortisslvpn.so)
+	@$(call install_copy, networkmanager-fortisslvpn, 0, 0, 0644, -, \
+		/usr/lib/NetworkManager/VPN/nm-fortisslvpn-service.name)
+	@$(call install_tree, networkmanager-fortisslvpn, 0, 0, -, /usr/libexec)
+
+	@$(call install_finish, networkmanager-fortisslvpn)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.28.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

  parent reply	other threads:[~2020-08-23 13:43 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-23 13:40 [ptxdist] [PATCH 0/7] NetworkManager stack update Ladislav Michl
2020-08-23 13:40 ` [ptxdist] [PATCH 1/7] libmbim: version bump 1.18.2 -> 1.24.2 Ladislav Michl
2020-10-06  8:18   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-23 13:41 ` [ptxdist] [PATCH 2/7] libqmi: version bump 1.24.4 -> 1.26.2 Ladislav Michl
2020-08-30 21:37   ` [ptxdist] [PATCH v2 " Ladislav Michl
2020-10-06  8:18     ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-23 13:41 ` [ptxdist] [PATCH 3/7] modemmanager: version bump 1.12.6 -> 1.14.2 Ladislav Michl
2020-10-06  8:18   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-23 13:42 ` [ptxdist] [PATCH 4/7] networkmanager: version bump 1.26.0 -> 1.26.2 Ladislav Michl
2020-10-06  8:18   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-23 13:42 ` [ptxdist] [PATCH 5/7] networkmanager-openvpn: version bump 1.8.4 -> 1.8.12 Ladislav Michl
2020-08-28 10:49   ` Michael Olbrich
2020-08-28 14:59     ` [ptxdist] [PATCH v2 " Ladislav Michl
2020-10-06  8:18       ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-23 13:43 ` [ptxdist] [PATCH 6/7] openfortivpn: new package Ladislav Michl
2020-08-23 19:56   ` Roland Hieber
2020-08-24  8:22     ` Ladislav Michl
2020-08-24  9:05       ` Roland Hieber
2020-08-24  9:14         ` Roland Hieber
2020-08-24 10:08         ` Ladislav Michl
2020-08-24 15:35           ` Roland Hieber
2020-08-25  7:40         ` [ptxdist] [PATCH v2 " Ladislav Michl
2020-08-25 11:04           ` Roland Hieber
2020-08-25 13:14             ` [ptxdist] [PATCH v3 " Ladislav Michl
2020-08-28 12:45   ` [ptxdist] [PATCH " Michael Olbrich
2020-08-28 14:57     ` [ptxdist] [PATCH v4 " Ladislav Michl
2020-10-06  8:18       ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-23 13:43 ` Ladislav Michl [this message]
2020-10-06  8:18   ` [ptxdist] [APPLIED] networkmanager-fortisslvpn: " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200823134356.GH482575@lenoch \
    --to=ladis@linux-mips.org \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox