From 8e0b115ff3be360a6e31635f57629008062a66f3 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Mon, 22 May 2023 19:05:02 +0000 Subject: Mon May 22 19:05:02 UTC 2023 patches/packages/c-ares-1.19.1-x86_64-1_slack15.0.txz: Upgraded. This update fixes bugs and security issues: 0-byte UDP payload causes Denial of Service. Insufficient randomness in generation of DNS query IDs. Buffer Underwrite in ares_inet_net_pton(). AutoTools does not set CARES_RANDOM_FILE during cross compilation. For more information, see: https://www.cve.org/CVERecord?id=CVE-2023-32067 https://www.cve.org/CVERecord?id=CVE-2023-31147 https://www.cve.org/CVERecord?id=CVE-2023-31130 https://www.cve.org/CVERecord?id=CVE-2023-31124 (* Security fix *) --- ChangeLog.rss | 26 +++- ChangeLog.txt | 14 ++ FILELIST.TXT | 91 +++++++------ .../packages/c-ares-1.19.1-x86_64-1_slack15.0.txt | 11 ++ patches/source/c-ares/c-ares.SlackBuild | 142 +++++++++++++++++++++ patches/source/c-ares/slack-desc | 19 +++ 6 files changed, 259 insertions(+), 44 deletions(-) create mode 100644 patches/packages/c-ares-1.19.1-x86_64-1_slack15.0.txt create mode 100755 patches/source/c-ares/c-ares.SlackBuild create mode 100644 patches/source/c-ares/slack-desc diff --git a/ChangeLog.rss b/ChangeLog.rss index ad60250a2..3fdb0cfbc 100644 --- a/ChangeLog.rss +++ b/ChangeLog.rss @@ -11,9 +11,31 @@ Tracking Slackware development in git. en-us urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f - Fri, 19 May 2023 18:59:24 GMT - Sat, 20 May 2023 11:38:45 GMT + Mon, 22 May 2023 19:05:02 GMT + Tue, 23 May 2023 11:30:15 GMT maintain_current_git.sh v 1.17 + + Mon, 22 May 2023 19:05:02 GMT + Mon, 22 May 2023 19:05:02 GMT + https://git.slackware.nl/current/tag/?h=20230522190502 + 20230522190502 + + +patches/packages/c-ares-1.19.1-x86_64-1_slack15.0.txz: Upgraded. + This update fixes bugs and security issues: + 0-byte UDP payload causes Denial of Service. + Insufficient randomness in generation of DNS query IDs. + Buffer Underwrite in ares_inet_net_pton(). + AutoTools does not set CARES_RANDOM_FILE during cross compilation. + For more information, see: + https://www.cve.org/CVERecord?id=CVE-2023-32067 + https://www.cve.org/CVERecord?id=CVE-2023-31147 + https://www.cve.org/CVERecord?id=CVE-2023-31130 + https://www.cve.org/CVERecord?id=CVE-2023-31124 + (* Security fix *) + ]]> + + Fri, 19 May 2023 18:59:24 GMT Fri, 19 May 2023 18:59:24 GMT diff --git a/ChangeLog.txt b/ChangeLog.txt index 8e0b73b0a..745192382 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,17 @@ +Mon May 22 19:05:02 UTC 2023 +patches/packages/c-ares-1.19.1-x86_64-1_slack15.0.txz: Upgraded. + This update fixes bugs and security issues: + 0-byte UDP payload causes Denial of Service. + Insufficient randomness in generation of DNS query IDs. + Buffer Underwrite in ares_inet_net_pton(). + AutoTools does not set CARES_RANDOM_FILE during cross compilation. + For more information, see: + https://www.cve.org/CVERecord?id=CVE-2023-32067 + https://www.cve.org/CVERecord?id=CVE-2023-31147 + https://www.cve.org/CVERecord?id=CVE-2023-31130 + https://www.cve.org/CVERecord?id=CVE-2023-31124 + (* Security fix *) ++--------------------------+ Fri May 19 18:59:24 UTC 2023 patches/packages/cups-filters-1.28.17-x86_64-1_slack15.0.txz: Upgraded. [PATCH] Merge pull request from GHSA-gpxc-v2m8-fr3x. diff --git a/FILELIST.TXT b/FILELIST.TXT index 33d78e7ad..4d677cd7c 100644 --- a/FILELIST.TXT +++ b/FILELIST.TXT @@ -1,20 +1,20 @@ -Fri May 19 19:01:52 UTC 2023 +Mon May 22 19:07:31 UTC 2023 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 2023-05-19 18:59 . +drwxr-xr-x 12 root root 4096 2023-05-22 19:05 . -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 1176579 2023-05-17 21:06 ./CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2023-05-17 21:06 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 1177375 2023-05-19 19:02 ./CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2023-05-19 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 2011831 2023-05-19 18:59 ./ChangeLog.txt +-rw-r--r-- 1 root root 2012478 2023-05-22 19:05 ./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 1534352 2023-05-17 21:06 ./FILELIST.TXT +-rw-r--r-- 1 root root 1535381 2023-05-19 19:01 ./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 @@ -738,13 +738,13 @@ drwxr-xr-x 2 root root 4096 2008-05-07 05:21 ./pasture/source/php/pear -rwxr-xr-x 1 root root 9448 2018-05-16 22:38 ./pasture/source/php/php.SlackBuild -rw-r--r-- 1 root root 775 2017-07-07 19:25 ./pasture/source/php/php.ini-development.diff.gz -rw-r--r-- 1 root root 830 2005-12-09 05:18 ./pasture/source/php/slack-desc -drwxr-xr-x 4 root root 4096 2023-05-19 19:01 ./patches --rw-r--r-- 1 root root 71093 2023-05-19 19:01 ./patches/CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2023-05-19 19:01 ./patches/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 96249 2023-05-19 19:01 ./patches/FILE_LIST --rw-r--r-- 1 root root 12012998 2023-05-19 19:01 ./patches/MANIFEST.bz2 --rw-r--r-- 1 root root 51431 2023-05-19 19:01 ./patches/PACKAGES.TXT -drwxr-xr-x 3 root root 20480 2023-05-19 19:01 ./patches/packages +drwxr-xr-x 4 root root 4096 2023-05-22 19:07 ./patches +-rw-r--r-- 1 root root 71543 2023-05-22 19:07 ./patches/CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2023-05-22 19:07 ./patches/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 96868 2023-05-22 19:07 ./patches/FILE_LIST +-rw-r--r-- 1 root root 12033163 2023-05-22 19:07 ./patches/MANIFEST.bz2 +-rw-r--r-- 1 root root 52089 2023-05-22 19:07 ./patches/PACKAGES.TXT +drwxr-xr-x 3 root root 20480 2023-05-22 19:07 ./patches/packages -rw-r--r-- 1 root root 327 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txt -rw-r--r-- 1 root root 10716 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txz -rw-r--r-- 1 root root 163 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txz.asc @@ -766,6 +766,9 @@ drwxr-xr-x 3 root root 20480 2023-05-19 19:01 ./patches/packages -rw-r--r-- 1 root root 432 2022-03-08 02:17 ./patches/packages/boost-1.78.0-x86_64-2_slack15.0.txt -rw-r--r-- 1 root root 11235356 2022-03-08 02:17 ./patches/packages/boost-1.78.0-x86_64-2_slack15.0.txz -rw-r--r-- 1 root root 163 2022-03-08 02:17 ./patches/packages/boost-1.78.0-x86_64-2_slack15.0.txz.asc +-rw-r--r-- 1 root root 484 2023-05-22 17:48 ./patches/packages/c-ares-1.19.1-x86_64-1_slack15.0.txt +-rw-r--r-- 1 root root 139872 2023-05-22 17:48 ./patches/packages/c-ares-1.19.1-x86_64-1_slack15.0.txz +-rw-r--r-- 1 root root 163 2023-05-22 17:48 ./patches/packages/c-ares-1.19.1-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 367 2023-05-06 18:52 ./patches/packages/ca-certificates-20230506-noarch-1_slack15.0.txt -rw-r--r-- 1 root root 135688 2023-05-06 18:52 ./patches/packages/ca-certificates-20230506-noarch-1_slack15.0.txz -rw-r--r-- 1 root root 163 2023-05-06 18:52 ./patches/packages/ca-certificates-20230506-noarch-1_slack15.0.txz.asc @@ -992,7 +995,7 @@ drwxr-xr-x 2 root root 4096 2023-02-18 02:05 ./patches/packages/linux-5.15 -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 74 root root 4096 2023-05-19 18:56 ./patches/source +drwxr-xr-x 75 root root 4096 2023-05-22 18:04 ./patches/source drwxr-xr-x 2 root root 4096 2022-01-16 05:07 ./patches/source/aaa_base -rw-r--r-- 1 root root 11041 2022-02-15 04:49 ./patches/source/aaa_base/_aaa_base.tar.gz -rwxr-xr-x 1 root root 3894 2022-02-15 05:07 ./patches/source/aaa_base/aaa_base.SlackBuild @@ -1052,6 +1055,10 @@ drwxr-xr-x 2 root root 4096 2022-03-08 01:58 ./patches/source/boost -rwxr-xr-x 1 root root 5995 2022-03-08 01:59 ./patches/source/boost/boost.SlackBuild -rw-r--r-- 1 root root 91192426 2021-12-02 07:20 ./patches/source/boost/boost_1_78_0.tar.lz -rw-r--r-- 1 root root 885 2021-04-17 17:57 ./patches/source/boost/slack-desc +drwxr-xr-x 2 root root 4096 2023-05-22 17:44 ./patches/source/c-ares +-rw-r--r-- 1 root root 850658 2023-05-22 12:25 ./patches/source/c-ares/c-ares-1.19.1.tar.lz +-rwxr-xr-x 1 root root 4427 2023-05-22 17:48 ./patches/source/c-ares/c-ares.SlackBuild +-rw-r--r-- 1 root root 970 2021-04-09 19:13 ./patches/source/c-ares/slack-desc drwxr-xr-x 2 root root 4096 2023-05-06 18:51 ./patches/source/ca-certificates -rwxr-xr-x 1 root root 3671 2023-01-10 21:37 ./patches/source/ca-certificates/ca-certificates.SlackBuild -rw-r--r-- 1 root root 14672 2018-12-11 03:14 ./patches/source/ca-certificates/ca-certificates.tar.lz @@ -2746,12 +2753,12 @@ drwxr-xr-x 2 root root 69632 2022-02-01 08:29 ./slackware64/kde -rw-r--r-- 1 root root 163 2022-01-04 21:34 ./slackware64/kde/breeze-5.23.5-x86_64-1.txz.asc -rw-r--r-- 1 root root 202 2022-01-04 21:34 ./slackware64/kde/breeze-grub-5.23.5-x86_64-1.txt -rw-r--r-- 1 root root 3140496 2022-01-04 21:34 ./slackware64/kde/breeze-grub-5.23.5-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-04 21:34 ./slackware64/kde/breeze-grub-5.23.5-x86_64-1.txz.asc --rw-r--r-- 1 root root 218 2022-01-04 21:34 ./slackware64/kde/breeze-gtk-5.23.5-x86_64-1.txt --rw-r--r-- 1 root root 182972 2022-01-04 21:34 ./slackware64/kde/breeze-gtk-5.23.5-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-04 21:34 ./slackware64/kde/breeze-gtk-5.23.5-x86_64-1.txz.asc --rw-r--r-- 1 root root 303 2022-01-08 22:30 ./slackware64/kde/breeze-icons-5.90.0-noarch-1.txt --rw-r--r-- 1 root root 4259620 2022-01-08 22:30 ./slackware64/kde/breeze-icons-5.90.0-noarch-1.txz +-rw-r--r-- 1 root root 163 2022-01-04 21:34 ./slackware64/kde/breeze-grub-5.23.5-x86_64-1.txz.asc +-rw-r--r-- 1 root root 218 2022-01-04 21:34 ./slackware64/kde/breeze-gtk-5.23.5-x86_64-1.txt +-rw-r--r-- 1 root root 182972 2022-01-04 21:34 ./slackware64/kde/breeze-gtk-5.23.5-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-04 21:34 ./slackware64/kde/breeze-gtk-5.23.5-x86_64-1.txz.asc +-rw-r--r-- 1 root root 303 2022-01-08 22:30 ./slackware64/kde/breeze-icons-5.90.0-noarch-1.txt +-rw-r--r-- 1 root root 4259620 2022-01-08 22:30 ./slackware64/kde/breeze-icons-5.90.0-noarch-1.txz -rw-r--r-- 1 root root 163 2022-01-08 22:30 ./slackware64/kde/breeze-icons-5.90.0-noarch-1.txz.asc -rw-r--r-- 1 root root 293 2022-01-06 21:42 ./slackware64/kde/calendarsupport-21.12.1-x86_64-1.txt -rw-r--r-- 1 root root 565492 2022-01-06 21:42 ./slackware64/kde/calendarsupport-21.12.1-x86_64-1.txz @@ -5483,12 +5490,12 @@ drwxr-xr-x 2 root root 65536 2022-02-01 04:47 ./slackware64/x -rw-r--r-- 1 root root 304 2021-02-13 12:45 ./slackware64/x/fcitx-libpinyin-0.5.4-x86_64-2.txt -rw-r--r-- 1 root root 9915684 2021-02-13 12:45 ./slackware64/x/fcitx-libpinyin-0.5.4-x86_64-2.txz -rw-r--r-- 1 root root 163 2021-02-13 12:45 ./slackware64/x/fcitx-libpinyin-0.5.4-x86_64-2.txz.asc --rw-r--r-- 1 root root 266 2021-02-13 12:45 ./slackware64/x/fcitx-m17n-0.2.4-x86_64-3.txt --rw-r--r-- 1 root root 28156 2021-02-13 12:45 ./slackware64/x/fcitx-m17n-0.2.4-x86_64-3.txz --rw-r--r-- 1 root root 163 2021-02-13 12:45 ./slackware64/x/fcitx-m17n-0.2.4-x86_64-3.txz.asc --rw-r--r-- 1 root root 224 2022-01-05 06:55 ./slackware64/x/fcitx-qt5-1.2.7-x86_64-1.txt --rw-r--r-- 1 root root 153040 2022-01-05 06:55 ./slackware64/x/fcitx-qt5-1.2.7-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-05 06:55 ./slackware64/x/fcitx-qt5-1.2.7-x86_64-1.txz.asc +-rw-r--r-- 1 root root 266 2021-02-13 12:45 ./slackware64/x/fcitx-m17n-0.2.4-x86_64-3.txt +-rw-r--r-- 1 root root 28156 2021-02-13 12:45 ./slackware64/x/fcitx-m17n-0.2.4-x86_64-3.txz +-rw-r--r-- 1 root root 163 2021-02-13 12:45 ./slackware64/x/fcitx-m17n-0.2.4-x86_64-3.txz.asc +-rw-r--r-- 1 root root 224 2022-01-05 06:55 ./slackware64/x/fcitx-qt5-1.2.7-x86_64-1.txt +-rw-r--r-- 1 root root 153040 2022-01-05 06:55 ./slackware64/x/fcitx-qt5-1.2.7-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-05 06:55 ./slackware64/x/fcitx-qt5-1.2.7-x86_64-1.txz.asc -rw-r--r-- 1 root root 278 2021-02-13 12:45 ./slackware64/x/fcitx-sayura-0.1.2-x86_64-3.txt -rw-r--r-- 1 root root 18380 2021-02-13 12:45 ./slackware64/x/fcitx-sayura-0.1.2-x86_64-3.txz -rw-r--r-- 1 root root 163 2021-02-13 12:45 ./slackware64/x/fcitx-sayura-0.1.2-x86_64-3.txz.asc @@ -8620,14 +8627,14 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/p2c -rw-r--r-- 1 root root 304657 2016-01-04 23:03 ./source/d/p2c/p2c-2.01.tar.lz -rwxr-xr-x 1 root root 5093 2021-02-13 05:31 ./source/d/p2c/p2c.SlackBuild -rw-r--r-- 1 root root 50 2019-02-21 19:17 ./source/d/p2c/p2c.url --rw-r--r-- 1 root root 994 2018-02-27 06:13 ./source/d/p2c/slack-desc -drwxr-xr-x 2 root root 4096 2022-01-23 01:07 ./source/d/parallel --rw-r--r-- 1 root root 1794754 2022-01-22 15:49 ./source/d/parallel/parallel-20220122.tar.lz --rwxr-xr-x 1 root root 4533 2021-02-22 20:43 ./source/d/parallel/parallel.SlackBuild --rw-r--r-- 1 root root 857 2018-04-21 03:27 ./source/d/parallel/slack-desc -drwxr-xr-x 2 root root 4096 2021-12-14 21:01 ./source/d/patchelf --rw-r--r-- 1 root root 91259 2021-12-05 14:39 ./source/d/patchelf/patchelf-0.14.3.tar.lz --rwxr-xr-x 1 root root 4422 2021-08-06 17:30 ./source/d/patchelf/patchelf.SlackBuild +-rw-r--r-- 1 root root 994 2018-02-27 06:13 ./source/d/p2c/slack-desc +drwxr-xr-x 2 root root 4096 2022-01-23 01:07 ./source/d/parallel +-rw-r--r-- 1 root root 1794754 2022-01-22 15:49 ./source/d/parallel/parallel-20220122.tar.lz +-rwxr-xr-x 1 root root 4533 2021-02-22 20:43 ./source/d/parallel/parallel.SlackBuild +-rw-r--r-- 1 root root 857 2018-04-21 03:27 ./source/d/parallel/slack-desc +drwxr-xr-x 2 root root 4096 2021-12-14 21:01 ./source/d/patchelf +-rw-r--r-- 1 root root 91259 2021-12-05 14:39 ./source/d/patchelf/patchelf-0.14.3.tar.lz +-rwxr-xr-x 1 root root 4422 2021-08-06 17:30 ./source/d/patchelf/patchelf.SlackBuild -rw-r--r-- 1 root root 925 2018-02-27 06:13 ./source/d/patchelf/slack-desc drwxr-xr-x 2 root root 4096 2021-05-21 04:53 ./source/d/perl -rw-r--r-- 1 root root 45129 2012-09-04 16:12 ./source/d/perl/Authen-SASL-2.16.tar.gz @@ -15044,14 +15051,14 @@ drwxr-xr-x 2 root root 12288 2020-05-18 17:50 ./source/x/x11/slack-desc -rw-r--r-- 1 root root 848 2012-04-08 02:18 ./source/x/x11/slack-desc/font-sun-misc -rw-r--r-- 1 root root 822 2012-04-08 02:18 ./source/x/x11/slack-desc/font-util -rw-r--r-- 1 root root 974 2012-04-08 02:19 ./source/x/x11/slack-desc/font-winitzki-cyrillic --rw-r--r-- 1 root root 920 2012-04-08 02:20 ./source/x/x11/slack-desc/font-xfree86-type1 --rw-r--r-- 1 root root 883 2012-04-08 02:20 ./source/x/x11/slack-desc/fontcacheproto --rw-r--r-- 1 root root 824 2012-04-08 02:20 ./source/x/x11/slack-desc/fontsproto --rw-r--r-- 1 root root 833 2012-04-08 02:22 ./source/x/x11/slack-desc/fonttosfnt --rw-r--r-- 1 root root 823 2012-04-08 02:23 ./source/x/x11/slack-desc/fslsfonts --rw-r--r-- 1 root root 829 2012-04-08 02:23 ./source/x/x11/slack-desc/fstobdf --rw-r--r-- 1 root root 818 2012-04-08 02:23 ./source/x/x11/slack-desc/gccmakedep --rw-r--r-- 1 root root 736 2014-05-13 20:38 ./source/x/x11/slack-desc/glamor-egl +-rw-r--r-- 1 root root 920 2012-04-08 02:20 ./source/x/x11/slack-desc/font-xfree86-type1 +-rw-r--r-- 1 root root 883 2012-04-08 02:20 ./source/x/x11/slack-desc/fontcacheproto +-rw-r--r-- 1 root root 824 2012-04-08 02:20 ./source/x/x11/slack-desc/fontsproto +-rw-r--r-- 1 root root 833 2012-04-08 02:22 ./source/x/x11/slack-desc/fonttosfnt +-rw-r--r-- 1 root root 823 2012-04-08 02:23 ./source/x/x11/slack-desc/fslsfonts +-rw-r--r-- 1 root root 829 2012-04-08 02:23 ./source/x/x11/slack-desc/fstobdf +-rw-r--r-- 1 root root 818 2012-04-08 02:23 ./source/x/x11/slack-desc/gccmakedep +-rw-r--r-- 1 root root 736 2014-05-13 20:38 ./source/x/x11/slack-desc/glamor-egl -rw-r--r-- 1 root root 781 2012-04-08 02:25 ./source/x/x11/slack-desc/glproto -rw-r--r-- 1 root root 805 2018-02-26 22:55 ./source/x/x11/slack-desc/iceauth -rw-r--r-- 1 root root 760 2018-02-26 22:55 ./source/x/x11/slack-desc/ico diff --git a/patches/packages/c-ares-1.19.1-x86_64-1_slack15.0.txt b/patches/packages/c-ares-1.19.1-x86_64-1_slack15.0.txt new file mode 100644 index 000000000..03121665d --- /dev/null +++ b/patches/packages/c-ares-1.19.1-x86_64-1_slack15.0.txt @@ -0,0 +1,11 @@ +c-ares: c-ares (C library for DNS requests) +c-ares: +c-ares: This is c-ares, an asynchronous resolver library. It is intended for +c-ares: applications which need to perform DNS queries without blocking, or +c-ares: need to perform multiple DNS queries in parallel. The primary examples +c-ares: of such applications are servers which communicate with multiple +c-ares: clients and programs with graphical user interfaces. +c-ares: +c-ares: Homepage: https://c-ares.haxx.se/ +c-ares: +c-ares: diff --git a/patches/source/c-ares/c-ares.SlackBuild b/patches/source/c-ares/c-ares.SlackBuild new file mode 100755 index 000000000..9eee35ded --- /dev/null +++ b/patches/source/c-ares/c-ares.SlackBuild @@ -0,0 +1,142 @@ +#!/bin/bash + +# Copyright 2021 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) + +PKGNAM=c-ares +VERSION=${VERSION:-$(echo $PKGNAM-*.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) ARCH=i586 ;; + arm*) readelf /usr/bin/file -A | grep -E -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$(uname -m) ;; + esac + export ARCH +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" = "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 + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf $PKGNAM-$VERSION +tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1 +cd $PKGNAM-$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 {} \+ + +# Configure, build, and install: +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --docdir=/usr/doc/$PKGNAM-$VERSION \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --disable-static \ + --build=$ARCH-slackware-linux || exit 1 +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +# Strip binaries: +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +# Compress manual pages: +find $PKG/usr/man -type f -exec gzip -9 {} \+ +for i in $( find $PKG/usr/man -type l ) ; do + ln -s $( readlink $i ).gz $i.gz + rm $i +done + +# Add a documentation directory: +mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION +cp -a \ + AUTHORS* CHANGES* CONTRIBUTING* INSTALL* LICENSE* NEWS* README* RELEASE-NOTES* SECURITY* TODO* \ + $PKG/usr/doc/${PKGNAM}-$VERSION + +# If there's a CHANGES file, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r CHANGES ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat CHANGES | head -n 1000 > $DOCSDIR/CHANGES + touch -r CHANGES $DOCSDIR/CHANGES +fi + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/patches/source/c-ares/slack-desc b/patches/source/c-ares/slack-desc new file mode 100644 index 000000000..120a4190f --- /dev/null +++ b/patches/source/c-ares/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------------------------------------------------------| +c-ares: c-ares (C library for DNS requests) +c-ares: +c-ares: This is c-ares, an asynchronous resolver library. It is intended for +c-ares: applications which need to perform DNS queries without blocking, or +c-ares: need to perform multiple DNS queries in parallel. The primary examples +c-ares: of such applications are servers which communicate with multiple +c-ares: clients and programs with graphical user interfaces. +c-ares: +c-ares: Homepage: https://c-ares.haxx.se/ +c-ares: +c-ares: -- cgit v1.2.3-79-gdb01