diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2022-03-18 20:16:12 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-03-19 13:29:58 +0100 |
commit | 5d5dc015697143c5892bcb792e10fe7047ed1d44 (patch) | |
tree | ecfaac3b1becbc0c1f9f01dcb312236d058fb01d | |
parent | fcc29dbb4067b730b772bc4a050bd066c0a0c9cf (diff) | |
download | current-5d5dc015697143c5892bcb792e10fe7047ed1d44.tar.gz |
Fri Mar 18 20:16:12 UTC 202220220318201612_15.0
patches/packages/python3-3.9.11-x86_64-1_slack15.0.txz: Upgraded.
This update fixes bugs and security issues:
libexpat upgraded from 2.4.1 to 2.4.7
bundled pip upgraded from 21.2.4 to 22.0.4
authorization bypass fixed in urllib.request
REDoS avoided in importlib.metadata
For more information, see:
https://pythoninsider.blogspot.com/2022/03/python-3103-3911-3813-and-3713-are-now.html
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28363
(* Security fix *)
-rw-r--r-- | ChangeLog.rss | 24 | ||||
-rw-r--r-- | ChangeLog.txt | 12 | ||||
-rw-r--r-- | FILELIST.TXT | 150 | ||||
-rw-r--r-- | patches/packages/python3-3.9.11-x86_64-1_slack15.0.txt | 11 | ||||
-rw-r--r-- | patches/source/python3/README | 18 | ||||
-rw-r--r-- | patches/source/python3/python.sysconfig.py.x86_64.diff | 24 | ||||
-rwxr-xr-x | patches/source/python3/python3.SlackBuild | 181 | ||||
-rw-r--r-- | patches/source/python3/python3.distutils.x86_64.diff | 30 | ||||
-rw-r--r-- | patches/source/python3/python3.no-static-library.diff | 75 | ||||
-rw-r--r-- | patches/source/python3/python3.readline.set_pre_input_hook.diff | 12 | ||||
-rw-r--r-- | patches/source/python3/python3.setup.py.x86_64.diff | 11 | ||||
-rw-r--r-- | patches/source/python3/python3.url | 1 | ||||
-rw-r--r-- | patches/source/python3/slack-desc | 19 | ||||
-rwxr-xr-x | recompress.sh | 5 |
14 files changed, 504 insertions, 69 deletions
diff --git a/ChangeLog.rss b/ChangeLog.rss index 672a0e63..02f8523d 100644 --- a/ChangeLog.rss +++ b/ChangeLog.rss @@ -11,10 +11,30 @@ <description>Tracking Slackware development in git.</description> <language>en-us</language> <id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id> - <pubDate>Thu, 17 Mar 2022 19:46:28 GMT</pubDate> - <lastBuildDate>Fri, 18 Mar 2022 12:29:48 GMT</lastBuildDate> + <pubDate>Fri, 18 Mar 2022 20:16:12 GMT</pubDate> + <lastBuildDate>Sat, 19 Mar 2022 12:29:48 GMT</lastBuildDate> <generator>maintain_current_git.sh v 1.17</generator> <item> + <title>Fri, 18 Mar 2022 20:16:12 GMT</title> + <pubDate>Fri, 18 Mar 2022 20:16:12 GMT</pubDate> + <link>https://git.slackware.nl/current/tag/?h=20220318201612</link> + <guid isPermaLink="false">20220318201612</guid> + <description> + <![CDATA[<pre> +patches/packages/python3-3.9.11-x86_64-1_slack15.0.txz: Upgraded. + This update fixes bugs and security issues: + libexpat upgraded from 2.4.1 to 2.4.7 + bundled pip upgraded from 21.2.4 to 22.0.4 + authorization bypass fixed in urllib.request + REDoS avoided in importlib.metadata + For more information, see: + https://pythoninsider.blogspot.com/2022/03/python-3103-3911-3813-and-3713-are-now.html + https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28363 + (* Security fix *) + </pre>]]> + </description> + </item> + <item> <title>Thu, 17 Mar 2022 19:46:28 GMT</title> <pubDate>Thu, 17 Mar 2022 19:46:28 GMT</pubDate> <link>https://git.slackware.nl/current/tag/?h=20220317194628</link> diff --git a/ChangeLog.txt b/ChangeLog.txt index e17d22c5..4143a73f 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,15 @@ +Fri Mar 18 20:16:12 UTC 2022 +patches/packages/python3-3.9.11-x86_64-1_slack15.0.txz: Upgraded. + This update fixes bugs and security issues: + libexpat upgraded from 2.4.1 to 2.4.7 + bundled pip upgraded from 21.2.4 to 22.0.4 + authorization bypass fixed in urllib.request + REDoS avoided in importlib.metadata + For more information, see: + https://pythoninsider.blogspot.com/2022/03/python-3103-3911-3813-and-3713-are-now.html + https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28363 + (* Security fix *) ++--------------------------+ Thu Mar 17 19:46:28 UTC 2022 patches/packages/bind-9.18.1-x86_64-1_slack15.0.txz: Upgraded. This update fixes bugs and the following security issues: diff --git a/FILELIST.TXT b/FILELIST.TXT index b61a96e5..8cb0201a 100644 --- a/FILELIST.TXT +++ b/FILELIST.TXT @@ -1,20 +1,20 @@ -Thu Mar 17 19:53:08 UTC 2022 +Fri Mar 18 20:20:46 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-03-17 19:46 . +drwxr-xr-x 12 root root 4096 2022-03-18 20:16 . -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 1118826 2022-03-15 00:20 ./CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2022-03-15 00:20 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 1123875 2022-03-17 19:53 ./CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-03-17 19:53 ./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 1880056 2022-03-17 19:46 ./ChangeLog.txt +-rw-r--r-- 1 root root 1880604 2022-03-18 20:16 ./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 1459890 2022-03-15 00:19 ./FILELIST.TXT +-rw-r--r-- 1 root root 1466506 2022-03-17 19:53 ./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-03-17 19:53 ./patches --rw-r--r-- 1 root root 23821 2022-03-17 19:53 ./patches/CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2022-03-17 19:53 ./patches/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 31917 2022-03-17 19:53 ./patches/FILE_LIST --rw-r--r-- 1 root root 10782689 2022-03-17 19:53 ./patches/MANIFEST.bz2 --rw-r--r-- 1 root root 16306 2022-03-17 19:53 ./patches/PACKAGES.TXT -drwxr-xr-x 3 root root 4096 2022-03-17 19:52 ./patches/packages +drwxr-xr-x 4 root root 4096 2022-03-18 20:20 ./patches +-rw-r--r-- 1 root root 24991 2022-03-18 20:20 ./patches/CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-03-18 20:20 ./patches/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 33410 2022-03-18 20:20 ./patches/FILE_LIST +-rw-r--r-- 1 root root 10878415 2022-03-18 20:20 ./patches/MANIFEST.bz2 +-rw-r--r-- 1 root root 17157 2022-03-18 20:20 ./patches/PACKAGES.TXT +drwxr-xr-x 3 root root 4096 2022-03-18 20:20 ./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 @@ -817,6 +817,9 @@ drwxr-xr-x 2 root root 4096 2022-03-09 04:17 ./patches/packages/linux-5.15 -rw-r--r-- 1 root root 450 2022-03-12 20:37 ./patches/packages/polkit-0.120-x86_64-3_slack15.0.txt -rw-r--r-- 1 root root 403284 2022-03-12 20:37 ./patches/packages/polkit-0.120-x86_64-3_slack15.0.txz -rw-r--r-- 1 root root 163 2022-03-12 20:37 ./patches/packages/polkit-0.120-x86_64-3_slack15.0.txz.asc +-rw-r--r-- 1 root root 663 2022-03-18 19:42 ./patches/packages/python3-3.9.11-x86_64-1_slack15.0.txt +-rw-r--r-- 1 root root 19144900 2022-03-18 19:42 ./patches/packages/python3-3.9.11-x86_64-1_slack15.0.txz +-rw-r--r-- 1 root root 163 2022-03-18 19:42 ./patches/packages/python3-3.9.11-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 260 2022-03-17 07:33 ./patches/packages/qt5-5.15.3_20220312_33a3f16f-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 98963540 2022-03-17 07:33 ./patches/packages/qt5-5.15.3_20220312_33a3f16f-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-03-17 07:33 ./patches/packages/qt5-5.15.3_20220312_33a3f16f-x86_64-1_slack15.0.txz.asc @@ -826,7 +829,7 @@ drwxr-xr-x 2 root root 4096 2022-03-09 04:17 ./patches/packages/linux-5.15 -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 23 root root 4096 2022-03-17 19:43 ./patches/source +drwxr-xr-x 24 root root 4096 2022-03-18 20:03 ./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 @@ -1018,6 +1021,19 @@ drwxr-xr-x 2 root root 4096 2022-03-12 20:26 ./patches/source/polkit -rw-r--r-- 1 root root 675865 2021-10-06 18:06 ./patches/source/polkit/polkit-0.120.tar.lz -rwxr-xr-x 1 root root 6539 2022-03-12 20:36 ./patches/source/polkit/polkit.SlackBuild -rw-r--r-- 1 root root 903 2020-11-01 20:04 ./patches/source/polkit/slack-desc +drwxr-xr-x 2 root root 4096 2022-03-18 19:26 ./patches/source/python3 +-rw-r--r-- 1 root root 19724780 2022-03-16 14:01 ./patches/source/python3/Python-3.9.11.tar.xz +-rw-r--r-- 1 root root 833 2022-03-16 14:01 ./patches/source/python3/Python-3.9.11.tar.xz.asc +-rw-r--r-- 1 root root 890 2017-01-12 20:00 ./patches/source/python3/README +-rw-r--r-- 1 root root 2527615 2022-03-16 14:02 ./patches/source/python3/python-3.9.11-docs-text.tar.bz2 +-rw-r--r-- 1 root root 372 2021-11-20 19:27 ./patches/source/python3/python.sysconfig.py.x86_64.diff.gz +-rwxr-xr-x 1 root root 6380 2022-03-18 19:40 ./patches/source/python3/python3.SlackBuild +-rw-r--r-- 1 root root 495 2020-10-24 22:31 ./patches/source/python3/python3.distutils.x86_64.diff.gz +-rw-r--r-- 1 root root 1389 2020-10-24 17:53 ./patches/source/python3/python3.no-static-library.diff.gz +-rw-r--r-- 1 root root 369 2014-05-25 17:49 ./patches/source/python3/python3.readline.set_pre_input_hook.diff.gz +-rw-r--r-- 1 root root 340 2020-10-24 22:35 ./patches/source/python3/python3.setup.py.x86_64.diff.gz +-rw-r--r-- 1 root root 34 2019-03-03 19:49 ./patches/source/python3/python3.url +-rw-r--r-- 1 root root 1150 2018-02-27 06:13 ./patches/source/python3/slack-desc drwxr-xr-x 4 root root 4096 2022-03-15 18:53 ./patches/source/qt5 -rw-r--r-- 1 root root 172 2013-12-17 17:08 ./patches/source/qt5/doinst.sh.gz -rwxr-xr-x 1 root root 2321 2022-01-21 18:22 ./patches/source/qt5/fetch_sources.sh @@ -2718,22 +2734,22 @@ drwxr-xr-x 2 root root 69632 2022-02-01 08:29 ./slackware64/kde -rw-r--r-- 1 root root 163 2022-01-06 22:35 ./slackware64/kde/kspaceduel-21.12.1-x86_64-1.txz.asc -rw-r--r-- 1 root root 307 2022-01-06 22:27 ./slackware64/kde/ksquares-21.12.1-x86_64-1.txt -rw-r--r-- 1 root root 385476 2022-01-06 22:27 ./slackware64/kde/ksquares-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 22:27 ./slackware64/kde/ksquares-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 327 2022-01-04 21:50 ./slackware64/kde/ksshaskpass-5.23.5-x86_64-1.txt --rw-r--r-- 1 root root 27912 2022-01-04 21:50 ./slackware64/kde/ksshaskpass-5.23.5-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-04 21:50 ./slackware64/kde/ksshaskpass-5.23.5-x86_64-1.txz.asc --rw-r--r-- 1 root root 501 2022-01-17 22:08 ./slackware64/kde/kstars-3.5.7-x86_64-1.txt --rw-r--r-- 1 root root 56175008 2022-01-17 22:08 ./slackware64/kde/kstars-3.5.7-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-17 22:08 ./slackware64/kde/kstars-3.5.7-x86_64-1.txz.asc --rw-r--r-- 1 root root 316 2022-01-06 22:26 ./slackware64/kde/ksudoku-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 1798016 2022-01-06 22:26 ./slackware64/kde/ksudoku-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 22:26 ./slackware64/kde/ksudoku-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 598 2022-01-06 22:25 ./slackware64/kde/ksystemlog-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 2061960 2022-01-06 22:25 ./slackware64/kde/ksystemlog-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 22:25 ./slackware64/kde/ksystemlog-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 280 2022-01-04 21:52 ./slackware64/kde/ksystemstats-5.23.5-x86_64-1.txt --rw-r--r-- 1 root root 163408 2022-01-04 21:52 ./slackware64/kde/ksystemstats-5.23.5-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-04 21:52 ./slackware64/kde/ksystemstats-5.23.5-x86_64-1.txz.asc +-rw-r--r-- 1 root root 163 2022-01-06 22:27 ./slackware64/kde/ksquares-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 327 2022-01-04 21:50 ./slackware64/kde/ksshaskpass-5.23.5-x86_64-1.txt +-rw-r--r-- 1 root root 27912 2022-01-04 21:50 ./slackware64/kde/ksshaskpass-5.23.5-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-04 21:50 ./slackware64/kde/ksshaskpass-5.23.5-x86_64-1.txz.asc +-rw-r--r-- 1 root root 501 2022-01-17 22:08 ./slackware64/kde/kstars-3.5.7-x86_64-1.txt +-rw-r--r-- 1 root root 56175008 2022-01-17 22:08 ./slackware64/kde/kstars-3.5.7-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-17 22:08 ./slackware64/kde/kstars-3.5.7-x86_64-1.txz.asc +-rw-r--r-- 1 root root 316 2022-01-06 22:26 ./slackware64/kde/ksudoku-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 1798016 2022-01-06 22:26 ./slackware64/kde/ksudoku-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 22:26 ./slackware64/kde/ksudoku-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 598 2022-01-06 22:25 ./slackware64/kde/ksystemlog-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 2061960 2022-01-06 22:25 ./slackware64/kde/ksystemlog-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 22:25 ./slackware64/kde/ksystemlog-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 280 2022-01-04 21:52 ./slackware64/kde/ksystemstats-5.23.5-x86_64-1.txt +-rw-r--r-- 1 root root 163408 2022-01-04 21:52 ./slackware64/kde/ksystemstats-5.23.5-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-04 21:52 ./slackware64/kde/ksystemstats-5.23.5-x86_64-1.txz.asc -rw-r--r-- 1 root root 409 2022-01-06 22:36 ./slackware64/kde/kteatime-21.12.1-x86_64-1.txt -rw-r--r-- 1 root root 341764 2022-01-06 22:36 ./slackware64/kde/kteatime-21.12.1-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-01-06 22:36 ./slackware64/kde/kteatime-21.12.1-x86_64-1.txz.asc @@ -5470,20 +5486,20 @@ drwxr-xr-x 2 root root 65536 2022-02-01 04:47 ./slackware64/x -rw-r--r-- 1 root root 418 2021-02-13 13:17 ./slackware64/x/xf86-video-s3-0.7.0-x86_64-3.txt -rw-r--r-- 1 root root 43644 2021-02-13 13:17 ./slackware64/x/xf86-video-s3-0.7.0-x86_64-3.txz -rw-r--r-- 1 root root 163 2021-02-13 13:17 ./slackware64/x/xf86-video-s3-0.7.0-x86_64-3.txz.asc --rw-r--r-- 1 root root 472 2021-02-13 13:18 ./slackware64/x/xf86-video-s3virge-1.11.0-x86_64-3.txt --rw-r--r-- 1 root root 53052 2021-02-13 13:18 ./slackware64/x/xf86-video-s3virge-1.11.0-x86_64-3.txz --rw-r--r-- 1 root root 163 2021-02-13 13:18 ./slackware64/x/xf86-video-s3virge-1.11.0-x86_64-3.txz.asc --rw-r--r-- 1 root root 460 2021-02-13 13:18 ./slackware64/x/xf86-video-savage-20190128_8579718-x86_64-3.txt --rw-r--r-- 1 root root 59448 2021-02-13 13:18 ./slackware64/x/xf86-video-savage-20190128_8579718-x86_64-3.txz --rw-r--r-- 1 root root 163 2021-02-13 13:18 ./slackware64/x/xf86-video-savage-20190128_8579718-x86_64-3.txz.asc --rw-r--r-- 1 root root 543 2021-02-13 13:18 ./slackware64/x/xf86-video-siliconmotion-1.7.9-x86_64-5.txt --rw-r--r-- 1 root root 63140 2021-02-13 13:18 ./slackware64/x/xf86-video-siliconmotion-1.7.9-x86_64-5.txz --rw-r--r-- 1 root root 163 2021-02-13 13:18 ./slackware64/x/xf86-video-siliconmotion-1.7.9-x86_64-5.txz.asc --rw-r--r-- 1 root root 423 2021-02-13 13:18 ./slackware64/x/xf86-video-sis-0.12.0-x86_64-3.txt --rw-r--r-- 1 root root 249520 2021-02-13 13:18 ./slackware64/x/xf86-video-sis-0.12.0-x86_64-3.txz --rw-r--r-- 1 root root 163 2021-02-13 13:18 ./slackware64/x/xf86-video-sis-0.12.0-x86_64-3.txz.asc --rw-r--r-- 1 root root 459 2021-02-13 13:18 ./slackware64/x/xf86-video-sisusb-0.9.7-x86_64-5.txt --rw-r--r-- 1 root root 50424 2021-02-13 13:18 ./slackware64/x/xf86-video-sisusb-0.9.7-x86_64-5.txz +-rw-r--r-- 1 root root 472 2021-02-13 13:18 ./slackware64/x/xf86-video-s3virge-1.11.0-x86_64-3.txt +-rw-r--r-- 1 root root 53052 2021-02-13 13:18 ./slackware64/x/xf86-video-s3virge-1.11.0-x86_64-3.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:18 ./slackware64/x/xf86-video-s3virge-1.11.0-x86_64-3.txz.asc +-rw-r--r-- 1 root root 460 2021-02-13 13:18 ./slackware64/x/xf86-video-savage-20190128_8579718-x86_64-3.txt +-rw-r--r-- 1 root root 59448 2021-02-13 13:18 ./slackware64/x/xf86-video-savage-20190128_8579718-x86_64-3.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:18 ./slackware64/x/xf86-video-savage-20190128_8579718-x86_64-3.txz.asc +-rw-r--r-- 1 root root 543 2021-02-13 13:18 ./slackware64/x/xf86-video-siliconmotion-1.7.9-x86_64-5.txt +-rw-r--r-- 1 root root 63140 2021-02-13 13:18 ./slackware64/x/xf86-video-siliconmotion-1.7.9-x86_64-5.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:18 ./slackware64/x/xf86-video-siliconmotion-1.7.9-x86_64-5.txz.asc +-rw-r--r-- 1 root root 423 2021-02-13 13:18 ./slackware64/x/xf86-video-sis-0.12.0-x86_64-3.txt +-rw-r--r-- 1 root root 249520 2021-02-13 13:18 ./slackware64/x/xf86-video-sis-0.12.0-x86_64-3.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:18 ./slackware64/x/xf86-video-sis-0.12.0-x86_64-3.txz.asc +-rw-r--r-- 1 root root 459 2021-02-13 13:18 ./slackware64/x/xf86-video-sisusb-0.9.7-x86_64-5.txt +-rw-r--r-- 1 root root 50424 2021-02-13 13:18 ./slackware64/x/xf86-video-sisusb-0.9.7-x86_64-5.txz -rw-r--r-- 1 root root 163 2021-02-13 13:18 ./slackware64/x/xf86-video-sisusb-0.9.7-x86_64-5.txz.asc -rw-r--r-- 1 root root 429 2021-02-13 13:18 ./slackware64/x/xf86-video-tdfx-1.5.0-x86_64-3.txt -rw-r--r-- 1 root root 42388 2021-02-13 13:18 ./slackware64/x/xf86-video-tdfx-1.5.0-x86_64-3.txz @@ -15131,29 +15147,29 @@ drwxr-xr-x 2 root root 4096 2016-07-03 18:05 ./source/xap/seamonkey/autoc -rw-r--r-- 1 root root 248 2019-09-08 19:23 ./source/xap/seamonkey/doinst.sh.gz -rw-r--r-- 1 root root 284350364 2021-12-28 02:23 ./source/xap/seamonkey/seamonkey-2.53.10.2.source.tar.xz -rw-r--r-- 1 root root 12796 2006-02-09 03:17 ./source/xap/seamonkey/seamonkey-icon.png --rw-r--r-- 1 root root 185 2006-02-09 03:40 ./source/xap/seamonkey/seamonkey-mail-icon.png --rw-r--r-- 1 root root 211 2021-07-13 20:11 ./source/xap/seamonkey/seamonkey-mail.desktop --rwxr-xr-x 1 root root 9041 2021-08-26 20:47 ./source/xap/seamonkey/seamonkey.SlackBuild --rw-r--r-- 1 root root 319 2021-07-13 20:11 ./source/xap/seamonkey/seamonkey.desktop --rw-r--r-- 1 root root 849 2020-03-01 04:26 ./source/xap/seamonkey/slack-desc --rw-r--r-- 1 root root 341 2017-07-21 16:21 ./source/xap/seamonkey/sm.ui.scrollToClick.diff.gz -drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xap/seyon --rw-r--r-- 1 root root 713 1999-05-09 22:46 ./source/xap/seyon/seyon-2.20c.lsm --rw-r--r-- 1 root root 167487 1999-05-09 22:47 ./source/xap/seyon/seyon-2.20c.tar.gz --rwxr-xr-x 1 root root 4797 2021-02-13 05:32 ./source/xap/seyon/seyon.SlackBuild --rw-r--r-- 1 root root 36723 2005-01-03 22:32 ./source/xap/seyon/seyon_2.20c-16.diff.gz --rw-r--r-- 1 root root 1055 2018-02-27 06:13 ./source/xap/seyon/slack-desc -drwxr-xr-x 2 root root 4096 2021-09-03 02:16 ./source/xap/ssr --rw-r--r-- 1 root root 171 2020-08-15 19:01 ./source/xap/ssr/doinst.sh.gz --rw-r--r-- 1 root root 805 2020-08-15 18:49 ./source/xap/ssr/slack-desc --rw-r--r-- 1 root root 1341396 2020-12-26 21:43 ./source/xap/ssr/ssr-0.4.3.tar.lz --rwxr-xr-x 1 root root 3929 2021-09-03 02:16 ./source/xap/ssr/ssr.SlackBuild --rw-r--r-- 1 root root 36 2020-08-15 18:46 ./source/xap/ssr/ssr.url -lrwxrwxrwx 1 root root 9 2009-08-23 23:36 ./source/xap/vim-gvim -> ../ap/vim -drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xap/windowmaker --rw-r--r-- 1 root root 2167500 2020-04-05 14:36 ./source/xap/windowmaker/WindowMaker-0.95.9.tar.xz --rw-r--r-- 1 root root 203168 1999-04-01 14:30 ./source/xap/windowmaker/WindowMaker-extra-0.1.tar.xz --rw-r--r-- 1 root root 385 2012-07-29 20:34 ./source/xap/windowmaker/WindowMaker.noopensusemenu.diff.gz +-rw-r--r-- 1 root root 185 2006-02-09 03:40 ./source/xap/seamonkey/seamonkey-mail-icon.png +-rw-r--r-- 1 root root 211 2021-07-13 20:11 ./source/xap/seamonkey/seamonkey-mail.desktop +-rwxr-xr-x 1 root root 9041 2021-08-26 20:47 ./source/xap/seamonkey/seamonkey.SlackBuild +-rw-r--r-- 1 root root 319 2021-07-13 20:11 ./source/xap/seamonkey/seamonkey.desktop +-rw-r--r-- 1 root root 849 2020-03-01 04:26 ./source/xap/seamonkey/slack-desc +-rw-r--r-- 1 root root 341 2017-07-21 16:21 ./source/xap/seamonkey/sm.ui.scrollToClick.diff.gz +drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xap/seyon +-rw-r--r-- 1 root root 713 1999-05-09 22:46 ./source/xap/seyon/seyon-2.20c.lsm +-rw-r--r-- 1 root root 167487 1999-05-09 22:47 ./source/xap/seyon/seyon-2.20c.tar.gz +-rwxr-xr-x 1 root root 4797 2021-02-13 05:32 ./source/xap/seyon/seyon.SlackBuild +-rw-r--r-- 1 root root 36723 2005-01-03 22:32 ./source/xap/seyon/seyon_2.20c-16.diff.gz +-rw-r--r-- 1 root root 1055 2018-02-27 06:13 ./source/xap/seyon/slack-desc +drwxr-xr-x 2 root root 4096 2021-09-03 02:16 ./source/xap/ssr +-rw-r--r-- 1 root root 171 2020-08-15 19:01 ./source/xap/ssr/doinst.sh.gz +-rw-r--r-- 1 root root 805 2020-08-15 18:49 ./source/xap/ssr/slack-desc +-rw-r--r-- 1 root root 1341396 2020-12-26 21:43 ./source/xap/ssr/ssr-0.4.3.tar.lz +-rwxr-xr-x 1 root root 3929 2021-09-03 02:16 ./source/xap/ssr/ssr.SlackBuild +-rw-r--r-- 1 root root 36 2020-08-15 18:46 ./source/xap/ssr/ssr.url +lrwxrwxrwx 1 root root 9 2009-08-23 23:36 ./source/xap/vim-gvim -> ../ap/vim +drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xap/windowmaker +-rw-r--r-- 1 root root 2167500 2020-04-05 14:36 ./source/xap/windowmaker/WindowMaker-0.95.9.tar.xz +-rw-r--r-- 1 root root 203168 1999-04-01 14:30 ./source/xap/windowmaker/WindowMaker-extra-0.1.tar.xz +-rw-r--r-- 1 root root 385 2012-07-29 20:34 ./source/xap/windowmaker/WindowMaker.noopensusemenu.diff.gz -rw-r--r-- 1 root root 914 2018-02-27 06:13 ./source/xap/windowmaker/slack-desc -rwxr-xr-x 1 root root 6052 2021-02-13 05:32 ./source/xap/windowmaker/windowmaker.SlackBuild -rw-r--r-- 1 root root 729 2012-02-15 00:25 ./source/xap/windowmaker/wmaker.inst.diff.gz diff --git a/patches/packages/python3-3.9.11-x86_64-1_slack15.0.txt b/patches/packages/python3-3.9.11-x86_64-1_slack15.0.txt new file mode 100644 index 00000000..452e9852 --- /dev/null +++ b/patches/packages/python3-3.9.11-x86_64-1_slack15.0.txt @@ -0,0 +1,11 @@ +python3: python3 (object-oriented interpreted programming language v3) +python3: +python3: Python is an interpreted, interactive, object-oriented programming +python3: language that combines remarkable power with very clear syntax. +python3: This is a new version of the language that is incompatible with the +python3: 2.x line of releases. The language is mostly the same, but many +python3: details, especially how built-in objects like dictionaries and strings +python3: work, have changed considerably, and a lot of deprecated features have +python3: finally been removed. Also, the standard library has been reorganized +python3: in a few prominent places. +python3: diff --git a/patches/source/python3/README b/patches/source/python3/README new file mode 100644 index 00000000..8197d592 --- /dev/null +++ b/patches/source/python3/README @@ -0,0 +1,18 @@ +Python is an interpreted, interactive, object-oriented programming +language that combines remarkable power with very clear syntax. +Python's basic power can be extended with your own modules written in C +or C++. Python is also adaptable as an extension language for existing +applications. + +Python 3 (a.k.a. "Python 3000" or "Py3k") is a new version of the +language that is incompatible with the 2.x line of releases. The +language is mostly the same, but many details, especially how built-in +objects like dictionaries and strings work, have changed considerably, +and a lot of deprecated features have finally been removed. Also, the +standard library has been reorganized in a few prominent places. + +It is safe to install alongside Slackware's Python 2.x. + +If you'd like to have HTML docs installed, get them from +<https://docs.python.org/3/download.html> (HTML format, .tar.bz2 +archive). diff --git a/patches/source/python3/python.sysconfig.py.x86_64.diff b/patches/source/python3/python.sysconfig.py.x86_64.diff new file mode 100644 index 00000000..3f607cb4 --- /dev/null +++ b/patches/source/python3/python.sysconfig.py.x86_64.diff @@ -0,0 +1,24 @@ +--- ./Lib/sysconfig.py.orig 2020-10-05 10:07:58.000000000 -0500 ++++ ./Lib/sysconfig.py 2020-10-24 17:23:51.323197869 -0500 +@@ -22,7 +22,7 @@ + 'posix_prefix': { + 'stdlib': '{installed_base}/{platlibdir}/python{py_version_short}', + 'platstdlib': '{platbase}/{platlibdir}/python{py_version_short}', +- 'purelib': '{base}/lib/python{py_version_short}/site-packages', ++ 'purelib': '{base}/lib64/python{py_version_short}/site-packages', + 'platlib': '{platbase}/{platlibdir}/python{py_version_short}/site-packages', + 'include': + '{installed_base}/include/python{py_version_short}{abiflags}', +@@ -33,9 +33,9 @@ + }, + 'posix_home': { + 'stdlib': '{installed_base}/lib/python', +- 'platstdlib': '{base}/lib/python', +- 'purelib': '{base}/lib/python', +- 'platlib': '{base}/lib/python', ++ 'platstdlib': '{base}/lib64/python', ++ 'purelib': '{base}/lib64/python', ++ 'platlib': '{base}/lib64/python', + 'include': '{installed_base}/include/python', + 'platinclude': '{installed_base}/include/python', + 'scripts': '{base}/bin', diff --git a/patches/source/python3/python3.SlackBuild b/patches/source/python3/python3.SlackBuild new file mode 100755 index 00000000..a07686f7 --- /dev/null +++ b/patches/source/python3/python3.SlackBuild @@ -0,0 +1,181 @@ +#!/bin/bash + +# Slackware build script for python3 + +# Copyright 2012-2017 Audrius Kažukauskas <audrius@neutrino.lt> +# Copyright 2017, 2018, 2019 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=python3 +SRCNAM=Python +VERSION=$(echo $SRCNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev) +BRANCH_VERSION=$(echo $VERSION | cut -f 1,2 -d . ) +BUILD=${BUILD:-1_slack15.0} + +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +# 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 + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM +rm -rf $PKG +mkdir -p $TMP $PKG + +# Don't set any SLKCFLAGS here, or OPT="$SLKCFLAGS" before the ./configure. +# Python gets the compile options right without any help. +if [ "$ARCH" = "i586" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "arm" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "armel" ]; then + LIBDIRSUFFIX="" +fi + +# Location for Python site-packages: +SITEPK=$PKG/usr/lib${LIBDIRSUFFIX}/python${BRANCH_VERSION}/site-packages +# same as above without $PKG +TOOLSDIR=/usr/lib${LIBDIRSUFFIX}/python${BRANCH_VERSION}/site-packages + +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xf $CWD/$SRCNAM-$VERSION.tar.xz || exit 1 +cd $SRCNAM-$VERSION || exit 1 + +zcat $CWD/python3.readline.set_pre_input_hook.diff.gz | patch -p1 --verbose || exit 1 + +# We don't want a large libpython*.a. +zcat $CWD/python3.no-static-library.diff.gz | patch -p1 --verbose || exit 1 + +if [ "$ARCH" = "x86_64" ]; then + # Install to lib64 instead of lib. + zcat $CWD/python.sysconfig.py.x86_64.diff.gz | patch -p1 --verbose || exit 1 + zcat $CWD/python3.distutils.x86_64.diff.gz | patch -p1 --verbose || exit 1 + zcat $CWD/python3.setup.py.x86_64.diff.gz | patch -p1 --verbose || exit 1 +fi + +# Fix python3 path in cgi.py. +sed -i '1s|^#.*/usr/local/bin/python|#!/usr/bin/python3|' Lib/cgi.py + +# If system we're building on already has Python3 with pip in site-packages, +# ignore it and install pip anyway. +sed -i 's|\("install",\)|\1 "--ignore-installed",|' Lib/ensurepip/__init__.py + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --with-platlibdir=lib${LIBDIRSUFFIX} \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PKGNAM-$VERSION \ + --enable-ipv6 \ + --enable-shared \ + --with-system-expat \ + --with-system-ffi \ + --enable-loadable-sqlite-extensions \ + --without-ensurepip \ + --build=$ARCH-slackware-linux || exit 1 + +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +# Remove to avoid overwriting a copy from Python2. +rm -f $PKG/usr/bin/2to3 + +## NOPE, let's try using -I instead. +## Add a symlink to cpython include directory to fix various builds that +## do not expect the new location: +#( cd $PKG/usr/include +# ln -sf python?.?/cpython . +#) + +# We'll install the python-tools under site-packages. +mkdir -p $SITEPK +cp -a Tools/* $SITEPK + +# Remove DOS batch/exe files. +find $PKG \( -name '*.exe' -o -name '*.bat' \) -exec rm -f '{}' \+ + +# Fix permissions on dynamic libraries. +find $PKG -type f -perm 555 -exec chmod 755 '{}' \+ + +# Install docs. +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +cp -a README.rst LICENSE Misc $PKG/usr/doc/$PKGNAM-$VERSION +# Delete stuff that we don't need to package: +rm -f $PKG/usr/doc/$PKGNAM-$VERSION/Misc/{HISTORY,*.in,*.wpr,python.man,svnmap.txt} +mv $SITEPK/README $PKG/usr/doc/$PKGNAM-$VERSION/README.python-tools +( cd $PKG/usr/doc/$PKGNAM-$VERSION ; ln -sf $TOOLSDIR Tools ) +if [ -e "$CWD/python-$VERSION-docs-html.tar.bz2" ]; then + tar xf $CWD/python-$VERSION-docs-html.tar.bz2 + mv python-$VERSION-docs-html $PKG/usr/doc/$PKGNAM-$VERSION/docs-html + chown -R root:root $PKG/usr/doc/$PKGNAM-$VERSION/docs-html +fi +if [ -e "$CWD/python-$VERSION-docs-text.tar.bz2" ]; then + tar xf $CWD/python-$VERSION-docs-text.tar.bz2 + mv python-$VERSION-docs-text $PKG/usr/doc/$PKGNAM-$VERSION/docs-text + chown -R root:root $PKG/usr/doc/$PKGNAM-$VERSION/docs-text +fi + +# Fix possible incorrect permissions. +( cd $PKG + find . -type d -exec chmod 755 "{}" \+ + find . -perm 640 -exec chmod 644 "{}" \+ + find . -perm 750 -exec chmod 755 "{}" \+ +) + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +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/python3-$VERSION-$ARCH-$BUILD.txz diff --git a/patches/source/python3/python3.distutils.x86_64.diff b/patches/source/python3/python3.distutils.x86_64.diff new file mode 100644 index 00000000..09c6e966 --- /dev/null +++ b/patches/source/python3/python3.distutils.x86_64.diff @@ -0,0 +1,30 @@ +--- ./Lib/distutils/sysconfig.py.orig 2020-10-05 10:07:58.000000000 -0500 ++++ ./Lib/distutils/sysconfig.py 2020-10-24 17:31:20.860207925 -0500 +@@ -151,7 +151,7 @@ + libdir = sys.platlibdir + else: + # Pure Python +- libdir = "lib" ++ libdir = "lib64" + libpython = os.path.join(prefix, libdir, + "python" + get_python_version()) + if standard_lib: +--- ./Lib/distutils/command/install.py.orig 2020-10-05 10:07:58.000000000 -0500 ++++ ./Lib/distutils/command/install.py 2020-10-24 17:29:58.230206077 -0500 +@@ -29,14 +29,14 @@ + + INSTALL_SCHEMES = { + 'unix_prefix': { +- 'purelib': '$base/lib/python$py_version_short/site-packages', ++ 'purelib': '$base/lib64/python$py_version_short/site-packages', + 'platlib': '$platbase/$platlibdir/python$py_version_short/site-packages', + 'headers': '$base/include/python$py_version_short$abiflags/$dist_name', + 'scripts': '$base/bin', + 'data' : '$base', + }, + 'unix_home': { +- 'purelib': '$base/lib/python', ++ 'purelib': '$base/lib64/python', + 'platlib': '$base/$platlibdir/python', + 'headers': '$base/include/python/$dist_name', + 'scripts': '$base/bin', diff --git a/patches/source/python3/python3.no-static-library.diff b/patches/source/python3/python3.no-static-library.diff new file mode 100644 index 00000000..3b3afb07 --- /dev/null +++ b/patches/source/python3/python3.no-static-library.diff @@ -0,0 +1,75 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: David Malcolm <dmalcolm@redhat.com> +Date: Mon, 18 Jan 2010 17:59:07 +0000 +Subject: [PATCH] 00111: Don't try to build a libpythonMAJOR.MINOR.a +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Downstream only: not appropriate for upstream. + +See https://bugzilla.redhat.com/show_bug.cgi?id=556092 + +Co-authored-by: David Malcolm <dmalcolm@redhat.com> +Co-authored-by: Bohuslav Kabrda <bkabrda@redhat.com> +Co-authored-by: Matej Stuchlik <mstuchli@redhat.com> +Co-authored-by: Robert Kuska <rkuska@redhat.com> +Co-authored-by: Charalampos Stratakis <cstratak@redhat.com> +Co-authored-by: Miro Hrončok <miro@hroncok.cz> +--- + Makefile.pre.in | 21 ++------------------- + 1 file changed, 2 insertions(+), 19 deletions(-) + +diff --git a/Makefile.pre.in b/Makefile.pre.in +index 77f91e72b1..bb4069b18a 100644 +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -586,7 +586,7 @@ clinic: check-clean-src $(srcdir)/Modules/_blake2/blake2s_impl.c + $(PYTHON_FOR_REGEN) $(srcdir)/Tools/clinic/clinic.py --make --srcdir $(srcdir) + + # Build the interpreter +-$(BUILDPYTHON): Programs/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY) $(EXPORTSYMS) ++$(BUILDPYTHON): Programs/python.o $(LDLIBRARY) $(PY3LIBRARY) $(EXPORTSYMS) + $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) + + platform: $(BUILDPYTHON) pybuilddir.txt +@@ -634,12 +634,6 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o + _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \ + $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build + +- +-# Build static library +-$(LIBRARY): $(LIBRARY_OBJS) +- -rm -f $@ +- $(AR) $(ARFLAGS) $@ $(LIBRARY_OBJS) +- + libpython$(LDVERSION).so: $(LIBRARY_OBJS) $(DTRACE_OBJS) + if test $(INSTSONAME) != $(LDLIBRARY); then \ + $(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM); \ +@@ -721,7 +715,7 @@ Makefile Modules/config.c: Makefile.pre \ + @echo "The Makefile was updated, you may need to re-run make." + + +-Programs/_testembed: Programs/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY) $(EXPORTSYMS) ++Programs/_testembed: Programs/_testembed.o $(LDLIBRARY) $(PY3LIBRARY) $(EXPORTSYMS) + $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) + + ############################################################################ +@@ -1630,17 +1624,6 @@ libainstall: @DEF_MAKE_RULE@ python-config + else true; \ + fi; \ + done +- @if test -d $(LIBRARY); then :; else \ +- if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \ +- if test "$(SHLIB_SUFFIX)" = .dll; then \ +- $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \ +- else \ +- $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \ +- fi; \ +- else \ +- echo Skip install of $(LIBRARY) - use make frameworkinstall; \ +- fi; \ +- fi + $(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c + $(INSTALL_DATA) Programs/python.o $(DESTDIR)$(LIBPL)/python.o + $(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in diff --git a/patches/source/python3/python3.readline.set_pre_input_hook.diff b/patches/source/python3/python3.readline.set_pre_input_hook.diff new file mode 100644 index 00000000..b55820c4 --- /dev/null +++ b/patches/source/python3/python3.readline.set_pre_input_hook.diff @@ -0,0 +1,12 @@ +--- ./Modules/readline.c.orig 2009-10-26 21:32:51.000000000 +0200 ++++ ./Modules/readline.c 2010-05-30 14:07:10.000000000 +0300 +@@ -12,6 +12,9 @@ + #include <errno.h> + #include <sys/time.h> + ++/* This seems to be needed for set_pre_input_hook to work */ ++#define HAVE_RL_PRE_INPUT_HOOK 1 ++ + #if defined(HAVE_SETLOCALE) + /* GNU readline() mistakenly sets the LC_CTYPE locale. + * This is evil. Only the user or the app's main() should do this! diff --git a/patches/source/python3/python3.setup.py.x86_64.diff b/patches/source/python3/python3.setup.py.x86_64.diff new file mode 100644 index 00000000..a7dd2a3b --- /dev/null +++ b/patches/source/python3/python3.setup.py.x86_64.diff @@ -0,0 +1,11 @@ +--- ./setup.py.orig 2020-10-05 10:07:58.000000000 -0500 ++++ ./setup.py 2020-10-24 17:35:07.299212991 -0500 +@@ -744,7 +744,7 @@ + # directories (i.e. '.' and 'Include') must be first. See issue + # 10520. + if not CROSS_COMPILING: +- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') ++ add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib64') + add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') + # only change this for cross builds for 3.3, issues on Mageia + if CROSS_COMPILING: diff --git a/patches/source/python3/python3.url b/patches/source/python3/python3.url new file mode 100644 index 00000000..8738d0b1 --- /dev/null +++ b/patches/source/python3/python3.url @@ -0,0 +1 @@ +http://www.python.org/ftp/python/ diff --git a/patches/source/python3/slack-desc b/patches/source/python3/slack-desc new file mode 100644 index 00000000..ca18863a --- /dev/null +++ b/patches/source/python3/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------------------------------------------------------| +python3: python3 (object-oriented interpreted programming language v3) +python3: +python3: Python is an interpreted, interactive, object-oriented programming +python3: language that combines remarkable power with very clear syntax. +python3: This is a new version of the language that is incompatible with the +python3: 2.x line of releases. The language is mostly the same, but many +python3: details, especially how built-in objects like dictionaries and strings +python3: work, have changed considerably, and a lot of deprecated features have +python3: finally been removed. Also, the standard library has been reorganized +python3: in a few prominent places. +python3: diff --git a/recompress.sh b/recompress.sh index aead7e74..d4aeb267 100755 --- a/recompress.sh +++ b/recompress.sh @@ -1172,6 +1172,11 @@ gzip ./patches/source/mariadb/doinst.sh gzip ./patches/source/boost/0001-b2-fix-install.patch gzip ./patches/source/libxml2/libxml2.python3-unicode-errors.patch gzip ./patches/source/libxml2/libxml2.do-not-check-crc.diff +gzip ./patches/source/python3/python.sysconfig.py.x86_64.diff +gzip ./patches/source/python3/python3.no-static-library.diff +gzip ./patches/source/python3/python3.readline.set_pre_input_hook.diff +gzip ./patches/source/python3/python3.setup.py.x86_64.diff +gzip ./patches/source/python3/python3.distutils.x86_64.diff gzip ./patches/source/seamonkey/autoconf/autoconf-2.13-consolidated_fixes-1.patch gzip ./patches/source/seamonkey/doinst.sh gzip ./patches/source/seamonkey/sm.ui.scrollToClick.diff |