From 3f536b705bbba01dc72e891122065b7afd4ac779 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Thu, 4 Oct 2018 19:58:13 +0000 Subject: Thu Oct 4 19:58:13 UTC 2018 a/kernel-generic-4.14.74-x86_64-1.txz: Upgraded. a/kernel-huge-4.14.74-x86_64-1.txz: Upgraded. a/kernel-modules-4.14.74-x86_64-1.txz: Upgraded. ap/cups-filters-1.21.3-x86_64-1.txz: Upgraded. d/cmake-3.12.3-x86_64-1.txz: Upgraded. d/kernel-headers-4.14.74-x86-1.txz: Upgraded. k/kernel-source-4.14.74-noarch-1.txz: Upgraded. l/gst-plugins-base-1.14.4-x86_64-1.txz: Upgraded. l/gst-plugins-good-1.14.4-x86_64-1.txz: Upgraded. l/gst-plugins-libav-1.14.4-x86_64-1.txz: Upgraded. l/gstreamer-1.14.4-x86_64-1.txz: Upgraded. n/dovecot-2.3.3-x86_64-1.txz: Upgraded. Thanks to teoberi for the link to the glibc-2.28 crypt() patch. extra/pure-alsa-system/gst-plugins-good-1.14.4-x86_64-1_alsa.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt. --- source/n/dovecot/dovecot.SlackBuild | 6 +++++ source/n/dovecot/dovecot.glibc228.patch | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 source/n/dovecot/dovecot.glibc228.patch (limited to 'source/n') diff --git a/source/n/dovecot/dovecot.SlackBuild b/source/n/dovecot/dovecot.SlackBuild index 5f175de9..989ccb85 100755 --- a/source/n/dovecot/dovecot.SlackBuild +++ b/source/n/dovecot/dovecot.SlackBuild @@ -101,6 +101,12 @@ zcat $CWD/dovecot.default.shadow.auth.diff.gz | patch -p1 --verbose || exit 1 # any need to send people to /usr/doc. Also, make sure that TLS is recommended. zcat $CWD/dovecot.config.README.diff.gz | patch -p1 --verbose || exit 1 +# Fix crypt() usage with glibc-2.28: +zcat $CWD/dovecot.glibc228.patch.gz | patch -p1 --verbose || exit 1 + +# Since the crypt() patch patches configure.ac: +autoreconf -vif + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/source/n/dovecot/dovecot.glibc228.patch b/source/n/dovecot/dovecot.glibc228.patch new file mode 100644 index 00000000..76ef33aa --- /dev/null +++ b/source/n/dovecot/dovecot.glibc228.patch @@ -0,0 +1,45 @@ +From 63a74b9e8e0604486a15a879e7f1a27257322400 Mon Sep 17 00:00:00 2001 +From: Aki Tuomi +Date: Wed, 8 Aug 2018 12:33:20 +0300 +Subject: [PATCH] auth: mycrypt - include crypt.h +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes crypt usage on glibc-2.28 + +Reported by Reuben Farrelly +Patch provided by Thore Bödecker +--- + configure.ac | 2 +- + src/auth/mycrypt.c | 3 +++ + 2 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index dd545ebfdc..c5d8fae666 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -315,7 +315,7 @@ AC_CHECK_HEADERS(strings.h stdint.h unistd.h dirent.h malloc.h \ + quota.h sys/fs/quota_common.h \ + mntent.h sys/mnttab.h sys/event.h sys/time.h sys/mkdev.h linux/dqblk_xfs.h \ + xfs/xqm.h execinfo.h ucontext.h malloc_np.h sys/utsname.h sys/vmount.h \ +- sys/utsname.h glob.h linux/falloc.h ucred.h sys/ucred.h) ++ sys/utsname.h glob.h linux/falloc.h ucred.h sys/ucred.h crypt.h) + + CC_CLANG + AC_CC_PIE +diff --git a/src/auth/mycrypt.c b/src/auth/mycrypt.c +index c49fcf842e..0bd00bc238 100644 +--- a/src/auth/mycrypt.c ++++ b/src/auth/mycrypt.c +@@ -14,6 +14,9 @@ + # define _XPG6 /* Some Solaris versions require this, some break with this */ + #endif + #include ++#ifdef HAVE_CRYPT_H ++# include ++#endif + + #include "mycrypt.h" + + -- cgit v1.2.3