From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eddie.linux-mips.org ([148.251.95.138] helo=cvs.linux-mips.org) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1k9qHu-00020q-3i for ptxdist@pengutronix.de; Sun, 23 Aug 2020 15:43:58 +0200 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23991212AbgHWNn54m5K8 (ORCPT ); Sun, 23 Aug 2020 15:43:57 +0200 Date: Sun, 23 Aug 2020 15:43:56 +0200 From: Ladislav Michl Message-ID: <20200823134356.GH482575@lenoch> References: <20200823134013.GA482575@lenoch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200823134013.GA482575@lenoch> Subject: [ptxdist] [PATCH 7/7] networkmanager-fortisslvpn: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Signed-off-by: Ladislav Michl --- 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 +# +# 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 ") + @$(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