[Buildroot] [PATCH 1/1] package/network-manager-openvpn: new package

Peter Korsgaard peter at korsgaard.com
Tue Feb 4 12:31:50 UTC 2020


>>>>> "Michel" == Michel Alex <Alex.Michel at wiedemann-group.com> writes:

Hi,

 > Peter,
 > I'm sorry for that, I must use evolution email client. Please use the
 > attached file.

Thanks.

 > From 1367aeb2b1d91473be1e35ccb9660300f8bb2dc2 Mon Sep 17 00:00:00 2001
 > From: Alex Michel <alex.michel at wiedemann-group.com>
 > Date: Tue, 4 Feb 2020 09:04:38 +0100
 > Subject: [PATCH v2] package/network-manager-openvpn: new package

 > This package provides OpenVPN plugin for network manager

 > Signed-off-by: Alex Michel <alex.michel at wiedemann-group.com>
 > ---
 >  .../network-manager-openvpn.hash              |  4 ++++
 >  .../network-manager-openvpn.mk                | 22 +++++++++++++++++++
 >  package/network-manager/Config.in             |  8 +++++++
 >  3 files changed, 34 insertions(+)
 >  create mode 100644 package/network-manager-openvpn/network-manager-openvpn.hash
 >  create mode 100644 package/network-manager-openvpn/network-manager-openvpn.mk

 > diff --git a/package/network-manager-openvpn/network-manager-openvpn.hash b/package/network-manager-openvpn/network-manager-openvpn.hash
 > new file mode 100644
 > index 0000000000..0c52fb8d13
 > --- /dev/null
 > +++ b/package/network-manager-openvpn/network-manager-openvpn.hash
 > @@ -0,0 +1,4 @@
 > +# From https://download.gnome.org/sources/NetworkManager-openvpn/1.8/NetworkManager-openvpn-1.8.10.sha256sum
 > +sha256 af3cc86ba848d21b4ac807a09d575de11335ba4df8ce6fdb089212e77c2231ef  NetworkManager-openvpn-1.8.10.tar.xz
 > +# Locally computed
 > +sha256 c39e345d992dfba62db265f8c6d6ff1d90c61d92876635ae05adbfa2f45fff46  COPYING
 > diff --git a/package/network-manager-openvpn/network-manager-openvpn.mk b/package/network-manager-openvpn/network-manager-openvpn.mk
 > new file mode 100644
 > index 0000000000..522cd2413e
 > --- /dev/null
 > +++ b/package/network-manager-openvpn/network-manager-openvpn.mk
 > @@ -0,0 +1,22 @@
 > +################################################################################
 > +#
 > +# network-manager-openvpn
 > +#
 > +################################################################################
 > +
 > +NETWORK_MANAGER_OPENVPN_VERSION_MAJOR = 1.8
 > +NETWORK_MANAGER_OPENVPN_VERSION = $(NETWORK_MANAGER_OPENVPN_VERSION_MAJOR).10
 > +NETWORK_MANAGER_OPENVPN_SOURCE = NetworkManager-openvpn-$(NETWORK_MANAGER_OPENVPN_VERSION).tar.xz
 > +NETWORK_MANAGER_OPENVPN_SITE = https://download.gnome.org/sources/NetworkManager-openvpn/$(NETWORK_MANAGER_OPENVPN_VERSION_MAJOR)
 > +NETWORK_MANAGER_OPENVPN_DEPENDENCIES = network-manager openvpn
 > +NETWORK_MANAGER_OPENVPN_LICENSE = GPL-2.0+
 > +NETWORK_MANAGER_OPENVPN_LICENSE_FILES = COPYING
 > +
 > +NETWORK_MANAGER_OPENVPN_CONF_OPTS = \
 > +	--without-gnome
 > +
 > +define NETWORK_MANAGER_OPENVPN_USERS
 > +      nm-openvpn -1 nm-openvpn -1 * - - - Openvpn user

./utils/check-package warned about the indentation of this
line. Consider running check-package on future patches before
submitting.


 > +endef
 > +
 > +$(eval $(autotools-package))
 > diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in
 > index e6a3f5f04f..a1df4e0431 100644
 > --- a/package/network-manager/Config.in
 > +++ b/package/network-manager/Config.in
 > @@ -61,6 +61,14 @@ config BR2_PACKAGE_NETWORK_MANAGER_OVS
 >  	help
 >  	  This option enables support for OpenVSwitch
 
 > +config BR2_PACKAGE_NETWORK_MANAGER_OPENVPN
 > +	bool "OpenVPN support"
 > +	depends on BR2_PACKAGE_OPENVPN
 > +	help
 > +	  This option enables support for OpenVPN
 > +
 > +	  https://gitlab.gnome.org/GNOME/NetworkManager-openvpn
 > +

This was actually not what I meant. I have moved this into
package/network-manager-openvpn/Config.in and adjusted the text a bit.

You forgot to add an entry to our DEVELOPERS file, so I did that and
committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list