OpenVPN: Move the OpenSSL configuration file out of /var/ipfire

We should not have any configuration files that we share in this place,
therefore this patch is moving it into /usr/share/openvpn where we
should be able to update it without any issues.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-06-07 16:01:07 +00:00
parent 51c8b155d1
commit 4697a1f7f7
4 changed files with 18 additions and 13 deletions

View File

@@ -101,6 +101,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
chown root:root /etc/fcron.daily/openvpn-crl-updater
chmod 750 /etc/fcron.daily/openvpn-crl-updater
# Move the OpenSSL configuration file out of /var/ipfire
mkdir -pv /usr/share/openvpn
mv -v /var/ipfire/ovpn/openssl/ovpn.cnf \
/usr/share/openvpn/
rmdir -v /usr/share/openvpn
# Install authenticator
install -v -m 755 $(DIR_SRC)/config/ovpn/openvpn-authenticator \
/usr/sbin/openvpn-authenticator