From 1e6ce289bd8520b07897fa0f70253c8e56acc188 Mon Sep 17 00:00:00 2001 From: Erik Kapfer Date: Mon, 28 Oct 2013 18:50:30 +0100 Subject: [PATCH] openvpn: Update to version 2.3.2 Fixes #10440 --- config/rootfiles/common/openvpn | 17 ++++++++++++++--- lfs/openvpn | 18 +++++++++--------- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/config/rootfiles/common/openvpn b/config/rootfiles/common/openvpn index 6be9a102a7..ae6d6eee6f 100644 --- a/config/rootfiles/common/openvpn +++ b/config/rootfiles/common/openvpn @@ -1,8 +1,19 @@ -usr/lib/openvpn -usr/lib/openvpn/openvpn-auth-pam.so -usr/lib/openvpn/openvpn-down-root.so +#usr/include/openvpn-plugin.h +#usr/lib/openvpn +#usr/lib/openvpn/plugins +#usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.la +usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.so +#usr/lib/openvpn/plugins/openvpn-plugin-down-root.la +usr/lib/openvpn/plugins/openvpn-plugin-down-root.so usr/sbin/openvpn #usr/share/doc/openvpn +#usr/share/doc/openvpn/COPYING +#usr/share/doc/openvpn/COPYRIGHT.GPL +#usr/share/doc/openvpn/README +#usr/share/doc/openvpn/README.IPv6 +#usr/share/doc/openvpn/README.auth-pam +#usr/share/doc/openvpn/README.down-root +#usr/share/doc/openvpn/README.polarssl #usr/share/doc/openvpn/management-notes.txt #usr/share/man/man8/openvpn.8 var/ipfire/ovpn diff --git a/lfs/openvpn b/lfs/openvpn index e57aa30bac..87daf07ebf 100644 --- a/lfs/openvpn +++ b/lfs/openvpn @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2011 IPFire Team # +# Copyright (C) 2007-2013 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 2.2.2 +VER = 2.3.2 THISAPP = openvpn-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = c5181e27b7945fa6276d21873329c5c7 +$(DL_FILE)_MD5 = 06e5f93dbf13f2c19647ca15ffc23ac1 install : $(TARGET) @@ -73,16 +73,16 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && ./configure \ --prefix=/usr \ --sysconfdir=/var/ipfire/ovpn \ + --enable-iproute2 \ --enable-password-save \ - --enable-pthread + --enable-plugins \ + --enable-plugin-auth-pam \ + --enable-plugin-down-root + cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install cd $(DIR_APP) && cp -Rvf $(DIR_SRC)/config/ovpn /var/ipfire - -mkdir -pv /usr/lib/openvpn - cd $(DIR_APP)/plugin/auth-pam && make - cp -pvf $(DIR_APP)/plugin/auth-pam/openvpn-auth-pam.so /usr/lib/openvpn - cd $(DIR_APP)/plugin/down-root && make - cp -pvf $(DIR_APP)/plugin/down-root/openvpn-down-root.so /usr/lib/openvpn + -mkdir -vp /usr/lib/openvpn/plugins -mkdir -vp /var/ipfire/ovpn/ca -mkdir -vp /var/ipfire/ovpn/ccd -mkdir -vp /var/ipfire/ovpn/crls -- 2.39.2