mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 11:35:54 +02:00
core120: Ship updated OpenSSL 1.1.0
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/120/filelists/Net_SSLeay
Symbolic link
1
config/rootfiles/core/120/filelists/Net_SSLeay
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/Net_SSLeay
|
||||
1
config/rootfiles/core/120/filelists/cyrus-sasl
Symbolic link
1
config/rootfiles/core/120/filelists/cyrus-sasl
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/cyrus-sasl
|
||||
@@ -1,3 +1,5 @@
|
||||
etc/system-release
|
||||
etc/issue
|
||||
etc/fcron.daily/openvpn-crl-updater
|
||||
srv/web/ipfire/cgi-bin/ovpnmain.cgi
|
||||
var/ipfire/langs
|
||||
|
||||
1
config/rootfiles/core/120/filelists/i586/openssl-sse2
Symbolic link
1
config/rootfiles/core/120/filelists/i586/openssl-sse2
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/i586/openssl-sse2
|
||||
1
config/rootfiles/core/120/filelists/openssh
Symbolic link
1
config/rootfiles/core/120/filelists/openssh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/openssh
|
||||
1
config/rootfiles/core/120/filelists/openssl
Symbolic link
1
config/rootfiles/core/120/filelists/openssl
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/openssl
|
||||
1
config/rootfiles/core/120/filelists/openssl-compat
Symbolic link
1
config/rootfiles/core/120/filelists/openssl-compat
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/openssl-compat
|
||||
1
config/rootfiles/core/120/filelists/openvpn
Symbolic link
1
config/rootfiles/core/120/filelists/openvpn
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/openvpn
|
||||
1
config/rootfiles/core/120/filelists/python-typing
Symbolic link
1
config/rootfiles/core/120/filelists/python-typing
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/python-typing
|
||||
1
config/rootfiles/core/120/filelists/wget
Symbolic link
1
config/rootfiles/core/120/filelists/wget
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/wget
|
||||
@@ -42,7 +42,25 @@ ldconfig
|
||||
# Update Language cache
|
||||
/usr/local/bin/update-lang-cache
|
||||
|
||||
# Changed and new OpenVPN-2.4 directives will wrote to server.conf and renew CRL while update an core update
|
||||
if [ -e /var/ipfire/ovpn/server.conf ]; then
|
||||
openvpnctrl -k
|
||||
|
||||
# Update configuration directives
|
||||
sed -i -e 's/script-security 3 system/script-security 3/' \
|
||||
-e '/status .*/ a ncp-disable' /var/ipfire/ovpn/server.conf
|
||||
|
||||
# Update the OpenVPN CRL
|
||||
openssl ca -gencrl -keyfile /var/ipfire/ovpn/ca/cakey.pem \
|
||||
-cert /var/ipfire/ovpn/ca/cacert.pem \
|
||||
-out /var/ipfire/ovpn/crls/cacrl.pem \
|
||||
-config /var/ipfire/ovpn/openssl/ovpn.cnf
|
||||
|
||||
openvpnctrl -s
|
||||
fi
|
||||
|
||||
# Start services
|
||||
/etc/init.d/apache restart
|
||||
|
||||
# This update needs a reboot...
|
||||
touch /var/run/need_reboot
|
||||
|
||||
Reference in New Issue
Block a user