diff options
Diffstat (limited to '')
-rw-r--r-- | ChangeLog.rss | 35 | ||||
-rw-r--r-- | ChangeLog.txt | 23 | ||||
-rw-r--r-- | FILELIST.TXT | 165 | ||||
-rw-r--r-- | patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txt | 11 | ||||
-rw-r--r-- | patches/packages/libxslt-1.1.35-x86_64-1_slack15.0.txt | 11 | ||||
-rwxr-xr-x | patches/source/libxml2/libxml2.SlackBuild | 156 | ||||
-rw-r--r-- | patches/source/libxml2/libxml2.do-not-check-crc.diff | 35 | ||||
-rw-r--r-- | patches/source/libxml2/libxml2.python3-unicode-errors.patch | 34 | ||||
-rw-r--r-- | patches/source/libxml2/libxml2.url | 2 | ||||
-rw-r--r-- | patches/source/libxml2/slack-desc | 19 | ||||
-rwxr-xr-x | patches/source/libxslt/libxslt.SlackBuild | 145 | ||||
-rw-r--r-- | patches/source/libxslt/libxslt.url | 2 | ||||
-rw-r--r-- | patches/source/libxslt/libxslt.xsltMaxDepth.diff | 11 | ||||
-rw-r--r-- | patches/source/libxslt/slack-desc | 19 | ||||
-rwxr-xr-x | recompress.sh | 3 |
15 files changed, 596 insertions, 75 deletions
diff --git a/ChangeLog.rss b/ChangeLog.rss index a7487d53f..fdbb14881 100644 --- a/ChangeLog.rss +++ b/ChangeLog.rss @@ -11,10 +11,41 @@ <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>Fri, 25 Feb 2022 00:03:28 GMT</pubDate> - <lastBuildDate>Fri, 25 Feb 2022 12:29:46 GMT</lastBuildDate> + <pubDate>Tue, 1 Mar 2022 05:05:48 GMT</pubDate> + <lastBuildDate>Wed, 2 Mar 2022 12:29:51 GMT</lastBuildDate> <generator>maintain_current_git.sh v 1.17</generator> <item> + <title>Tue, 1 Mar 2022 05:05:48 GMT</title> + <pubDate>Tue, 1 Mar 2022 05:05:48 GMT</pubDate> + <link>https://git.slackware.nl/current/tag/?h=20220301050548</link> + <guid isPermaLink="false">20220301050548</guid> + <description> + <![CDATA[<pre> +patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txz: Upgraded. + This update fixes bugs and the following security issues: + Use-after-free of ID and IDREF attributes + (Thanks to Shinji Sato for the report) + Use-after-free in xmlXIncludeCopyRange (David Kilzer) + Fix Null-deref-in-xmlSchemaGetComponentTargetNs (huangduirong) + Fix memory leak in xmlXPathCompNodeTest + Fix null pointer deref in xmlStringGetNodeList + Fix several memory leaks found by Coverity (David King) + For more information, see: + https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23308 + (* Security fix *) +patches/packages/libxslt-1.1.35-x86_64-1_slack15.0.txz: Upgraded. + This update fixes bugs and the following security issues: + Fix use-after-free in xsltApplyTemplates + Fix memory leak in xsltDocumentElem (David King) + Fix memory leak in xsltCompileIdKeyPattern (David King) + Fix double-free with stylesheets containing entity nodes + For more information, see: + https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30560 + (* Security fix *) + </pre>]]> + </description> + </item> + <item> <title>Fri, 25 Feb 2022 00:03:28 GMT</title> <pubDate>Fri, 25 Feb 2022 00:03:28 GMT</pubDate> <link>https://git.slackware.nl/current/tag/?h=20220225000328</link> diff --git a/ChangeLog.txt b/ChangeLog.txt index c3c143a8f..fca531204 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,26 @@ +Tue Mar 1 05:05:48 UTC 2022 +patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txz: Upgraded. + This update fixes bugs and the following security issues: + Use-after-free of ID and IDREF attributes + (Thanks to Shinji Sato for the report) + Use-after-free in xmlXIncludeCopyRange (David Kilzer) + Fix Null-deref-in-xmlSchemaGetComponentTargetNs (huangduirong) + Fix memory leak in xmlXPathCompNodeTest + Fix null pointer deref in xmlStringGetNodeList + Fix several memory leaks found by Coverity (David King) + For more information, see: + https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23308 + (* Security fix *) +patches/packages/libxslt-1.1.35-x86_64-1_slack15.0.txz: Upgraded. + This update fixes bugs and the following security issues: + Fix use-after-free in xsltApplyTemplates + Fix memory leak in xsltDocumentElem (David King) + Fix memory leak in xsltCompileIdKeyPattern (David King) + Fix double-free with stylesheets containing entity nodes + For more information, see: + https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30560 + (* Security fix *) ++--------------------------+ Fri Feb 25 00:03:28 UTC 2022 patches/packages/cyrus-sasl-2.1.28-x86_64-1_slack15.0.txz: Upgraded. This update fixes bugs and security issues. diff --git a/FILELIST.TXT b/FILELIST.TXT index efae47b65..e29de00ba 100644 --- a/FILELIST.TXT +++ b/FILELIST.TXT @@ -1,20 +1,20 @@ -Fri Feb 25 00:07:04 UTC 2022 +Tue Mar 1 05:10:57 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-02-25 00:03 . +drwxr-xr-x 12 root root 4096 2022-03-01 05:05 . -rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0 -rw-r--r-- 1 root root 16617 2022-02-02 23:27 ./CHANGES_AND_HINTS.TXT --rw-r--r-- 1 root root 1110192 2022-02-21 20:25 ./CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2022-02-21 20:25 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 1110952 2022-02-25 00:07 ./CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-02-25 00:07 ./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 1870789 2022-02-25 00:03 ./ChangeLog.txt +-rw-r--r-- 1 root root 1871899 2022-03-01 05: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 1448777 2022-02-21 20:24 ./FILELIST.TXT +-rw-r--r-- 1 root root 1449751 2022-02-25 00:07 ./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-02-25 00:07 ./patches --rw-r--r-- 1 root root 12098 2022-02-25 00:07 ./patches/CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2022-02-25 00:07 ./patches/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 16445 2022-02-25 00:07 ./patches/FILE_LIST --rw-r--r-- 1 root root 5149516 2022-02-25 00:07 ./patches/MANIFEST.bz2 --rw-r--r-- 1 root root 6072 2022-02-25 00:07 ./patches/PACKAGES.TXT -drwxr-xr-x 2 root root 4096 2022-02-25 00:07 ./patches/packages +drwxr-xr-x 4 root root 4096 2022-03-01 05:10 ./patches +-rw-r--r-- 1 root root 13395 2022-03-01 05:10 ./patches/CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-03-01 05:10 ./patches/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 18167 2022-03-01 05:10 ./patches/FILE_LIST +-rw-r--r-- 1 root root 5199788 2022-03-01 05:10 ./patches/MANIFEST.bz2 +-rw-r--r-- 1 root root 7107 2022-03-01 05:10 ./patches/PACKAGES.TXT +drwxr-xr-x 2 root root 4096 2022-03-01 05:10 ./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 @@ -759,6 +759,12 @@ drwxr-xr-x 2 root root 4096 2022-02-25 00:07 ./patches/packages -rw-r--r-- 1 root root 602 2022-02-21 19:29 ./patches/packages/flac-1.3.4-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 389380 2022-02-21 19:29 ./patches/packages/flac-1.3.4-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-02-21 19:29 ./patches/packages/flac-1.3.4-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 +-rw-r--r-- 1 root root 219 2022-03-01 04:56 ./patches/packages/libxslt-1.1.35-x86_64-1_slack15.0.txt +-rw-r--r-- 1 root root 375568 2022-03-01 04:56 ./patches/packages/libxslt-1.1.35-x86_64-1_slack15.0.txz +-rw-r--r-- 1 root root 163 2022-03-01 04:56 ./patches/packages/libxslt-1.1.35-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 369 2022-02-21 03:37 ./patches/packages/mariadb-10.5.15-x86_64-2_slack15.0.txt -rw-r--r-- 1 root root 29262352 2022-02-21 03:37 ./patches/packages/mariadb-10.5.15-x86_64-2_slack15.0.txz -rw-r--r-- 1 root root 163 2022-02-21 03:37 ./patches/packages/mariadb-10.5.15-x86_64-2_slack15.0.txz.asc @@ -774,7 +780,7 @@ drwxr-xr-x 2 root root 4096 2022-02-25 00:07 ./patches/packages -rw-r--r-- 1 root root 354 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 2805300 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txz.asc -drwxr-xr-x 12 root root 4096 2022-02-24 20:55 ./patches/source +drwxr-xr-x 14 root root 4096 2022-03-01 05: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 @@ -808,6 +814,19 @@ drwxr-xr-x 2 root root 4096 2022-02-21 19:14 ./patches/source/flac -rw-r--r-- 1 root root 433 2014-11-29 12:34 ./patches/source/flac/flac.man.diff.gz -rw-r--r-- 1 root root 41 2019-08-05 18:53 ./patches/source/flac/flac.url -rw-r--r-- 1 root root 1054 2018-02-27 06:12 ./patches/source/flac/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 +-rw-r--r-- 1 root root 495 2013-04-19 07:57 ./patches/source/libxml2/libxml2.do-not-check-crc.diff.gz +-rw-r--r-- 1 root root 620 2021-07-22 15:29 ./patches/source/libxml2/libxml2.python3-unicode-errors.patch.gz +-rw-r--r-- 1 root root 70 2022-02-28 18:56 ./patches/source/libxml2/libxml2.url +-rw-r--r-- 1 root root 973 2018-02-27 06:49 ./patches/source/libxml2/slack-desc +drwxr-xr-x 2 root root 4096 2022-03-01 02:05 ./patches/source/libxslt +-rw-r--r-- 1 root root 1568264 2022-02-16 16:27 ./patches/source/libxslt/libxslt-1.1.35.tar.xz +-rwxr-xr-x 1 root root 4724 2022-03-01 01:13 ./patches/source/libxslt/libxslt.SlackBuild +-rw-r--r-- 1 root root 70 2022-02-28 19:50 ./patches/source/libxslt/libxslt.url +-rw-r--r-- 1 root root 231 2017-09-25 18:40 ./patches/source/libxslt/libxslt.xsltMaxDepth.diff.gz +-rw-r--r-- 1 root root 674 2018-02-27 06:12 ./patches/source/libxslt/slack-desc drwxr-xr-x 2 root root 4096 2022-02-13 23:42 ./patches/source/mariadb -rw-r--r-- 1 root root 461 2021-11-20 19:14 ./patches/source/mariadb/doinst.sh.gz -rw-r--r-- 1 root root 59735933 2022-02-10 20:12 ./patches/source/mariadb/mariadb-10.5.15.tar.lz @@ -2712,25 +2731,25 @@ drwxr-xr-x 2 root root 69632 2022-02-01 08:29 ./slackware64/kde -rw-r--r-- 1 root root 814400 2022-01-06 21:45 ./slackware64/kde/mailcommon-21.12.1-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-01-06 21:45 ./slackware64/kde/mailcommon-21.12.1-x86_64-1.txz.asc -rw-r--r-- 1 root root 216 2022-01-06 21:42 ./slackware64/kde/mailimporter-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 230384 2022-01-06 21:42 ./slackware64/kde/mailimporter-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 21:42 ./slackware64/kde/mailimporter-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 26710 2021-12-10 20:52 ./slackware64/kde/maketag --rw-r--r-- 1 root root 26710 2021-12-10 20:52 ./slackware64/kde/maketag.ez --rw-r--r-- 1 root root 550 2022-01-06 22:48 ./slackware64/kde/marble-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 47266864 2022-01-06 22:48 ./slackware64/kde/marble-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 22:48 ./slackware64/kde/marble-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 339 2022-01-06 22:55 ./slackware64/kde/markdownpart-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 41908 2022-01-06 22:55 ./slackware64/kde/markdownpart-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 22:55 ./slackware64/kde/markdownpart-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 236 2022-01-06 21:55 ./slackware64/kde/mbox-importer-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 34880 2022-01-06 21:55 ./slackware64/kde/mbox-importer-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 21:55 ./slackware64/kde/mbox-importer-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 198 2022-01-06 21:44 ./slackware64/kde/messagelib-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 6378408 2022-01-06 21:44 ./slackware64/kde/messagelib-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 21:44 ./slackware64/kde/messagelib-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 215 2022-01-04 21:39 ./slackware64/kde/milou-5.23.5-x86_64-1.txt --rw-r--r-- 1 root root 81092 2022-01-04 21:39 ./slackware64/kde/milou-5.23.5-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-04 21:39 ./slackware64/kde/milou-5.23.5-x86_64-1.txz.asc +-rw-r--r-- 1 root root 230384 2022-01-06 21:42 ./slackware64/kde/mailimporter-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 21:42 ./slackware64/kde/mailimporter-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 26710 2021-12-10 20:52 ./slackware64/kde/maketag +-rw-r--r-- 1 root root 26710 2021-12-10 20:52 ./slackware64/kde/maketag.ez +-rw-r--r-- 1 root root 550 2022-01-06 22:48 ./slackware64/kde/marble-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 47266864 2022-01-06 22:48 ./slackware64/kde/marble-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 22:48 ./slackware64/kde/marble-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 339 2022-01-06 22:55 ./slackware64/kde/markdownpart-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 41908 2022-01-06 22:55 ./slackware64/kde/markdownpart-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 22:55 ./slackware64/kde/markdownpart-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 236 2022-01-06 21:55 ./slackware64/kde/mbox-importer-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 34880 2022-01-06 21:55 ./slackware64/kde/mbox-importer-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 21:55 ./slackware64/kde/mbox-importer-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 198 2022-01-06 21:44 ./slackware64/kde/messagelib-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 6378408 2022-01-06 21:44 ./slackware64/kde/messagelib-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 21:44 ./slackware64/kde/messagelib-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 215 2022-01-04 21:39 ./slackware64/kde/milou-5.23.5-x86_64-1.txt +-rw-r--r-- 1 root root 81092 2022-01-04 21:39 ./slackware64/kde/milou-5.23.5-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-04 21:39 ./slackware64/kde/milou-5.23.5-x86_64-1.txz.asc -rw-r--r-- 1 root root 317 2022-01-06 22:51 ./slackware64/kde/minuet-21.12.1-x86_64-1.txt -rw-r--r-- 1 root root 27242864 2022-01-06 22:51 ./slackware64/kde/minuet-21.12.1-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-01-06 22:51 ./slackware64/kde/minuet-21.12.1-x86_64-1.txz.asc @@ -5475,27 +5494,27 @@ drwxr-xr-x 2 root root 65536 2022-02-01 04:47 ./slackware64/x -rw-r--r-- 1 root root 18108 2021-02-13 13:13 ./slackware64/x/xrefresh-1.0.6-x86_64-4.txz -rw-r--r-- 1 root root 163 2021-02-13 13:13 ./slackware64/x/xrefresh-1.0.6-x86_64-4.txz.asc -rw-r--r-- 1 root root 316 2021-12-08 20:11 ./slackware64/x/xscope-1.4.2-x86_64-1.txt --rw-r--r-- 1 root root 111696 2021-12-08 20:11 ./slackware64/x/xscope-1.4.2-x86_64-1.txz --rw-r--r-- 1 root root 163 2021-12-08 20:11 ./slackware64/x/xscope-1.4.2-x86_64-1.txz.asc --rw-r--r-- 1 root root 226 2021-02-13 13:13 ./slackware64/x/xset-1.2.4-x86_64-4.txt --rw-r--r-- 1 root root 35012 2021-02-13 13:13 ./slackware64/x/xset-1.2.4-x86_64-4.txz --rw-r--r-- 1 root root 163 2021-02-13 13:13 ./slackware64/x/xset-1.2.4-x86_64-4.txz.asc --rw-r--r-- 1 root root 342 2021-02-13 13:13 ./slackware64/x/xsetroot-1.1.2-x86_64-4.txt --rw-r--r-- 1 root root 21712 2021-02-13 13:13 ./slackware64/x/xsetroot-1.1.2-x86_64-4.txz --rw-r--r-- 1 root root 163 2021-02-13 13:13 ./slackware64/x/xsetroot-1.1.2-x86_64-4.txz.asc --rw-r--r-- 1 root root 253 2021-02-13 13:13 ./slackware64/x/xsm-1.0.4-x86_64-4.txt --rw-r--r-- 1 root root 55532 2021-02-13 13:13 ./slackware64/x/xsm-1.0.4-x86_64-4.txz --rw-r--r-- 1 root root 163 2021-02-13 13:13 ./slackware64/x/xsm-1.0.4-x86_64-4.txz.asc --rw-r--r-- 1 root root 421 2021-02-13 13:13 ./slackware64/x/xstdcmap-1.0.4-x86_64-3.txt --rw-r--r-- 1 root root 18612 2021-02-13 13:13 ./slackware64/x/xstdcmap-1.0.4-x86_64-3.txz --rw-r--r-- 1 root root 163 2021-02-13 13:13 ./slackware64/x/xstdcmap-1.0.4-x86_64-3.txz.asc --rw-r--r-- 1 root root 308 2022-01-31 19:38 ./slackware64/x/xterm-370-x86_64-7.txt --rw-r--r-- 1 root root 418756 2022-01-31 19:38 ./slackware64/x/xterm-370-x86_64-7.txz --rw-r--r-- 1 root root 163 2022-01-31 19:38 ./slackware64/x/xterm-370-x86_64-7.txz.asc --rw-r--r-- 1 root root 391 2021-02-13 13:09 ./slackware64/x/xtrans-1.4.0-noarch-3.txt --rw-r--r-- 1 root root 68312 2021-02-13 13:09 ./slackware64/x/xtrans-1.4.0-noarch-3.txz --rw-r--r-- 1 root root 163 2021-02-13 13:09 ./slackware64/x/xtrans-1.4.0-noarch-3.txz.asc --rw-r--r-- 1 root root 235 2021-02-13 13:13 ./slackware64/x/xvidtune-1.0.3-x86_64-5.txt +-rw-r--r-- 1 root root 111696 2021-12-08 20:11 ./slackware64/x/xscope-1.4.2-x86_64-1.txz +-rw-r--r-- 1 root root 163 2021-12-08 20:11 ./slackware64/x/xscope-1.4.2-x86_64-1.txz.asc +-rw-r--r-- 1 root root 226 2021-02-13 13:13 ./slackware64/x/xset-1.2.4-x86_64-4.txt +-rw-r--r-- 1 root root 35012 2021-02-13 13:13 ./slackware64/x/xset-1.2.4-x86_64-4.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:13 ./slackware64/x/xset-1.2.4-x86_64-4.txz.asc +-rw-r--r-- 1 root root 342 2021-02-13 13:13 ./slackware64/x/xsetroot-1.1.2-x86_64-4.txt +-rw-r--r-- 1 root root 21712 2021-02-13 13:13 ./slackware64/x/xsetroot-1.1.2-x86_64-4.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:13 ./slackware64/x/xsetroot-1.1.2-x86_64-4.txz.asc +-rw-r--r-- 1 root root 253 2021-02-13 13:13 ./slackware64/x/xsm-1.0.4-x86_64-4.txt +-rw-r--r-- 1 root root 55532 2021-02-13 13:13 ./slackware64/x/xsm-1.0.4-x86_64-4.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:13 ./slackware64/x/xsm-1.0.4-x86_64-4.txz.asc +-rw-r--r-- 1 root root 421 2021-02-13 13:13 ./slackware64/x/xstdcmap-1.0.4-x86_64-3.txt +-rw-r--r-- 1 root root 18612 2021-02-13 13:13 ./slackware64/x/xstdcmap-1.0.4-x86_64-3.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:13 ./slackware64/x/xstdcmap-1.0.4-x86_64-3.txz.asc +-rw-r--r-- 1 root root 308 2022-01-31 19:38 ./slackware64/x/xterm-370-x86_64-7.txt +-rw-r--r-- 1 root root 418756 2022-01-31 19:38 ./slackware64/x/xterm-370-x86_64-7.txz +-rw-r--r-- 1 root root 163 2022-01-31 19:38 ./slackware64/x/xterm-370-x86_64-7.txz.asc +-rw-r--r-- 1 root root 391 2021-02-13 13:09 ./slackware64/x/xtrans-1.4.0-noarch-3.txt +-rw-r--r-- 1 root root 68312 2021-02-13 13:09 ./slackware64/x/xtrans-1.4.0-noarch-3.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:09 ./slackware64/x/xtrans-1.4.0-noarch-3.txz.asc +-rw-r--r-- 1 root root 235 2021-02-13 13:13 ./slackware64/x/xvidtune-1.0.3-x86_64-5.txt -rw-r--r-- 1 root root 27932 2021-02-13 13:13 ./slackware64/x/xvidtune-1.0.3-x86_64-5.txz -rw-r--r-- 1 root root 163 2021-02-13 13:13 ./slackware64/x/xvidtune-1.0.3-x86_64-5.txz.asc -rw-r--r-- 1 root root 253 2021-02-13 13:13 ./slackware64/x/xvinfo-1.1.4-x86_64-3.txt @@ -15177,25 +15196,25 @@ drwxr-xr-x 2 root root 4096 2021-09-18 19:52 ./source/xfce/thunar drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xfce/thunar-volman -rw-r--r-- 1 root root 797 2020-11-25 21:09 ./source/xfce/thunar-volman/slack-desc -rw-r--r-- 1 root root 401803 2020-12-22 23:45 ./source/xfce/thunar-volman/thunar-volman-4.16.0.tar.lz --rwxr-xr-x 1 root root 3468 2021-02-13 05:32 ./source/xfce/thunar-volman/thunar-volman.SlackBuild --rw-r--r-- 1 root root 914 2020-01-31 19:09 ./source/xfce/thunar/slack-desc --rw-r--r-- 1 root root 1895836 2021-09-17 20:00 ./source/xfce/thunar/thunar-4.16.10.tar.lz --rwxr-xr-x 1 root root 4779 2021-03-07 18:59 ./source/xfce/thunar/thunar.SlackBuild --rw-r--r-- 1 root root 69 2021-09-18 19:52 ./source/xfce/thunar/thunar.url -drwxr-xr-x 2 root root 4096 2021-12-26 19:53 ./source/xfce/tumbler --rw-r--r-- 1 root root 964 2018-02-27 06:13 ./source/xfce/tumbler/slack-desc --rw-r--r-- 1 root root 476216 2020-12-22 23:39 ./source/xfce/tumbler/tumbler-4.16.0.tar.lz --rwxr-xr-x 1 root root 4852 2021-12-26 19:53 ./source/xfce/tumbler/tumbler.SlackBuild --rw-r--r-- 1 root root 67 2018-09-13 16:54 ./source/xfce/tumbler/tumbler.url -drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xfce/xfce4-appfinder --rw-r--r-- 1 root root 931 2018-02-27 06:13 ./source/xfce/xfce4-appfinder/slack-desc --rw-r--r-- 1 root root 476607 2021-01-17 23:33 ./source/xfce/xfce4-appfinder/xfce4-appfinder-4.16.1.tar.lz --rwxr-xr-x 1 root root 4621 2021-02-13 05:32 ./source/xfce/xfce4-appfinder/xfce4-appfinder.SlackBuild --rw-r--r-- 1 root root 85 2021-01-18 13:00 ./source/xfce/xfce4-appfinder/xfce4-appfinder.url -drwxr-xr-x 2 root root 4096 2021-05-05 17:06 ./source/xfce/xfce4-clipman-plugin --rw-r--r-- 1 root root 172 2012-07-18 20:50 ./source/xfce/xfce4-clipman-plugin/doinst.sh.gz --rw-r--r-- 1 root root 999 2018-02-27 06:13 ./source/xfce/xfce4-clipman-plugin/slack-desc --rw-r--r-- 1 root root 392675 2021-05-03 15:05 ./source/xfce/xfce4-clipman-plugin/xfce4-clipman-plugin-1.6.2.tar.lz +-rwxr-xr-x 1 root root 3468 2021-02-13 05:32 ./source/xfce/thunar-volman/thunar-volman.SlackBuild +-rw-r--r-- 1 root root 914 2020-01-31 19:09 ./source/xfce/thunar/slack-desc +-rw-r--r-- 1 root root 1895836 2021-09-17 20:00 ./source/xfce/thunar/thunar-4.16.10.tar.lz +-rwxr-xr-x 1 root root 4779 2021-03-07 18:59 ./source/xfce/thunar/thunar.SlackBuild +-rw-r--r-- 1 root root 69 2021-09-18 19:52 ./source/xfce/thunar/thunar.url +drwxr-xr-x 2 root root 4096 2021-12-26 19:53 ./source/xfce/tumbler +-rw-r--r-- 1 root root 964 2018-02-27 06:13 ./source/xfce/tumbler/slack-desc +-rw-r--r-- 1 root root 476216 2020-12-22 23:39 ./source/xfce/tumbler/tumbler-4.16.0.tar.lz +-rwxr-xr-x 1 root root 4852 2021-12-26 19:53 ./source/xfce/tumbler/tumbler.SlackBuild +-rw-r--r-- 1 root root 67 2018-09-13 16:54 ./source/xfce/tumbler/tumbler.url +drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xfce/xfce4-appfinder +-rw-r--r-- 1 root root 931 2018-02-27 06:13 ./source/xfce/xfce4-appfinder/slack-desc +-rw-r--r-- 1 root root 476607 2021-01-17 23:33 ./source/xfce/xfce4-appfinder/xfce4-appfinder-4.16.1.tar.lz +-rwxr-xr-x 1 root root 4621 2021-02-13 05:32 ./source/xfce/xfce4-appfinder/xfce4-appfinder.SlackBuild +-rw-r--r-- 1 root root 85 2021-01-18 13:00 ./source/xfce/xfce4-appfinder/xfce4-appfinder.url +drwxr-xr-x 2 root root 4096 2021-05-05 17:06 ./source/xfce/xfce4-clipman-plugin +-rw-r--r-- 1 root root 172 2012-07-18 20:50 ./source/xfce/xfce4-clipman-plugin/doinst.sh.gz +-rw-r--r-- 1 root root 999 2018-02-27 06:13 ./source/xfce/xfce4-clipman-plugin/slack-desc +-rw-r--r-- 1 root root 392675 2021-05-03 15:05 ./source/xfce/xfce4-clipman-plugin/xfce4-clipman-plugin-1.6.2.tar.lz -rwxr-xr-x 1 root root 3766 2021-05-05 17:07 ./source/xfce/xfce4-clipman-plugin/xfce4-clipman-plugin.SlackBuild -rw-r--r-- 1 root root 102 2021-05-05 17:06 ./source/xfce/xfce4-clipman-plugin/xfce4-clipman-plugin.url drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xfce/xfce4-dev-tools diff --git a/patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txt b/patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txt new file mode 100644 index 000000000..2bea28102 --- /dev/null +++ b/patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txt @@ -0,0 +1,11 @@ +libxml2: libxml2 (XML parser library) +libxml2: +libxml2: Libxml2 is the XML C parser library and toolkit. XML itself is a +libxml2: metalanguage to design markup languages - i.e. a text language where +libxml2: structures are added to the content using extra "markup" information +libxml2: enclosed between angle brackets. HTML is the most well-known markup +libxml2: language. Though the library is written in C, a variety of language +libxml2: bindings make it available in other environments. +libxml2: +libxml2: +libxml2: diff --git a/patches/packages/libxslt-1.1.35-x86_64-1_slack15.0.txt b/patches/packages/libxslt-1.1.35-x86_64-1_slack15.0.txt new file mode 100644 index 000000000..9fc5aded6 --- /dev/null +++ b/patches/packages/libxslt-1.1.35-x86_64-1_slack15.0.txt @@ -0,0 +1,11 @@ +libxslt: libxslt (XML transformation library) +libxslt: +libxslt: XSLT support for libxml2. (XSLT is a language used for transforming +libxslt: XML documents) +libxslt: +libxslt: +libxslt: +libxslt: +libxslt: +libxslt: +libxslt: diff --git a/patches/source/libxml2/libxml2.SlackBuild b/patches/source/libxml2/libxml2.SlackBuild new file mode 100755 index 000000000..a9c441ac3 --- /dev/null +++ b/patches/source/libxml2/libxml2.SlackBuild @@ -0,0 +1,156 @@ +#!/bin/bash + +# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2018, 2022 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=libxml2 +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) "} + +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 + +PYTHONLIB=$( python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())' ) +PYTHON3LIB=$( python3 -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())' ) + +TMP=${TMP:-/tmp} +PKG=$TMP/package-libxml2 +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf libxml2-$VERSION +tar xvf $CWD/libxml2-$VERSION.tar.?z || exit 1 +cd libxml2-$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 {} \+ + +zcat $CWD/libxml2.do-not-check-crc.diff.gz | patch -p1 --verbose || exit 1 +zcat $CWD/libxml2.python3-unicode-errors.patch.gz | patch -p1 --verbose || exit 1 + +# Fixes for python-3.9.x: +sed -i '/if Py/{s/Py/(Py/;s/)/))/}' python/{types.c,libxml.c} +sed -i '/_PyVerify_fd/,+1d' python/types.c +sed -i 's/test.test/#&/' python/tests/tstLastError.py + +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PKGNAM-$VERSION \ + --disable-static \ + --with-python=/usr/bin/python3 \ + --build=$ARCH-slackware-linux || exit 1 + +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +python3 -m compileall "${PKG}$PYTHON3LIB" +python3 -O -m compileall "${PKG}$PYTHON3LIB" + +make clean + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PKGNAM-$VERSION \ + --disable-static \ + --with-python=/usr/bin/python \ + --build=$ARCH-slackware-linux || exit 1 + +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +python -m compileall "${PKG}$PYTHONLIB" +python -O -m compileall "${PKG}$PYTHONLIB" + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +mv $PKG/usr/share/doc/libxml2-python-$VERSION $PKG/usr/doc/libxml2-$VERSION +rmdir $PKG/usr/share/doc +cp -a \ + AUTHORS* COPYING* Copyright* INSTALL* NEWS* README* TODO* \ + $PKG/usr/doc/libxml2-$VERSION +find $PKG/usr/doc/libxml2-$VERSION -type f | xargs chmod 644 + +# 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 + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/libxml2-$VERSION-$ARCH-$BUILD.txz + diff --git a/patches/source/libxml2/libxml2.do-not-check-crc.diff b/patches/source/libxml2/libxml2.do-not-check-crc.diff new file mode 100644 index 000000000..3e6507764 --- /dev/null +++ b/patches/source/libxml2/libxml2.do-not-check-crc.diff @@ -0,0 +1,35 @@ +diff -up libxml2-2.9.0/xzlib.c.do-not-check-crc libxml2-2.9.0/xzlib.c +--- libxml2-2.9.0/xzlib.c.do-not-check-crc 2012-09-11 05:52:46.000000000 +0200 ++++ libxml2-2.9.0/xzlib.c 2012-11-19 19:28:42.431700534 +0100 +@@ -552,17 +552,20 @@ xz_decomp(xz_statep state) + #ifdef HAVE_ZLIB_H + if (state->how == GZIP) { + if (gz_next4(state, &crc) == -1 || gz_next4(state, &len) == -1) { +- xz_error(state, LZMA_DATA_ERROR, "unexpected end of file"); +- return -1; +- } +- if (crc != state->zstrm.adler) { +- xz_error(state, LZMA_DATA_ERROR, "incorrect data check"); +- return -1; +- } +- if (len != (state->zstrm.total_out & 0xffffffffL)) { +- xz_error(state, LZMA_DATA_ERROR, "incorrect length check"); +- return -1; +- } ++ /* ++ xz_error(state, LZMA_DATA_ERROR, "unexpected end of file"); ++ return -1; ++ */ ++ } else { ++ if (crc != state->zstrm.adler) { ++ xz_error(state, LZMA_DATA_ERROR, "incorrect data check"); ++ return -1; ++ } ++ if (len != (state->zstrm.total_out & 0xffffffffL)) { ++ xz_error(state, LZMA_DATA_ERROR, "incorrect length check"); ++ return -1; ++ } ++ } + state->strm.avail_in = 0; + state->strm.next_in = NULL; + state->strm.avail_out = 0; diff --git a/patches/source/libxml2/libxml2.python3-unicode-errors.patch b/patches/source/libxml2/libxml2.python3-unicode-errors.patch new file mode 100644 index 000000000..e87dcdedf --- /dev/null +++ b/patches/source/libxml2/libxml2.python3-unicode-errors.patch @@ -0,0 +1,34 @@ +Index: libxml2-2.9.5/python/libxml.c +=================================================================== +--- libxml2-2.9.5.orig/python/libxml.c ++++ libxml2-2.9.5/python/libxml.c +@@ -1620,6 +1620,7 @@ libxml_xmlErrorFuncHandler(ATTRIBUTE_UNU + PyObject *message; + PyObject *result; + char str[1000]; ++ unsigned char *ptr = (unsigned char *)str; + + #ifdef DEBUG_ERROR + printf("libxml_xmlErrorFuncHandler(%p, %s, ...) called\n", ctx, msg); +@@ -1636,12 +1637,20 @@ libxml_xmlErrorFuncHandler(ATTRIBUTE_UNU + str[999] = 0; + va_end(ap); + ++#if PY_MAJOR_VERSION >= 3 ++ /* Ensure the error string doesn't start at UTF8 continuation. */ ++ while (*ptr && (*ptr & 0xc0) == 0x80) ++ ptr++; ++#endif ++ + list = PyTuple_New(2); + PyTuple_SetItem(list, 0, libxml_xmlPythonErrorFuncCtxt); + Py_XINCREF(libxml_xmlPythonErrorFuncCtxt); +- message = libxml_charPtrConstWrap(str); ++ message = libxml_charPtrConstWrap(ptr); + PyTuple_SetItem(list, 1, message); + result = PyEval_CallObject(libxml_xmlPythonErrorFuncHandler, list); ++ /* Forget any errors caused in the error handler. */ ++ PyErr_Clear(); + Py_XDECREF(list); + Py_XDECREF(result); + } diff --git a/patches/source/libxml2/libxml2.url b/patches/source/libxml2/libxml2.url new file mode 100644 index 000000000..937f078cf --- /dev/null +++ b/patches/source/libxml2/libxml2.url @@ -0,0 +1,2 @@ +#ftp://ftp.xmlsoft.org/libxml2 +https://gitlab.gnome.org/GNOME/libxml2 diff --git a/patches/source/libxml2/slack-desc b/patches/source/libxml2/slack-desc new file mode 100644 index 000000000..5b72d9970 --- /dev/null +++ b/patches/source/libxml2/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------------------------------------------------------| +libxml2: libxml2 (XML parser library) +libxml2: +libxml2: Libxml2 is the XML C parser library and toolkit. XML itself is a +libxml2: metalanguage to design markup languages - i.e. a text language where +libxml2: structures are added to the content using extra "markup" information +libxml2: enclosed between angle brackets. HTML is the most well-known markup +libxml2: language. Though the library is written in C, a variety of language +libxml2: bindings make it available in other environments. +libxml2: +libxml2: +libxml2: diff --git a/patches/source/libxslt/libxslt.SlackBuild b/patches/source/libxslt/libxslt.SlackBuild new file mode 100755 index 000000000..1ac449d55 --- /dev/null +++ b/patches/source/libxslt/libxslt.SlackBuild @@ -0,0 +1,145 @@ +#!/bin/bash + +# Copyright 2008, 2009, 2012, 2013, 2016, 2017, 2018 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=libxslt +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) "} + +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" +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-libxslt +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf libxslt-$VERSION +tar xvf $CWD/libxslt-$VERSION.tar.?z* || exit 1 +cd libxslt-$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 {} \+ + +# This header isn't shipped in glibc >= 2.26 anymore. See: +# https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27 +sed -i '/#include <xlocale.h>/d' libxslt/xsltlocale.h + +# Be a bit more generous with xsltMaxDepth to avoid false positive +# on infinite recursion: +zcat $CWD/libxslt.xsltMaxDepth.diff.gz | patch -p1 --verbose || exit 1 + +# Configure, build, and install: +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --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 + +mv $PKG/usr/share/doc $PKG/usr +mv $PKG/usr/doc/libxslt-python-$VERSION $PKG/usr/doc/libxslt-$VERSION +cp -a \ + AUTHORS* COPYING* ChangeLog Copyright* FEATURES* HACKING* INSTALL* NEWS* README* TODO* libxslt.spec \ + $PKG/usr/doc/libxslt-$VERSION +find $PKG/usr/doc/libxslt-$VERSION -type f | xargs chmod 644 +rm -rf $PKG/usr/share/gtk-doc + +# 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 + +# Nevermind... this hasn't been updated in a decade: +rm -r $DOCSDIR/ChangeLog + +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 + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +#echo +#echo "Only the python bindings in /usr/lib/python__/site-packages/ should" +#echo "be kept... toss the other stuff" +#echo + +cd $PKG +/sbin/makepkg -l y -c n $TMP/libxslt-$VERSION-$ARCH-$BUILD.txz + diff --git a/patches/source/libxslt/libxslt.url b/patches/source/libxslt/libxslt.url new file mode 100644 index 000000000..6e237813f --- /dev/null +++ b/patches/source/libxslt/libxslt.url @@ -0,0 +1,2 @@ +#ftp://ftp.xmlsoft.org/libxml2 +https://gitlab.gnome.org/GNOME/libxslt diff --git a/patches/source/libxslt/libxslt.xsltMaxDepth.diff b/patches/source/libxslt/libxslt.xsltMaxDepth.diff new file mode 100644 index 000000000..9ba2c9b66 --- /dev/null +++ b/patches/source/libxslt/libxslt.xsltMaxDepth.diff @@ -0,0 +1,11 @@ +--- ./libxslt/transform.c.orig 2017-08-29 06:20:04.000000000 -0500 ++++ ./libxslt/transform.c 2017-09-25 13:39:52.298942433 -0500 +@@ -66,7 +66,7 @@ + const xmlChar **systemID); + #endif + +-int xsltMaxDepth = 3000; ++int xsltMaxDepth = 4000; + int xsltMaxVars = 15000; + + /* diff --git a/patches/source/libxslt/slack-desc b/patches/source/libxslt/slack-desc new file mode 100644 index 000000000..36a89ff2e --- /dev/null +++ b/patches/source/libxslt/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------------------------------------------------------| +libxslt: libxslt (XML transformation library) +libxslt: +libxslt: XSLT support for libxml2. (XSLT is a language used for transforming +libxslt: XML documents) +libxslt: +libxslt: +libxslt: +libxslt: +libxslt: +libxslt: +libxslt: diff --git a/recompress.sh b/recompress.sh index bf1c2c9db..9a9cb8cda 100755 --- a/recompress.sh +++ b/recompress.sh @@ -1167,6 +1167,9 @@ gzip ./patches/source/mozilla-thunderbird/tb.ui.scrollToClick.diff gzip ./patches/source/mozilla-thunderbird/gkrust.a.no.networking.check.diff gzip ./patches/source/mariadb/rc.mysqld gzip ./patches/source/mariadb/doinst.sh +gzip ./patches/source/libxml2/libxml2.python3-unicode-errors.patch +gzip ./patches/source/libxml2/libxml2.do-not-check-crc.diff +gzip ./patches/source/libxslt/libxslt.xsltMaxDepth.diff gzip ./patches/source/util-linux/setserial-undef_TIOCGHAYESESP.diff gzip ./patches/source/util-linux/setserial-rc.serial.diff gzip ./patches/source/util-linux/util-linux.do.not.list.ram.devices.diff |