]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Start Core Update 152
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Oct 2020 12:03:34 +0000 (12:03 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Oct 2020 12:03:34 +0000 (12:03 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
40 files changed:
config/rootfiles/core/152/exclude [moved from config/rootfiles/core/151/exclude with 100% similarity]
config/rootfiles/core/152/filelists/files [new file with mode: 0644]
config/rootfiles/core/152/update.sh [new file with mode: 0644]
config/rootfiles/oldcore/151/exclude [new file with mode: 0644]
config/rootfiles/oldcore/151/filelists/Digest-HMAC [moved from config/rootfiles/core/151/filelists/Digest-HMAC with 100% similarity]
config/rootfiles/oldcore/151/filelists/Digest-SHA1 [moved from config/rootfiles/core/151/filelists/Digest-SHA1 with 100% similarity]
config/rootfiles/oldcore/151/filelists/Net-DNS [moved from config/rootfiles/core/151/filelists/Net-DNS with 100% similarity]
config/rootfiles/oldcore/151/filelists/aarch64/binutils [moved from config/rootfiles/core/151/filelists/aarch64/binutils with 100% similarity]
config/rootfiles/oldcore/151/filelists/aarch64/boost [moved from config/rootfiles/core/151/filelists/aarch64/boost with 100% similarity]
config/rootfiles/oldcore/151/filelists/armv5tel/binutils [moved from config/rootfiles/core/151/filelists/armv5tel/binutils with 100% similarity]
config/rootfiles/oldcore/151/filelists/armv5tel/boost [moved from config/rootfiles/core/151/filelists/armv5tel/boost with 100% similarity]
config/rootfiles/oldcore/151/filelists/collectd [moved from config/rootfiles/core/151/filelists/collectd with 100% similarity]
config/rootfiles/oldcore/151/filelists/conntrack-tools [moved from config/rootfiles/core/151/filelists/conntrack-tools with 100% similarity]
config/rootfiles/oldcore/151/filelists/dhcpcd [moved from config/rootfiles/core/151/filelists/dhcpcd with 100% similarity]
config/rootfiles/oldcore/151/filelists/files [moved from config/rootfiles/core/151/filelists/files with 100% similarity]
config/rootfiles/oldcore/151/filelists/fontconfig [moved from config/rootfiles/core/151/filelists/fontconfig with 100% similarity]
config/rootfiles/oldcore/151/filelists/freetype [moved from config/rootfiles/core/151/filelists/freetype with 100% similarity]
config/rootfiles/oldcore/151/filelists/i586/binutils [moved from config/rootfiles/core/151/filelists/i586/binutils with 100% similarity]
config/rootfiles/oldcore/151/filelists/i586/boost [moved from config/rootfiles/core/151/filelists/i586/boost with 100% similarity]
config/rootfiles/oldcore/151/filelists/i586/openssl-sse2 [moved from config/rootfiles/core/151/filelists/i586/openssl-sse2 with 100% similarity]
config/rootfiles/oldcore/151/filelists/iptables [moved from config/rootfiles/core/151/filelists/iptables with 100% similarity]
config/rootfiles/oldcore/151/filelists/knot [moved from config/rootfiles/core/151/filelists/knot with 100% similarity]
config/rootfiles/oldcore/151/filelists/lcms2 [moved from config/rootfiles/core/151/filelists/lcms2 with 100% similarity]
config/rootfiles/oldcore/151/filelists/libgcrypt [moved from config/rootfiles/core/151/filelists/libgcrypt with 100% similarity]
config/rootfiles/oldcore/151/filelists/libidn [moved from config/rootfiles/core/151/filelists/libidn with 100% similarity]
config/rootfiles/oldcore/151/filelists/libnetfilter_conntrack [moved from config/rootfiles/core/151/filelists/libnetfilter_conntrack with 100% similarity]
config/rootfiles/oldcore/151/filelists/libnetfilter_queue [moved from config/rootfiles/core/151/filelists/libnetfilter_queue with 100% similarity]
config/rootfiles/oldcore/151/filelists/lmdb [moved from config/rootfiles/core/151/filelists/lmdb with 100% similarity]
config/rootfiles/oldcore/151/filelists/logwatch [moved from config/rootfiles/core/151/filelists/logwatch with 100% similarity]
config/rootfiles/oldcore/151/filelists/openjpeg [moved from config/rootfiles/core/151/filelists/openjpeg with 100% similarity]
config/rootfiles/oldcore/151/filelists/openssh [moved from config/rootfiles/core/151/filelists/openssh with 100% similarity]
config/rootfiles/oldcore/151/filelists/openssl [moved from config/rootfiles/core/151/filelists/openssl with 100% similarity]
config/rootfiles/oldcore/151/filelists/poppler [moved from config/rootfiles/core/151/filelists/poppler with 100% similarity]
config/rootfiles/oldcore/151/filelists/poppler-data [moved from config/rootfiles/core/151/filelists/poppler-data with 100% similarity]
config/rootfiles/oldcore/151/filelists/qpdf [moved from config/rootfiles/core/151/filelists/qpdf with 100% similarity]
config/rootfiles/oldcore/151/filelists/strongswan [moved from config/rootfiles/core/151/filelists/strongswan with 100% similarity]
config/rootfiles/oldcore/151/filelists/x86_64/binutils [moved from config/rootfiles/core/151/filelists/x86_64/binutils with 100% similarity]
config/rootfiles/oldcore/151/filelists/x86_64/boost [moved from config/rootfiles/core/151/filelists/x86_64/boost with 100% similarity]
config/rootfiles/oldcore/151/update.sh [moved from config/rootfiles/core/151/update.sh with 100% similarity]
make.sh

diff --git a/config/rootfiles/core/152/filelists/files b/config/rootfiles/core/152/filelists/files
new file mode 100644 (file)
index 0000000..0894d82
--- /dev/null
@@ -0,0 +1,3 @@
+etc/system-release
+etc/issue
+srv/web/ipfire/cgi-bin/credits.cgi
diff --git a/config/rootfiles/core/152/update.sh b/config/rootfiles/core/152/update.sh
new file mode 100644 (file)
index 0000000..5a667aa
--- /dev/null
@@ -0,0 +1,67 @@
+#!/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=152
+
+# 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
+
+# Stop services
+
+# Extract files
+extract_files
+
+# update linker config
+ldconfig
+
+# Update Language cache
+/usr/local/bin/update-lang-cache
+
+# Filesytem cleanup
+/usr/local/bin/filesystem-cleanup
+
+# Start services
+
+# 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
diff --git a/config/rootfiles/oldcore/151/exclude b/config/rootfiles/oldcore/151/exclude
new file mode 100644 (file)
index 0000000..e7500a0
--- /dev/null
@@ -0,0 +1,32 @@
+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/firewall/locationblock
+var/ipfire/fwhosts/customlocationgrp
+var/ipfire/ovpn
+var/ipfire/urlfilter/blacklist
+var/ipfire/urlfilter/settings
+var/lib/alternatives
+var/log/cache
+var/log/dhcpcd.log
+var/log/messages
+var/state/dhcp/dhcpd.leases
+var/updatecache
diff --git a/make.sh b/make.sh
index 7b4ffc1f7dbf4c3fb1f77d515b516548d86e8ea6..c7dd0e3f9838a975471b60d896c3a070f3155e34 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -26,7 +26,7 @@ NAME="IPFire"                                                 # Software name
 SNAME="ipfire"                                                 # Short name
 # If you update the version don't forget to update backupiso and add it to core update
 VERSION="2.25"                                                 # Version number
-CORE="151"                                                     # Core Level (Filename)
+CORE="152"                                                     # Core Level (Filename)
 SLOGAN="www.ipfire.org"                                                # Software slogan
 CONFIG_ROOT=/var/ipfire                                                # Configuration rootdir
 NICE=10                                                                # Nice level