From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YGOMF-0000Zt-4Q for ptxdist@pengutronix.de; Wed, 28 Jan 2015 09:52:19 +0100 Received: by mail-wg0-f43.google.com with SMTP id y19so19256982wgg.2 for ; Wed, 28 Jan 2015 00:52:13 -0800 (PST) Received: from omega (p20030064A9173413E2CB4EFFFE1BB546.dip0.t-ipconnect.de. [2003:64:a917:3413:e2cb:4eff:fe1b:b546]) by mx.google.com with ESMTPSA id fp2sm1834200wib.8.2015.01.28.00.52.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Jan 2015 00:52:13 -0800 (PST) Date: Wed, 28 Jan 2015 09:52:11 +0100 From: Alexander Aring Message-ID: <20150128085208.GC6903@omega> References: <1422215784-25936-1-git-send-email-alex.aring@gmail.com> <1422215784-25936-5-git-send-email-alex.aring@gmail.com> <20150126152410.GD20195@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20150126152410.GD20195@pengutronix.de> Subject: Re: [ptxdist] [PATCHv2 4/4] openvpn: rework and version bump Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Mon, Jan 26, 2015 at 04:24:10PM +0100, Michael Olbrich wrote: > On Sun, Jan 25, 2015 at 08:56:24PM +0100, Alexander Aring wrote: > > This patch reworks the openvpn rules. Some points which are new now: > > > > - systemd support if OPENVPN_SYSTEMD > > - install openvpn sample configs as reference for /etc/openvpn/ > > - install openvpn sample scripts (ethernet bridging) > > - add required environemnt for networking utilities while configure > > - add several missed autoconf configure options > > > > Additional this patch do a version bump to 2.3.6 > > > > Signed-off-by: Alexander Aring > > --- > > rules/openvpn.in | 27 +++++++++++++++++++++++++ > > rules/openvpn.make | 59 +++++++++++++++++++++++++++++++++++++++++++----------- > > 2 files changed, 74 insertions(+), 12 deletions(-) > > > > diff --git a/rules/openvpn.in b/rules/openvpn.in > > index 3649968..1cd4a54 100644 > > --- a/rules/openvpn.in > > +++ b/rules/openvpn.in > > @@ -5,6 +5,11 @@ menuconfig OPENVPN > > prompt "openvpn " > > select OPENSSL > > select LIBLZO if OPENVPN_LZO > > + select IPROUTE2 if !BUSYBOX_IP && RUNTIME > > + select IPROUTE2_IP if !BUSYBOX_IP && RUNTIME > > + select BUSYBOX_IFCONFIG > > + select BUSYBOX_NETSTAT > > + select BUSYBOX_ROUTE > > help > > virtual private network daemon > > > > @@ -34,4 +39,26 @@ config OPENVPN_LZO > > will select the LZO library as well. > > If unsure, say N. > > > > +config OPENVPN_SYSTEMD > > + bool > > + prompt "Enable systemd support" > > + depends on SYSTEMD > > This does not work. We need a build-time dependency. > > add > > select SYSTEMD if OPENVPN_SYSTEMD > > above instead. > ok. > Michael > > > + help > > + This enables systemd support for openvpn. > > + > > +config OPENVPN_INSTALL_SAMPLE_CONFIGS > > + bool > > + prompt "Install sample configs" > > + select IPTABLES > > + select IPTABLES_INSTALL_TOOLS > > mot this to the main option with 'if OPENVPN_INSTALL_SAMPLE_CONFIGS && RUNTIME' > > > + help > > + Install sample configs into /usr/share/openvpn/sample-config-files. > > + > > +config OPENVPN_INSTALL_SAMPLE_SCRIPTS > > + bool > > + prompt "Install sample scripts" > > + select BRIDGE_UTILS > > The same here. > ok. -- ptxdist mailing list ptxdist@pengutronix.de