From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 1d0a260a8b804e43037a2c0aa3ef9bae1ddca656
Date: Sun, 29 Dec 2013 21:14:09 +0100 [thread overview]
Message-ID: <20131229201410.9775B20B0F@argus.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 3985 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via 1d0a260a8b804e43037a2c0aa3ef9bae1ddca656 (commit)
from 4f2aca6d2b1bd49b1fc090af657726f2ce011086 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1d0a260a8b804e43037a2c0aa3ef9bae1ddca656
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Sun Dec 29 21:13:55 2013 +0100
openvpn: Move verify script out of configuration directory.
-----------------------------------------------------------------------
Summary of changes:
config/rootfiles/common/openvpn | 2 +-
config/rootfiles/core/75/filelists/files | 2 +-
config/rootfiles/core/75/update.sh | 6 ++++++
html/cgi-bin/ovpnmain.cgi | 2 +-
lfs/openvpn | 3 ++-
5 files changed, 11 insertions(+), 4 deletions(-)
Difference in files:
diff --git a/config/rootfiles/common/openvpn b/config/rootfiles/common/openvpn
index ae6d6ee..d1b836a 100644
--- a/config/rootfiles/common/openvpn
+++ b/config/rootfiles/common/openvpn
@@ -5,6 +5,7 @@
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/lib/openvpn/verify
usr/sbin/openvpn
#usr/share/doc/openvpn
#usr/share/doc/openvpn/COPYING
@@ -31,4 +32,3 @@ var/ipfire/ovpn/ovpn-leases.db
var/ipfire/ovpn/ovpnconfig
var/ipfire/ovpn/scripts
var/ipfire/ovpn/settings
-var/ipfire/ovpn/verify
diff --git a/config/rootfiles/core/75/filelists/files b/config/rootfiles/core/75/filelists/files
index 46af054..647eb26 100644
--- a/config/rootfiles/core/75/filelists/files
+++ b/config/rootfiles/core/75/filelists/files
@@ -1,6 +1,6 @@
etc/system-release
etc/issue
opt/pakfire/lib/functions.pl
+usr/lib/openvpn/verify
var/ipfire/header.pl
var/ipfire/langs
-var/ipfire/ovpn/verify
diff --git a/config/rootfiles/core/75/update.sh b/config/rootfiles/core/75/update.sh
index 05e2de3..3fd00fe 100644
--- a/config/rootfiles/core/75/update.sh
+++ b/config/rootfiles/core/75/update.sh
@@ -38,6 +38,12 @@ extract_files
# Start services
+# Replace path to verify script.
+if [ -r "/var/ipfire/ovpn/server.conf" ]; then
+ sed -e "s@^tls-verify.*@tls-verify /usr/lib/openvpn/verify(a)g" \
+ -i /var/ipfire/ovpn/server.conf
+fi
+
# Update Language cache
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi
index 73e610b..2f3ac4d 100644
--- a/html/cgi-bin/ovpnmain.cgi
+++ b/html/cgi-bin/ovpnmain.cgi
@@ -425,7 +425,7 @@ sub writeserverconf {
if ($sovpnsettings{DHCP_WINS} ne '') {
print CONF "max-clients $sovpnsettings{MAX_CLIENTS}\n";
}
- print CONF "tls-verify /var/ipfire/ovpn/verify\n";
+ print CONF "tls-verify /usr/lib/openvpn/verify\n";
print CONF "crl-verify /var/ipfire/ovpn/crls/cacrl.pem\n";
print CONF "user nobody\n";
print CONF "group nobody\n";
diff --git a/lfs/openvpn b/lfs/openvpn
index 87daf07..727d374 100644
--- a/lfs/openvpn
+++ b/lfs/openvpn
@@ -93,8 +93,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
chown -R root:root /var/ipfire/ovpn/scripts
chown -R nobody:nobody /var/ipfire/ovpn
chown root.nobody /var/log/ovpnserver.log
- chmod 755 /var/ipfire/ovpn/verify
chmod 660 /var/log/ovpnserver.log
chmod 700 /var/ipfire/ovpn/certs
+ mv -v /var/ipfire/ovpn/verify /usr/lib/openvpn/verify
+ chmod 755 /usr/lib/openvpn/verify
@rm -rf $(DIR_APP)
@$(POSTBUILD)
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2013-12-29 20:14 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=20131229201410.9775B20B0F@argus.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/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