Start Core Update 157

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2021-04-10 13:35:36 +00:00
parent c49bf5412b
commit 1134288b54
83 changed files with 176 additions and 1 deletions

View File

@@ -0,0 +1,34 @@
boot/config.txt
boot/grub/grub.cfg
boot/grub/grubenv
etc/alternatives
etc/collectd.custom
etc/default/grub
etc/ipsec.conf
etc/ipsec.secrets
etc/ipsec.user.conf
etc/ipsec.user.secrets
etc/localtime
etc/shadow
etc/snort/snort.conf
etc/ssl/openssl.cnf
etc/sudoers
etc/sysconfig/firewall.local
etc/sysconfig/rc.local
etc/udev/rules.d/30-persistent-network.rules
srv/web/ipfire/html/proxy.pac
usr/share/xt_geoip
var/ipfire/dma
var/ipfire/time
var/ipfire/firewall/locationblock
var/ipfire/fwhosts/customlocationgrp
var/ipfire/ovpn
var/ipfire/urlfilter/blacklist
var/ipfire/urlfilter/settings
var/lib/alternatives
var/lib/location/database.db
var/log/cache
var/log/dhcpcd.log
var/log/messages
var/state/dhcp/dhcpd.leases
var/updatecache

View File

@@ -0,0 +1 @@
../../../common/Archive-Tar

View File

@@ -0,0 +1 @@
../../../common/Archive-Zip

View File

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

View File

@@ -0,0 +1 @@
../../../common/Compress-Zlib

View File

@@ -0,0 +1 @@
../../../common/Convert-TNEF

View File

@@ -0,0 +1 @@
../../../common/Convert-UUlib

View File

@@ -0,0 +1 @@
../../../common/Crypt-PasswdMD5

View File

@@ -0,0 +1 @@
../../../common/Digest-HMAC

View File

@@ -0,0 +1 @@
../../../common/Digest-SHA1

View File

@@ -0,0 +1 @@
../../../common/GD-Graph

View File

@@ -0,0 +1 @@
../../../common/GD-TextUtil

View File

@@ -0,0 +1 @@
../../../common/HTML-Parser

View File

@@ -0,0 +1 @@
../../../common/HTML-Tagset

View File

@@ -0,0 +1 @@
../../../common/HTML-Template

View File

@@ -0,0 +1 @@
../../../common/IO-Socket-SSL

View File

@@ -0,0 +1 @@
../../../common/IO-Stringy

View File

@@ -0,0 +1 @@
../../../common/MIME-Tools

View File

@@ -0,0 +1 @@
../../../common/Mail-Tools

View File

@@ -0,0 +1 @@
../../../common/Net-DNS

View File

@@ -0,0 +1 @@
../../../common/Net-IPv4Addr

View File

@@ -0,0 +1 @@
../../../common/Net-Server

View File

@@ -0,0 +1 @@
../../../common/Net-Telnet

View File

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

View File

@@ -0,0 +1 @@
../../../common/Text-Tabs+Wrap

View File

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

View File

@@ -0,0 +1 @@
../../../common/Unix-Syslog

View File

@@ -0,0 +1 @@
../../../common/XML-Parser

View File

@@ -0,0 +1 @@
etc/sysctl-aarch64.conf

View File

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

View File

@@ -0,0 +1 @@
etc/sysctl-armv5tel.conf

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,8 @@
etc/collectd.conf
etc/rc.d/init.d/suricata
etc/sysctl.conf
lib/udev/network-hotplug-bridges
lib/udev/network-hotplug-rename
var/ipfire/graphs.pl
var/ipfire/header.pl
var/ipfire/network-functions.pl

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
../../../common/libwww-perl

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
../../../common/perl-Apache-Htpasswd

View File

@@ -0,0 +1 @@
../../../common/perl-CGI

View File

@@ -0,0 +1 @@
../../../common/perl-DBD-SQLite

View File

@@ -0,0 +1 @@
../../../common/perl-DBI

View File

@@ -0,0 +1 @@
../../../common/perl-Device-Modem

View File

@@ -0,0 +1 @@
../../../common/perl-Device-SerialPort

View File

@@ -0,0 +1 @@
../../../common/perl-Email-Date-Format

View File

@@ -0,0 +1 @@
../../../common/perl-Font-TTF

View File

@@ -0,0 +1 @@
../../../common/perl-GD

View File

@@ -0,0 +1 @@
../../../common/perl-IO-String

View File

@@ -0,0 +1 @@
../../../common/perl-MIME-Lite

View File

@@ -0,0 +1 @@
../../../common/perl-Net-CIDR-Lite

View File

@@ -0,0 +1 @@
../../../common/perl-NetAddr-IP

View File

@@ -0,0 +1 @@
../../../common/perl-PDF-API2

View File

@@ -0,0 +1 @@
../../../common/perl-Sort-Naturally

View File

@@ -0,0 +1 @@
../../../common/perl-Switch

View File

@@ -0,0 +1 @@
../../../common/perl-Text-CSV_XS

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
../../../common/web-user-interface

View File

@@ -0,0 +1 @@
etc/sysctl-x86_64.conf

View File

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

View File

@@ -0,0 +1,91 @@
#!/bin/bash
############################################################################
# #
# This file is part of the IPFire Firewall. #
# #
# IPFire is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 3 of the License, or #
# (at your option) any later version. #
# #
# IPFire is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with IPFire; if not, write to the Free Software #
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
# #
# Copyright (C) 2020 IPFire-Team <info@ipfire.org>. #
# #
############################################################################
#
. /opt/pakfire/lib/functions.sh
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
core=156
# 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 files
rm -vf \
/lib/libcap.so.1 \
/srv/web/ipfire/html/include/snortupdateutility.js \
/usr/bin/gawk-4.1.4 \
/usr/bin/igawk
# Stop services
# Extract files
extract_files
# update linker config
ldconfig
# Remove old perl modules & webUI themes
rm -rfv \
/usr/lib/perl5/5.30.0 \
/srv/web/ipfire/html/themes/darkdos \
/srv/web/ipfire/html/themes/ipfire-legacy \
/srv/web/ipfire/html/themes/maniac
# Update Language cache
/usr/local/bin/update-lang-cache
# Filesytem cleanup
/usr/local/bin/filesystem-cleanup
# Reload sysctl.conf
/etc/init.d/sysctl start
# Migrate any macvtap interfaces to bridge
sed -e "s/_MODE=macvtap/_MODE=bridge/g" \
-i /var/ipfire/ethernet/settings
# Start services
telinit u
/etc/init.d/suricata restart
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
/etc/init.d/ipsec restart
fi
# This update needs a reboot...
#touch /var/run/need_reboot
# Finish
/etc/init.d/fireinfo start
sendprofile
# Update grub config to display new core version
if [ -e /boot/grub/grub.cfg ]; then
grub-mkconfig -o /boot/grub/grub.cfg
fi
sync
# Don't report the exitcode last command
exit 0