diff --git a/ChangeLog.rss b/ChangeLog.rss index f41aa0dad..72a534f3a 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 - Wed, 6 Apr 2022 20:23:46 GMT - Thu, 7 Apr 2022 11:29:36 GMT + Fri, 8 Apr 2022 20:03:36 GMT + Sat, 9 Apr 2022 11:29:49 GMT maintain_current_git.sh v 1.17 + + Fri, 8 Apr 2022 20:03:36 GMT + Fri, 8 Apr 2022 20:03:36 GMT + https://git.slackware.nl/current/tag/?h=20220408200336 + 20220408200336 + + +patches/packages/libarchive-3.6.1-x86_64-1_slack15.0.txz: Upgraded. + This is a bugfix and security release. + Security fixes: + 7zip reader: fix PPMD read beyond boundary. + ZIP reader: fix possible out of bounds read. + ISO reader: fix possible heap buffer overflow in read_children(). + RARv4 redaer: fix multiple issues in RARv4 filter code (introduced in + libarchive 3.6.0). + Fix heap use after free in archive_read_format_rar_read_data(). + Fix null dereference in read_data_compressed(). + Fix heap user after free in run_filters(). + (* Security fix *) + ]]> + + Wed, 6 Apr 2022 20:23:46 GMT Wed, 6 Apr 2022 20:23:46 GMT diff --git a/ChangeLog.txt b/ChangeLog.txt index 9a2fb3eb2..b74024372 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,17 @@ +Fri Apr 8 20:03:36 UTC 2022 +patches/packages/libarchive-3.6.1-x86_64-1_slack15.0.txz: Upgraded. + This is a bugfix and security release. + Security fixes: + 7zip reader: fix PPMD read beyond boundary. + ZIP reader: fix possible out of bounds read. + ISO reader: fix possible heap buffer overflow in read_children(). + RARv4 redaer: fix multiple issues in RARv4 filter code (introduced in + libarchive 3.6.0). + Fix heap use after free in archive_read_format_rar_read_data(). + Fix null dereference in read_data_compressed(). + Fix heap user after free in run_filters(). + (* Security fix *) ++--------------------------+ Wed Apr 6 20:23:46 UTC 2022 patches/packages/mozilla-thunderbird-91.8.0-x86_64-1_slack15.0.txz: Upgraded. This release contains security fixes and improvements. diff --git a/FILELIST.TXT b/FILELIST.TXT index 00827f9fe..7df48821d 100644 --- a/FILELIST.TXT +++ b/FILELIST.TXT @@ -1,20 +1,20 @@ -Wed Apr 6 20:26:56 UTC 2022 +Fri Apr 8 20:08:48 UTC 2022 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 2022-04-06 20:23 . +drwxr-xr-x 12 root root 4096 2022-04-08 20:03 . -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 1130796 2022-04-05 19:20 ./CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2022-04-05 19:20 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 1130796 2022-04-06 20:27 ./CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-04-06 20:27 ./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 1886005 2022-04-06 20:23 ./ChangeLog.txt +-rw-r--r-- 1 root root 1886643 2022-04-08 20:03 ./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 1475894 2022-04-05 19:19 ./FILELIST.TXT +-rw-r--r-- 1 root root 1475894 2022-04-06 20:26 ./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 @@ -737,13 +737,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 2022-04-06 20:26 ./patches --rw-r--r-- 1 root root 28808 2022-04-06 20:26 ./patches/CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2022-04-06 20:26 ./patches/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 38520 2022-04-06 20:26 ./patches/FILE_LIST --rw-r--r-- 1 root root 10954840 2022-04-06 20:26 ./patches/MANIFEST.bz2 --rw-r--r-- 1 root root 20190 2022-04-06 20:26 ./patches/PACKAGES.TXT -drwxr-xr-x 3 root root 12288 2022-04-06 20:26 ./patches/packages +drwxr-xr-x 4 root root 4096 2022-04-08 20:08 ./patches +-rw-r--r-- 1 root root 29437 2022-04-08 20:08 ./patches/CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-04-08 20:08 ./patches/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 39356 2022-04-08 20:08 ./patches/FILE_LIST +-rw-r--r-- 1 root root 10971958 2022-04-08 20:08 ./patches/MANIFEST.bz2 +-rw-r--r-- 1 root root 20754 2022-04-08 20:08 ./patches/PACKAGES.TXT +drwxr-xr-x 3 root root 12288 2022-04-08 20:08 ./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 @@ -777,6 +777,9 @@ drwxr-xr-x 3 root root 12288 2022-04-06 20:26 ./patches/packages -rw-r--r-- 1 root root 513 2022-03-14 17:42 ./patches/packages/httpd-2.4.53-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 3882140 2022-03-14 17:42 ./patches/packages/httpd-2.4.53-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-03-14 17:42 ./patches/packages/httpd-2.4.53-x86_64-1_slack15.0.txz.asc +-rw-r--r-- 1 root root 402 2022-04-08 18:31 ./patches/packages/libarchive-3.6.1-x86_64-1_slack15.0.txt +-rw-r--r-- 1 root root 514852 2022-04-08 18:31 ./patches/packages/libarchive-3.6.1-x86_64-1_slack15.0.txz +-rw-r--r-- 1 root root 163 2022-04-08 18:31 ./patches/packages/libarchive-3.6.1-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 518 2022-03-01 04:41 ./patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 1373572 2022-03-01 04:41 ./patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-03-01 04:41 ./patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txz.asc @@ -844,7 +847,7 @@ drwxr-xr-x 2 root root 4096 2022-03-09 04:17 ./patches/packages/linux-5.15 -rw-r--r-- 1 root root 388 2022-03-28 19:09 ./patches/packages/zlib-1.2.12-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 105204 2022-03-28 19:09 ./patches/packages/zlib-1.2.12-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-03-28 19:09 ./patches/packages/zlib-1.2.12-x86_64-1_slack15.0.txz.asc -drwxr-xr-x 28 root root 4096 2022-04-06 20:21 ./patches/source +drwxr-xr-x 29 root root 4096 2022-04-08 19:55 ./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 @@ -953,6 +956,12 @@ drwxr-xr-x 2 root root 4096 2022-03-14 17:38 ./patches/source/httpd -rw-r--r-- 1 root root 171 2021-05-23 19:15 ./patches/source/httpd/logrotate.httpd -rw-r--r-- 1 root root 1083 2018-03-20 18:37 ./patches/source/httpd/rc.httpd -rw-r--r-- 1 root root 966 2018-02-27 06:13 ./patches/source/httpd/slack-desc +drwxr-xr-x 2 root root 4096 2022-04-08 18:24 ./patches/source/libarchive +-rw-r--r-- 1 root root 5241148 2022-04-08 12:39 ./patches/source/libarchive/libarchive-3.6.1.tar.xz +-rw-r--r-- 1 root root 833 2022-04-08 12:39 ./patches/source/libarchive/libarchive-3.6.1.tar.xz.asc +-rwxr-xr-x 1 root root 3676 2022-04-08 18:29 ./patches/source/libarchive/libarchive.SlackBuild +-rw-r--r-- 1 root root 41 2019-06-17 02:47 ./patches/source/libarchive/libarchive.url +-rw-r--r-- 1 root root 856 2018-02-27 06:12 ./patches/source/libarchive/slack-desc drwxr-xr-x 2 root root 4096 2022-02-28 19:02 ./patches/source/libxml2 -rw-r--r-- 1 root root 2756892 2022-02-19 18:26 ./patches/source/libxml2/libxml2-2.9.13.tar.xz -rwxr-xr-x 1 root root 4926 2022-03-01 01:04 ./patches/source/libxml2/libxml2.SlackBuild @@ -2724,14 +2733,14 @@ drwxr-xr-x 2 root root 69632 2022-02-01 08:29 ./slackware64/kde -rw-r--r-- 1 root root 281 2022-01-08 22:35 ./slackware64/kde/kpty-5.90.0-x86_64-1.txt -rw-r--r-- 1 root root 51052 2022-01-08 22:35 ./slackware64/kde/kpty-5.90.0-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-01-08 22:35 ./slackware64/kde/kpty-5.90.0-x86_64-1.txz.asc --rw-r--r-- 1 root root 369 2022-01-06 22:56 ./slackware64/kde/kpublictransport-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 582816 2022-01-06 22:56 ./slackware64/kde/kpublictransport-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 22:56 ./slackware64/kde/kpublictransport-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 295 2022-01-06 22:43 ./slackware64/kde/kqtquickcharts-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 57416 2022-01-06 22:43 ./slackware64/kde/kqtquickcharts-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 22:43 ./slackware64/kde/kqtquickcharts-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 658 2022-01-08 22:35 ./slackware64/kde/kquickcharts-5.90.0-x86_64-1.txt --rw-r--r-- 1 root root 122716 2022-01-08 22:35 ./slackware64/kde/kquickcharts-5.90.0-x86_64-1.txz +-rw-r--r-- 1 root root 369 2022-01-06 22:56 ./slackware64/kde/kpublictransport-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 582816 2022-01-06 22:56 ./slackware64/kde/kpublictransport-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 22:56 ./slackware64/kde/kpublictransport-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 295 2022-01-06 22:43 ./slackware64/kde/kqtquickcharts-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 57416 2022-01-06 22:43 ./slackware64/kde/kqtquickcharts-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 22:43 ./slackware64/kde/kqtquickcharts-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 658 2022-01-08 22:35 ./slackware64/kde/kquickcharts-5.90.0-x86_64-1.txt +-rw-r--r-- 1 root root 122716 2022-01-08 22:35 ./slackware64/kde/kquickcharts-5.90.0-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-01-08 22:35 ./slackware64/kde/kquickcharts-5.90.0-x86_64-1.txz.asc -rw-r--r-- 1 root root 332 2022-01-06 22:24 ./slackware64/kde/krdc-21.12.1-x86_64-1.txt -rw-r--r-- 1 root root 1712532 2022-01-06 22:24 ./slackware64/kde/krdc-21.12.1-x86_64-1.txz @@ -5482,15 +5491,15 @@ drwxr-xr-x 2 root root 65536 2022-02-01 04:47 ./slackware64/x -rw-r--r-- 1 root root 80164 2021-07-30 18:12 ./slackware64/x/xf86-video-amdgpu-21.0.0-x86_64-1.txz -rw-r--r-- 1 root root 163 2021-07-30 18:12 ./slackware64/x/xf86-video-amdgpu-21.0.0-x86_64-1.txz.asc -rw-r--r-- 1 root root 424 2021-02-13 13:16 ./slackware64/x/xf86-video-apm-1.3.0-x86_64-3.txt --rw-r--r-- 1 root root 34368 2021-02-13 13:16 ./slackware64/x/xf86-video-apm-1.3.0-x86_64-3.txz --rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-apm-1.3.0-x86_64-3.txz.asc --rw-r--r-- 1 root root 417 2021-02-13 13:16 ./slackware64/x/xf86-video-ark-0.7.5-x86_64-13.txt --rw-r--r-- 1 root root 20412 2021-02-13 13:16 ./slackware64/x/xf86-video-ark-0.7.5-x86_64-13.txz --rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-ark-0.7.5-x86_64-13.txz.asc --rw-r--r-- 1 root root 430 2021-02-13 13:16 ./slackware64/x/xf86-video-ast-1.1.5-x86_64-7.txt --rw-r--r-- 1 root root 51204 2021-02-13 13:16 ./slackware64/x/xf86-video-ast-1.1.5-x86_64-7.txz --rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-ast-1.1.5-x86_64-7.txz.asc --rw-r--r-- 1 root root 422 2021-02-13 13:16 ./slackware64/x/xf86-video-ati-19.1.0-x86_64-3.txt +-rw-r--r-- 1 root root 34368 2021-02-13 13:16 ./slackware64/x/xf86-video-apm-1.3.0-x86_64-3.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-apm-1.3.0-x86_64-3.txz.asc +-rw-r--r-- 1 root root 417 2021-02-13 13:16 ./slackware64/x/xf86-video-ark-0.7.5-x86_64-13.txt +-rw-r--r-- 1 root root 20412 2021-02-13 13:16 ./slackware64/x/xf86-video-ark-0.7.5-x86_64-13.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-ark-0.7.5-x86_64-13.txz.asc +-rw-r--r-- 1 root root 430 2021-02-13 13:16 ./slackware64/x/xf86-video-ast-1.1.5-x86_64-7.txt +-rw-r--r-- 1 root root 51204 2021-02-13 13:16 ./slackware64/x/xf86-video-ast-1.1.5-x86_64-7.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-ast-1.1.5-x86_64-7.txz.asc +-rw-r--r-- 1 root root 422 2021-02-13 13:16 ./slackware64/x/xf86-video-ati-19.1.0-x86_64-3.txt -rw-r--r-- 1 root root 163924 2021-02-13 13:16 ./slackware64/x/xf86-video-ati-19.1.0-x86_64-3.txz -rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-ati-19.1.0-x86_64-3.txz.asc -rw-r--r-- 1 root root 447 2021-02-13 13:16 ./slackware64/x/xf86-video-chips-1.4.0-x86_64-3.txt @@ -15135,12 +15144,12 @@ drwxr-xr-x 5 root root 4096 2021-08-13 18:35 ./source/xap/mozilla-thunder drwxr-xr-x 2 root root 4096 2016-07-03 18:05 ./source/xap/mozilla-thunderbird/build-deps/autoconf -rw-r--r-- 1 root root 5869 2016-07-03 18:04 ./source/xap/mozilla-thunderbird/build-deps/autoconf/autoconf-2.13-consolidated_fixes-1.patch.gz -rw-r--r-- 1 root root 300116 1999-01-15 21:03 ./source/xap/mozilla-thunderbird/build-deps/autoconf/autoconf-2.13.tar.xz --rwxr-xr-x 1 root root 2502 2019-08-27 19:46 ./source/xap/mozilla-thunderbird/build-deps/autoconf/autoconf.build -drwxr-xr-x 2 root root 4096 2021-06-25 04:15 ./source/xap/mozilla-thunderbird/build-deps/cbindgen --rw-r--r-- 1 root root 145234 2021-04-08 16:18 ./source/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen-0.19.0.tar.lz --rwxr-xr-x 1 root root 1926 2019-07-08 21:06 ./source/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build --rw-r--r-- 1 root root 35 2021-06-25 03:11 ./source/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen.url -drwxr-xr-x 2 root root 4096 2021-10-12 20:16 ./source/xap/mozilla-thunderbird/build-deps/nodejs +-rwxr-xr-x 1 root root 2502 2019-08-27 19:46 ./source/xap/mozilla-thunderbird/build-deps/autoconf/autoconf.build +drwxr-xr-x 2 root root 4096 2021-06-25 04:15 ./source/xap/mozilla-thunderbird/build-deps/cbindgen +-rw-r--r-- 1 root root 145234 2021-04-08 16:18 ./source/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen-0.19.0.tar.lz +-rwxr-xr-x 1 root root 1926 2019-07-08 21:06 ./source/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build +-rw-r--r-- 1 root root 35 2021-06-25 03:11 ./source/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen.url +drwxr-xr-x 2 root root 4096 2021-10-12 20:16 ./source/xap/mozilla-thunderbird/build-deps/nodejs -rw-r--r-- 1 root root 33429880 2021-10-12 03:58 ./source/xap/mozilla-thunderbird/build-deps/nodejs/node-v16.11.1.tar.xz -rwxr-xr-x 1 root root 3013 2021-08-13 18:10 ./source/xap/mozilla-thunderbird/build-deps/nodejs/nodejs.build -rw-r--r-- 1 root root 86 2019-07-08 21:02 ./source/xap/mozilla-thunderbird/build-deps/nodejs/nodejs.url diff --git a/patches/packages/libarchive-3.6.1-x86_64-1_slack15.0.txt b/patches/packages/libarchive-3.6.1-x86_64-1_slack15.0.txt new file mode 100644 index 000000000..64742121f --- /dev/null +++ b/patches/packages/libarchive-3.6.1-x86_64-1_slack15.0.txt @@ -0,0 +1,11 @@ +libarchive: libarchive (archive reading library) +libarchive: +libarchive: Libarchive is a programming library that can create and read +libarchive: several different streaming archive formats, including most +libarchive: popular TAR variants and several CPIO formats. It can also +libarchive: write SHAR archives. +libarchive: +libarchive: Homepage: http://libarchive.org +libarchive: +libarchive: +libarchive: diff --git a/patches/source/libarchive/libarchive.SlackBuild b/patches/source/libarchive/libarchive.SlackBuild new file mode 100755 index 000000000..4cf5c2947 --- /dev/null +++ b/patches/source/libarchive/libarchive.SlackBuild @@ -0,0 +1,116 @@ +#!/bin/bash + +# Copyright 2008 Heinz Wiesinger +# Copyright 2008, 2009, 2010, 2016, 2018 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. + +# Modified by Robby Workman + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=libarchive +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) 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) "} + +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 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 {} \+ + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --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 + +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \+ + for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +) + +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +cp -a COPYING* INSTALL NEWS README* $PKG/usr/doc/$PKGNAM-$VERSION + +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/libarchive/libarchive.url b/patches/source/libarchive/libarchive.url new file mode 100644 index 000000000..8d0614b9e --- /dev/null +++ b/patches/source/libarchive/libarchive.url @@ -0,0 +1 @@ +https://github.com/libarchive/libarchive diff --git a/patches/source/libarchive/slack-desc b/patches/source/libarchive/slack-desc new file mode 100644 index 000000000..0292be162 --- /dev/null +++ b/patches/source/libarchive/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--------------------------------------------------| +libarchive: libarchive (archive reading library) +libarchive: +libarchive: Libarchive is a programming library that can create and read +libarchive: several different streaming archive formats, including most +libarchive: popular TAR variants and several CPIO formats. It can also +libarchive: write SHAR archives. +libarchive: +libarchive: Homepage: http://libarchive.org +libarchive: +libarchive: +libarchive: