Start Core Update 134

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2019-06-12 17:18:23 +01:00
parent e263c29c92
commit ce46df9b83
31 changed files with 94 additions and 1 deletions

View File

@@ -1 +0,0 @@
../../../../common/aarch64/binutils

View File

@@ -1 +0,0 @@
../../../../common/aarch64/gcc

View File

@@ -1 +0,0 @@
../../../../common/aarch64/glibc

View File

@@ -1 +0,0 @@
../../../../common/armv5tel/binutils

View File

@@ -1 +0,0 @@
../../../../common/armv5tel/gcc

View File

@@ -1 +0,0 @@
../../../../common/armv5tel/glibc

View File

@@ -1 +0,0 @@
../../../common/bind

View File

@@ -1,14 +0,0 @@
etc/system-release
etc/issue
etc/rc.d/init.d/smt
srv/web/ipfire/cgi-bin/credits.cgi
srv/web/ipfire/cgi-bin/dhcp.cgi
srv/web/ipfire/cgi-bin/ids.cgi
srv/web/ipfire/cgi-bin/ovpnmain.cgi
srv/web/ipfire/cgi-bin/vpnmain.cgi
srv/web/ipfire/cgi-bin/vulnerabilities.cgi
usr/local/bin/update-ids-ruleset
usr/sbin/convert-ids-modifysids-file
usr/sbin/convert-snort
var/ipfire/ids-functions.pl
var/ipfire/langs

View File

@@ -1 +0,0 @@
../../../../common/i586/binutils

View File

@@ -1 +0,0 @@
../../../../common/i586/gcc

View File

@@ -1 +0,0 @@
../../../../common/i586/glibc

View File

@@ -1 +0,0 @@
../../../../common/i586/hyperscan

View File

@@ -1 +0,0 @@
../../../common/ids-ruleset-sources

View File

@@ -1 +0,0 @@
../../../common/knot

View File

@@ -1 +0,0 @@
../../../common/openssl

View File

@@ -1 +0,0 @@
../../../common/pam

View File

@@ -1 +0,0 @@
../../../common/rrdtool

View File

@@ -1 +0,0 @@
../../../common/squid

View File

@@ -1 +0,0 @@
../../../common/strongswan

View File

@@ -1 +0,0 @@
../../../common/suricata

View File

@@ -1 +0,0 @@
../../../common/wpa_supplicant

View File

@@ -1 +0,0 @@
../../../../common/x86_64/binutils

View File

@@ -1 +0,0 @@
../../../../common/x86_64/gcc

View File

@@ -1 +0,0 @@
../../../../common/x86_64/glibc

View File

@@ -1 +0,0 @@
../../../../common/x86_64/hyperscan

View File

@@ -0,0 +1,5 @@
etc/system-release
etc/issue
etc/rc.d/init.d/unbound
srv/web/ipfire/cgi-bin/credits.cgi
var/ipfire/langs

View File

@@ -24,52 +24,26 @@
. /opt/pakfire/lib/functions.sh
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
core=133
core=134
# Remove old core updates from pakfire cache to save space...
for (( i=1; i<=$core; i++ )); do
rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
done
# remove dropped packages
for package in jansson; do
rm -f "/opt/pakfire/db/installed/meta-${package}"
rm -f "/opt/pakfire/db/meta/meta-${package}"
rm -f "/opt/pakfire/db/rootfiles/${package}"
done
# Stop services
/etc/init.d/squid stop
/usr/local/bin/ipsecctrl D
# Extract files
extract_files
# create main/security file
touch /var/ipfire/main/security
chmod 644 /var/ipfire/main/security
chown nobody:nobody /var/ipfire/main/security
# update linker config
ldconfig
# restart init after glibc update
telinit u
# Update Language cache
/usr/local/bin/update-lang-cache
# Regenerate /etc/ipsec.conf
sudo -u nobody /srv/web/ipfire/cgi-bin/vpnmain.cgi
# Modify suricata modify-sids file
/usr/sbin/convert-ids-modifysids-file
# Start services
/usr/local/bin/ipsecctrl S
/etc/init.d/suricata restart
/etc/init.d/squid start
/etc/init.d/collectd restart
/etc/init.d/unbound restart
# Finish
/etc/init.d/fireinfo start