mirror of
git://slackware.nl/current.git
synced 2024-12-30 10:24:23 +01:00
33be03fb13
a/hwdata-0.335-noarch-1.txz: Upgraded. ap/tmux-3.1b-x86_64-1.txz: Upgraded. l/libcap-2.34-x86_64-1.txz: Upgraded. n/mutt-1.14.0-x86_64-1.txz: Upgraded. n/nfs-utils-2.4.3-x86_64-3.txz: Rebuilt. Added /var/lib/nfs/nfsdcltrack database directory for nfsdcltrack. Thanks to upnort. x/xterm-356-x86_64-1.txz: Upgraded. xap/NetworkManager-openvpn-1.8.12-x86_64-1.txz: Added. Thanks to Robby Workman. xap/mozilla-firefox-68.8.0esr-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/firefox/68.8.0/releasenotes/ https://www.mozilla.org/security/advisories/mfsa2020-17/ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12387 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12388 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12389 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-6831 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12392 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12393 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12395 (* Security fix *) xap/mozilla-thunderbird-68.8.0-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/thunderbird/68.8.0/releasenotes/ (* Security fix *) testing/packages/PAM/libcap-2.34-x86_64-1_pam.txz: Upgraded.
41 lines
1.4 KiB
Bash
41 lines
1.4 KiB
Bash
#!/bin/sh
|
|
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...
|
|
}
|
|
config var/lib/nfs/etab.new
|
|
config var/lib/nfs/rmtab.new
|
|
config var/lib/nfs/state.new
|
|
rm -f var/lib/nfs/*.new
|
|
# No, no, no.
|
|
#chown -R rpc:rpc var/lib/nfs
|
|
if [ -x etc/rc.d/rc.nfsd ]; then
|
|
chmod 755 etc/rc.d/rc.nfsd.new
|
|
else
|
|
chmod 644 etc/rc.d/rc.nfsd.new
|
|
fi
|
|
config etc/default/nfs.new
|
|
config etc/rc.d/rc.nfsd.new
|
|
config etc/nfsmount.conf.new
|
|
config etc/exports.new
|
|
# If you already had your own /etc/exports, this one is probably useless...
|
|
rm -f etc/exports.new
|
|
( cd sbin ; rm -rf umount.nfs )
|
|
( cd sbin ; ln -sf mount.nfs umount.nfs )
|
|
( cd usr/man/man8 ; rm -rf rpc.mountd.8.gz )
|
|
( cd usr/man/man8 ; ln -sf mountd.8.gz rpc.mountd.8.gz )
|
|
( cd usr/man/man8 ; rm -rf rpc.nfsd.8.gz )
|
|
( cd usr/man/man8 ; ln -sf nfsd.8.gz rpc.nfsd.8.gz )
|
|
( cd usr/man/man8 ; rm -rf rpc.statd.8.gz )
|
|
( cd usr/man/man8 ; ln -sf statd.8.gz rpc.statd.8.gz )
|
|
( cd usr/man/man8 ; rm -rf rpc.sm-notify.8.gz )
|
|
( cd usr/man/man8 ; ln -sf sm-notify.8.gz rpc.sm-notify.8.gz )
|
|
( cd usr/sbin ; rm -rf rpc.statd )
|
|
( cd usr/sbin ; ln -sf ../../sbin/rpc.statd rpc.statd )
|