From: Ladislav Michl <ladis@linux-mips.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] networkmanager-openvpn: new package
Date: Tue, 17 May 2016 17:39:37 +0200 [thread overview]
Message-ID: <20160517153937.GB17625@localhost.localdomain> (raw)
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
diff --git a/rules/networkmanager-openvpn.in b/rules/networkmanager-openvpn.in
new file mode 100644
index 0000000..df35dab
--- /dev/null
+++ b/rules/networkmanager-openvpn.in
@@ -0,0 +1,7 @@
+## SECTION=networkmanager_plugins
+
+config NETWORKMANAGER_OPENVPN
+ tristate
+ select OPENVPN
+ select GLIB
+ prompt "openvpn"
diff --git a/rules/networkmanager-openvpn.make b/rules/networkmanager-openvpn.make
new file mode 100644
index 0000000..69a42d1
--- /dev/null
+++ b/rules/networkmanager-openvpn.make
@@ -0,0 +1,67 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Ladislav Michl <ladis@linux-mips.org>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_NETWORKMANAGER_OPENVPN) += networkmanager-openvpn
+
+#
+# Paths and names
+#
+NETWORKMANAGER_OPENVPN_VERSION := 1.2.0
+NETWORKMANAGER_OPENVPN_MD5 := 6a8c03288cd0b4b849a7b883689c04f3
+NETWORKMANAGER_OPENVPN := NetworkManager-openvpn-$(NETWORKMANAGER_OPENVPN_VERSION)
+NETWORKMANAGER_OPENVPN_SUFFIX := tar.xz
+NETWORKMANAGER_OPENVPN_URL := http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openvpn/1.2/$(NETWORKMANAGER_OPENVPN).$(NETWORKMANAGER_OPENVPN_SUFFIX)
+NETWORKMANAGER_OPENVPN_SOURCE := $(SRCDIR)/$(NETWORKMANAGER_OPENVPN).$(NETWORKMANAGER_OPENVPN_SUFFIX)
+NETWORKMANAGER_OPENVPN_DIR := $(BUILDDIR)/$(NETWORKMANAGER_OPENVPN)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+NETWORKMANAGER_OPENVPN_CONF_TOOL := autoconf
+NETWORKMANAGER_OPENVPN_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --disable-static \
+ --enable-shared \
+ --disable-nls \
+ --enable-more-warnings \
+ --without-libnm-glib \
+ --without-gnome \
+ --without-tests
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/networkmanager-openvpn.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, networkmanager-openvpn)
+ @$(call install_fixup, networkmanager-openvpn,PRIORITY,optional)
+ @$(call install_fixup, networkmanager-openvpn,SECTION,base)
+ @$(call install_fixup, networkmanager-openvpn,AUTHOR,"Ladislav Michl <ladis@linux-mips.org>")
+ @$(call install_fixup, networkmanager-openvpn,DESCRIPTION, "networkmanager-openvpn")
+
+ @$(call install_copy, networkmanager-openvpn, 0, 0, 0644, -, /etc/dbus-1/system.d/nm-openvpn-service.conf)
+ @$(call install_copy, networkmanager-openvpn, 0, 0, 0644, -, /usr/lib/NetworkManager/VPN/nm-openvpn-service.name)
+
+ @$(call install_tree, networkmanager-openvpn, 0, 0, -, /usr/libexec/)
+
+ @$(call install_finish, networkmanager-openvpn)
+
+ @$(call touch)
+
+# vim: syntax=make
diff --git a/rules/networkmanager.in b/rules/networkmanager.in
index e1c9b8c..13091dc 100644
--- a/rules/networkmanager.in
+++ b/rules/networkmanager.in
@@ -82,4 +82,8 @@ config NETWORKMANAGER_EXAMPLES
bool
prompt "install examples for Network Manager"
+menu "plugins"
+source "generated/networkmanager_plugins.in"
+endmenu
+
endif
--
2.1.4
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
reply other threads:[~2016-05-17 15:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20160517153937.GB17625@localhost.localdomain \
--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