mirror of
git://slackware.nl/current.git
synced 2024-12-31 10:28:29 +01:00
a019271253
patches/packages/mozilla-thunderbird-91.6.1-x86_64-1_slack15.0.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/thunderbird/91.6.1/releasenotes/ https://www.mozilla.org/en-US/security/advisories/mfsa2022-07/ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0566 (* Security fix *) patches/packages/php-7.4.28-x86_64-1_slack15.0.txz: Upgraded. This update fixes bugs and a security issue: UAF due to php_filter_float() failing for ints. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21708 (* Security fix *) extra/php80/php80-8.0.16-x86_64-1_slack15.0.txz: Upgraded. This update fixes bugs and a security issue: UAF due to php_filter_float() failing for ints. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21708 (* Security fix *) extra/php81/php81-8.1.3-x86_64-1_slack15.0.txz: Upgraded. This update fixes bugs and a security issue: UAF due to php_filter_float() failing for ints. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21708 (* Security fix *)
29 lines
1 KiB
Bash
29 lines
1 KiB
Bash
if [ "`cat etc/httpd/mod_php.conf 2> /dev/null`" = "" ]; then
|
|
cp -a etc/httpd/mod_php.conf.new etc/httpd/mod_php.conf
|
|
fi
|
|
|
|
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.php-fpm.new:
|
|
if [ -e etc/rc.d/rc.php-fpm ]; then
|
|
cp -a etc/rc.d/rc.php-fpm etc/rc.d/rc.php-fpm.new.incoming
|
|
cat etc/rc.d/rc.php-fpm.new > etc/rc.d/rc.php-fpm.new.incoming
|
|
mv etc/rc.d/rc.php-fpm.new.incoming etc/rc.d/rc.php-fpm.new
|
|
fi
|
|
config etc/rc.d/rc.php-fpm.new
|
|
cp -a etc/php.ini-production etc/php.ini.new
|
|
config etc/php.ini.new
|
|
cp -a etc/php-fpm.conf.default etc/php-fpm.conf.new
|
|
config etc/php-fpm.conf.new
|
|
cp -a etc/php-fpm.d/www.conf.default etc/php-fpm.d/www.conf.new
|
|
config etc/php-fpm.d/www.conf.new
|
|
config etc/httpd/mod_php.conf.new
|