diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2022-02-25 00:03:28 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-02-25 13:29:56 +0100 |
commit | a737ba20e244482cd1b3a6e828fed474dd0ef9c0 (patch) | |
tree | 9167cbbe49790944f9973cd6c4a602fb9951bf5d /patches/source/cyrus-sasl/doinst.sh | |
parent | 2858060a502f0a172fe9637656b005c2b704ead2 (diff) | |
download | current-a737ba20e244482cd1b3a6e828fed474dd0ef9c0.tar.gz current-a737ba20e244482cd1b3a6e828fed474dd0ef9c0.tar.xz |
Fri Feb 25 00:03:28 UTC 202220220225000328_15.0
patches/packages/cyrus-sasl-2.1.28-x86_64-1_slack15.0.txz: Upgraded.
This update fixes bugs and security issues.
For more information, see:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19906
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24407
(* Security fix *)
Diffstat (limited to 'patches/source/cyrus-sasl/doinst.sh')
-rw-r--r-- | patches/source/cyrus-sasl/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/source/cyrus-sasl/doinst.sh b/patches/source/cyrus-sasl/doinst.sh new file mode 100644 index 000000000..a2c1b471f --- /dev/null +++ b/patches/source/cyrus-sasl/doinst.sh @@ -0,0 +1,13 @@ +#!/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 etc/rc.d/rc.saslauthd.new |