From 71cfddeb9faf318dd1d2b11c61a2202fd580b653 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Fri, 26 Jan 2024 20:59:27 +0000 Subject: [PATCH] Fri Jan 26 20:59:27 UTC 2024 patches/packages/pam-1.6.0-x86_64-1_slack15.0.txz: Upgraded. pam_namespace.so: fixed a possible local denial-of-service vulnerability. For more information, see: https://seclists.org/oss-sec/2024/q1/31 https://www.cve.org/CVERecord?id=CVE-2024-22365 (* Security fix *) --- ChangeLog.rss | 20 +- ChangeLog.txt | 8 + FILELIST.TXT | 199 +++++++++------- .../packages/pam-1.6.0-x86_64-1_slack15.0.txt | 11 + patches/source/pam/doinst.sh | 14 ++ .../fedora-patches/pam-1.5.3-unix-nomsg.patch | 17 ++ .../pam/fedora-patches/pam-1.6.0-noflex.patch | 24 ++ .../pam-1.6.0-redhat-modules.patch | 24 ++ patches/source/pam/pam-redhat.url | 1 + patches/source/pam/pam.SlackBuild | 224 ++++++++++++++++++ patches/source/pam/pam.url | 2 + .../pam.etc.environment.better.comments.diff | 15 ++ .../pam/patches/pam_namespace.SIZE_MAX.patch | 10 + patches/source/pam/slack-desc | 19 ++ recompress.sh | 6 + 15 files changed, 502 insertions(+), 92 deletions(-) create mode 100644 patches/packages/pam-1.6.0-x86_64-1_slack15.0.txt create mode 100644 patches/source/pam/doinst.sh create mode 100644 patches/source/pam/fedora-patches/pam-1.5.3-unix-nomsg.patch create mode 100644 patches/source/pam/fedora-patches/pam-1.6.0-noflex.patch create mode 100644 patches/source/pam/fedora-patches/pam-1.6.0-redhat-modules.patch create mode 100644 patches/source/pam/pam-redhat.url create mode 100755 patches/source/pam/pam.SlackBuild create mode 100644 patches/source/pam/pam.url create mode 100644 patches/source/pam/patches/pam.etc.environment.better.comments.diff create mode 100644 patches/source/pam/patches/pam_namespace.SIZE_MAX.patch create mode 100644 patches/source/pam/slack-desc diff --git a/ChangeLog.rss b/ChangeLog.rss index 86a4b0c47..28494c62f 100644 --- a/ChangeLog.rss +++ b/ChangeLog.rss @@ -11,9 +11,25 @@ Tracking Slackware development in git. en-us urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f - Wed, 24 Jan 2024 04:53:38 GMT - Thu, 25 Jan 2024 12:30:27 GMT + Fri, 26 Jan 2024 20:59:27 GMT + Sat, 27 Jan 2024 12:30:24 GMT maintain_current_git.sh v 1.17 + + Fri, 26 Jan 2024 20:59:27 GMT + Fri, 26 Jan 2024 20:59:27 GMT + https://git.slackware.nl/current/tag/?h=20240126205927 + 20240126205927 + + +patches/packages/pam-1.6.0-x86_64-1_slack15.0.txz: Upgraded. + pam_namespace.so: fixed a possible local denial-of-service vulnerability. + For more information, see: + https://seclists.org/oss-sec/2024/q1/31 + https://www.cve.org/CVERecord?id=CVE-2024-22365 + (* Security fix *) + ]]> + + Wed, 24 Jan 2024 04:53:38 GMT Wed, 24 Jan 2024 04:53:38 GMT diff --git a/ChangeLog.txt b/ChangeLog.txt index eb905a087..c637d1075 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,11 @@ +Fri Jan 26 20:59:27 UTC 2024 +patches/packages/pam-1.6.0-x86_64-1_slack15.0.txz: Upgraded. + pam_namespace.so: fixed a possible local denial-of-service vulnerability. + For more information, see: + https://seclists.org/oss-sec/2024/q1/31 + https://www.cve.org/CVERecord?id=CVE-2024-22365 + (* Security fix *) ++--------------------------+ Wed Jan 24 04:53:38 UTC 2024 patches/packages/mozilla-thunderbird-115.7.0-x86_64-1_slack15.0.txz: Upgraded. This release contains security fixes and improvements. diff --git a/FILELIST.TXT b/FILELIST.TXT index 8d96aecba..6d613eb09 100644 --- a/FILELIST.TXT +++ b/FILELIST.TXT @@ -1,20 +1,20 @@ -Wed Jan 24 04:59:10 UTC 2024 +Fri Jan 26 21:02:02 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-01-24 04:53 . +drwxr-xr-x 12 root root 4096 2024-01-26 20:59 . -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 1213106 2024-01-23 20:12 ./CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2024-01-23 20:12 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 1213106 2024-01-24 04:59 ./CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2024-01-24 04:59 ./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 2085585 2024-01-24 04:53 ./ChangeLog.txt +-rw-r--r-- 1 root root 2085927 2024-01-26 20:59 ./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 1587916 2024-01-23 20:11 ./FILELIST.TXT +-rw-r--r-- 1 root root 1587916 2024-01-24 04:59 ./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 @@ -781,13 +781,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-01-24 04:59 ./patches --rw-r--r-- 1 root root 99869 2024-01-24 04:59 ./patches/CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2024-01-24 04:59 ./patches/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 136575 2024-01-24 04:59 ./patches/FILE_LIST --rw-r--r-- 1 root root 15238082 2024-01-24 04:59 ./patches/MANIFEST.bz2 --rw-r--r-- 1 root root 72867 2024-01-24 04:59 ./patches/PACKAGES.TXT -drwxr-xr-x 5 root root 32768 2024-01-24 04:58 ./patches/packages +drwxr-xr-x 4 root root 4096 2024-01-26 21:02 ./patches +-rw-r--r-- 1 root root 101081 2024-01-26 21:02 ./patches/CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2024-01-26 21:02 ./patches/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 138293 2024-01-26 21:01 ./patches/FILE_LIST +-rw-r--r-- 1 root root 15236527 2024-01-26 21:01 ./patches/MANIFEST.bz2 +-rw-r--r-- 1 root root 73463 2024-01-26 21:02 ./patches/PACKAGES.TXT +drwxr-xr-x 5 root root 32768 2024-01-26 21:01 ./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 @@ -1025,6 +1025,9 @@ drwxr-xr-x 2 root root 4096 2023-11-21 21:09 ./patches/packages/old-linux -rw-r--r-- 1 root root 623 2023-09-11 20:06 ./patches/packages/openssl-solibs-1.1.1w-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 1370256 2023-09-11 20:06 ./patches/packages/openssl-solibs-1.1.1w-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2023-09-11 20:06 ./patches/packages/openssl-solibs-1.1.1w-x86_64-1_slack15.0.txz.asc +-rw-r--r-- 1 root root 422 2024-01-26 20:40 ./patches/packages/pam-1.6.0-x86_64-1_slack15.0.txt +-rw-r--r-- 1 root root 448944 2024-01-26 20:40 ./patches/packages/pam-1.6.0-x86_64-1_slack15.0.txz +-rw-r--r-- 1 root root 163 2024-01-26 20:40 ./patches/packages/pam-1.6.0-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 544 2022-07-25 18:03 ./patches/packages/perl-5.34.0-x86_64-2_slack15.0.txt -rw-r--r-- 1 root root 17057236 2022-07-25 18:03 ./patches/packages/perl-5.34.0-x86_64-2_slack15.0.txz -rw-r--r-- 1 root root 163 2022-07-25 18:03 ./patches/packages/perl-5.34.0-x86_64-2_slack15.0.txz.asc @@ -1139,7 +1142,7 @@ drwxr-xr-x 2 root root 4096 2023-11-21 21:09 ./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 101 root root 4096 2024-01-24 04:49 ./patches/source +drwxr-xr-x 102 root root 4096 2024-01-26 20:59 ./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 @@ -1800,6 +1803,22 @@ drwxr-xr-x 2 root root 4096 2023-09-11 19:59 ./patches/source/openssl -rwxr-xr-x 1 root root 9269 2022-11-29 19:48 ./patches/source/openssl/openssl.SlackBuild -rw-r--r-- 1 root root 1014 2018-02-27 06:13 ./patches/source/openssl/slack-desc.openssl -rw-r--r-- 1 root root 1085 2018-02-27 06:13 ./patches/source/openssl/slack-desc.openssl-solibs +drwxr-xr-x 4 root root 4096 2024-01-26 20:39 ./patches/source/pam +-rw-r--r-- 1 root root 1048296 2024-01-17 15:16 ./patches/source/pam/Linux-PAM-1.6.0.tar.xz +-rw-r--r-- 1 root root 801 2024-01-17 15:16 ./patches/source/pam/Linux-PAM-1.6.0.tar.xz.asc +-rw-r--r-- 1 root root 252 2014-07-26 06:55 ./patches/source/pam/doinst.sh.gz +drwxr-xr-x 2 root root 4096 2024-01-26 20:16 ./patches/source/pam/fedora-patches +-rw-r--r-- 1 root root 415 2024-01-23 00:00 ./patches/source/pam/fedora-patches/pam-1.5.3-unix-nomsg.patch.gz +-rw-r--r-- 1 root root 436 2024-01-23 00:00 ./patches/source/pam/fedora-patches/pam-1.6.0-noflex.patch.gz +-rw-r--r-- 1 root root 406 2024-01-23 00:00 ./patches/source/pam/fedora-patches/pam-1.6.0-redhat-modules.patch.gz +-rw-r--r-- 1 root root 7280 2023-02-09 15:42 ./patches/source/pam/pam-redhat-1.2.0.tar.xz +-rw-r--r-- 1 root root 29 2020-12-01 19:30 ./patches/source/pam/pam-redhat.url +-rwxr-xr-x 1 root root 7321 2024-01-26 20:39 ./patches/source/pam/pam.SlackBuild +-rw-r--r-- 1 root root 106 2023-05-19 18:18 ./patches/source/pam/pam.url +drwxr-xr-x 2 root root 4096 2024-01-26 20:39 ./patches/source/pam/patches +-rw-r--r-- 1 root root 386 2020-01-02 20:41 ./patches/source/pam/patches/pam.etc.environment.better.comments.diff.gz +-rw-r--r-- 1 root root 265 2024-01-26 20:39 ./patches/source/pam/patches/pam_namespace.SIZE_MAX.patch.gz +-rw-r--r-- 1 root root 873 2019-07-16 20:25 ./patches/source/pam/slack-desc drwxr-xr-x 2 root root 4096 2022-07-25 17:58 ./patches/source/perl -rw-r--r-- 1 root root 45129 2012-09-04 16:12 ./patches/source/perl/Authen-SASL-2.16.tar.gz -rw-r--r-- 1 root root 161579 2019-01-09 09:07 ./patches/source/perl/DBD-mysql-4.050.tar.gz @@ -2652,25 +2671,25 @@ drwxr-xr-x 2 root root 20480 2022-02-02 04:20 ./slackware64/ap -rw-r--r-- 1 root root 1476792 2021-06-29 20:00 ./slackware64/ap/cups-2.3.3op2-x86_64-1.txz -rw-r--r-- 1 root root 163 2021-06-29 20:00 ./slackware64/ap/cups-2.3.3op2-x86_64-1.txz.asc -rw-r--r-- 1 root root 416 2022-01-16 20:17 ./slackware64/ap/cups-filters-1.28.11-x86_64-1.txt --rw-r--r-- 1 root root 823480 2022-01-16 20:17 ./slackware64/ap/cups-filters-1.28.11-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-16 20:17 ./slackware64/ap/cups-filters-1.28.11-x86_64-1.txz.asc --rw-r--r-- 1 root root 576 2021-08-04 18:58 ./slackware64/ap/dash-0.5.11.4-x86_64-1.txt --rw-r--r-- 1 root root 80300 2021-08-04 18:58 ./slackware64/ap/dash-0.5.11.4-x86_64-1.txz --rw-r--r-- 1 root root 163 2021-08-04 18:58 ./slackware64/ap/dash-0.5.11.4-x86_64-1.txz.asc --rw-r--r-- 1 root root 464 2021-02-13 11:27 ./slackware64/ap/dc3dd-7.2.646-x86_64-4.txt --rw-r--r-- 1 root root 126316 2021-02-13 11:27 ./slackware64/ap/dc3dd-7.2.646-x86_64-4.txz --rw-r--r-- 1 root root 163 2021-02-13 11:27 ./slackware64/ap/dc3dd-7.2.646-x86_64-4.txz.asc --rw-r--r-- 1 root root 463 2022-01-22 19:35 ./slackware64/ap/ddrescue-1.26-x86_64-1.txt --rw-r--r-- 1 root root 112024 2022-01-22 19:35 ./slackware64/ap/ddrescue-1.26-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-22 19:35 ./slackware64/ap/ddrescue-1.26-x86_64-1.txz.asc --rw-r--r-- 1 root root 408 2021-02-13 11:27 ./slackware64/ap/diffstat-1.64-x86_64-3.txt --rw-r--r-- 1 root root 30736 2021-02-13 11:27 ./slackware64/ap/diffstat-1.64-x86_64-3.txz --rw-r--r-- 1 root root 163 2021-02-13 11:27 ./slackware64/ap/diffstat-1.64-x86_64-3.txz.asc --rw-r--r-- 1 root root 282 2021-08-02 17:46 ./slackware64/ap/diffutils-3.8-x86_64-1.txt --rw-r--r-- 1 root root 365624 2021-08-02 17:46 ./slackware64/ap/diffutils-3.8-x86_64-1.txz --rw-r--r-- 1 root root 163 2021-08-02 17:46 ./slackware64/ap/diffutils-3.8-x86_64-1.txz.asc --rw-r--r-- 1 root root 349 2021-02-13 11:27 ./slackware64/ap/dmapi-2.2.12-x86_64-5.txt --rw-r--r-- 1 root root 32332 2021-02-13 11:27 ./slackware64/ap/dmapi-2.2.12-x86_64-5.txz +-rw-r--r-- 1 root root 823480 2022-01-16 20:17 ./slackware64/ap/cups-filters-1.28.11-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-16 20:17 ./slackware64/ap/cups-filters-1.28.11-x86_64-1.txz.asc +-rw-r--r-- 1 root root 576 2021-08-04 18:58 ./slackware64/ap/dash-0.5.11.4-x86_64-1.txt +-rw-r--r-- 1 root root 80300 2021-08-04 18:58 ./slackware64/ap/dash-0.5.11.4-x86_64-1.txz +-rw-r--r-- 1 root root 163 2021-08-04 18:58 ./slackware64/ap/dash-0.5.11.4-x86_64-1.txz.asc +-rw-r--r-- 1 root root 464 2021-02-13 11:27 ./slackware64/ap/dc3dd-7.2.646-x86_64-4.txt +-rw-r--r-- 1 root root 126316 2021-02-13 11:27 ./slackware64/ap/dc3dd-7.2.646-x86_64-4.txz +-rw-r--r-- 1 root root 163 2021-02-13 11:27 ./slackware64/ap/dc3dd-7.2.646-x86_64-4.txz.asc +-rw-r--r-- 1 root root 463 2022-01-22 19:35 ./slackware64/ap/ddrescue-1.26-x86_64-1.txt +-rw-r--r-- 1 root root 112024 2022-01-22 19:35 ./slackware64/ap/ddrescue-1.26-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-22 19:35 ./slackware64/ap/ddrescue-1.26-x86_64-1.txz.asc +-rw-r--r-- 1 root root 408 2021-02-13 11:27 ./slackware64/ap/diffstat-1.64-x86_64-3.txt +-rw-r--r-- 1 root root 30736 2021-02-13 11:27 ./slackware64/ap/diffstat-1.64-x86_64-3.txz +-rw-r--r-- 1 root root 163 2021-02-13 11:27 ./slackware64/ap/diffstat-1.64-x86_64-3.txz.asc +-rw-r--r-- 1 root root 282 2021-08-02 17:46 ./slackware64/ap/diffutils-3.8-x86_64-1.txt +-rw-r--r-- 1 root root 365624 2021-08-02 17:46 ./slackware64/ap/diffutils-3.8-x86_64-1.txz +-rw-r--r-- 1 root root 163 2021-08-02 17:46 ./slackware64/ap/diffutils-3.8-x86_64-1.txz.asc +-rw-r--r-- 1 root root 349 2021-02-13 11:27 ./slackware64/ap/dmapi-2.2.12-x86_64-5.txt +-rw-r--r-- 1 root root 32332 2021-02-13 11:27 ./slackware64/ap/dmapi-2.2.12-x86_64-5.txz -rw-r--r-- 1 root root 163 2021-02-13 11:27 ./slackware64/ap/dmapi-2.2.12-x86_64-5.txz.asc -rw-r--r-- 1 root root 472 2021-02-13 11:27 ./slackware64/ap/dmidecode-3.3-x86_64-3.txt -rw-r--r-- 1 root root 54144 2021-02-13 11:27 ./slackware64/ap/dmidecode-3.3-x86_64-3.txz @@ -5386,25 +5405,25 @@ drwxr-xr-x 2 root root 32768 2022-02-01 04:47 ./slackware64/n -rw-r--r-- 1 root root 163 2021-02-13 11:55 ./slackware64/n/biff+comsat-0.17-x86_64-4.txz.asc -rw-r--r-- 1 root root 334 2022-01-19 17:50 ./slackware64/n/bind-9.16.25-x86_64-1.txt -rw-r--r-- 1 root root 2208864 2022-01-19 17:50 ./slackware64/n/bind-9.16.25-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-19 17:50 ./slackware64/n/bind-9.16.25-x86_64-1.txz.asc --rw-r--r-- 1 root root 333 2022-01-26 19:15 ./slackware64/n/bluez-5.63-x86_64-2.txt --rw-r--r-- 1 root root 1208952 2022-01-26 19:15 ./slackware64/n/bluez-5.63-x86_64-2.txz --rw-r--r-- 1 root root 163 2022-01-26 19:15 ./slackware64/n/bluez-5.63-x86_64-2.txz.asc --rw-r--r-- 1 root root 366 2021-02-13 11:56 ./slackware64/n/bluez-firmware-1.2-x86_64-4.txt --rw-r--r-- 1 root root 71900 2021-02-13 11:56 ./slackware64/n/bluez-firmware-1.2-x86_64-4.txz --rw-r--r-- 1 root root 163 2021-02-13 11:56 ./slackware64/n/bluez-firmware-1.2-x86_64-4.txz.asc --rw-r--r-- 1 root root 420 2021-02-13 11:57 ./slackware64/n/bootp-2.4.3-x86_64-5.txt --rw-r--r-- 1 root root 50100 2021-02-13 11:57 ./slackware64/n/bootp-2.4.3-x86_64-5.txz --rw-r--r-- 1 root root 163 2021-02-13 11:57 ./slackware64/n/bootp-2.4.3-x86_64-5.txz.asc --rw-r--r-- 1 root root 588 2021-03-21 17:41 ./slackware64/n/bridge-utils-1.7.1-x86_64-1.txt --rw-r--r-- 1 root root 30076 2021-03-21 17:41 ./slackware64/n/bridge-utils-1.7.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2021-03-21 17:41 ./slackware64/n/bridge-utils-1.7.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 612 2021-02-13 11:57 ./slackware64/n/bsd-finger-0.17-x86_64-5.txt --rw-r--r-- 1 root root 20452 2021-02-13 11:57 ./slackware64/n/bsd-finger-0.17-x86_64-5.txz --rw-r--r-- 1 root root 163 2021-02-13 11:57 ./slackware64/n/bsd-finger-0.17-x86_64-5.txz.asc --rw-r--r-- 1 root root 484 2021-10-27 17:48 ./slackware64/n/c-ares-1.18.1-x86_64-1.txt --rw-r--r-- 1 root root 139696 2021-10-27 17:48 ./slackware64/n/c-ares-1.18.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2021-10-27 17:48 ./slackware64/n/c-ares-1.18.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 163 2022-01-19 17:50 ./slackware64/n/bind-9.16.25-x86_64-1.txz.asc +-rw-r--r-- 1 root root 333 2022-01-26 19:15 ./slackware64/n/bluez-5.63-x86_64-2.txt +-rw-r--r-- 1 root root 1208952 2022-01-26 19:15 ./slackware64/n/bluez-5.63-x86_64-2.txz +-rw-r--r-- 1 root root 163 2022-01-26 19:15 ./slackware64/n/bluez-5.63-x86_64-2.txz.asc +-rw-r--r-- 1 root root 366 2021-02-13 11:56 ./slackware64/n/bluez-firmware-1.2-x86_64-4.txt +-rw-r--r-- 1 root root 71900 2021-02-13 11:56 ./slackware64/n/bluez-firmware-1.2-x86_64-4.txz +-rw-r--r-- 1 root root 163 2021-02-13 11:56 ./slackware64/n/bluez-firmware-1.2-x86_64-4.txz.asc +-rw-r--r-- 1 root root 420 2021-02-13 11:57 ./slackware64/n/bootp-2.4.3-x86_64-5.txt +-rw-r--r-- 1 root root 50100 2021-02-13 11:57 ./slackware64/n/bootp-2.4.3-x86_64-5.txz +-rw-r--r-- 1 root root 163 2021-02-13 11:57 ./slackware64/n/bootp-2.4.3-x86_64-5.txz.asc +-rw-r--r-- 1 root root 588 2021-03-21 17:41 ./slackware64/n/bridge-utils-1.7.1-x86_64-1.txt +-rw-r--r-- 1 root root 30076 2021-03-21 17:41 ./slackware64/n/bridge-utils-1.7.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2021-03-21 17:41 ./slackware64/n/bridge-utils-1.7.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 612 2021-02-13 11:57 ./slackware64/n/bsd-finger-0.17-x86_64-5.txt +-rw-r--r-- 1 root root 20452 2021-02-13 11:57 ./slackware64/n/bsd-finger-0.17-x86_64-5.txz +-rw-r--r-- 1 root root 163 2021-02-13 11:57 ./slackware64/n/bsd-finger-0.17-x86_64-5.txz.asc +-rw-r--r-- 1 root root 484 2021-10-27 17:48 ./slackware64/n/c-ares-1.18.1-x86_64-1.txt +-rw-r--r-- 1 root root 139696 2021-10-27 17:48 ./slackware64/n/c-ares-1.18.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2021-10-27 17:48 ./slackware64/n/c-ares-1.18.1-x86_64-1.txz.asc -rw-r--r-- 1 root root 367 2021-12-17 05:55 ./slackware64/n/ca-certificates-20211216-noarch-1.txt -rw-r--r-- 1 root root 129372 2021-12-17 05:55 ./slackware64/n/ca-certificates-20211216-noarch-1.txz -rw-r--r-- 1 root root 163 2021-12-17 05:55 ./slackware64/n/ca-certificates-20211216-noarch-1.txz.asc @@ -8412,25 +8431,25 @@ drwxr-xr-x 2 root root 4096 2022-01-16 20:27 ./source/ap/ksh93 drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/ap/libx86 -rw-r--r-- 1 root root 87428 2008-05-19 09:30 ./source/ap/libx86/libx86-1.1.tar.gz -rw-r--r-- 1 root root 886 2009-08-04 03:12 ./source/ap/libx86/libx86-add-pkgconfig.patch.gz --rw-r--r-- 1 root root 1392 2009-10-27 18:04 ./source/ap/libx86/libx86-mmap-offset.patch.gz --rwxr-xr-x 1 root root 3343 2021-02-13 05:31 ./source/ap/libx86/libx86.SlackBuild --rw-r--r-- 1 root root 127 2008-11-24 18:21 ./source/ap/libx86/libx86.info --rw-r--r-- 1 root root 766 2018-02-27 06:12 ./source/ap/libx86/slack-desc -drwxr-xr-x 4 root root 4096 2021-11-03 04:15 ./source/ap/linuxdoc-tools --rw-r--r-- 1 root root 13703 2021-08-12 11:27 ./source/ap/linuxdoc-tools/ChangeLog.txt -drwxr-xr-x 2 root root 4096 2005-10-04 18:51 ./source/ap/linuxdoc-tools/arm --rwxr-xr-x 1 root root 1562 2021-08-11 08:14 ./source/ap/linuxdoc-tools/arm/build --rw-r--r-- 1 root root 257 2017-06-07 08:33 ./source/ap/linuxdoc-tools/doinst.sh.gz --rwxr-xr-x 1 root root 947 2018-04-23 17:20 ./source/ap/linuxdoc-tools/linuxdoc-tools.SlackBuild --rwxr-xr-x 1 root root 42421 2021-08-12 12:42 ./source/ap/linuxdoc-tools/linuxdoc-tools.build --rwxr-xr-x 1 root root 4196 2019-02-05 12:49 ./source/ap/linuxdoc-tools/postbuildfixes.sh --rw-r--r-- 1 root root 1159 2018-02-27 06:50 ./source/ap/linuxdoc-tools/slack-desc -drwxr-xr-x 2 root root 4096 2021-08-12 11:27 ./source/ap/linuxdoc-tools/sources --rw-r--r-- 1 root root 1103719 2021-07-27 00:38 ./source/ap/linuxdoc-tools/sources/asciidoc-9.1.0-3.fc35.src.rpm --rw-r--r-- 1 root root 224920 2007-05-05 12:33 ./source/ap/linuxdoc-tools/sources/docbook-dsssl-1.79.tar.xz --rw-r--r-- 1 root root 134196 2004-11-12 12:42 ./source/ap/linuxdoc-tools/sources/docbook-dsssl-doc-1.79.tar.xz --rw-r--r-- 1 root root 23929976 2021-07-27 01:17 ./source/ap/linuxdoc-tools/sources/docbook-style-xsl-1.79.2-15.fc35.src.rpm --rw-r--r-- 1 root root 163150 2021-07-27 01:17 ./source/ap/linuxdoc-tools/sources/docbook-utils-0.6.14-53.fc35.src.rpm +-rw-r--r-- 1 root root 1392 2009-10-27 18:04 ./source/ap/libx86/libx86-mmap-offset.patch.gz +-rwxr-xr-x 1 root root 3343 2021-02-13 05:31 ./source/ap/libx86/libx86.SlackBuild +-rw-r--r-- 1 root root 127 2008-11-24 18:21 ./source/ap/libx86/libx86.info +-rw-r--r-- 1 root root 766 2018-02-27 06:12 ./source/ap/libx86/slack-desc +drwxr-xr-x 4 root root 4096 2021-11-03 04:15 ./source/ap/linuxdoc-tools +-rw-r--r-- 1 root root 13703 2021-08-12 11:27 ./source/ap/linuxdoc-tools/ChangeLog.txt +drwxr-xr-x 2 root root 4096 2005-10-04 18:51 ./source/ap/linuxdoc-tools/arm +-rwxr-xr-x 1 root root 1562 2021-08-11 08:14 ./source/ap/linuxdoc-tools/arm/build +-rw-r--r-- 1 root root 257 2017-06-07 08:33 ./source/ap/linuxdoc-tools/doinst.sh.gz +-rwxr-xr-x 1 root root 947 2018-04-23 17:20 ./source/ap/linuxdoc-tools/linuxdoc-tools.SlackBuild +-rwxr-xr-x 1 root root 42421 2021-08-12 12:42 ./source/ap/linuxdoc-tools/linuxdoc-tools.build +-rwxr-xr-x 1 root root 4196 2019-02-05 12:49 ./source/ap/linuxdoc-tools/postbuildfixes.sh +-rw-r--r-- 1 root root 1159 2018-02-27 06:50 ./source/ap/linuxdoc-tools/slack-desc +drwxr-xr-x 2 root root 4096 2021-08-12 11:27 ./source/ap/linuxdoc-tools/sources +-rw-r--r-- 1 root root 1103719 2021-07-27 00:38 ./source/ap/linuxdoc-tools/sources/asciidoc-9.1.0-3.fc35.src.rpm +-rw-r--r-- 1 root root 224920 2007-05-05 12:33 ./source/ap/linuxdoc-tools/sources/docbook-dsssl-1.79.tar.xz +-rw-r--r-- 1 root root 134196 2004-11-12 12:42 ./source/ap/linuxdoc-tools/sources/docbook-dsssl-doc-1.79.tar.xz +-rw-r--r-- 1 root root 23929976 2021-07-27 01:17 ./source/ap/linuxdoc-tools/sources/docbook-style-xsl-1.79.2-15.fc35.src.rpm +-rw-r--r-- 1 root root 163150 2021-07-27 01:17 ./source/ap/linuxdoc-tools/sources/docbook-utils-0.6.14-53.fc35.src.rpm -rw-r--r-- 1 root root 98497 2006-10-26 17:17 ./source/ap/linuxdoc-tools/sources/docbook-xml-4.5.zip -rw-r--r-- 1 root root 12412 2018-05-12 19:34 ./source/ap/linuxdoc-tools/sources/docbook2x_0.8.8-17.debian.tar.xz -rw-r--r-- 1 root root 391024 2007-04-11 01:17 ./source/ap/linuxdoc-tools/sources/docbook2x_0.8.8.orig.tar.xz @@ -14880,25 +14899,25 @@ drwxr-xr-x 2 root root 4096 2021-08-08 03:54 ./source/x/vulkan-sdk -rwxr-xr-x 1 root root 5172 2021-06-14 10:09 ./source/x/vulkan-sdk/fetch-sources.sh -rw-r--r-- 1 root root 2744177 2021-06-15 19:04 ./source/x/vulkan-sdk/gfxreconstruct-sdk-1.2.176.tar.lz -rw-r--r-- 1 root root 1729989 2021-06-15 19:01 ./source/x/vulkan-sdk/glslang-18eef33bd7a4bf5ad8c69f99cb72022608cf6e73.tar.lz --rw-r--r-- 1 root root 129377 2021-06-15 19:04 ./source/x/vulkan-sdk/robin-hood-hashing-eee46f9985c3c65a05b35660c6866f8f8f1a3ba3.tar.lz --rw-r--r-- 1 root root 161177 2021-06-15 19:01 ./source/x/vulkan-sdk/shaderc-bdd134d1b7eca01925c1919d2ea05fd3cd6843c7.tar.lz --rw-r--r-- 1 root root 1017 2018-02-27 06:13 ./source/x/vulkan-sdk/slack-desc --rwxr-xr-x 1 root root 21840 2021-08-08 18:33 ./source/x/vulkan-sdk/vulkan-sdk.SlackBuild -drwxr-xr-x 2 root root 4096 2021-12-09 19:56 ./source/x/wayland -drwxr-xr-x 2 root root 4096 2022-01-28 20:47 ./source/x/wayland-protocols --rw-r--r-- 1 root root 1063 2020-02-19 20:00 ./source/x/wayland-protocols/slack-desc --rw-r--r-- 1 root root 79784 2022-01-28 20:47 ./source/x/wayland-protocols/wayland-protocols-1.25.tar.xz --rw-r--r-- 1 root root 566 2022-01-28 20:47 ./source/x/wayland-protocols/wayland-protocols-1.25.tar.xz.sig --rwxr-xr-x 1 root root 4124 2021-11-23 19:17 ./source/x/wayland-protocols/wayland-protocols.SlackBuild --rw-r--r-- 1 root root 46 2020-02-19 19:41 ./source/x/wayland-protocols/wayland-protocols.url --rw-r--r-- 1 root root 1038 2020-02-19 19:48 ./source/x/wayland/slack-desc --rw-r--r-- 1 root root 225188 2021-12-09 19:56 ./source/x/wayland/wayland-1.20.0.tar.xz --rw-r--r-- 1 root root 566 2021-12-09 19:56 ./source/x/wayland/wayland-1.20.0.tar.xz.sig --rwxr-xr-x 1 root root 4054 2021-12-09 19:56 ./source/x/wayland/wayland.SlackBuild --rw-r--r-- 1 root root 46 2020-02-19 19:41 ./source/x/wayland/wayland.url -drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/x/wqy-zenhei-font-ttf --rw-r--r-- 1 root root 317 2018-06-10 05:08 ./source/x/wqy-zenhei-font-ttf/64-wqy-zenhei.conf.gz --rw-r--r-- 1 root root 457 2017-04-30 21:32 ./source/x/wqy-zenhei-font-ttf/fixup-fontconfig-file.diff.gz +-rw-r--r-- 1 root root 129377 2021-06-15 19:04 ./source/x/vulkan-sdk/robin-hood-hashing-eee46f9985c3c65a05b35660c6866f8f8f1a3ba3.tar.lz +-rw-r--r-- 1 root root 161177 2021-06-15 19:01 ./source/x/vulkan-sdk/shaderc-bdd134d1b7eca01925c1919d2ea05fd3cd6843c7.tar.lz +-rw-r--r-- 1 root root 1017 2018-02-27 06:13 ./source/x/vulkan-sdk/slack-desc +-rwxr-xr-x 1 root root 21840 2021-08-08 18:33 ./source/x/vulkan-sdk/vulkan-sdk.SlackBuild +drwxr-xr-x 2 root root 4096 2021-12-09 19:56 ./source/x/wayland +drwxr-xr-x 2 root root 4096 2022-01-28 20:47 ./source/x/wayland-protocols +-rw-r--r-- 1 root root 1063 2020-02-19 20:00 ./source/x/wayland-protocols/slack-desc +-rw-r--r-- 1 root root 79784 2022-01-28 20:47 ./source/x/wayland-protocols/wayland-protocols-1.25.tar.xz +-rw-r--r-- 1 root root 566 2022-01-28 20:47 ./source/x/wayland-protocols/wayland-protocols-1.25.tar.xz.sig +-rwxr-xr-x 1 root root 4124 2021-11-23 19:17 ./source/x/wayland-protocols/wayland-protocols.SlackBuild +-rw-r--r-- 1 root root 46 2020-02-19 19:41 ./source/x/wayland-protocols/wayland-protocols.url +-rw-r--r-- 1 root root 1038 2020-02-19 19:48 ./source/x/wayland/slack-desc +-rw-r--r-- 1 root root 225188 2021-12-09 19:56 ./source/x/wayland/wayland-1.20.0.tar.xz +-rw-r--r-- 1 root root 566 2021-12-09 19:56 ./source/x/wayland/wayland-1.20.0.tar.xz.sig +-rwxr-xr-x 1 root root 4054 2021-12-09 19:56 ./source/x/wayland/wayland.SlackBuild +-rw-r--r-- 1 root root 46 2020-02-19 19:41 ./source/x/wayland/wayland.url +drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/x/wqy-zenhei-font-ttf +-rw-r--r-- 1 root root 317 2018-06-10 05:08 ./source/x/wqy-zenhei-font-ttf/64-wqy-zenhei.conf.gz +-rw-r--r-- 1 root root 457 2017-04-30 21:32 ./source/x/wqy-zenhei-font-ttf/fixup-fontconfig-file.diff.gz -rw-r--r-- 1 root root 1148 2019-09-13 18:30 ./source/x/wqy-zenhei-font-ttf/slack-desc -rw-r--r-- 1 root root 5743256 2009-04-20 19:06 ./source/x/wqy-zenhei-font-ttf/wqy-zenhei-0.8.38-1.tar.lz -rwxr-xr-x 1 root root 5051 2021-02-13 05:32 ./source/x/wqy-zenhei-font-ttf/wqy-zenhei-font-ttf.SlackBuild diff --git a/patches/packages/pam-1.6.0-x86_64-1_slack15.0.txt b/patches/packages/pam-1.6.0-x86_64-1_slack15.0.txt new file mode 100644 index 000000000..eeab92033 --- /dev/null +++ b/patches/packages/pam-1.6.0-x86_64-1_slack15.0.txt @@ -0,0 +1,11 @@ +pam: pam (Pluggable Authentication Modules) +pam: +pam: PAM = Pluggable Authentication Modules. Basically, it is a flexible +pam: mechanism for authenticating users. PAM provides a way to develop +pam: programs that are independent of authentication scheme. However, +pam: these programs will need "authentication modules" (and libpam) at +pam: run-time in order to work. +pam: +pam: Homepage: http://www.linux-pam.org/ +pam: +pam: diff --git a/patches/source/pam/doinst.sh b/patches/source/pam/doinst.sh new file mode 100644 index 000000000..e96721a14 --- /dev/null +++ b/patches/source/pam/doinst.sh @@ -0,0 +1,14 @@ + +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... +} + diff --git a/patches/source/pam/fedora-patches/pam-1.5.3-unix-nomsg.patch b/patches/source/pam/fedora-patches/pam-1.5.3-unix-nomsg.patch new file mode 100644 index 000000000..3a8abbb1a --- /dev/null +++ b/patches/source/pam/fedora-patches/pam-1.5.3-unix-nomsg.patch @@ -0,0 +1,17 @@ +Index: Linux-PAM-1.5.3/modules/pam_unix/pam_unix_passwd.c +=================================================================== +--- Linux-PAM-1.5.3.orig/modules/pam_unix/pam_unix_passwd.c ++++ Linux-PAM-1.5.3/modules/pam_unix/pam_unix_passwd.c +@@ -678,12 +678,6 @@ pam_sm_chauthtok(pam_handle_t *pamh, int + return PAM_SUCCESS; + } else if (off(UNIX__IAMROOT, ctrl) || + (on(UNIX_NIS, ctrl) && _unix_comesfromsource(pamh, user, 0, 1))) { +- /* instruct user what is happening */ +- if (off(UNIX__QUIET, ctrl)) { +- retval = pam_info(pamh, _("Changing password for %s."), user); +- if (retval != PAM_SUCCESS) +- return retval; +- } + retval = pam_get_authtok(pamh, PAM_OLDAUTHTOK, &pass_old, NULL); + + if (retval != PAM_SUCCESS) { diff --git a/patches/source/pam/fedora-patches/pam-1.6.0-noflex.patch b/patches/source/pam/fedora-patches/pam-1.6.0-noflex.patch new file mode 100644 index 000000000..706841c9d --- /dev/null +++ b/patches/source/pam/fedora-patches/pam-1.6.0-noflex.patch @@ -0,0 +1,24 @@ +diff -up Linux-PAM-1.6.0/doc/Makefile.am.noflex Linux-PAM-1.6.0/doc/Makefile.am +--- Linux-PAM-1.6.0/doc/Makefile.am.noflex 2024-01-23 13:19:04.681955581 +0100 ++++ Linux-PAM-1.6.0/doc/Makefile.am 2024-01-23 13:19:49.740014426 +0100 +@@ -2,7 +2,7 @@ + # Copyright (c) 2005, 2006 Thorsten Kukuk + # + +-SUBDIRS = man specs sag adg mwg ++SUBDIRS = man sag adg mwg + + CLEANFILES = *~ + DISTCLEANFILES = custom-html.xsl custom-man.xsl +diff -up Linux-PAM-1.6.0/Makefile.am.noflex Linux-PAM-1.6.0/Makefile.am +--- Linux-PAM-1.6.0/Makefile.am.noflex 2024-01-23 13:19:04.681955581 +0100 ++++ Linux-PAM-1.6.0/Makefile.am 2024-01-23 13:21:03.428109219 +0100 +@@ -4,7 +4,7 @@ + + AUTOMAKE_OPTIONS = 1.9 gnu dist-xz no-dist-gzip check-news + +-SUBDIRS = libpam tests libpamc libpam_misc modules po conf xtests ++SUBDIRS = libpam tests libpamc libpam_misc modules po doc xtests + + if HAVE_DOC + SUBDIRS += doc diff --git a/patches/source/pam/fedora-patches/pam-1.6.0-redhat-modules.patch b/patches/source/pam/fedora-patches/pam-1.6.0-redhat-modules.patch new file mode 100644 index 000000000..66aa8ff48 --- /dev/null +++ b/patches/source/pam/fedora-patches/pam-1.6.0-redhat-modules.patch @@ -0,0 +1,24 @@ +diff -up Linux-PAM-1.6.0/configure.ac.redhat-modules Linux-PAM-1.6.0/configure.ac +--- Linux-PAM-1.6.0/configure.ac.redhat-modules 2024-01-23 13:16:34.854753145 +0100 ++++ Linux-PAM-1.6.0/configure.ac 2024-01-23 13:17:52.855859922 +0100 +@@ -774,6 +774,8 @@ AC_CONFIG_FILES([Makefile libpam/Makefil + po/Makefile.in \ + Make.xml.rules \ + modules/Makefile \ ++ modules/pam_chroot/Makefile \ ++ modules/pam_postgresok/Makefile \ + modules/pam_access/Makefile \ + modules/pam_canonicalize_user/Makefile \ + modules/pam_debug/Makefile modules/pam_deny/Makefile \ +diff -up Linux-PAM-1.6.0/modules/Makefile.am.redhat-modules Linux-PAM-1.6.0/modules/Makefile.am +--- Linux-PAM-1.6.0/modules/Makefile.am.redhat-modules 2024-01-17 11:29:36.000000000 +0100 ++++ Linux-PAM-1.6.0/modules/Makefile.am 2024-01-23 13:16:34.855753147 +0100 +@@ -48,6 +48,8 @@ SUBDIRS := \ + pam_debug \ + pam_deny \ + pam_echo \ ++ pam_chroot \ ++ pam_postgresok \ + pam_env \ + pam_exec \ + pam_faildelay \ diff --git a/patches/source/pam/pam-redhat.url b/patches/source/pam/pam-redhat.url new file mode 100644 index 000000000..f83042c0a --- /dev/null +++ b/patches/source/pam/pam-redhat.url @@ -0,0 +1 @@ +https://pagure.io/pam-redhat diff --git a/patches/source/pam/pam.SlackBuild b/patches/source/pam/pam.SlackBuild new file mode 100755 index 000000000..d90a3d30c --- /dev/null +++ b/patches/source/pam/pam.SlackBuild @@ -0,0 +1,224 @@ +#!/bin/sh + +# Copyright 2010 Vincent Batts, vbatts@hashbangbash.com +# Copyright 2010, 2011, 2024 Patrick J. Volkerding, Sebeka, Minnesota, 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) + +SRCNAM=Linux-PAM +PKGNAM=pam +PAMRHVER=${PAMRHVER:-$(echo pam-redhat-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1_slack15.0} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export 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) "} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1 +cd $SRCNAM-$VERSION || exit 1 + +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \+ + +# Better take the Red Hat added modules and patches, because that's very +# likely to be the most standard as far as PAM goes: +tar xvf $CWD/pam-redhat-$PAMRHVER.tar.?z || exit 1 +for file in CHANGELOG COPYING README ; do + mv pam-redhat-$PAMRHVER/${file}* ./${file}.pam-redhat +done +# Add additional PAM modules from Red Hat: +for file in pam-redhat-$PAMRHVER/* ; do + if [ ! -d modules/$(basename $file) ]; then + echo "Moving module directory $(basename $file)." + mv $file modules + else + echo "$(basename $file) already exists in modules/, not moving!" + fi +done + +# Patches from the Fedora SRPM: +zcat $CWD/fedora-patches/pam-1.5.3-unix-nomsg.patch.gz | patch -p1 --verbose || exit 1 +zcat $CWD/fedora-patches/pam-1.6.0-noflex.patch.gz | patch -p1 --verbose || exit 1 +zcat $CWD/fedora-patches/pam-1.6.0-redhat-modules.patch.gz | patch -p1 --verbose || exit 1 + +# Improve the comments in /etc/environment: +zcat $CWD/patches/pam.etc.environment.better.comments.diff.gz | patch -p1 --verbose || exit 1 + +# Include stdint.h: +zcat $CWD/patches/pam_namespace.SIZE_MAX.patch.gz | patch -p1 --verbose || exit 1 + +autoreconf -ivf || exit 1 + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/ \ + --libdir=/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --includedir=/usr/include/security \ + --enable-securedir=/lib${LIBDIRSUFFIX}/security \ + --datarootdir=/usr/share \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PKGNAM-$VERSION \ + --disable-regenerate-docu \ + --disable-audit \ + --disable-prelude \ + --disable-rpath \ + --disable-selinux \ + --disable-static \ + --enable-lastlog \ + --build=$ARCH-slackware-linux || exit 1 + +# Make these man pages or the build falls over later +xmlto man modules/pam_faillock/faillock.8.xml -o modules/pam_faillock/ +xmlto man modules/pam_faillock/pam_faillock.8.xml -o modules/pam_faillock/ +xmlto man modules/pam_pwhistory/pwhistory_helper.8.xml -o modules/pam_pwhistory/ + +make -C po update-gmo +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +# The ones in /lib${LIBDIRSUFFIX}/security can also go: +rm -f $PKG/lib${LIBDIRSUFFIX}/security/*.la + +# Add extra symlinks added by pam.spec: +( cd $PKG/lib${LIBDIRSUFFIX}/security + for type in acct auth passwd session ; do + ln -sf pam_unix.so pam_unix_${type}.so + done +) + +# This is a pam helper that can only be called from pam +chown root:root $PKG/sbin/unix_chkpwd +chmod 6755 $PKG/sbin/unix_chkpwd + +# This package can own the /etc/pam.d/ directory +mkdir -p $PKG/etc/pam.d + +# Relocate pkgconfig files: +if [ -d $PKG/lib${LIBDIRSUFFIX}/pkgconfig -a ! -d $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig ]; then + mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} + mv $PKG/lib${LIBDIRSUFFIX}/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX} +fi + +# Strip binaries: +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) + +# Don't clobber config files: +find $PKG/etc -type f -exec mv {} {}.new \; + +# Compress and if needed symlink the man pages: +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) ; do + ln -s $( readlink $eachpage ).gz $eachpage.gz + rm $eachpage + done + gzip -9 *.? + ) + done + ) +fi + +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +cp -a \ + AUTHORS COPYING* Copyright NEWS README* \ + $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 [ -r CHANGELOG ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat CHANGELOG | head -n 1000 > $DOCSDIR/CHANGELOG + touch -r CHANGELOG $DOCSDIR/CHANGELOG +fi +rm -f $PKG/usr/doc/$PKGNAM-$VERSION/index.html + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh + +# Append config statements to the install/doinst.sh: +( cd $PKG + for i in $(find etc -type f -name "*.new") ; do + echo "config $i" >> $PKG/install/doinst.sh ; + done +) + +cd $PKG +/sbin/makepkg -p -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/patches/source/pam/pam.url b/patches/source/pam/pam.url new file mode 100644 index 000000000..d9bd3667c --- /dev/null +++ b/patches/source/pam/pam.url @@ -0,0 +1,2 @@ +#http://www.linux-pam.org/library/Linux-PAM-1.5.3.tar.bz2 +https://github.com/linux-pam/linux-pam/releases diff --git a/patches/source/pam/patches/pam.etc.environment.better.comments.diff b/patches/source/pam/patches/pam.etc.environment.better.comments.diff new file mode 100644 index 000000000..6899e4c14 --- /dev/null +++ b/patches/source/pam/patches/pam.etc.environment.better.comments.diff @@ -0,0 +1,15 @@ +--- ./modules/pam_env/environment.orig 2017-02-10 04:10:15.000000000 -0600 ++++ ./modules/pam_env/environment 2020-01-02 14:40:48.793005303 -0600 +@@ -1,5 +1,10 @@ +-# +-# This file is parsed by pam_env module ++# /etc/environment ++# This file is parsed by pam_env module. ++# This file may contain environment variable settings that should be used ++# system-wide. Please note that it is not a script file and should only ++# contain assignment expressions, one per line. ++# The environment variables in this file will be loaded before those in other ++# files such as: /etc/profile, /etc/profile.d/*, ~/.profile, etc. + # + # Syntax: simple "KEY=VAL" pairs on separate lines + # diff --git a/patches/source/pam/patches/pam_namespace.SIZE_MAX.patch b/patches/source/pam/patches/pam_namespace.SIZE_MAX.patch new file mode 100644 index 000000000..0415461d9 --- /dev/null +++ b/patches/source/pam/patches/pam_namespace.SIZE_MAX.patch @@ -0,0 +1,10 @@ +--- ./modules/pam_namespace/pam_namespace.c.orig 2024-01-17 04:29:36.000000000 -0600 ++++ ./modules/pam_namespace/pam_namespace.c 2024-01-26 14:38:48.683016434 -0600 +@@ -38,6 +38,7 @@ + #include "pam_inline.h" + #include "pam_namespace.h" + #include "argv_parse.h" ++#include + + /* --- evaluating all files in VENDORDIR/security/namespace.d and /etc/security/namespace.d --- */ + static const char *base_name(const char *path) diff --git a/patches/source/pam/slack-desc b/patches/source/pam/slack-desc new file mode 100644 index 000000000..7c0bcbbd9 --- /dev/null +++ b/patches/source/pam/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 ':'. + + |-----handy-ruler------------------------------------------------------| +pam: pam (Pluggable Authentication Modules) +pam: +pam: PAM = Pluggable Authentication Modules. Basically, it is a flexible +pam: mechanism for authenticating users. PAM provides a way to develop +pam: programs that are independent of authentication scheme. However, +pam: these programs will need "authentication modules" (and libpam) at +pam: run-time in order to work. +pam: +pam: Homepage: http://www.linux-pam.org/ +pam: +pam: diff --git a/recompress.sh b/recompress.sh index 1a9b18efc..9ef7da698 100755 --- a/recompress.sh +++ b/recompress.sh @@ -1262,6 +1262,12 @@ gzip ./patches/source/gegl/gegl.no.runtime.dot.check.diff gzip ./patches/source/tar/CVE-2022-48303.patch gzip ./patches/source/tar/tar-1.13.bzip2.diff gzip ./patches/source/tar/tar.nolonezero.diff +gzip ./patches/source/pam/patches/pam_namespace.SIZE_MAX.patch +gzip ./patches/source/pam/patches/pam.etc.environment.better.comments.diff +gzip ./patches/source/pam/fedora-patches/pam-1.6.0-redhat-modules.patch +gzip ./patches/source/pam/fedora-patches/pam-1.6.0-noflex.patch +gzip ./patches/source/pam/fedora-patches/pam-1.5.3-unix-nomsg.patch +gzip ./patches/source/pam/doinst.sh gzip ./patches/source/glibc-zoneinfo/doinst.sh gzip ./patches/source/glibc-zoneinfo/zic.default.fat.diff gzip ./patches/source/sudo/doinst.sh