mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
0e47cd9c3d
ap/mariadb-10.5.4-x86_64-1.txz: Upgraded. d/guile-3.0.4-x86_64-1.txz: Upgraded. Shared library .so-version bump. Looks like the previous bump was a mistake: This release fixes the SONAME of libguile-3.0.so, which was erroneously bumped in 3.0.3 compared to 3.0.2. Distributions are strongly encouraged to use 3.0.4 instead of 3.0.3. d/make-4.2.1-x86_64-7.txz: Rebuilt. Recompiled against guile-3.0.4. l/libjpeg-turbo-2.0.5-x86_64-1.txz: Upgraded. This update fixes bugs and a security issue: Fixed an issue in the PPM reader that caused a buffer overrun in cjpeg, TJBench, or the `tjLoadImage()` function if one of the values in a binary PPM/PGM input file exceeded the maximum value defined in the file's header and that maximum value was less than 255. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13790 (* Security fix *) n/ModemManager-1.14.0-x86_64-1.txz: Upgraded. n/curl-7.71.0-x86_64-1.txz: Upgraded. This update fixes security issues: curl overwrite local file with -J [111] Partial password leak over DNS on HTTP redirect [48] For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8177 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8169 (* Security fix *) n/gnutls-3.6.14-x86_64-3.txz: Rebuilt. Recompiled against guile-3.0.4. n/mutt-1.14.5-x86_64-1.txz: Upgraded. x/libwacom-1.4-x86_64-1.txz: Upgraded.
35 lines
1,018 B
Bash
35 lines
1,018 B
Bash
config() {
|
|
NEW="$1"
|
|
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
|
# If there's no config file by that name, mv it over:
|
|
if [ ! -r $OLD ]; then
|
|
mv $NEW $OLD
|
|
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
|
|
# toss the redundant copy
|
|
rm $NEW
|
|
fi
|
|
# Otherwise, we leave the .new copy for the admin to consider...
|
|
}
|
|
|
|
# Keep same perms on rc.mysqld.new:
|
|
if [ -e etc/rc.d/rc.mysqld ]; then
|
|
cp -a etc/rc.d/rc.mysqld etc/rc.d/rc.mysqld.new.incoming
|
|
cat etc/rc.d/rc.mysqld.new > etc/rc.d/rc.mysqld.new.incoming
|
|
mv etc/rc.d/rc.mysqld.new.incoming etc/rc.d/rc.mysqld.new
|
|
fi
|
|
|
|
config etc/rc.d/rc.mysqld.new
|
|
config etc/mysqlaccess.conf.new
|
|
config etc/my.cnf.new
|
|
config etc/my.cnf.d/client.cnf.new
|
|
config etc/my.cnf.d/mysql-clients.cnf.new
|
|
config etc/my.cnf.d/s3.cnf.new
|
|
config etc/my.cnf.d/server.cnf.new
|
|
config etc/my.cnf.d/spider.cnf.new
|
|
config etc/logrotate.d/mysql.new
|
|
|
|
# Not supported in every $ARCH:
|
|
if [ -r etc/my.cnf.d/tokudb.cnf.new ]; then
|
|
config etc/my.cnf.d/tokudb.cnf.new
|
|
fi
|
|
|