diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2024-08-14 19:36:01 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2024-08-15 13:30:54 +0200 |
commit | 5edf138e9cd761f47f762bdb53e71922664953e3 (patch) | |
tree | 2babfdc9493c7c98a031cd501b28dac308201f10 | |
parent | 690d923d27d1555013a68226a076b8bccbb1c916 (diff) | |
download | current-20240814193601_15.0.tar.gz current-20240814193601_15.0.tar.xz |
Wed Aug 14 19:36:01 UTC 202420240814193601_15.0
patches/packages/dovecot-2.3.21.1-x86_64-1_slack15.0.txz: Upgraded.
This update fixes security issues:
A large number of address headers in email resulted in excessive CPU usage.
Abnormally large email headers are now truncated or discarded, with a limit
of 10MB on a single header and 50MB for all the headers of all the parts of
an email.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2024-23184
https://www.cve.org/CVERecord?id=CVE-2024-23185
(* Security fix *)
-rw-r--r-- | ChangeLog.rss | 24 | ||||
-rw-r--r-- | ChangeLog.txt | 12 | ||||
-rw-r--r-- | FILELIST.TXT | 167 | ||||
-rw-r--r-- | patches/packages/dovecot-2.3.21.1-x86_64-1_slack15.0.txt | 11 | ||||
-rw-r--r-- | patches/source/dovecot/doinst.sh | 49 | ||||
-rwxr-xr-x | patches/source/dovecot/dovecot.SlackBuild | 196 | ||||
-rw-r--r-- | patches/source/dovecot/dovecot.config.README.diff | 20 | ||||
-rw-r--r-- | patches/source/dovecot/dovecot.default.shadow.auth.diff | 40 | ||||
-rw-r--r-- | patches/source/dovecot/dovecot.pam | 5 | ||||
-rw-r--r-- | patches/source/dovecot/dovecot.url | 1 | ||||
-rw-r--r-- | patches/source/dovecot/rc.dovecot | 46 | ||||
-rw-r--r-- | patches/source/dovecot/slack-desc | 19 | ||||
-rwxr-xr-x | recompress.sh | 3 |
13 files changed, 514 insertions, 79 deletions
diff --git a/ChangeLog.rss b/ChangeLog.rss index 275416c63..20b277f25 100644 --- a/ChangeLog.rss +++ b/ChangeLog.rss @@ -11,10 +11,30 @@ <description>Tracking Slackware development in git.</description> <language>en-us</language> <id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id> - <pubDate>Sun, 11 Aug 2024 19:00:08 GMT</pubDate> - <lastBuildDate>Mon, 12 Aug 2024 11:30:35 GMT</lastBuildDate> + <pubDate>Wed, 14 Aug 2024 19:36:01 GMT</pubDate> + <lastBuildDate>Thu, 15 Aug 2024 11:30:38 GMT</lastBuildDate> <generator>maintain_current_git.sh v 1.17</generator> <item> + <title>Wed, 14 Aug 2024 19:36:01 GMT</title> + <pubDate>Wed, 14 Aug 2024 19:36:01 GMT</pubDate> + <link>https://git.slackware.nl/current/tag/?h=20240814193601</link> + <guid isPermaLink="false">20240814193601</guid> + <description> + <![CDATA[<pre> +patches/packages/dovecot-2.3.21.1-x86_64-1_slack15.0.txz: Upgraded. + This update fixes security issues: + A large number of address headers in email resulted in excessive CPU usage. + Abnormally large email headers are now truncated or discarded, with a limit + of 10MB on a single header and 50MB for all the headers of all the parts of + an email. + For more information, see: + https://www.cve.org/CVERecord?id=CVE-2024-23184 + https://www.cve.org/CVERecord?id=CVE-2024-23185 + (* Security fix *) + </pre>]]> + </description> + </item> + <item> <title>Sun, 11 Aug 2024 19:00:08 GMT</title> <pubDate>Sun, 11 Aug 2024 19:00:08 GMT</pubDate> <link>https://git.slackware.nl/current/tag/?h=20240811190008</link> diff --git a/ChangeLog.txt b/ChangeLog.txt index 3ec8957b0..6d2eaee30 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,15 @@ +Wed Aug 14 19:36:01 UTC 2024 +patches/packages/dovecot-2.3.21.1-x86_64-1_slack15.0.txz: Upgraded. + This update fixes security issues: + A large number of address headers in email resulted in excessive CPU usage. + Abnormally large email headers are now truncated or discarded, with a limit + of 10MB on a single header and 50MB for all the headers of all the parts of + an email. + For more information, see: + https://www.cve.org/CVERecord?id=CVE-2024-23184 + https://www.cve.org/CVERecord?id=CVE-2024-23185 + (* Security fix *) ++--------------------------+ Sun Aug 11 19:00:08 UTC 2024 These are needed to build Chromium. Thanks to alienBOB. We'll probably move them to /extra once the Mozilla stuff needs it. diff --git a/FILELIST.TXT b/FILELIST.TXT index 91540d940..1642299dc 100644 --- a/FILELIST.TXT +++ b/FILELIST.TXT @@ -1,20 +1,20 @@ -Sun Aug 11 19:02:35 UTC 2024 +Wed Aug 14 19:39:09 UTC 2024 Here is the file list for this directory. If you are using a mirror site and find missing or extra files in the disk subdirectories, please have the archive administrator refresh the mirror. -drwxr-xr-x 12 root root 4096 2024-08-11 19:00 . +drwxr-xr-x 12 root root 4096 2024-08-14 19:36 . -rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0 -rw-r--r-- 1 root root 16609 2022-03-30 19:03 ./CHANGES_AND_HINTS.TXT --rw-r--r-- 1 root root 1249500 2024-08-11 18:25 ./CHECKSUMS.md5 --rw-r--r-- 1 root root 195 2024-08-11 18:25 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 1249500 2024-08-11 19:02 ./CHECKSUMS.md5 +-rw-r--r-- 1 root root 195 2024-08-11 19:02 ./CHECKSUMS.md5.asc -rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING -rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3 -rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT -rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT --rw-r--r-- 1 root root 2150191 2024-08-11 19:00 ./ChangeLog.txt +-rw-r--r-- 1 root root 2150755 2024-08-14 19:36 ./ChangeLog.txt drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT -rw-r--r-- 1 root root 1187840 2021-06-15 19:16 ./EFI/BOOT/bootx64.efi @@ -25,7 +25,7 @@ drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT -rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh -rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg -rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg --rw-r--r-- 1 root root 1634689 2024-08-11 18:25 ./FILELIST.TXT +-rw-r--r-- 1 root root 1634689 2024-08-11 19:02 ./FILELIST.TXT -rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY -rw-r--r-- 1 root root 864745 2022-02-02 08:25 ./PACKAGES.TXT -rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT @@ -832,13 +832,13 @@ drwxr-xr-x 2 root root 4096 2022-12-17 19:52 ./pasture/source/samba -rw-r--r-- 1 root root 7921 2018-04-29 17:31 ./pasture/source/samba/smb.conf.default -rw-r--r-- 1 root root 7933 2018-01-14 20:41 ./pasture/source/samba/smb.conf.default.orig -rw-r--r-- 1 root root 536 2017-03-23 19:18 ./pasture/source/samba/smb.conf.diff.gz -drwxr-xr-x 4 root root 4096 2024-08-09 21:11 ./patches --rw-r--r-- 1 root root 128509 2024-08-09 21:11 ./patches/CHECKSUMS.md5 --rw-r--r-- 1 root root 195 2024-08-09 21:11 ./patches/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 174787 2024-08-09 21:11 ./patches/FILE_LIST --rw-r--r-- 1 root root 18032340 2024-08-09 21:11 ./patches/MANIFEST.bz2 --rw-r--r-- 1 root root 90803 2024-08-09 21:11 ./patches/PACKAGES.TXT -drwxr-xr-x 7 root root 32768 2024-08-09 21:10 ./patches/packages +drwxr-xr-x 4 root root 4096 2024-08-14 19:39 ./patches +-rw-r--r-- 1 root root 129395 2024-08-14 19:39 ./patches/CHECKSUMS.md5 +-rw-r--r-- 1 root root 195 2024-08-14 19:39 ./patches/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 175958 2024-08-14 19:39 ./patches/FILE_LIST +-rw-r--r-- 1 root root 18065667 2024-08-14 19:39 ./patches/MANIFEST.bz2 +-rw-r--r-- 1 root root 91432 2024-08-14 19:39 ./patches/PACKAGES.TXT +drwxr-xr-x 7 root root 32768 2024-08-14 19:38 ./patches/packages -rw-r--r-- 1 root root 360 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 2389564 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txz.asc @@ -902,6 +902,9 @@ drwxr-xr-x 7 root root 32768 2024-08-09 21:10 ./patches/packages -rw-r--r-- 1 root root 443 2024-02-14 03:10 ./patches/packages/dnsmasq-2.90-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 413640 2024-02-14 03:10 ./patches/packages/dnsmasq-2.90-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2024-02-14 03:10 ./patches/packages/dnsmasq-2.90-x86_64-1_slack15.0.txz.asc +-rw-r--r-- 1 root root 450 2024-08-14 18:58 ./patches/packages/dovecot-2.3.21.1-x86_64-1_slack15.0.txt +-rw-r--r-- 1 root root 3374604 2024-08-14 18:58 ./patches/packages/dovecot-2.3.21.1-x86_64-1_slack15.0.txz +-rw-r--r-- 1 root root 195 2024-08-14 18:58 ./patches/packages/dovecot-2.3.21.1-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 481 2024-06-22 19:19 ./patches/packages/emacs-29.4-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 44042948 2024-06-22 19:19 ./patches/packages/emacs-29.4-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 195 2024-06-22 19:19 ./patches/packages/emacs-29.4-x86_64-1_slack15.0.txz.asc @@ -1282,7 +1285,7 @@ drwxr-xr-x 2 root root 4096 2024-06-08 19:45 ./patches/packages/old-linux -rw-r--r-- 1 root root 463 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 459652 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz.asc -drwxr-xr-x 120 root root 4096 2024-08-09 18:59 ./patches/source +drwxr-xr-x 121 root root 4096 2024-08-14 19:12 ./patches/source drwxr-xr-x 2 root root 4096 2023-09-26 19:22 ./patches/source/Cython -rw-r--r-- 1 root root 1623580 2023-07-04 19:24 ./patches/source/Cython/Cython-0.29.36.tar.lz -rwxr-xr-x 1 root root 3041 2023-09-26 19:23 ./patches/source/Cython/Cython.SlackBuild @@ -1455,6 +1458,16 @@ drwxr-xr-x 2 root root 4096 2024-02-14 03:01 ./patches/source/dnsmasq -rw-r--r-- 1 root root 345 2021-04-25 18:48 ./patches/source/dnsmasq/doinst.sh.gz -rw-r--r-- 1 root root 383 2021-04-25 18:44 ./patches/source/dnsmasq/rc.dnsmasq.gz -rw-r--r-- 1 root root 898 2018-02-27 06:13 ./patches/source/dnsmasq/slack-desc +drwxr-xr-x 2 root root 4096 2024-08-14 18:51 ./patches/source/dovecot +-rw-r--r-- 1 root root 574 2020-02-12 17:48 ./patches/source/dovecot/doinst.sh.gz +-rw-r--r-- 1 root root 4578742 2024-08-14 09:55 ./patches/source/dovecot/dovecot-2.3.21.1.tar.lz +-rwxr-xr-x 1 root root 6203 2024-08-14 18:52 ./patches/source/dovecot/dovecot.SlackBuild +-rw-r--r-- 1 root root 498 2017-11-15 01:04 ./patches/source/dovecot/dovecot.config.README.diff.gz +-rw-r--r-- 1 root root 650 2018-01-31 23:05 ./patches/source/dovecot/dovecot.default.shadow.auth.diff.gz +-rw-r--r-- 1 root root 157 2020-02-12 17:46 ./patches/source/dovecot/dovecot.pam +-rw-r--r-- 1 root root 33 2024-08-14 18:51 ./patches/source/dovecot/dovecot.url +-rw-r--r-- 1 root root 554 2017-11-19 20:37 ./patches/source/dovecot/rc.dovecot +-rw-r--r-- 1 root root 937 2018-02-27 06:13 ./patches/source/dovecot/slack-desc drwxr-xr-x 2 root root 4096 2024-06-22 19:17 ./patches/source/emacs -rw-r--r-- 1 root root 312 2008-04-06 03:10 ./patches/source/emacs/doinst.sh.gz -rw-r--r-- 1 root root 52210344 2024-06-22 15:10 ./patches/source/emacs/emacs-29.4.tar.xz @@ -2568,14 +2581,14 @@ drwxr-xr-x 2 root root 4096 2024-07-10 20:35 ./patches/source/xorg-server -rw-r--r-- 1 root root 1127 2023-10-25 18:35 ./patches/source/xorg-server/patch/xorg-server/CVE-2023-5367.patch.gz -rw-r--r-- 1 root root 1534 2023-10-25 18:40 ./patches/source/xorg-server/patch/xorg-server/CVE-2023-5380.patch.gz -rw-r--r-- 1 root root 1150 2023-12-13 20:03 ./patches/source/xorg-server/patch/xorg-server/CVE-2023-6377.patch.gz --rw-r--r-- 1 root root 972 2023-12-13 20:03 ./patches/source/xorg-server/patch/xorg-server/CVE-2023-6478.patch.gz --rw-r--r-- 1 root root 998 2024-01-16 19:41 ./patches/source/xorg-server/patch/xorg-server/CVE-2023-6816.patch.gz --rw-r--r-- 1 root root 1388 2024-01-16 19:44 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-0229.01.patch.gz --rw-r--r-- 1 root root 2299 2024-01-16 19:44 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-0229.02.patch.gz --rw-r--r-- 1 root root 781 2024-01-16 19:44 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-0229.03.patch.gz --rw-r--r-- 1 root root 1160 2024-01-16 19:47 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-0408.patch.gz --rw-r--r-- 1 root root 981 2024-01-16 19:46 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-0409.patch.gz --rw-r--r-- 1 root root 1351 2024-01-16 19:45 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-21885.patch.gz +-rw-r--r-- 1 root root 972 2023-12-13 20:03 ./patches/source/xorg-server/patch/xorg-server/CVE-2023-6478.patch.gz +-rw-r--r-- 1 root root 998 2024-01-16 19:41 ./patches/source/xorg-server/patch/xorg-server/CVE-2023-6816.patch.gz +-rw-r--r-- 1 root root 1388 2024-01-16 19:44 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-0229.01.patch.gz +-rw-r--r-- 1 root root 2299 2024-01-16 19:44 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-0229.02.patch.gz +-rw-r--r-- 1 root root 781 2024-01-16 19:44 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-0229.03.patch.gz +-rw-r--r-- 1 root root 1160 2024-01-16 19:47 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-0408.patch.gz +-rw-r--r-- 1 root root 981 2024-01-16 19:46 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-0409.patch.gz +-rw-r--r-- 1 root root 1351 2024-01-16 19:45 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-21885.patch.gz -rw-r--r-- 1 root root 1124 2024-01-16 19:45 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-21886.01.patch.gz -rw-r--r-- 1 root root 859 2024-01-16 19:46 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-21886.02.patch.gz -rw-r--r-- 1 root root 801 2024-04-03 21:41 ./patches/source/xorg-server/patch/xorg-server/CVE-2024-31080.patch.gz @@ -5325,19 +5338,19 @@ drwxr-xr-x 2 root root 69632 2022-02-02 04:20 ./slackware64/l -rw-r--r-- 1 root root 163 2021-02-13 07:13 ./slackware64/l/libsndfile-1.0.31-x86_64-2.txz.asc -rw-r--r-- 1 root root 527 2021-02-13 07:13 ./slackware64/l/libsodium-1.0.18-x86_64-3.txt -rw-r--r-- 1 root root 169616 2021-02-13 07:13 ./slackware64/l/libsodium-1.0.18-x86_64-3.txz --rw-r--r-- 1 root root 163 2021-02-13 07:13 ./slackware64/l/libsodium-1.0.18-x86_64-3.txz.asc --rw-r--r-- 1 root root 349 2021-11-25 17:59 ./slackware64/l/libsoup-2.74.2-x86_64-1.txt --rw-r--r-- 1 root root 528648 2021-11-25 17:59 ./slackware64/l/libsoup-2.74.2-x86_64-1.txz --rw-r--r-- 1 root root 163 2021-11-25 17:59 ./slackware64/l/libsoup-2.74.2-x86_64-1.txz.asc --rw-r--r-- 1 root root 456 2021-02-13 07:13 ./slackware64/l/libspectre-0.2.9-x86_64-4.txt --rw-r--r-- 1 root root 39392 2021-02-13 07:13 ./slackware64/l/libspectre-0.2.9-x86_64-4.txz --rw-r--r-- 1 root root 163 2021-02-13 07:13 ./slackware64/l/libspectre-0.2.9-x86_64-4.txz.asc --rw-r--r-- 1 root root 405 2021-08-29 02:33 ./slackware64/l/libssh-0.9.6-x86_64-1.txt --rw-r--r-- 1 root root 238560 2021-08-29 02:33 ./slackware64/l/libssh-0.9.6-x86_64-1.txz --rw-r--r-- 1 root root 163 2021-08-29 02:33 ./slackware64/l/libssh-0.9.6-x86_64-1.txz.asc --rw-r--r-- 1 root root 251 2021-09-25 04:32 ./slackware64/l/libssh2-1.10.0-x86_64-1.txt --rw-r--r-- 1 root root 260528 2021-09-25 04:32 ./slackware64/l/libssh2-1.10.0-x86_64-1.txz --rw-r--r-- 1 root root 163 2021-09-25 04:32 ./slackware64/l/libssh2-1.10.0-x86_64-1.txz.asc +-rw-r--r-- 1 root root 163 2021-02-13 07:13 ./slackware64/l/libsodium-1.0.18-x86_64-3.txz.asc +-rw-r--r-- 1 root root 349 2021-11-25 17:59 ./slackware64/l/libsoup-2.74.2-x86_64-1.txt +-rw-r--r-- 1 root root 528648 2021-11-25 17:59 ./slackware64/l/libsoup-2.74.2-x86_64-1.txz +-rw-r--r-- 1 root root 163 2021-11-25 17:59 ./slackware64/l/libsoup-2.74.2-x86_64-1.txz.asc +-rw-r--r-- 1 root root 456 2021-02-13 07:13 ./slackware64/l/libspectre-0.2.9-x86_64-4.txt +-rw-r--r-- 1 root root 39392 2021-02-13 07:13 ./slackware64/l/libspectre-0.2.9-x86_64-4.txz +-rw-r--r-- 1 root root 163 2021-02-13 07:13 ./slackware64/l/libspectre-0.2.9-x86_64-4.txz.asc +-rw-r--r-- 1 root root 405 2021-08-29 02:33 ./slackware64/l/libssh-0.9.6-x86_64-1.txt +-rw-r--r-- 1 root root 238560 2021-08-29 02:33 ./slackware64/l/libssh-0.9.6-x86_64-1.txz +-rw-r--r-- 1 root root 163 2021-08-29 02:33 ./slackware64/l/libssh-0.9.6-x86_64-1.txz.asc +-rw-r--r-- 1 root root 251 2021-09-25 04:32 ./slackware64/l/libssh2-1.10.0-x86_64-1.txt +-rw-r--r-- 1 root root 260528 2021-09-25 04:32 ./slackware64/l/libssh2-1.10.0-x86_64-1.txz +-rw-r--r-- 1 root root 163 2021-09-25 04:32 ./slackware64/l/libssh2-1.10.0-x86_64-1.txz.asc -rw-r--r-- 1 root root 425 2021-11-10 19:35 ./slackware64/l/libtasn1-4.18.0-x86_64-1.txt -rw-r--r-- 1 root root 124296 2021-11-10 19:35 ./slackware64/l/libtasn1-4.18.0-x86_64-1.txz -rw-r--r-- 1 root root 163 2021-11-10 19:35 ./slackware64/l/libtasn1-4.18.0-x86_64-1.txz.asc @@ -8226,17 +8239,17 @@ drwxr-xr-x 2 root root 4096 2020-01-12 21:23 ./source/a/nvi/patches -rw-r--r-- 1 root root 561 2019-07-26 07:36 ./source/a/nvi/patches/nvi-08-tempfile_umask.patch.gz -rw-r--r-- 1 root root 439 2019-07-26 07:36 ./source/a/nvi/patches/nvi-09-casting.patch.gz -rw-r--r-- 1 root root 530 2019-07-26 07:36 ./source/a/nvi/patches/nvi-10-no_one_line_visual.patch.gz --rw-r--r-- 1 root root 380 2019-07-26 07:36 ./source/a/nvi/patches/nvi-11-backward_sentence_moving.patch.gz --rw-r--r-- 1 root root 430 2019-07-26 07:36 ./source/a/nvi/patches/nvi-12-horiz_scroll_count.patch.gz --rw-r--r-- 1 root root 1105 2019-07-26 07:36 ./source/a/nvi/patches/nvi-13-widechar_horrors.patch.gz --rw-r--r-- 1 root root 609 2019-07-26 07:36 ./source/a/nvi/patches/nvi-14-private_regex_fixes.patch.gz --rw-r--r-- 1 root root 550 2019-07-26 07:36 ./source/a/nvi/patches/nvi-15-search_word.patch.gz --rw-r--r-- 1 root root 6217 2019-07-26 07:36 ./source/a/nvi/patches/nvi-16-manpage_errors.patch.gz --rw-r--r-- 1 root root 1176 2019-07-26 07:36 ./source/a/nvi/patches/nvi-17-tutorial_typos.patch.gz --rw-r--r-- 1 root root 477 2019-07-26 07:36 ./source/a/nvi/patches/nvi-18-dbpagesize_binpower.patch.gz --rw-r--r-- 1 root root 388 2019-07-26 07:36 ./source/a/nvi/patches/nvi-19-include_term_h.patch.gz --rw-r--r-- 1 root root 512 2019-07-26 07:36 ./source/a/nvi/patches/nvi-20-glibc_has_grantpt.patch.gz --rw-r--r-- 1 root root 845 2019-07-26 07:36 ./source/a/nvi/patches/nvi-21-exrc_writability_check.patch.gz +-rw-r--r-- 1 root root 380 2019-07-26 07:36 ./source/a/nvi/patches/nvi-11-backward_sentence_moving.patch.gz +-rw-r--r-- 1 root root 430 2019-07-26 07:36 ./source/a/nvi/patches/nvi-12-horiz_scroll_count.patch.gz +-rw-r--r-- 1 root root 1105 2019-07-26 07:36 ./source/a/nvi/patches/nvi-13-widechar_horrors.patch.gz +-rw-r--r-- 1 root root 609 2019-07-26 07:36 ./source/a/nvi/patches/nvi-14-private_regex_fixes.patch.gz +-rw-r--r-- 1 root root 550 2019-07-26 07:36 ./source/a/nvi/patches/nvi-15-search_word.patch.gz +-rw-r--r-- 1 root root 6217 2019-07-26 07:36 ./source/a/nvi/patches/nvi-16-manpage_errors.patch.gz +-rw-r--r-- 1 root root 1176 2019-07-26 07:36 ./source/a/nvi/patches/nvi-17-tutorial_typos.patch.gz +-rw-r--r-- 1 root root 477 2019-07-26 07:36 ./source/a/nvi/patches/nvi-18-dbpagesize_binpower.patch.gz +-rw-r--r-- 1 root root 388 2019-07-26 07:36 ./source/a/nvi/patches/nvi-19-include_term_h.patch.gz +-rw-r--r-- 1 root root 512 2019-07-26 07:36 ./source/a/nvi/patches/nvi-20-glibc_has_grantpt.patch.gz +-rw-r--r-- 1 root root 845 2019-07-26 07:36 ./source/a/nvi/patches/nvi-21-exrc_writability_check.patch.gz -rw-r--r-- 1 root root 668 2019-07-26 07:36 ./source/a/nvi/patches/nvi-23-debian_alternatives.patch.gz -rw-r--r-- 1 root root 603 2019-07-26 07:36 ./source/a/nvi/patches/nvi-24-fallback_to_dumb_term.patch.gz -rw-r--r-- 1 root root 741 2019-07-26 07:36 ./source/a/nvi/patches/nvi-25-manpage_note_dropped_F.patch.gz @@ -11355,17 +11368,17 @@ drwxr-xr-x 3 root root 12288 2022-01-21 19:09 ./source/kde/kde/src/framewor -rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/extra-cmake-modules-5.90.0.tar.xz.sig -rw-r--r-- 1 root root 1758208 2022-01-01 14:29 ./source/kde/kde/src/frameworks/frameworkintegration-5.90.0.tar.xz -rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/frameworkintegration-5.90.0.tar.xz.sig --rw-r--r-- 1 root root 73808 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kactivities-5.90.0.tar.xz --rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kactivities-5.90.0.tar.xz.sig --rw-r--r-- 1 root root 84368 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kactivities-stats-5.90.0.tar.xz --rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kactivities-stats-5.90.0.tar.xz.sig --rw-r--r-- 1 root root 197364 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kapidox-5.90.0.tar.xz --rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kapidox-5.90.0.tar.xz.sig --rw-r--r-- 1 root root 986272 2022-01-01 14:29 ./source/kde/kde/src/frameworks/karchive-5.90.0.tar.xz --rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/karchive-5.90.0.tar.xz.sig --rw-r--r-- 1 root root 91100 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kauth-5.90.0.tar.xz --rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kauth-5.90.0.tar.xz.sig --rw-r--r-- 1 root root 130292 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kbookmarks-5.90.0.tar.xz +-rw-r--r-- 1 root root 73808 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kactivities-5.90.0.tar.xz +-rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kactivities-5.90.0.tar.xz.sig +-rw-r--r-- 1 root root 84368 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kactivities-stats-5.90.0.tar.xz +-rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kactivities-stats-5.90.0.tar.xz.sig +-rw-r--r-- 1 root root 197364 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kapidox-5.90.0.tar.xz +-rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kapidox-5.90.0.tar.xz.sig +-rw-r--r-- 1 root root 986272 2022-01-01 14:29 ./source/kde/kde/src/frameworks/karchive-5.90.0.tar.xz +-rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/karchive-5.90.0.tar.xz.sig +-rw-r--r-- 1 root root 91100 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kauth-5.90.0.tar.xz +-rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kauth-5.90.0.tar.xz.sig +-rw-r--r-- 1 root root 130292 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kbookmarks-5.90.0.tar.xz -rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kbookmarks-5.90.0.tar.xz.sig -rw-r--r-- 1 root root 261148 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kcalendarcore-5.90.0.tar.xz -rw-r--r-- 1 root root 488 2022-01-01 14:29 ./source/kde/kde/src/frameworks/kcalendarcore-5.90.0.tar.xz.sig @@ -14700,26 +14713,26 @@ drwxr-xr-x 2 root root 4096 2021-10-03 22:53 ./source/n/snownews -rwxr-xr-x 1 root root 4068 2021-05-11 18:43 ./source/n/snownews/snownews.SlackBuild drwxr-xr-x 2 root root 4096 2022-01-09 03:42 ./source/n/socat -rw-r--r-- 1 root root 949 2020-02-16 05:03 ./source/n/socat/slack-desc --rw-r--r-- 1 root root 437874 2022-01-08 21:10 ./source/n/socat/socat-1.7.4.3.tar.lz --rwxr-xr-x 1 root root 4501 2021-11-03 17:31 ./source/n/socat/socat.SlackBuild --rw-r--r-- 1 root root 44 2020-02-16 04:58 ./source/n/socat/socat.url -drwxr-xr-x 2 root root 4096 2021-06-08 20:28 ./source/n/sshfs --rw-r--r-- 1 root root 889 2018-02-27 06:13 ./source/n/sshfs/slack-desc --rw-r--r-- 1 root root 53160 2021-06-08 08:56 ./source/n/sshfs/sshfs-3.7.2.tar.xz --rw-r--r-- 1 root root 1012 2021-06-08 08:56 ./source/n/sshfs/sshfs-3.7.2.tar.xz.asc --rwxr-xr-x 1 root root 4227 2021-06-08 20:28 ./source/n/sshfs/sshfs.SlackBuild -drwxr-xr-x 2 root root 4096 2022-01-17 22:09 ./source/n/stunnel --rw-r--r-- 1 root root 268 2015-09-17 19:39 ./source/n/stunnel/doinst.sh.gz --rw-r--r-- 1 root root 286 2016-08-22 18:28 ./source/n/stunnel/generate-stunnel-key.sh --rw-r--r-- 1 root root 965 2018-02-27 06:13 ./source/n/stunnel/slack-desc --rw-r--r-- 1 root root 602479 2022-01-17 20:00 ./source/n/stunnel/stunnel-5.62.tar.lz --rwxr-xr-x 1 root root 4728 2021-02-21 02:21 ./source/n/stunnel/stunnel.SlackBuild --rw-r--r-- 1 root root 39 2018-05-22 17:22 ./source/n/stunnel/stunnel.url -drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/tcp_wrappers --rw-r--r-- 1 root root 1108 2018-02-27 06:13 ./source/n/tcp_wrappers/slack-desc --rwxr-xr-x 1 root root 3736 2021-02-13 05:32 ./source/n/tcp_wrappers/tcp_wrappers.SlackBuild --rw-r--r-- 1 root root 118844 2004-02-22 22:48 ./source/n/tcp_wrappers/tcp_wrappers_7.6.tar.gz -drwxr-xr-x 2 root root 4096 2021-06-10 18:10 ./source/n/tcpdump +-rw-r--r-- 1 root root 437874 2022-01-08 21:10 ./source/n/socat/socat-1.7.4.3.tar.lz +-rwxr-xr-x 1 root root 4501 2021-11-03 17:31 ./source/n/socat/socat.SlackBuild +-rw-r--r-- 1 root root 44 2020-02-16 04:58 ./source/n/socat/socat.url +drwxr-xr-x 2 root root 4096 2021-06-08 20:28 ./source/n/sshfs +-rw-r--r-- 1 root root 889 2018-02-27 06:13 ./source/n/sshfs/slack-desc +-rw-r--r-- 1 root root 53160 2021-06-08 08:56 ./source/n/sshfs/sshfs-3.7.2.tar.xz +-rw-r--r-- 1 root root 1012 2021-06-08 08:56 ./source/n/sshfs/sshfs-3.7.2.tar.xz.asc +-rwxr-xr-x 1 root root 4227 2021-06-08 20:28 ./source/n/sshfs/sshfs.SlackBuild +drwxr-xr-x 2 root root 4096 2022-01-17 22:09 ./source/n/stunnel +-rw-r--r-- 1 root root 268 2015-09-17 19:39 ./source/n/stunnel/doinst.sh.gz +-rw-r--r-- 1 root root 286 2016-08-22 18:28 ./source/n/stunnel/generate-stunnel-key.sh +-rw-r--r-- 1 root root 965 2018-02-27 06:13 ./source/n/stunnel/slack-desc +-rw-r--r-- 1 root root 602479 2022-01-17 20:00 ./source/n/stunnel/stunnel-5.62.tar.lz +-rwxr-xr-x 1 root root 4728 2021-02-21 02:21 ./source/n/stunnel/stunnel.SlackBuild +-rw-r--r-- 1 root root 39 2018-05-22 17:22 ./source/n/stunnel/stunnel.url +drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/tcp_wrappers +-rw-r--r-- 1 root root 1108 2018-02-27 06:13 ./source/n/tcp_wrappers/slack-desc +-rwxr-xr-x 1 root root 3736 2021-02-13 05:32 ./source/n/tcp_wrappers/tcp_wrappers.SlackBuild +-rw-r--r-- 1 root root 118844 2004-02-22 22:48 ./source/n/tcp_wrappers/tcp_wrappers_7.6.tar.gz +drwxr-xr-x 2 root root 4096 2021-06-10 18:10 ./source/n/tcpdump -rw-r--r-- 1 root root 869 2019-10-01 20:14 ./source/n/tcpdump/slack-desc -rw-r--r-- 1 root root 1268906 2021-06-10 05:23 ./source/n/tcpdump/tcpdump-4.99.1.tar.lz -rwxr-xr-x 1 root root 3505 2021-06-10 18:10 ./source/n/tcpdump/tcpdump.SlackBuild diff --git a/patches/packages/dovecot-2.3.21.1-x86_64-1_slack15.0.txt b/patches/packages/dovecot-2.3.21.1-x86_64-1_slack15.0.txt new file mode 100644 index 000000000..f7e7c9cca --- /dev/null +++ b/patches/packages/dovecot-2.3.21.1-x86_64-1_slack15.0.txt @@ -0,0 +1,11 @@ +dovecot: dovecot (IMAP and POP3 server) +dovecot: +dovecot: Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like +dovecot: systems, written with security foremost in mind. +dovecot: +dovecot: Dovecot can work with standard mbox and Maildir formats and it is +dovecot: fully compatible with UW-IMAP and Courier IMAP servers' +dovecot: implementation of them, as well as mail clients accessing the +dovecot: mailboxes directly. +dovecot: +dovecot: diff --git a/patches/source/dovecot/doinst.sh b/patches/source/dovecot/doinst.sh new file mode 100644 index 000000000..17a37837f --- /dev/null +++ b/patches/source/dovecot/doinst.sh @@ -0,0 +1,49 @@ +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... +} + +preserve_perms() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + if [ -e $OLD ]; then + cp -a $OLD ${NEW}.incoming + cat $NEW > ${NEW}.incoming + mv ${NEW}.incoming $NEW + fi + config $NEW +} + +preserve_perms etc/rc.d/rc.dovecot.new + +for file in etc/dovecot/*.conf.new etc/dovecot/*.ext.new etc/dovecot/conf.d/*.conf.new etc/dovecot/conf.d/*.ext.new ; do + config $file +done + +if [ -r etc/pam.d/dovecot.new ]; then + config etc/pam.d/dovecot.new +fi + +# Make sure that the dovecot user/group (UID 94, GID 94), and the +# postdrop user/group (UID 65, GID 95) exist on this system: +if ! grep -q "^dovecot:" etc/passwd ; then + echo "dovecot:x:94:94:User for Dovecot processes:/dev/null:/bin/false" >> etc/passwd +fi +if ! grep -q "^dovenull:" etc/passwd ; then + echo "dovenull:x:95:95:User for Dovecot login processing:/dev/null:/bin/false" >> etc/passwd +fi +if ! grep -q "^dovecot:" etc/group ; then + echo "dovecot:x:94:" >> etc/group +fi +if ! grep -q "^dovenull:" etc/group ; then + echo "dovenull:x:95:" >> etc/group +fi + diff --git a/patches/source/dovecot/dovecot.SlackBuild b/patches/source/dovecot/dovecot.SlackBuild new file mode 100755 index 000000000..11df508c4 --- /dev/null +++ b/patches/source/dovecot/dovecot.SlackBuild @@ -0,0 +1,196 @@ +#!/bin/bash + +# Copyright 2006, 2010 Alan Hicks, Lizella, GA +# Copyright 2013, 2014, 2015, 2016, 2017 Mario Preksavec, Zagreb, Croatia +# Copyright 2017, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=dovecot +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1_slack15.0} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "armv7hl" ]; then + SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16" + LIBDIRSUFFIX="" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +if [ "$(grep "^dovecot:x:94:94" /etc/passwd)" = "" -o \ + "$(grep "^dovecot:x:94:" /etc/group)" = "" -o \ + "$(grep "^dovenull:x:95:95" /etc/passwd)" = "" -o \ + "$(grep "^dovenull:x:95:" /etc/group)" = "" ]; then +cat << EOF +The dovecot and dovenull user/group do not exist on this system. +Before running this script, please add them with the following commands: + +groupadd -g 94 dovecot +useradd -d /dev/null -s /bin/false -u 94 -g 94 dovecot +groupadd -g 95 dovenull +useradd -d /dev/null -s /bin/false -u 95 -g 95 dovenull + +EOF +exit 1 +fi + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +rm -rf $PKGNAM-ce-$VERSION +tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1 +cd $PKGNAM-$VERSION || exit 1 + +if [ ! -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then # no PAM + # Ship config set up for authentication from /etc/passwd and /etc/shadow. + zcat $CWD/dovecot.default.shadow.auth.diff.gz | patch -p1 --verbose || exit 1 + PAM_OPTIONS="--without-pam" +else # Yes, we have PAM: + mkdir -p $PKG/etc/pam.d + cp -a $CWD/dovecot.pam $PKG/etc/pam.d/dovecot.new + chown root:root $PKG/etc/pam.d/dovecot.new + chmod 644 $PKG/etc/pam.d/dovecot.new + PAM_OPTIONS="--with-pam" +fi + +# Since this package installs working config files in /etc/dovecot, there isn't +# 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 + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +# Add -ldl to LDFLAGS for sqlite +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +LDFLAGS="-ldl" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --docdir=/usr/doc/$PKGNAM-$VERSION \ + --mandir=/usr/man \ + --with-notify=inotify \ + $PAM_OPTIONS \ + --with-ldap=plugin \ + --with-lucene \ + --with-mysql \ + --with-sqlite \ + --with-libcap \ + --disable-static \ + --build=$ARCH-slackware-linux || exit 1 + +make $NUMJOBS || make -j1 || exit 1 +make install-strip DESTDIR=$PKG || exit 1 + +# Install sample configuration files: +mkdir -p $PKG/etc/dovecot +cp -a $PKG/usr/doc/$PKGNAM-$VERSION/example-config/* $PKG/etc/dovecot +( cd $PKG/etc/dovecot + for file in *.conf *.ext conf.d/*.conf conf.d/*.ext ; do + mv $file ${file}.new + done +) + +mkdir -p $PKG/etc/rc.d +cat $CWD/rc.dovecot > $PKG/etc/rc.d/rc.dovecot.new +chmod 0644 $PKG/etc/rc.d/rc.dovecot.new + +# Compress and link manpages, if any: +if [ -d $PKG/usr/man ]; then + ( cd $PKG/usr/man + for manpagedir in $(find . -type d -name "man*") ; do + ( cd $manpagedir + for eachpage in $( find . -type l -maxdepth 1 | grep -v '\.gz$') ; do + ln -s $( readlink $eachpage ).gz $eachpage.gz + rm $eachpage + done + gzip -9 *.? + ) + done + ) +fi + +cp -a \ + AUTHORS COPYING* ChangeLog NEWS README TODO \ + $PKG/usr/doc/$PKGNAM-$VERSION/ + +# If there's a ChangeLog, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r ChangeLog ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r ChangeLog $DOCSDIR/ChangeLog +fi + +# If there's a NEWS file, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r NEWS ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat NEWS | head -n 1000 > $DOCSDIR/NEWS + touch -r NEWS $DOCSDIR/NEWS +fi + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/patches/source/dovecot/dovecot.config.README.diff b/patches/source/dovecot/dovecot.config.README.diff new file mode 100644 index 000000000..3ba80fb1d --- /dev/null +++ b/patches/source/dovecot/dovecot.config.README.diff @@ -0,0 +1,20 @@ +--- ./doc/example-config/README.in.orig 2017-06-23 06:18:28.000000000 -0500 ++++ ./doc/example-config/README.in 2017-11-14 19:04:46.621109623 -0600 +@@ -1,2 +1,15 @@ +-Configuration files go to this directory. See example configuration files in +-@exampledir@/ ++Configuration files go to this directory. ++ ++The configuration files that are provided here should work out of the box on ++Slackware once you've installed security certificates to support SSL/TLS. ++ ++See the config file beneath this directory: conf.d/10-ssl.conf ++ ++For a script that will install self-signed certificates, see mkcert.sh in ++/usr/doc/dovecot-2.* ++ ++It is also recommended to edit conf.d/10-auth.conf and uncomment this line: ++#disable_plaintext_auth = yes ++ ++This will prevent usernames and passwords from being sent until a secure ++connection has been established. diff --git a/patches/source/dovecot/dovecot.default.shadow.auth.diff b/patches/source/dovecot/dovecot.default.shadow.auth.diff new file mode 100644 index 000000000..e0d8de058 --- /dev/null +++ b/patches/source/dovecot/dovecot.default.shadow.auth.diff @@ -0,0 +1,40 @@ +--- ./doc/example-config/conf.d/auth-system.conf.ext.orig 2017-12-22 07:53:36.000000000 -0600 ++++ ./doc/example-config/conf.d/auth-system.conf.ext 2018-01-31 17:05:06.840878097 -0600 +@@ -7,12 +7,12 @@ + # PAM is typically used with either userdb passwd or userdb static. + # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM + # authentication to actually work. <doc/wiki/PasswordDatabase.PAM.txt> +-passdb { +- driver = pam ++#passdb { ++ #driver = pam + # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>] + # [cache_key=<key>] [<service name>] + #args = dovecot +-} ++#} + + # System users (NSS, /etc/passwd, or similar). + # In many systems nowadays this uses Name Service Switch, which is +@@ -24,13 +24,17 @@ + #} + + # Shadow passwords for system users (NSS, /etc/shadow or similar). +-# Deprecated by PAM nowadays. ++# This is the default on Slackware systems. + # <doc/wiki/PasswordDatabase.Shadow.txt> +-#passdb { +- #driver = shadow ++passdb { ++ driver = shadow + # [blocking=no] + #args = +-#} ++} ++# Auth worker to authenticate shadow passwords on Slackware: ++service auth-worker { ++ group = shadow ++} + + # PAM-like authentication for OpenBSD. + # <doc/wiki/PasswordDatabase.BSDAuth.txt> diff --git a/patches/source/dovecot/dovecot.pam b/patches/source/dovecot/dovecot.pam new file mode 100644 index 000000000..ccb910536 --- /dev/null +++ b/patches/source/dovecot/dovecot.pam @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth required pam_nologin.so +auth include system-auth +account include system-auth +session include system-auth diff --git a/patches/source/dovecot/dovecot.url b/patches/source/dovecot/dovecot.url new file mode 100644 index 000000000..cbbe71a25 --- /dev/null +++ b/patches/source/dovecot/dovecot.url @@ -0,0 +1 @@ +https://dovecot.org/releases/2.3 diff --git a/patches/source/dovecot/rc.dovecot b/patches/source/dovecot/rc.dovecot new file mode 100644 index 000000000..c79b96e77 --- /dev/null +++ b/patches/source/dovecot/rc.dovecot @@ -0,0 +1,46 @@ +#!/bin/sh + +dovecot_start() +{ + echo "Starting dovecot: /usr/sbin/dovecot" + /usr/sbin/dovecot +} + +dovecot_stop() +{ + echo "Stopping dovecot..." + /usr/bin/doveadm stop +} + +dovecot_status() +{ + /usr/bin/doveadm service status +} + +dovecot_reload() +{ + echo "Reloading dovecot..." + /usr/bin/doveadm reload +} + +case $1 in +'start') + dovecot_start + ;; +'stop') + dovecot_stop + ;; +'status') + dovecot_status + ;; +'restart') + dovecot_stop + sleep 3 + dovecot_start + ;; +'reload') + dovecot_reload + ;; +*) + echo "usage $0 start|stop|restart|reload|status" +esac diff --git a/patches/source/dovecot/slack-desc b/patches/source/dovecot/slack-desc new file mode 100644 index 000000000..3fc6c58b5 --- /dev/null +++ b/patches/source/dovecot/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +dovecot: dovecot (IMAP and POP3 server) +dovecot: +dovecot: Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like +dovecot: systems, written with security foremost in mind. +dovecot: +dovecot: Dovecot can work with standard mbox and Maildir formats and it is +dovecot: fully compatible with UW-IMAP and Courier IMAP servers' +dovecot: implementation of them, as well as mail clients accessing the +dovecot: mailboxes directly. +dovecot: +dovecot: diff --git a/recompress.sh b/recompress.sh index b3bfe43c8..53acc0ad8 100755 --- a/recompress.sh +++ b/recompress.sh @@ -1457,6 +1457,9 @@ gzip ./patches/source/dcron/crontab.root gzip ./patches/source/dcron/doinst.sh gzip ./patches/source/dcron/run-parts gzip ./patches/source/at/doinst.sh +gzip ./patches/source/dovecot/dovecot.default.shadow.auth.diff +gzip ./patches/source/dovecot/doinst.sh +gzip ./patches/source/dovecot/dovecot.config.README.diff gzip ./patches/source/perl/perl.configure.multilib.patch gzip ./patches/source/perl/libnet-3.08-Do-not-create-Net-libnet.cfg.patch gzip ./patches/source/dhcp/dhclient-script.PATH.diff |