slackware-current/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild
Patrick J Volkerding ed49432ad9 Thu May 25 00:24:33 UTC 2023
a/elilo-3.16-x86_64-16.txz:  Rebuilt.
  eliloconfig: don't mess with mounting efivarfs. This should be handled by
  rc.S, or by whatever the admin put in /etc/fstab.
a/kernel-firmware-20230523_1ba3519-noarch-1.txz:  Upgraded.
a/kernel-generic-6.1.30-x86_64-1.txz:  Upgraded.
a/kernel-huge-6.1.30-x86_64-1.txz:  Upgraded.
a/kernel-modules-6.1.30-x86_64-1.txz:  Upgraded.
a/sysvinit-scripts-15.1-noarch-5.txz:  Rebuilt.
  rc.S: mount efivarfs rw, may be overridden in /etc/default/efivarfs.
ap/sc-im-0.8.3-x86_64-1.txz:  Upgraded.
d/kernel-headers-6.1.30-x86-1.txz:  Upgraded.
d/parallel-20230522-noarch-1.txz:  Upgraded.
k/kernel-source-6.1.30-noarch-1.txz:  Upgraded.
l/enchant-2.4.0-x86_64-1.txz:  Upgraded.
l/glib2-2.76.3-x86_64-1.txz:  Upgraded.
l/gtk+3-3.24.38-x86_64-1.txz:  Upgraded.
l/qt5-5.15.9_20230523_245f369c-x86_64-1.txz:  Upgraded.
  This update fixes a security issue.
  Qt-based clients may mismatch HSTS headers (Strict-Transport-Security),
  which would prevent the client from switching to a secure HTTPS
  connection as requested by a server.
  For more information, see:
    https://www.cve.org/CVERecord?id=CVE-2023-32762
  (* Security fix *)
n/curl-8.1.1-x86_64-1.txz:  Upgraded.
  This is a bugfix release.
t/texlive-2023.230322-x86_64-3.txz:  Rebuilt.
  This update patches a security issue:
  LuaTeX before 1.17.0 allows execution of arbitrary shell commands when
  compiling a TeX file obtained from an untrusted source. This occurs
  because luatex-core.lua lets the original io.popen be accessed. This also
  affects TeX Live before 2023 r66984 and MiKTeX before 23.5.
  Thanks to Johannes Schoepfer.
  For more information, see:
    https://www.cve.org/CVERecord?id=CVE-2023-32700
  (* Security fix *)
xap/mozilla-firefox-113.0.2-x86_64-1.txz:  Upgraded.
  This is a bugfix release.
  For more information, see:
    https://www.mozilla.org/en-US/firefox/113.0.2/releasenotes/
xfce/libxfce4ui-4.18.4-x86_64-1.txz:  Upgraded.
xfce/xfce4-panel-4.18.4-x86_64-1.txz:  Upgraded.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2023-05-25 03:50:00 +02:00

69 lines
2.4 KiB
Bash
Executable file

#!/bin/bash
# Copyright 2005-2022 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=sysvinit-scripts
VERSION=${VERSION:-15.1}
ARCH=noarch
BUILD=${BUILD:-5}
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
exit 0
fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-sysvinit-scripts
rm -rf $PKG
mkdir -p $TMP $PKG
# Install Slackware scripts and config files from $CWD/scripts/:
mkdir -p $PKG/etc/rc.d
for file in rc.{4,6,K,M,S} rc.cpufreq rc.local rc.loop rc.sysvinit rc.modules rc.modules.local ; do
cp -a $CWD/scripts/$file $PKG/etc/rc.d/${file}.new
chmod 755 $PKG/etc/rc.d/${file}.new
chown root:root $PKG/etc/rc.d/${file}.new
done
cat $CWD/scripts/inittab > $PKG/etc/inittab.new
chmod 644 $PKG/etc/inittab.new
chown root:root $PKG/etc/inittab.new
# Install /etc/default/cpufreq.new:
mkdir -p $PKG/etc/default
cat $CWD/default/cpufreq > $PKG/etc/default/cpufreq.new
# Install /etc/default/efivarfs.new:
cat $CWD/default/efivarfs > $PKG/etc/default/efivarfs.new
mkdir -p $PKG/install
zcat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
# Build the package:
cd $PKG
/sbin/makepkg -l y -c n $TMP/sysvinit-scripts-$VERSION-$ARCH-$BUILD.txz