mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
Start Core Update 128
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
28
config/rootfiles/oldcore/127/exclude
Normal file
28
config/rootfiles/oldcore/127/exclude
Normal file
@@ -0,0 +1,28 @@
|
||||
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
|
||||
var/ipfire/dma
|
||||
var/ipfire/time
|
||||
var/ipfire/ovpn
|
||||
var/lib/alternatives
|
||||
var/log/cache
|
||||
var/log/dhcpcd.log
|
||||
var/log/messages
|
||||
var/state/dhcp/dhcpd.leases
|
||||
var/updatecache
|
||||
9
config/rootfiles/oldcore/127/filelists/aarch64/files
Normal file
9
config/rootfiles/oldcore/127/filelists/aarch64/files
Normal file
@@ -0,0 +1,9 @@
|
||||
boot/boot.cmd
|
||||
boot/boot.scr
|
||||
etc/system-release
|
||||
etc/issue
|
||||
srv/web/ipfire/cgi-bin/credits.cgi
|
||||
var/ipfire/langs
|
||||
etc/rc.d/init.d/aws
|
||||
etc/rc.d/init.d/unbound
|
||||
srv/web/ipfire/cgi-bin/dnsforward.cgi
|
||||
1
config/rootfiles/oldcore/127/filelists/aarch64/grub
Symbolic link
1
config/rootfiles/oldcore/127/filelists/aarch64/grub
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/aarch64/grub
|
||||
1
config/rootfiles/oldcore/127/filelists/aarch64/python
Symbolic link
1
config/rootfiles/oldcore/127/filelists/aarch64/python
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/aarch64/python
|
||||
@@ -0,0 +1,18 @@
|
||||
lib/modules/KVER-ipfire/extra/compat_xtables.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_CHAOS.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_DELUDE.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_DHCPMAC.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_ECHO.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_IPMARK.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_LOGMARK.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_TARPIT.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_condition.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_fuzzy.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_geoip.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_iface.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_ipp2p.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_ipv4options.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_length2.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_lscan.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_psd.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_quota2.ko
|
||||
2
config/rootfiles/oldcore/127/filelists/armv5tel/files
Normal file
2
config/rootfiles/oldcore/127/filelists/armv5tel/files
Normal file
@@ -0,0 +1,2 @@
|
||||
boot/boot.cmd
|
||||
boot/boot.scr
|
||||
1
config/rootfiles/oldcore/127/filelists/armv5tel/python
Symbolic link
1
config/rootfiles/oldcore/127/filelists/armv5tel/python
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/armv5tel/python
|
||||
@@ -0,0 +1,18 @@
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/compat_xtables.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_CHAOS.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_DELUDE.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_DHCPMAC.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_ECHO.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_IPMARK.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_LOGMARK.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_TARPIT.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_condition.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_fuzzy.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_geoip.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_iface.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_ipp2p.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_ipv4options.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_length2.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_lscan.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_psd.ko
|
||||
lib/modules/KVER-ipfire-kirkwood/extra/xt_quota2.ko
|
||||
@@ -0,0 +1,18 @@
|
||||
lib/modules/KVER-ipfire-multi/extra/compat_xtables.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_CHAOS.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_DELUDE.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_DHCPMAC.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_ECHO.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_IPMARK.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_LOGMARK.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_TARPIT.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_condition.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_fuzzy.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_geoip.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_iface.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_ipp2p.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_ipv4options.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_length2.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_lscan.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_psd.ko
|
||||
lib/modules/KVER-ipfire-multi/extra/xt_quota2.ko
|
||||
20
config/rootfiles/oldcore/127/filelists/files
Normal file
20
config/rootfiles/oldcore/127/filelists/files
Normal file
@@ -0,0 +1,20 @@
|
||||
etc/system-release
|
||||
etc/issue
|
||||
etc/modprobe.d/framebuffer.conf
|
||||
srv/web/ipfire/cgi-bin/credits.cgi
|
||||
var/ipfire/langs
|
||||
etc/rc.d/init.d/aws
|
||||
etc/rc.d/init.d/conntrackd
|
||||
etc/rc.d/init.d/unbound
|
||||
etc/rc.d/rc0.d/K77conntrackd
|
||||
etc/rc.d/rc3.d/S22conntrackd
|
||||
etc/rc.d/rc6.d/K77conntrackd
|
||||
etc/sysctl.conf
|
||||
srv/web/ipfire/cgi-bin/dnsforward.cgi
|
||||
srv/web/ipfire/cgi-bin/ids.cgi
|
||||
srv/web/ipfire/cgi-bin/ovpnmain.cgi
|
||||
srv/web/ipfire/cgi-bin/proxy.cgi
|
||||
srv/web/ipfire/cgi-bin/vpnmain.cgi
|
||||
usr/lib/firewall/firewall-lib.pl
|
||||
var/ipfire/backup/include
|
||||
var/ipfire/geoip-functions.pl
|
||||
1
config/rootfiles/oldcore/127/filelists/fireinfo
Symbolic link
1
config/rootfiles/oldcore/127/filelists/fireinfo
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/fireinfo
|
||||
1
config/rootfiles/oldcore/127/filelists/i586/grub
Symbolic link
1
config/rootfiles/oldcore/127/filelists/i586/grub
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/i586/grub
|
||||
1
config/rootfiles/oldcore/127/filelists/i586/python
Symbolic link
1
config/rootfiles/oldcore/127/filelists/i586/python
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/i586/python
|
||||
@@ -0,0 +1,18 @@
|
||||
lib/modules/KVER-ipfire/extra/compat_xtables.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_CHAOS.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_DELUDE.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_DHCPMAC.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_ECHO.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_IPMARK.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_LOGMARK.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_TARPIT.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_condition.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_fuzzy.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_geoip.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_iface.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_ipp2p.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_ipv4options.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_length2.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_lscan.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_psd.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_quota2.ko
|
||||
1
config/rootfiles/oldcore/127/filelists/pcre
Symbolic link
1
config/rootfiles/oldcore/127/filelists/pcre
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/pcre
|
||||
1
config/rootfiles/oldcore/127/filelists/perl-Net-CIDR-Lite
Symbolic link
1
config/rootfiles/oldcore/127/filelists/perl-Net-CIDR-Lite
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/perl-Net-CIDR-Lite
|
||||
1
config/rootfiles/oldcore/127/filelists/snort
Symbolic link
1
config/rootfiles/oldcore/127/filelists/snort
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/snort
|
||||
1
config/rootfiles/oldcore/127/filelists/sqlite
Symbolic link
1
config/rootfiles/oldcore/127/filelists/sqlite
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/sqlite
|
||||
1
config/rootfiles/oldcore/127/filelists/squid
Symbolic link
1
config/rootfiles/oldcore/127/filelists/squid
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/squid
|
||||
1
config/rootfiles/oldcore/127/filelists/tar
Symbolic link
1
config/rootfiles/oldcore/127/filelists/tar
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/tar
|
||||
1
config/rootfiles/oldcore/127/filelists/unbound
Symbolic link
1
config/rootfiles/oldcore/127/filelists/unbound
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/unbound
|
||||
1
config/rootfiles/oldcore/127/filelists/wget
Symbolic link
1
config/rootfiles/oldcore/127/filelists/wget
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/wget
|
||||
1
config/rootfiles/oldcore/127/filelists/x86_64/grub
Symbolic link
1
config/rootfiles/oldcore/127/filelists/x86_64/grub
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/x86_64/grub
|
||||
1
config/rootfiles/oldcore/127/filelists/x86_64/python
Symbolic link
1
config/rootfiles/oldcore/127/filelists/x86_64/python
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/x86_64/python
|
||||
@@ -0,0 +1,18 @@
|
||||
lib/modules/KVER-ipfire/extra/compat_xtables.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_CHAOS.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_DELUDE.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_DHCPMAC.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_ECHO.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_IPMARK.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_LOGMARK.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_TARPIT.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_condition.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_fuzzy.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_geoip.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_iface.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_ipp2p.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_ipv4options.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_length2.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_lscan.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_psd.ko
|
||||
lib/modules/KVER-ipfire/extra/xt_quota2.ko
|
||||
1
config/rootfiles/oldcore/127/filelists/xtables-addons
Symbolic link
1
config/rootfiles/oldcore/127/filelists/xtables-addons
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/xtables-addons
|
||||
73
config/rootfiles/oldcore/127/update.sh
Normal file
73
config/rootfiles/oldcore/127/update.sh
Normal file
@@ -0,0 +1,73 @@
|
||||
#!/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) 2018 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
|
||||
|
||||
core=127
|
||||
|
||||
# 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
|
||||
|
||||
# Stop services
|
||||
/etc/init.d/squid stop
|
||||
|
||||
# Remove files
|
||||
|
||||
# Extract files
|
||||
extract_files
|
||||
|
||||
# update linker config
|
||||
ldconfig
|
||||
|
||||
# Update Language cache
|
||||
/usr/local/bin/update-lang-cache
|
||||
|
||||
# Regenerate squid configuration file
|
||||
sudo -u nobody /srv/web/ipfire/cgi-bin/proxy.cgi
|
||||
|
||||
# Start services
|
||||
/etc/init.d/unbound restart
|
||||
/etc/init.d/squid start
|
||||
|
||||
# Reload sysctl.conf
|
||||
sysctl -p
|
||||
|
||||
# Re-run depmod
|
||||
depmod -a
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user