Mon Nov 18 22:26:36 UTC 2024

ap/lsof-4.99.4-x86_64-1.txz:  Upgraded.
n/dovecot-2.3.21.1-x86_64-4.txz:  Rebuilt.
  Build with option --with-libwrap. Patch configure to add -lnsl to -lwrap.
  Thanks to Jonathan Woithe.
xap/xine-lib-1.2.13-x86_64-10.txz:  Rebuilt.
  Recompiled since ImageMagick upstream fixed their mistake.
  Thanks to Petri Kaukasoina.
testing/packages/kernel-generic-6.12.0-x86_64-1.txz:  Added.
testing/packages/kernel-headers-6.12.0-x86-1.txz:  Added.
testing/packages/kernel-source-6.12.0-noarch-1.txz:  Added.
This commit is contained in:
Patrick J Volkerding 2024-11-18 22:26:36 +00:00 committed by Eric Hameleers
parent cf1f9c9d38
commit bb2b920e00
20 changed files with 23842 additions and 48 deletions

View file

@ -11,9 +11,29 @@
<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>Sun, 17 Nov 2024 19:50:28 GMT</pubDate>
<lastBuildDate>Sun, 17 Nov 2024 20:43:01 GMT</lastBuildDate>
<pubDate>Mon, 18 Nov 2024 22:26:36 GMT</pubDate>
<lastBuildDate>Mon, 18 Nov 2024 23:02:52 GMT</lastBuildDate>
<generator>maintain_current_git.sh v 1.17</generator>
<item>
<title>Mon, 18 Nov 2024 22:26:36 GMT</title>
<pubDate>Mon, 18 Nov 2024 22:26:36 GMT</pubDate>
<link>https://git.slackware.nl/current/tag/?h=20241118222636</link>
<guid isPermaLink="false">20241118222636</guid>
<description>
<![CDATA[<pre>
ap/lsof-4.99.4-x86_64-1.txz: Upgraded.
n/dovecot-2.3.21.1-x86_64-4.txz: Rebuilt.
Build with option --with-libwrap. Patch configure to add -lnsl to -lwrap.
Thanks to Jonathan Woithe.
xap/xine-lib-1.2.13-x86_64-10.txz: Rebuilt.
Recompiled since ImageMagick upstream fixed their mistake.
Thanks to Petri Kaukasoina.
testing/packages/kernel-generic-6.12.0-x86_64-1.txz: Added.
testing/packages/kernel-headers-6.12.0-x86-1.txz: Added.
testing/packages/kernel-source-6.12.0-noarch-1.txz: Added.
</pre>]]>
</description>
</item>
<item>
<title>Sun, 17 Nov 2024 19:50:28 GMT</title>
<pubDate>Sun, 17 Nov 2024 19:50:28 GMT</pubDate>

View file

@ -1,3 +1,15 @@
Mon Nov 18 22:26:36 UTC 2024
ap/lsof-4.99.4-x86_64-1.txz: Upgraded.
n/dovecot-2.3.21.1-x86_64-4.txz: Rebuilt.
Build with option --with-libwrap. Patch configure to add -lnsl to -lwrap.
Thanks to Jonathan Woithe.
xap/xine-lib-1.2.13-x86_64-10.txz: Rebuilt.
Recompiled since ImageMagick upstream fixed their mistake.
Thanks to Petri Kaukasoina.
testing/packages/kernel-generic-6.12.0-x86_64-1.txz: Added.
testing/packages/kernel-headers-6.12.0-x86-1.txz: Added.
testing/packages/kernel-source-6.12.0-noarch-1.txz: Added.
+--------------------------+
Sun Nov 17 19:50:28 UTC 2024
a/kernel-generic-6.11.9-x86_64-1.txz: Upgraded.
a/mcelog-201-x86_64-1.txz: Upgraded.

View file

@ -1,20 +1,20 @@
Sun Nov 17 19:54:27 UTC 2024
Mon Nov 18 22:34:09 UTC 2024
Here is the file list for this directory. If you are using a
mirror site and find missing or extra files in the disk
subdirectories, please have the archive administrator refresh
the mirror.
drwxr-xr-x 12 root root 4096 2024-11-17 19:50 .
drwxr-xr-x 12 root root 4096 2024-11-18 22:32 .
-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 1159177 2024-11-16 22:34 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 195 2024-11-16 22:34 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 1161360 2024-11-18 22:32 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 195 2024-11-18 22:32 ./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 1232757 2024-11-17 19:50 ./ChangeLog.txt
-rw-r--r-- 1 root root 1233318 2024-11-18 22:26 ./ChangeLog.txt
drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI
drwxr-xr-x 2 root root 4096 2024-11-17 19:49 ./EFI/BOOT
-rw-r--r-- 1 root root 1200128 2024-09-12 20:40 ./EFI/BOOT/bootx64.efi
@ -25,9 +25,9 @@ drwxr-xr-x 2 root root 4096 2024-11-17 19:49 ./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 1520339 2024-11-16 22:34 ./FILELIST.TXT
-rw-r--r-- 1 root root 1523353 2024-11-18 22:31 ./FILELIST.TXT
-rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY
-rw-r--r-- 1 root root 913808 2024-11-17 19:53 ./PACKAGES.TXT
-rw-r--r-- 1 root root 913809 2024-11-18 22:31 ./PACKAGES.TXT
-rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT
-rw-r--r-- 1 root root 2640 2024-11-17 19:32 ./README.initrd
-rw-r--r-- 1 root root 34114 2023-12-11 20:35 ./README_CRYPT.TXT
@ -662,11 +662,11 @@ drwxr-xr-x 2 root root 4096 2022-02-03 07:02 ./patches
-rw-r--r-- 1 root root 575 2022-02-03 07:02 ./patches/FILE_LIST
-rw-r--r-- 1 root root 14 2022-02-03 07:02 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 224 2022-02-03 07:02 ./patches/PACKAGES.TXT
drwxr-xr-x 17 root root 4096 2024-11-17 19:54 ./slackware64
-rw-r--r-- 1 root root 356677 2024-11-17 19:54 ./slackware64/CHECKSUMS.md5
-rw-r--r-- 1 root root 195 2024-11-17 19:54 ./slackware64/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 441698 2024-11-17 19:53 ./slackware64/FILE_LIST
-rw-r--r-- 1 root root 4813750 2024-11-17 19:53 ./slackware64/MANIFEST.bz2
drwxr-xr-x 17 root root 4096 2024-11-18 22:31 ./slackware64
-rw-r--r-- 1 root root 356680 2024-11-18 22:31 ./slackware64/CHECKSUMS.md5
-rw-r--r-- 1 root root 195 2024-11-18 22:31 ./slackware64/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 441701 2024-11-18 22:30 ./slackware64/FILE_LIST
-rw-r--r-- 1 root root 4820193 2024-11-18 22:30 ./slackware64/MANIFEST.bz2
lrwxrwxrwx 1 root root 15 2009-08-23 23:34 ./slackware64/PACKAGES.TXT -> ../PACKAGES.TXT
drwxr-xr-x 2 root root 32768 2024-11-17 19:53 ./slackware64/a
-rw-r--r-- 1 root root 327 2022-02-15 18:16 ./slackware64/a/aaa_base-15.1-x86_64-2.txt
@ -1055,7 +1055,7 @@ drwxr-xr-x 2 root root 32768 2024-11-17 19:53 ./slackware64/a
-rw-r--r-- 1 root root 540 2024-01-15 21:54 ./slackware64/a/zoo-2.10_28-x86_64-1.txt
-rw-r--r-- 1 root root 55448 2024-01-15 21:54 ./slackware64/a/zoo-2.10_28-x86_64-1.txz
-rw-r--r-- 1 root root 163 2024-01-15 21:54 ./slackware64/a/zoo-2.10_28-x86_64-1.txz.asc
drwxr-xr-x 2 root root 20480 2024-11-15 21:38 ./slackware64/ap
drwxr-xr-x 2 root root 20480 2024-11-18 22:30 ./slackware64/ap
-rw-r--r-- 1 root root 291 2024-03-14 19:01 ./slackware64/ap/a2ps-4.15.6-x86_64-1.txt
-rw-r--r-- 1 root root 675492 2024-03-14 19:01 ./slackware64/ap/a2ps-4.15.6-x86_64-1.txz
-rw-r--r-- 1 root root 195 2024-03-14 19:01 ./slackware64/ap/a2ps-4.15.6-x86_64-1.txz.asc
@ -1178,9 +1178,9 @@ drwxr-xr-x 2 root root 20480 2024-11-15 21:38 ./slackware64/ap
-rw-r--r-- 1 root root 532 2021-02-13 11:32 ./slackware64/ap/lm_sensors-3.6.0-x86_64-3.txt
-rw-r--r-- 1 root root 140560 2021-02-13 11:32 ./slackware64/ap/lm_sensors-3.6.0-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 11:32 ./slackware64/ap/lm_sensors-3.6.0-x86_64-3.txz.asc
-rw-r--r-- 1 root root 331 2023-12-17 19:40 ./slackware64/ap/lsof-4.99.3-x86_64-1.txt
-rw-r--r-- 1 root root 297996 2023-12-17 19:40 ./slackware64/ap/lsof-4.99.3-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-12-17 19:40 ./slackware64/ap/lsof-4.99.3-x86_64-1.txz.asc
-rw-r--r-- 1 root root 331 2024-11-18 20:00 ./slackware64/ap/lsof-4.99.4-x86_64-1.txt
-rw-r--r-- 1 root root 298456 2024-11-18 20:00 ./slackware64/ap/lsof-4.99.4-x86_64-1.txz
-rw-r--r-- 1 root root 195 2024-11-18 20:00 ./slackware64/ap/lsof-4.99.4-x86_64-1.txz.asc
-rw-r--r-- 1 root root 366 2021-05-06 19:12 ./slackware64/ap/lsscsi-0.32-x86_64-1.txt
-rw-r--r-- 1 root root 52876 2021-05-06 19:12 ./slackware64/ap/lsscsi-0.32-x86_64-1.txz
-rw-r--r-- 1 root root 163 2021-05-06 19:12 ./slackware64/ap/lsscsi-0.32-x86_64-1.txz.asc
@ -4112,7 +4112,7 @@ drwxr-xr-x 2 root root 102400 2024-11-17 19:53 ./slackware64/l
-rw-r--r-- 1 root root 403 2023-12-11 22:02 ./slackware64/l/zxing-cpp-2.2.1-x86_64-1.txt
-rw-r--r-- 1 root root 773596 2023-12-11 22:02 ./slackware64/l/zxing-cpp-2.2.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2023-12-11 22:02 ./slackware64/l/zxing-cpp-2.2.1-x86_64-1.txz.asc
drwxr-xr-x 2 root root 36864 2024-11-16 22:33 ./slackware64/n
drwxr-xr-x 2 root root 36864 2024-11-18 22:30 ./slackware64/n
-rw-r--r-- 1 root root 357 2024-08-21 17:23 ./slackware64/n/ModemManager-1.22.0-x86_64-1.txt
-rw-r--r-- 1 root root 1520380 2024-08-21 17:23 ./slackware64/n/ModemManager-1.22.0-x86_64-1.txz
-rw-r--r-- 1 root root 195 2024-08-21 17:23 ./slackware64/n/ModemManager-1.22.0-x86_64-1.txz.asc
@ -4179,9 +4179,9 @@ drwxr-xr-x 2 root root 36864 2024-11-16 22:33 ./slackware64/n
-rw-r--r-- 1 root root 443 2024-02-14 03:01 ./slackware64/n/dnsmasq-2.90-x86_64-1.txt
-rw-r--r-- 1 root root 414636 2024-02-14 03:01 ./slackware64/n/dnsmasq-2.90-x86_64-1.txz
-rw-r--r-- 1 root root 163 2024-02-14 03:01 ./slackware64/n/dnsmasq-2.90-x86_64-1.txz.asc
-rw-r--r-- 1 root root 450 2024-10-30 18:24 ./slackware64/n/dovecot-2.3.21.1-x86_64-3.txt
-rw-r--r-- 1 root root 3410700 2024-10-30 18:24 ./slackware64/n/dovecot-2.3.21.1-x86_64-3.txz
-rw-r--r-- 1 root root 195 2024-10-30 18:24 ./slackware64/n/dovecot-2.3.21.1-x86_64-3.txz.asc
-rw-r--r-- 1 root root 450 2024-11-18 19:56 ./slackware64/n/dovecot-2.3.21.1-x86_64-4.txt
-rw-r--r-- 1 root root 3419512 2024-11-18 19:56 ./slackware64/n/dovecot-2.3.21.1-x86_64-4.txz
-rw-r--r-- 1 root root 195 2024-11-18 19:56 ./slackware64/n/dovecot-2.3.21.1-x86_64-4.txz.asc
-rw-r--r-- 1 root root 423 2021-02-13 12:01 ./slackware64/n/ebtables-2.0.11-x86_64-3.txt
-rw-r--r-- 1 root root 80700 2021-02-13 12:01 ./slackware64/n/ebtables-2.0.11-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 12:01 ./slackware64/n/ebtables-2.0.11-x86_64-3.txz.asc
@ -5528,7 +5528,7 @@ drwxr-xr-x 2 root root 65536 2024-11-17 19:53 ./slackware64/x
-rw-r--r-- 1 root root 213 2024-10-13 18:29 ./slackware64/x/xwud-1.0.7-x86_64-1.txt
-rw-r--r-- 1 root root 26124 2024-10-13 18:29 ./slackware64/x/xwud-1.0.7-x86_64-1.txz
-rw-r--r-- 1 root root 195 2024-10-13 18:29 ./slackware64/x/xwud-1.0.7-x86_64-1.txz.asc
drwxr-xr-x 2 root root 16384 2024-11-15 21:38 ./slackware64/xap
drwxr-xr-x 2 root root 16384 2024-11-18 22:30 ./slackware64/xap
-rw-r--r-- 1 root root 625 2024-08-12 23:22 ./slackware64/xap/MPlayer-20240812-x86_64-1.txt
-rw-r--r-- 1 root root 2722348 2024-08-12 23:22 ./slackware64/xap/MPlayer-20240812-x86_64-1.txz
-rw-r--r-- 1 root root 195 2024-08-12 23:22 ./slackware64/xap/MPlayer-20240812-x86_64-1.txz.asc
@ -5663,9 +5663,9 @@ drwxr-xr-x 2 root root 16384 2024-11-15 21:38 ./slackware64/xap
-rw-r--r-- 1 root root 239 2021-02-13 13:43 ./slackware64/xap/xgames-0.3-x86_64-8.txt
-rw-r--r-- 1 root root 93540 2021-02-13 13:43 ./slackware64/xap/xgames-0.3-x86_64-8.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:43 ./slackware64/xap/xgames-0.3-x86_64-8.txz.asc
-rw-r--r-- 1 root root 511 2024-11-11 19:15 ./slackware64/xap/xine-lib-1.2.13-x86_64-9.txt
-rw-r--r-- 1 root root 2941608 2024-11-11 19:15 ./slackware64/xap/xine-lib-1.2.13-x86_64-9.txz
-rw-r--r-- 1 root root 195 2024-11-11 19:15 ./slackware64/xap/xine-lib-1.2.13-x86_64-9.txz.asc
-rw-r--r-- 1 root root 511 2024-11-18 18:03 ./slackware64/xap/xine-lib-1.2.13-x86_64-10.txt
-rw-r--r-- 1 root root 2940524 2024-11-18 18:03 ./slackware64/xap/xine-lib-1.2.13-x86_64-10.txz
-rw-r--r-- 1 root root 195 2024-11-18 18:03 ./slackware64/xap/xine-lib-1.2.13-x86_64-10.txz.asc
-rw-r--r-- 1 root root 373 2024-05-04 01:47 ./slackware64/xap/xine-ui-0.99.14-x86_64-3.txt
-rw-r--r-- 1 root root 1702816 2024-05-04 01:47 ./slackware64/xap/xine-ui-0.99.14-x86_64-3.txz
-rw-r--r-- 1 root root 195 2024-05-04 01:47 ./slackware64/xap/xine-ui-0.99.14-x86_64-3.txz.asc
@ -5798,11 +5798,11 @@ drwxr-xr-x 2 root root 4096 2024-11-10 20:41 ./slackware64/y
-rw-r--r-- 1 root root 1488844 2024-05-05 17:22 ./slackware64/y/nethack-3.6.7-x86_64-2.txz
-rw-r--r-- 1 root root 195 2024-05-05 17:22 ./slackware64/y/nethack-3.6.7-x86_64-2.txz.asc
-rw-r--r-- 1 root root 26 2020-12-30 21:55 ./slackware64/y/tagfile
drwxr-xr-x 18 root root 4096 2024-11-17 19:54 ./source
-rw-r--r-- 1 root root 626073 2024-11-17 19:54 ./source/CHECKSUMS.md5
-rw-r--r-- 1 root root 195 2024-11-17 19:54 ./source/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 876545 2024-11-17 19:54 ./source/FILE_LIST
-rw-r--r-- 1 root root 30653563 2024-11-17 19:54 ./source/MANIFEST.bz2
drwxr-xr-x 18 root root 4096 2024-11-18 22:31 ./source
-rw-r--r-- 1 root root 626073 2024-11-18 22:31 ./source/CHECKSUMS.md5
-rw-r--r-- 1 root root 195 2024-11-18 22:31 ./source/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 876545 2024-11-18 22:31 ./source/FILE_LIST
-rw-r--r-- 1 root root 30647091 2024-11-18 22:31 ./source/MANIFEST.bz2
-rw-r--r-- 1 root root 828 2022-02-02 04:43 ./source/README.TXT
drwxr-xr-x 125 root root 4096 2024-11-17 19:16 ./source/a
-rw-r--r-- 1 root root 339 2023-09-28 19:06 ./source/a/FTBFSlog
@ -7251,8 +7251,8 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/ap/lm_sensors
-rw-r--r-- 1 root root 212074 2019-10-17 15:43 ./source/ap/lm_sensors/lm_sensors-3.6.0.tar.lz
-rwxr-xr-x 1 root root 4099 2021-02-13 05:31 ./source/ap/lm_sensors/lm_sensors.SlackBuild
-rw-r--r-- 1 root root 990 2018-11-26 20:25 ./source/ap/lm_sensors/slack-desc
drwxr-xr-x 2 root root 4096 2023-12-17 19:40 ./source/ap/lsof
-rw-r--r-- 1 root root 721300 2023-12-17 00:33 ./source/ap/lsof/lsof-4.99.3.tar.lz
drwxr-xr-x 2 root root 4096 2024-11-18 19:59 ./source/ap/lsof
-rw-r--r-- 1 root root 721881 2024-11-18 02:11 ./source/ap/lsof/lsof-4.99.4.tar.lz
-rwxr-xr-x 1 root root 3441 2022-04-28 18:36 ./source/ap/lsof/lsof.SlackBuild
-rw-r--r-- 1 root root 33 2022-10-19 18:45 ./source/ap/lsof/lsof.url
-rw-r--r-- 1 root root 784 2018-02-27 06:12 ./source/ap/lsof/slack-desc
@ -12580,7 +12580,7 @@ drwxr-xr-x 2 root root 4096 2024-10-10 17:40 ./source/l/zxing-cpp
-rwxr-xr-x 1 root root 3885 2024-10-10 17:40 ./source/l/zxing-cpp/zxing-cpp.SlackBuild
-rw-r--r-- 1 root root 39 2023-04-20 20:51 ./source/l/zxing-cpp/zxing-cpp.url
-rwxr-xr-x 1 root root 14793 2022-06-07 03:16 ./source/make_world.sh
drwxr-xr-x 162 root root 4096 2024-10-28 00:00 ./source/n
drwxr-xr-x 162 root root 4096 2024-11-18 19:25 ./source/n
-rw-r--r-- 1 root root 832 2024-05-20 18:05 ./source/n/FTBFSlog
drwxr-xr-x 2 root root 4096 2024-08-21 17:03 ./source/n/ModemManager
-rw-r--r-- 1 root root 1253085 2023-10-11 12:32 ./source/n/ModemManager/ModemManager-1.22.0.tar.lz
@ -12770,10 +12770,10 @@ drwxr-xr-x 2 root root 4096 2024-02-14 03:01 ./source/n/dnsmasq
-rw-r--r-- 1 root root 345 2021-04-25 18:48 ./source/n/dnsmasq/doinst.sh.gz
-rw-r--r-- 1 root root 383 2021-04-25 18:44 ./source/n/dnsmasq/rc.dnsmasq.gz
-rw-r--r-- 1 root root 898 2018-02-27 06:13 ./source/n/dnsmasq/slack-desc
drwxr-xr-x 2 root root 4096 2024-10-26 19:15 ./source/n/dovecot
drwxr-xr-x 2 root root 4096 2024-11-18 19:38 ./source/n/dovecot
-rw-r--r-- 1 root root 574 2020-02-12 17:48 ./source/n/dovecot/doinst.sh.gz
-rw-r--r-- 1 root root 4578742 2024-08-14 09:55 ./source/n/dovecot/dovecot-2.3.21.1.tar.lz
-rwxr-xr-x 1 root root 6023 2024-10-30 18:22 ./source/n/dovecot/dovecot.SlackBuild
-rwxr-xr-x 1 root root 6147 2024-11-18 19:55 ./source/n/dovecot/dovecot.SlackBuild
-rw-r--r-- 1 root root 498 2017-11-15 01:04 ./source/n/dovecot/dovecot.config.README.diff.gz
-rw-r--r-- 1 root root 650 2018-01-31 23:05 ./source/n/dovecot/dovecot.default.shadow.auth.diff.gz
-rw-r--r-- 1 root root 157 2020-02-12 17:46 ./source/n/dovecot/dovecot.pam
@ -15762,7 +15762,7 @@ drwxr-xr-x 2 root root 4096 2024-08-12 20:33 ./source/xap/xine-lib
-rw-r--r-- 1 root root 10066 2024-07-20 00:00 ./source/xap/xine-lib/xine-lib-1.2.13-ffmpeg7-compatibility.patch
-rw-r--r-- 1 root root 5004148 2023-01-26 11:37 ./source/xap/xine-lib/xine-lib-1.2.13.tar.xz
-rw-r--r-- 1 root root 5034 2024-07-20 00:00 ./source/xap/xine-lib/xine-lib-configure-c99.patch
-rwxr-xr-x 1 root root 4645 2024-11-11 19:13 ./source/xap/xine-lib/xine-lib.SlackBuild
-rwxr-xr-x 1 root root 4646 2024-11-18 18:02 ./source/xap/xine-lib/xine-lib.SlackBuild
drwxr-xr-x 2 root root 4096 2024-05-04 00:01 ./source/xap/xine-ui
-rw-r--r-- 1 root root 828 2018-02-27 06:13 ./source/xap/xine-ui/slack-desc
-rw-r--r-- 1 root root 2210025 2023-01-07 19:35 ./source/xap/xine-ui/xine-ui-0.99.14.tar.lz
@ -16071,14 +16071,44 @@ drwxr-xr-x 2 root root 4096 2023-02-19 18:29 ./source/y/nethack
-rwxr-xr-x 1 root root 4972 2024-05-05 17:20 ./source/y/nethack/nethack.SlackBuild
-rw-r--r-- 1 root root 59 2023-02-19 18:28 ./source/y/nethack/nethack.url
-rw-r--r-- 1 root root 1031 2020-12-30 21:50 ./source/y/nethack/slack-desc
drwxr-xr-x 4 root root 4096 2024-10-17 23:23 ./testing
-rw-r--r-- 1 root root 552 2024-10-17 23:23 ./testing/CHECKSUMS.md5
-rw-r--r-- 1 root root 195 2024-10-17 23:23 ./testing/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 709 2024-10-17 23:23 ./testing/FILE_LIST
-rw-r--r-- 1 root root 14 2024-10-17 23:23 ./testing/MANIFEST.bz2
-rw-r--r-- 1 root root 224 2024-10-17 23:23 ./testing/PACKAGES.TXT
drwxr-xr-x 2 root root 4096 2024-10-17 19:40 ./testing/packages
drwxr-xr-x 2 root root 4096 2024-10-17 19:40 ./testing/source
drwxr-xr-x 4 root root 4096 2024-11-18 22:34 ./testing
-rw-r--r-- 1 root root 2528 2024-11-18 22:34 ./testing/CHECKSUMS.md5
-rw-r--r-- 1 root root 195 2024-11-18 22:34 ./testing/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 3462 2024-11-18 22:34 ./testing/FILE_LIST
-rw-r--r-- 1 root root 1453262 2024-11-18 22:34 ./testing/MANIFEST.bz2
-rw-r--r-- 1 root root 1820 2024-11-18 22:34 ./testing/PACKAGES.TXT
drwxr-xr-x 2 root root 4096 2024-11-18 22:31 ./testing/packages
-rw-r--r-- 1 root root 553 2024-11-18 22:11 ./testing/packages/kernel-generic-6.12.0-x86_64-1.txt
-rw-r--r-- 1 root root 74376464 2024-11-18 22:11 ./testing/packages/kernel-generic-6.12.0-x86_64-1.txz
-rw-r--r-- 1 root root 195 2024-11-18 22:11 ./testing/packages/kernel-generic-6.12.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 332 2024-11-18 22:11 ./testing/packages/kernel-headers-6.12.0-x86-1.txt
-rw-r--r-- 1 root root 1223840 2024-11-18 22:11 ./testing/packages/kernel-headers-6.12.0-x86-1.txz
-rw-r--r-- 1 root root 195 2024-11-18 22:11 ./testing/packages/kernel-headers-6.12.0-x86-1.txz.asc
-rw-r--r-- 1 root root 317 2024-11-18 22:05 ./testing/packages/kernel-source-6.12.0-noarch-1.txt
-rw-r--r-- 1 root root 143308596 2024-11-18 22:05 ./testing/packages/kernel-source-6.12.0-noarch-1.txz
-rw-r--r-- 1 root root 195 2024-11-18 22:05 ./testing/packages/kernel-source-6.12.0-noarch-1.txz.asc
drwxr-xr-x 3 root root 4096 2024-11-18 14:37 ./testing/source
drwxr-xr-x 6 root root 4096 2024-11-18 14:39 ./testing/source/k
-rwxr-xr-x 1 root root 9852 2024-11-15 21:15 ./testing/source/k/build-all-kernels.sh
drwxr-xr-x 2 root root 4096 2024-11-07 22:42 ./testing/source/k/doinst.sh
-rw-r--r-- 1 root root 326 2024-11-18 14:38 ./testing/source/k/doinst.sh/doinst.sh-kernel
drwxr-xr-x 2 root root 4096 2024-11-18 22:31 ./testing/source/k/kernel-configs
-rw-r--r-- 1 root root 264891 2024-11-18 20:43 ./testing/source/k/kernel-configs/config-6.12.0.ia32
-rw-r--r-- 1 root root 269469 2024-11-18 14:41 ./testing/source/k/kernel-configs/config-6.12.0.x64
-rwxr-xr-x 1 root root 9743 2024-11-08 18:56 ./testing/source/k/kernel-generic.SlackBuild
-rwxr-xr-x 1 root root 3878 2024-10-25 00:29 ./testing/source/k/kernel-headers.SlackBuild
-rwxr-xr-x 1 root root 13225 2024-11-16 19:15 ./testing/source/k/kernel-source.SlackBuild
-rw-r--r-- 1 root root 985 2024-11-18 04:49 ./testing/source/k/linux-6.12.tar.sign
-rw-r--r-- 1 root root 147906904 2024-11-18 04:49 ./testing/source/k/linux-6.12.tar.xz
drwxr-xr-x 2 root root 4096 2023-01-04 20:50 ./testing/source/k/patches-revert-i686
-rw-r--r-- 1 root root 1132 2023-01-03 00:53 ./testing/source/k/patches-revert-i686/0001-x86-ioremap-Fix-page-aligned-size-calculation-in-__i.patch.gz
-rw-r--r-- 1 root root 246 2023-01-04 20:50 ./testing/source/k/patches-revert-i686/README
drwxr-xr-x 2 root root 4096 2024-09-10 18:15 ./testing/source/k/slack-desc
-rw-r--r-- 1 root root 1015 2024-09-10 18:09 ./testing/source/k/slack-desc/slack-desc.kernel-generic
-rw-r--r-- 1 root root 794 2018-03-05 04:04 ./testing/source/k/slack-desc/slack-desc.kernel-headers
-rw-r--r-- 1 root root 778 2018-02-27 06:16 ./testing/source/k/slack-desc/slack-desc.kernel-source
-rw-r--r-- 1 root root 778 2018-02-27 06:16 ./testing/source/k/slack-desc/slack-desc.kernel-source.vanilla
-rw-r--r-- 1 root root 729 2024-10-24 22:10 ./testing/source/k/slack-desc/slack-desc.kernel-template
drwxr-xr-x 2 root root 4096 2024-11-17 19:49 ./usb-and-pxe-installers
-rw-r--r-- 1 root root 31203 2011-03-21 21:21 ./usb-and-pxe-installers/README_PXE.TXT
-rw-r--r-- 1 root root 9197 2013-09-25 04:33 ./usb-and-pxe-installers/README_USB.TXT

View file

@ -1041,3 +1041,4 @@ gzip ./source/x/ibus/doinst.sh
gzip ./source/x/ibus/emoji-test.txt
gzip ./source/x/xcm/xcm.udev.rules.diff
gzip ./source/x/libva/doinst.sh
gzip ./testing/source/k/patches-revert-i686/0001-x86-ioremap-Fix-page-aligned-size-calculation-in-__i.patch

View file

@ -2,7 +2,7 @@
# Copyright 2006, 2010 Alan Hicks, Lizella, GA
# Copyright 2013, 2014, 2015, 2016, 2017 Mario Preksavec, Zagreb, Croatia
# Copyright 2017, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2017, 2018, 2019, 2020, 2024 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=dovecot
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-3}
BUILD=${BUILD:-4}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -107,6 +107,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Need -lnsl for -lwrap:
sed -i "s/LIBWRAP_LIBS=-lwrap/LIBWRAP_LIBS=\"-lwrap -lnsl\"/g" configure
# Add -ldl to LDFLAGS for sqlite
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -126,6 +129,7 @@ LDFLAGS="-Wl,--copy-dt-needed-entries -ldl" \
--with-mysql \
--with-sqlite \
--with-libcap \
--with-libwrap \
--disable-static \
--build=$ARCH-slackware-linux || exit 1

View file

@ -32,7 +32,7 @@ DIRVER=1.2.13
# Version used for the Slackware package
PKGVER=1.2.13
BUILD=${BUILD:-9}
BUILD=${BUILD:-10}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then

View file

@ -0,0 +1,239 @@
#!/bin/sh
# Copyright 2018, 2021, 2022, 2023, 2024 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# This script uses the SlackBuild scripts present here to build a
# complete set of kernel packages for the currently running architecture.
# It needs to be run once on 64-bit (uname -m = x86_64) and once on IA32
# (uname -m = i586 or i686).
# In spite of this being named "build-all-kernels.sh", you don't have to build
# all the packages or all the kernels that there are configs for. Set the
# variables below to tune this for your needs.
cd $(dirname $0) ; CWD=$(pwd)
BUILD=${BUILD:-1}
if [ -z "$VERSION" ]; then
# Get the filename of the newest kernel tarball:
KERNEL_SOURCE_FILE="$(/bin/ls -t linux-*.tar.?z | head -n 1 )"
if echo $KERNEL_SOURCE_FILE | grep -q rc ; then # need to get rc versions a bit differently
VERSION=$(/bin/ls -t linux-*.tar.?z | head -n 1 | rev | cut -f 3- -d . | cut -f 1,2 -d - | rev)
else # normal release version
VERSION=$(/bin/ls -t linux-*.tar.?z | head -n 1 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
fi
fi
TMP=${TMP:-/tmp}
# If you don't want to build the kernel source package, set this to anything
# other than "yes":
BUILD_KERNEL_SOURCE_PACKAGE=${BUILD_KERNEL_SOURCE_PACKAGE:-yes}
# If you don't want to build the kernel package(s), set this to "no".
# If you only want to build one kernel package, set this to the name of the
# kernel (i.e. "generic").
# To build kernel packages for every available config, set to "yes".
BUILD_KERNEL_PACKAGE=${BUILD_KERNEL_PACKAGE:-yes}
# Build the kernel-headers package?
BUILD_KERNEL_HEADERS_PACKAGE=${BUILD_KERNEL_HEADERS_PACKAGE:-yes}
# Where should we find the kernel config files?
KERNEL_CONFIGDIR=${KERNEL_CONFIGDIR:-./kernel-configs}
# Make KERNEL_CONFIGDIR an absolute path:
KERNEL_CONFIGDIR=$(realpath $KERNEL_CONFIGDIR)
export KERNEL_CONFIGDIR
# By default, install the packages as we build them.
INSTALL_PACKAGES=${INSTALL_PACKAGES:-YES}
# By default, have the kernel package(s) generate an initrd upon installation:
AUTO_GENERATE_INITRD=${AUTO_GENERATE_INITRD:-YES}
export AUTO_GENERATE_INITRD
# By default, update the initrd. But if both INSTALL_PACKAGES and
# AUTO_GENERATE_INITRD are YES, then installing the kernel-generic package
# will generate the initrd, so no need to do this twice.
if [ "$INSTALL_PACKAGES" = "YES" -a "$AUTO_GENERATE_INITRD" = "YES" ]; then
UPDATE_INITRD=${UPDATE_INITRD:-NO}
else
UPDATE_INITRD=${UPDATE_INITRD:-YES}
fi
# Clean kernels before building them. Not doing so quit working some time
# after 4.19.x.
export KERNEL_CLEAN=YES
# Set this to true if you'd like to write the .config back to its source
# after running "make oldconfig". This ensures that the config file is the
# exact one used to build, and is sorted properly.
REGEN_CONFIG=${REGEN_CONFIG:-true}
export REGEN_CONFIG
# We'll figure this out if you build the kernel-source package, otherwise
# you better set it if it'll be needed to match the .config filename.
LOCALVERSION=${LOCALVERSION:-}
# A list of recipes for build may be passed in the $RECIPES variable, otherwise
# we have defaults based on uname -m:
if [ -z "$RECIPES" ]; then
if uname -m | grep -wq x86_64 ; then
RECIPES="x86_64"
elif uname -m | grep -wq i.86 ; then
RECIPES="IA32"
else
echo "Error: no build recipes available for $(uname -m)"
exit 1
fi
fi
# Main build loop:
for recipe in $RECIPES ; do
# Build recipes are defined here. These will select the appropriate .config
# files and package naming scheme, and define the output location.
if [ "$recipe" = "x86_64" ]; then
# Recipe for x86_64:
export CONFIG_SUFFIX=".x64"
OUTPUT=${OUTPUT:-${TMP}/output-x86_64-${VERSION}}
elif [ "$recipe" = "IA32" ]; then
# Recipe for IA32:
export CONFIG_SUFFIX=".ia32"
OUTPUT=${OUTPUT:-${TMP}/output-ia32-${VERSION}}
else
echo "Error: recipe ${recipe} not implemented"
exit 1
fi
mkdir -p $OUTPUT
echo
echo "*************************************************"
echo "* Building kernels for recipe ${recipe}..."
echo "*************************************************"
echo
if [ "$BUILD_KERNEL_SOURCE_PACKAGE" = "yes" ]; then
# Build kernel-source package.
# Does a generic config file exist?
# A generic config is defined here as one that does not use a LOCALVERSION.
# If we don't see that, we'll look for this version plus any LOCALVERSION.
# If that doesn't match, we take the newest config with the proper $CONFIG_SUFFIX.
if [ -r $KERNEL_CONFIGDIR/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} ]; then
KERNEL_CONFIG="config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}"
elif [ -r "$(/bin/ls -t $KERNEL_CONFIGDIR/config-${VERSION}*${CONFIG_SUFFIX} 2> /dev/null | head -n 1)" ]; then
KERNEL_CONFIG="$(basename $(/bin/ls $KERNEL_CONFIGDIR/config-${VERSION}*${CONFIG_SUFFIX} 2> /dev/null | head -n 1))"
elif [ -r "$(/bin/ls -t $KERNEL_CONFIGDIR/config-*${CONFIG_SUFFIX} 2> /dev/null | head -n 1)" ]; then
KERNEL_CONFIG="$(basename $(/bin/ls $KERNEL_CONFIGDIR/config-*${CONFIG_SUFFIX} 2> /dev/null | head -n 1))"
else
echo "ERROR: no suitable config file found for ${CONFIG_SUFFIX}"
exit 1
fi
export KERNEL_CONFIG
# Build:
KERNEL_SOURCE_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES VERSION=$VERSION BUILD=$BUILD ./kernel-source.SlackBuild)
VERSION=$VERSION BUILD=$BUILD ./kernel-source.SlackBuild
mv ${TMP}/${KERNEL_SOURCE_PACKAGE_NAME} $OUTPUT || exit 1
if [ "${INSTALL_PACKAGES}" = "YES" ]; then
installpkg ${OUTPUT}/${KERNEL_SOURCE_PACKAGE_NAME} || exit 1
fi
else # otherwise, still stage the sources in $TMP/package-kernel-source:
echo "Not building kernel-source package."
sleep 2
ONLY_STAGE_KERNEL_SOURCE=yes VERSION=$VERSION BUILD=$BUILD ./kernel-source.SlackBuild
fi
# Build kernel+modules package(s) for every config file with a matching $CONFIG_SUFFIX:
for configfile in $KERNEL_CONFIGDIR/config-*${CONFIG_SUFFIX} ; do
# Set the LOCALVERSION from this .config:
LOCALVERSION=$(cat $configfile | grep "^CONFIG_LOCALVERSION=" | cut -f 2 -d = | tr -d \")
# Set the name for this kernel.
# If there's no LOCALVERSION, the name is "generic".
# Otherwise, it is the LOCALVERSION minus any leading dash.
if [ -z "$LOCALVERSION" ]; then
KERNEL_NAME=generic
else
KERNEL_NAME=$LOCALVERSION
# If there's a leading dash, remove it:
if [ "$(echo $KERNEL_NAME | cut -b 1)" = "-" ]; then
KERNEL_NAME="$(echo $KERNEL_NAME | cut -b 2-)"
fi
fi
export KERNEL_NAME
# Are we building this kernel?
if [ ! "$BUILD_KERNEL_PACKAGE" = "yes" ]; then
if [ ! "$BUILD_KERNEL_PACKAGE" = "$KERNEL_NAME" ]; then
continue
fi
fi
# We will build in the just-built kernel tree. First, let's put back the
# symlinks:
( cd $TMP/package-kernel-source
sh install/doinst.sh 2> /dev/null
)
KERNEL_GENERIC_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=$KERNEL_CONFIGDIR/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} CONFIG_SUFFIX=${CONFIG_SUFFIX} KERNEL_OUTPUT_DIRECTORY=$OUTPUT/kernels/${KERNEL_NAME}.s BUILD=$BUILD ./kernel-generic.SlackBuild)
KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=$KERNEL_CONFIGDIR/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} CONFIG_SUFFIX=${CONFIG_SUFFIX} KERNEL_OUTPUT_DIRECTORY=$OUTPUT/kernels/${KERNEL_NAME}.s BUILD=$BUILD ./kernel-generic.SlackBuild
if [ -r ${TMP}/${KERNEL_GENERIC_PACKAGE_NAME} ]; then
mv ${TMP}/${KERNEL_GENERIC_PACKAGE_NAME} $OUTPUT
else
echo "kernel-${KERNEL_NAME} build failed."
exit 1
fi
if [ "${INSTALL_PACKAGES}" = "YES" ]; then
installpkg ${OUTPUT}/${KERNEL_GENERIC_PACKAGE_NAME} || exit 1
fi
done # building kernel+modules package(s).
if [ "$BUILD_KERNEL_HEADERS_PACKAGE" = "yes" ]; then
# Build kernel-headers:
KERNEL_HEADERS_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux BUILD=$BUILD ./kernel-headers.SlackBuild)
KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux BUILD=$BUILD ./kernel-headers.SlackBuild
if [ -r ${TMP}/${KERNEL_HEADERS_PACKAGE_NAME} ]; then
mv ${TMP}/${KERNEL_HEADERS_PACKAGE_NAME} $OUTPUT
else
echo "kernel-headers build failed."
exit 1
fi
if [ "${INSTALL_PACKAGES}" = "YES" ]; then
upgradepkg --reinstall --install-new ${OUTPUT}/${KERNEL_HEADERS_PACKAGE_NAME} || exit 1
fi
fi
# Update initrd:
if [ "${UPDATE_INITRD}" = "YES" ]; then
echo "Updating initrd with geninitrd..."
GENINITRD_SILENT=true /usr/sbin/geninitrd
fi
echo
echo "${recipe} kernel packages done!"
echo
done

View file

@ -0,0 +1,9 @@
# Only run this if we aren't in the installer.
# We'll do these things after the install.
if [ -z "$INSIDE_INSTALLER" ]; then
# Generate the initrd and remove orphaned initrds.
# Options (including disabling this) may be found in /etc/default/geninitrd.
if [ -x usr/sbin/geninitrd ]; then
usr/sbin/geninitrd
fi
fi

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,218 @@
#!/bin/sh
# Copyright 2018, 2020, 2024 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# To use this script, point it to a Linux kernel source tree and a .config
# file by setting the appropriate environment variables:
#
# KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-6.9.9-generic.x64 ./kernel-generic.SlackBuild
#
# It can also build the huge (or any other) kernel:
#
# KERNEL_NAME=huge KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-6.9.9.x64 ./kernel-generic.SlackBuild
#
# By default, it will call the package "kernel-generic" and use the source and
# .config already in /usr/src/linux (if possible).
cd $(dirname $0) ; CWD=$(pwd)
KERNEL_NAME=${KERNEL_NAME:-generic}
KERNEL_SOURCE=${KERNEL_SOURCE:-/usr/src/linux}
KERNEL_CONFIG=${KERNEL_CONFIG:-/usr/src/linux/.config}
CONFIG_SUFFIX=${CONFIG_SUFFIX:-}
BUILD=${BUILD:-1}
# The CONFIG_DEBUG_INFO_BTF_MODULES option adds a huge amount of debugging
# data to the modules which we don't actually need. We'll strip debugging
# information from kernel modules by default. If you are building a debug
# kernel and wish to retain this data, export the variable below set to "0".
STRIP_DEBUG=${STRIP_DEBUG:-1}
# Let's export the variable with the name needed by the kernel's Makefiles,
# just for good measure.
if [ "$STRIP_DEBUG" = "1" ]; then
export INSTALL_MOD_STRIP=$STRIP_DEBUG
else
unset STRIP_DEBUG
fi
# Set this to true if you'd like to write the .config back to its source
# after running "make oldconfig". This ensures that the config file is the
# exact one used to build, and is sorted properly.
REGEN_CONFIG=${REGEN_CONFIG:-false}
# By default, have the kernel package(s) generate an initrd upon installation:
AUTO_GENERATE_INITRD=${AUTO_GENERATE_INITRD:-YES}
if [ ! -r "${KERNEL_CONFIG}" ]; then
echo "Error: the KERNEL_CONFIG environment variable needs to be set to the"
echo ".config file to be used to build this kernel. Example:"
echo "KERNEL_NAME=generic KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-6.9.9.x64 ./kernel-generic.SlackBuild"
echo "Tried to look for: ${KERNEL_CONFIG}"
exit 1
fi
if [ ! -d "${KERNEL_SOURCE}" ]; then
echo "Error: kernel source directory ${KERNEL_SOURCE} does not exist."
exit 1
fi
# Get the kernel version from the kernel Makefile:
VERSION=$(grep "^VERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)
# Set LOCALVERSION to the value found inside the .config:
LOCALVERSION="$(cat ${KERNEL_SOURCE}/.config 2> /dev/null | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")"
# The default kernel arch is x86 for all 32-bit and 64-bit x86:
if [ -z "${KERNEL_ARCH}" ]; then
case "$(uname -m)" in
i?86) KERNEL_ARCH=x86 ;;
x86_64) KERNEL_ARCH=x86 ;;
# Use uname -m for all other archs:
*) KERNEL_ARCH=$(uname -m) ;;
esac
fi
# If this variable is set to an output directory, we will also put copies of
# System.map.gz, bzImage, and config in there:
KERNEL_OUTPUT_DIRECTORY=${KERNEL_OUTPUT_DIRECTORY:-}
# 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
# We will need to copy the config and run make olddefconfig and make
# prepare in order to generate kernel/bounds.s, where we can find
# the true $PACKAGE_ARCH. Use olddefconfig (not oldconfig) to prevent
# stalling if user input would be required.
if [ ! "${KERNEL_CONFIG}" = "${KERNEL_SOURCE}/.config" ]; then
cp -a ${KERNEL_CONFIG} ${KERNEL_SOURCE}/.config
fi
cd ${KERNEL_SOURCE}
make olddefconfig 1> /dev/null 2> /dev/null
make prepare 1> /dev/null 2> /dev/null
PACKAGE_ARCH=$(cat kernel/bounds.s | grep -w "\-march=.*" | tr " " "\n" | grep -w "\-march=.*" | cut -f 2 -d = | tr - _)
# Set LOCALVERSION to the value found inside the .config:
LOCALVERSION="$(cat .config 2> /dev/null | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")"
echo "kernel-${KERNEL_NAME}-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${PACKAGE_ARCH}-$BUILD.txz"
exit 0
fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/package-kernel-${KERNEL_NAME}
rm -rf $PKG
mkdir -p $TMP $PKG
# Set the variable $KERNEL_CLEAN to anything to run "make clean" before the
# build. Default is to start compiling in the tree as we found it.
if [ ! -z "${KERNEL_CLEAN}" ]; then
( cd ${KERNEL_SOURCE}
echo "Cleaning kernel source (make clean)..."
make clean
# Make sure header files aren't missing...
make prepare
# Don't package the kernel in the sources:
find . -name "*Image" -exec rm "{}" \+
# No need for these:
rm -f .config.old .version
find . -name "*.cmd" -exec rm -f "{}" \+
rm .*.d
)
fi
# Copy the .config into the kernel source directory (unless it's there already)
if [ ! "${KERNEL_CONFIG}" = "${KERNEL_SOURCE}/.config" ]; then
echo "Copying the .config file to the kernel source tree:"
cp -a --verbose ${KERNEL_CONFIG} ${KERNEL_SOURCE}/.config
fi
( cd ${KERNEL_SOURCE}
echo "Running make oldconfig..."
make oldconfig || exit 1
# Write back the .config if requested:
if [ ! "$REGEN_CONFIG" = "false" ]; then
echo "Rewriting .config as: $KERNEL_CONFIGDIR/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}"
cp -a .config $KERNEL_CONFIGDIR/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}
fi
echo "Running a preliminary make (needed to create modules.builtin.modinfo)..."
make $NUMJOBS || exit 1
echo "Building kernel modules..."
make $NUMJOBS modules || exit 1
echo "Installing kernel modules to $PKG..."
make INSTALL_MOD_PATH=$PKG INSTALL_MOD_STRIP=$STRIP_DEBUG modules_install || exit 1
# Fix build and source symlinks if they are pointing into $TMP:
( cd $PKG/lib/modules/${VERSION}${LOCALVERSION}
for symlink in build source ; do
target=$(readlink $symlink)
if echo $target | grep -q "^$TMP/package-kernel-source/" ; then
rm -f $symlink
ln -sf $(echo $target | sed "s|$TMP/package-kernel-source/|/|g") $symlink
fi
done
)
# Make modules.dep:
depmod -b $PKG -a ${VERSION}${LOCALVERSION}
echo "Building kernel..."
make $NUMJOBS bzImage || make bzImage || exit 1
# Output files to a directory, if requested:
if [ ! -z "${KERNEL_OUTPUT_DIRECTORY}" ]; then
echo "Copying files to ${KERNEL_OUTPUT_DIRECTORY}..."
mkdir -p ${KERNEL_OUTPUT_DIRECTORY}
rm -f ${KERNEL_OUTPUT_DIRECTORY}/*
cp -a --verbose System.map ${KERNEL_OUTPUT_DIRECTORY}
cp -a --verbose .config ${KERNEL_OUTPUT_DIRECTORY}/config
cp -a --verbose arch/${KERNEL_ARCH}/boot/bzImage ${KERNEL_OUTPUT_DIRECTORY}
gzip -9 ${KERNEL_OUTPUT_DIRECTORY}/System.map
fi
echo "Preparing the package in $PKG..."
mkdir -p $PKG/boot
cp -a --verbose System.map $PKG/boot/System.map-${VERSION}${LOCALVERSION}
cp -a --verbose .config $PKG/boot/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}
cp -a --verbose arch/${KERNEL_ARCH}/boot/bzImage $PKG/boot/vmlinuz-${VERSION}${LOCALVERSION}
# Make symlinks:
ln -sf System.map-${VERSION}${LOCALVERSION} $PKG/boot/System.map
ln -sf config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} $PKG/boot/config
ln -sf vmlinuz-${VERSION}${LOCALVERSION} $PKG/boot/vmlinuz-${KERNEL_NAME}
ln -sf vmlinuz-${VERSION}${LOCALVERSION} $PKG/boot/vmlinuz
) || exit 1
# Fetch the kernel architecture from the source tree:
cd ${KERNEL_SOURCE}
PACKAGE_ARCH=$(cat kernel/bounds.s | grep -w "\-march=.*" | tr " " "\n" | grep -w "\-march=.*" | cut -f 2 -d = | tr - _)
mkdir $PKG/install
if [ -r $CWD/slack-desc/slack-desc.kernel-${KERNEL_NAME} ]; then
cat $CWD/slack-desc/slack-desc.kernel-${KERNEL_NAME} > $PKG/install/slack-desc
else
cat $CWD/slack-desc/slack-desc.kernel-template | sed "s/%PACKAGE_NAME%/kernel-${KERNEL_NAME}/g" > $PKG/install/slack-desc
fi
if [ "$AUTO_GENERATE_INITRD" = "YES" ]; then
echo "export KERNEL=/boot/vmlinuz-${VERSION}${LOCALVERSION}" > $PKG/install/doinst.sh
echo "export KERNEL_DOINST=true" >> $PKG/install/doinst.sh
echo "export GENINITRD_SILENT=true" >> $PKG/install/doinst.sh
cat $CWD/doinst.sh/doinst.sh-kernel >> $PKG/install/doinst.sh
else
touch $PKG/install/doinst.sh
fi
# Make the package:
cd $PKG
/sbin/makepkg -l y -c n --prepend $TMP/kernel-$(echo ${KERNEL_NAME} | tr - _)-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${PACKAGE_ARCH}-$BUILD.txz

View file

@ -0,0 +1,91 @@
#!/bin/sh
# Copyright 2018, 2024 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# To use this script, point it to a Linux kernel source tree, and it will make
# the kernel-headers package using the .config to get all needed package
# version information:
#
# KERNEL_SOURCE=/usr/src/linux ./kernel-headers.SlackBuild
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=${PKGNAM:-kernel-headers}
BUILD=${BUILD:-1}
KERNEL_SOURCE=${KERNEL_SOURCE:-/usr/src/linux}
if [ -z "${HEADERS_ARCH}" ]; then
case "$(uname -m)" in
i?86) HEADERS_ARCH=x86 ;;
x86_64) HEADERS_ARCH=x86 ;;
# Use uname -m for all other archs:
*) HEADERS_ARCH=$(uname -m) ;;
esac
fi
if [ ! -d "${KERNEL_SOURCE}" ]; then
echo "Error: kernel source directory ${KERNEL_SOURCE} does not exist."
exit 1
elif [ ! -r ${KERNEL_SOURCE}/.config ]; then
echo "Error: a .config was not found in ${KERNEL_SOURCE}."
exit 1
fi
# Get the kernel version from the kernel Makefile:
VERSION=$(grep "^VERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)
# Set LOCALVERSION to the value found inside the .config:
LOCALVERSION="$(cat ${KERNEL_SOURCE}/.config 2> /dev/null | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")"
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
# 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
# The LOCALVERSION never makes it into the headers, so no point including it:
echo "kernel-headers-$(echo ${VERSION} | tr - _)-${HEADERS_ARCH}-$BUILD.txz"
exit 0
fi
rm -rf $PKG
mkdir -p $TMP $PKG
mkdir -p $PKG/usr
# Generate the kernel headers and clean them up:
( cd ${KERNEL_SOURCE}
echo "Generating headers from the Linux kernel source tree in ${KERNEL_SOURCE}:"
make headers_install ARCH=${HEADERS_ARCH} INSTALL_HDR_PATH=$PKG/usr
cd $PKG/usr/include
# You won't want these files. The ones in libdrm work better.
rm -rf drm
# This next part seems pretty much cosmetic, but since we've been doing this
# for a long time (and others also do), we'll stick with it:
mv asm asm-${HEADERS_ARCH}
ln -sf asm-${HEADERS_ARCH} asm
# Remove unneeded dotfiles:
find . -name ".??*" -exec rm -f {} \+
)
mkdir -p $PKG/install
cat $CWD/slack-desc/slack-desc.kernel-headers > $PKG/install/slack-desc
# Make the package:
cd $PKG
# The LOCALVERSION never makes it into the headers, so no point including it:
/sbin/makepkg -l y -c n $TMP/kernel-headers-$(echo ${VERSION} | tr - _)-${HEADERS_ARCH}-$BUILD.txz

View file

@ -0,0 +1,299 @@
#!/bin/sh
# Copyright 2018, 2020, 2021, 2023, 2024 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=${PKGNAM:-kernel-source}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
# If a $VERSION is not passed to this script, use the newest linux-*.tar.xz
# found in this directory:
VERSION=${VERSION:-$(/bin/ls -t linux-*.tar.?z | head -n 1 | rev | cut -f 3- -d . | rev | cut -f2- -d -)}
if ! /bin/ls linux-*.tar.?z 1> /dev/null 2> /dev/null ; then
echo "Error: kernel source not found. (/bin/ls linux-*.tar.?z)"
else
USINGVER="Using kernel source linux-${VERSION}.tar.xz."
fi
# This function will revert or apply patches that are present here.
# Directories that are currently supported:
# patches-revert-${VERSION} (revert patches from this directory if kernel version matches)
# patches-revert-${ARCH} (revert patches from this directory if $ARCH matches)
# patches-${VERSION} (apply patches from this directory if kernel version matches)
# patches-${ARCH} (apply patches from this directory if $ARCH matches)
# All the applied/reverted patches will be copied to the root of the kernel source tree.
apply_patches() {
# First do patches-revert:
if [ -d $CWD/patches-revert-${VERSION} ]; then
if [ "$1" = "VERBOSE" ]; then
echo "Reverting kernel patches in $CWD/patches-revert-${VERSION} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-revert-${VERSION}/*.gz | patch -p1 -R --backup --suffix=.orig || exit 1
else
zcat $CWD/patches-revert-${VERSION}/*.gz | patch -p1 -R --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
cp -a $CWD/patches-revert-${VERSION}/*.gz .
fi
if [ -d $CWD/patches-revert-${ARCH} ]; then
if [ "$1" = "VERBOSE" ]; then
echo "Reverting kernel patches in $CWD/patches-revert-${ARCH} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-revert-${ARCH}/*.gz | patch -p1 -R --backup --suffix=.orig || exit 1
else
zcat $CWD/patches-revert-${ARCH}/*.gz | patch -p1 -R --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
cp -a $CWD/patches-revert-${ARCH}/*.gz .
fi
# Then apply patches:
if [ -d $CWD/patches-${VERSION} ]; then
if [ "$1" = "VERBOSE" ]; then
echo "Applying kernel patches in $CWD/patches-${VERSION} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-${VERSION}/*.gz | patch -p1 --backup --suffix=.orig || exit 1
else
zcat $CWD/patches-${VERSION}/*.gz | patch -p1 --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
cp -a $CWD/patches-${VERSION}/*.gz .
fi
if [ -d $CWD/patches-${ARCH} ]; then
if [ "$1" = "VERBOSE" ]; then
echo "Applying kernel patches in $CWD/patches-${ARCH} and copying patches to $PKG/usr/src/linux-${VERSION}..."
zcat $CWD/patches-${ARCH}/*.gz | patch -p1 --backup --suffix=.orig || exit 1
else
zcat $CWD/patches-${ARCH}/*.gz | patch -p1 --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1
fi
cp -a $CWD/patches-${ARCH}/*.gz .
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
# We will have to extract and patch the kernel sources to find out the kernel version:
TEMPDIR=$(mktemp -d)
cd $TEMPDIR
tar xf $CWD/linux-${VERSION}.tar.?z || exit 1
cd linux-*
apply_patches
PACKAGE_VERSION=$(grep "^VERSION = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " Makefile | rev | cut -f 1 -d ' ' | rev)
cd $CWD
rm -rf $TEMPDIR
# No $LOCALVERSION
echo "kernel-source-$(echo ${PACKAGE_VERSION} | tr - _)-noarch-$BUILD.txz"
exit 0
fi
echo $USINGVER
# If we were not given a KERNEL_NAME, use generic:
KERNEL_NAME=${KERNEL_NAME:-generic}
# By default, we'll try to find a kernel config file. Otherwise, you can pass
# KERNEL_CONFIG=some_kernel_config_file to this script. If KERNEL_CONFIG starts
# with a '/', we'll assume it's a full absolute path to the kernel config file.
# Otherwise we'll look for it in $KERNEL_CONFIGDIR (defined below).
# Where should we find the kernel config files?
KERNEL_CONFIGDIR=${KERNEL_CONFIGDIR:-./kernel-configs}
# Make KERNEL_CONFIGDIR an absolute path:
KERNEL_CONFIGDIR=$(realpath $KERNEL_CONFIGDIR)
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
# Use uname -m for all archs:
*) ARCH=$(uname -m) ;;
esac
fi
# If KERNEL_CONFIG (name of kernel .config file in $KERNEL_CONFIGDIR to use)
# has not been passed to this script, then we will select one. We will prefer
# to use a .config that matches KERNEL_NAME and with a version number exactly
# matching the kernel sources. But if there's no exact version match, we will
# start with the newest .config we can find that's of the appropriate type.
if [ -z "${KERNEL_CONFIG}" ]; then # figure out the best matching .config
if [ "$ARCH" = "x86_64" ]; then
CONFIG_SUFFIX=".x64"
elif [ "$ARCH" = "i586" ]; then
CONFIG_SUFFIX=".ia32"
elif [ "$ARCH" = "i686" ]; then
CONFIG_SUFFIX=".ia32"
fi
if [ -r "$KERNEL_CONFIGDIR/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}" ]; then
# Exact match!
KERNEL_CONFIG="config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}"
else # no exact match, so find newest with the same LOCALVERSION:
FIND_MATCH="$(/bin/ls -t $KERNEL_CONFIGDIR/config-*${LOCALVERSION}${CONFIG_SUFFIX} 2> /dev/null | head -n 1)"
if [ -r "${FIND_MATCH}" ]; then
KERNEL_CONFIG="$(basename ${FIND_MATCH})"
unset FIND_MATCH
else
# We'll try to fall back on a defconfig if there's one for this $ARCH:
if [ "$ARCH" = "x86_64" ]; then
echo "WARNING:"
echo "Tried and did not find:"
echo " $KERNEL_CONFIGDIR/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}"
echo "Also could not match this fallback:"
echo " $KERNEL_CONFIGDIR/config-*-${LOCALVERSION}${CONFIG_SUFFIX}"
KERNEL_CONFIGDIR=$PKG/usr/src/linux/arch/x86/configs
KERNEL_CONFIG=x86_64_defconfig
KERNEL_NAME=defconfig
echo "Falling back on $KERNEL_CONFIGDIR/$KERNEL_CONFIG because we couldn't find anything better."
sleep 2
elif uname -m | grep -q i.86 ; then
echo "WARNING:"
echo "Tried and did not find:"
echo " $KERNEL_CONFIGDIR/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}"
echo "Also could not match this fallback:"
echo " $KERNEL_CONFIGDIR/config-*-${LOCALVERSION}${CONFIG_SUFFIX}"
KERNEL_CONFIGDIR=$PKG/usr/src/linux/arch/x86/configs
KERNEL_CONFIG=i386_defconfig
KERNEL_NAME=defconfig
echo "Falling back on $KERNEL_CONFIGDIR/$KERNEL_CONFIG because we couldn't find anything better."
sleep 2
else
echo "Error: no matching .config file could be found for this kernel. Tried:"
echo " $KERNEL_CONFIGDIR/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} (not found)"
exit 1
fi
fi
fi
else # We were given a name to use:
if [ "$(echo ${KERNEL_CONFIG} | cut -b 1)" = "/" ]; then # absolute path, split this:
KERNEL_CONFIGDIR=$(dirname ${KERNEL_CONFIG})
KERNEL_CONFIG=$(basename ${KERNEL_CONFIG})
fi
if [ ! -r "$KERNEL_CONFIGDIR/${KERNEL_CONFIG}" ]; then
echo "Error: specified kernel .config $KERNEL_CONFIGDIR/${KERNEL_CONFIG} was not found."
exit 1
fi
fi
# Set LOCALVERSION to the value found inside the .config:
LOCALVERSION="$(cat $KERNEL_CONFIGDIR/${KERNEL_CONFIG} | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")"
echo "Using kernel config: $KERNEL_CONFIGDIR/${KERNEL_CONFIG}"
rm -rf $PKG
mkdir -p $TMP $PKG
mkdir -p $PKG/usr/src
echo "Untarring $CWD/linux-${VERSION}.tar.?z in $PKG/usr/src..."
( cd $PKG/usr/src
tar xf $CWD/linux-${VERSION}.tar.?z || exit 1
echo "Making /usr/src/linux symlink..."
ln -sf linux-* linux
cd linux-*
apply_patches VERBOSE
echo "Copying $KERNEL_CONFIGDIR/${KERNEL_CONFIG} to .config..."
cp -a $KERNEL_CONFIGDIR/${KERNEL_CONFIG} .config
echo "Fixing permissions/ownership..."
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 {} \+
) || exit 1
# Kernel is now ready to configure. We will also build this kernel so that
# the installed kernel source package is fully configured, and building an
# out-of-tree module (such as the NVIDIA driver) won't require the user
# to build the kernel sources first.
( cd $PKG/usr/src/linux-*
echo "Making oldconfig..."
make oldconfig
if [ ! -r $KERNEL_CONFIGDIR/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} ]; then
# If you care about saving the original unregenerated unrenamed config
# file, set SAVE_ORIGINAL_KERNEL_CONFIG to something. This might cause
# your kernels to be built twice...
if [ -z "$SAVE_ORIGINAL_KERNEL_CONFIG" ]; then
echo "Removing original .config $KERNEL_CONFIGDIR/${KERNEL_CONFIG}"
rm -v -f $KERNEL_CONFIGDIR/${KERNEL_CONFIG}
fi
echo "Saving new .config as: $KERNEL_CONFIGDIR/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}"
cp -a .config $KERNEL_CONFIGDIR/config-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}
fi
# If we see ONLY_STAGE_KERNEL_SOURCE=yes, then we don't want to build this.
# We're just setting it up for use by the other SlackBuilds.
if [ "$ONLY_STAGE_KERNEL_SOURCE" = "yes" ]; then
echo "Done staging the kernel-source."
sleep 2
exit 0
fi
echo "Building kernel and modules (needed before clean for building NVIDIA to work)..."
make ${NUMJOBS} || exit 1
make ${NUMJOBS} modules || exit 1
echo "Cleaning up..."
make clean
# Make sure header files aren't missing...
make prepare
# Don't package the kernel in the sources:
find . -name "*Image" -exec rm "{}" \+
# No need for these:
rm -f .config.old .version
find . -name "*.cmd" -exec rm -f "{}" \+
rm .*.d
# Still some dotfiles laying around... probably fine though
# Get rid of any ELF (non-eBPF) binaries that are not executable:
find . -type f -perm 0644 | xargs file | grep ELF | grep -v eBPF | grep stripped | cut -f 1 -d : | while read elf_binary ; do
rm -f -v $elf_binary
done
# Strip any remaining binaries:
find . | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
) || exit 1
# Just staging the sources? Then leave.
if [ "$ONLY_STAGE_KERNEL_SOURCE" = "yes" ]; then
exit 0
fi
cd $PKG/usr/src/linux-*
# Use the version number found in the Makefile in the package name. This is not
# always the same as the version in the source tarball's filename. For example,
# linux-4.14.tar.xz will have 4.14.0 as the version in the Makefile:
PACKAGE_VERSION=$(grep "^VERSION = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " Makefile | rev | cut -f 1 -d ' ' | rev)
## Let's not do this because out-of-tree modules might not like it.
## The .config we built with is irrelevant, but set KEEPCONFIG to anything
## if you want to keep it:
#if [ -z "$KEEPCONFIG" ]; then
# rm .config*
#fi
# Make sure the directory and symlink are properly named:
cd ..
rm -f linux
# LOCALVERSION is part of the .config, not really the sources. We're not going
# to include it in the directory name.
mv linux-* linux-${PACKAGE_VERSION} 2> /dev/null
ln -sf linux-* linux
mkdir $PKG/install
cat $CWD/slack-desc/slack-desc.kernel-source > $PKG/install/slack-desc
# Make the package: (also no $LOCALVERSION here)
cd $PKG
/sbin/makepkg -l y -c n $TMP/kernel-source-$(echo ${PACKAGE_VERSION} | tr - _)-noarch-$BUILD.txz

View file

@ -0,0 +1,53 @@
From 2e479b3b82c49bfb9422274c0a9c155a41caecb7 Mon Sep 17 00:00:00 2001
From: Michael Kelley <mikelley@microsoft.com>
Date: Wed, 16 Nov 2022 10:41:24 -0800
Subject: [PATCH] x86/ioremap: Fix page aligned size calculation in
__ioremap_caller()
commit 4dbd6a3e90e03130973688fd79e19425f720d999 upstream.
Current code re-calculates the size after aligning the starting and
ending physical addresses on a page boundary. But the re-calculation
also embeds the masking of high order bits that exceed the size of
the physical address space (via PHYSICAL_PAGE_MASK). If the masking
removes any high order bits, the size calculation results in a huge
value that is likely to immediately fail.
Fix this by re-calculating the page-aligned size first. Then mask any
high order bits using PHYSICAL_PAGE_MASK.
Fixes: ffa71f33a820 ("x86, ioremap: Fix incorrect physical address handling in PAE mode")
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: <stable@kernel.org>
Link: https://lore.kernel.org/r/1668624097-14884-2-git-send-email-mikelley@microsoft.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/x86/mm/ioremap.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c
index 1ad0228f8ceb..19058d746695 100644
--- a/arch/x86/mm/ioremap.c
+++ b/arch/x86/mm/ioremap.c
@@ -216,9 +216,15 @@ __ioremap_caller(resource_size_t phys_addr, unsigned long size,
* Mappings have to be page-aligned
*/
offset = phys_addr & ~PAGE_MASK;
- phys_addr &= PHYSICAL_PAGE_MASK;
+ phys_addr &= PAGE_MASK;
size = PAGE_ALIGN(last_addr+1) - phys_addr;
+ /*
+ * Mask out any bits not part of the actual physical
+ * address, like memory encryption bits.
+ */
+ phys_addr &= PHYSICAL_PAGE_MASK;
+
retval = memtype_reserve(phys_addr, (u64)phys_addr + size,
pcm, &new_pcm);
if (retval) {
--
2.39.0

View file

@ -0,0 +1,5 @@
We need to revert this patch which causes boot failure with 32-bit PAE on
*some* machines, such as: LENOVO 20QV000GUS Intel i7-9850H
Non-PAE is not affected, but we'll let this get reverted there too since
it's not part of the code path anyway.

View file

@ -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------------------------------------------------------|
kernel-generic: kernel-generic (general purpose Linux kernel/modules)
kernel-generic:
kernel-generic: This is a Linux kernel with built-in support for SATA, NVMe, and most
kernel-generic: commonly used filesystems, as well as a large collection of loadable
kernel-generic: kernel modules.
kernel-generic:
kernel-generic: It is recommended to use an initrd with this kernel for best results.
kernel-generic: For more information about creating an initrd, see the README.initrd
kernel-generic: file in the /boot directory.
kernel-generic:
kernel-generic:

View file

@ -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------------------------------------------------------|
kernel-headers: kernel-headers (Linux kernel include files)
kernel-headers:
kernel-headers: These are the include files from the Linux kernel.
kernel-headers:
kernel-headers: You'll need these to compile most system software for Linux.
kernel-headers:
kernel-headers:
kernel-headers:
kernel-headers:
kernel-headers:
kernel-headers:

View file

@ -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------------------------------------------------------|
kernel-source: kernel-source (Linux kernel source)
kernel-source:
kernel-source: Source code for Linus Torvalds' Linux kernel.
kernel-source:
kernel-source: This is the complete and unmodified source code for the Linux kernel.
kernel-source:
kernel-source:
kernel-source:
kernel-source:
kernel-source:
kernel-source:

View file

@ -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------------------------------------------------------|
kernel-source: kernel-source (Linux kernel source)
kernel-source:
kernel-source: Source code for Linus Torvalds' Linux kernel.
kernel-source:
kernel-source: This is the complete and unmodified source code for the Linux kernel.
kernel-source:
kernel-source:
kernel-source:
kernel-source:
kernel-source:
kernel-source:

View file

@ -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------------------------------------------------------|
%PACKAGE_NAME%: %PACKAGE_NAME% (Linux kernel/modules)
%PACKAGE_NAME%:
%PACKAGE_NAME%: This is the %PACKAGE_NAME% Linux kernel and modules.
%PACKAGE_NAME%:
%PACKAGE_NAME%:
%PACKAGE_NAME%:
%PACKAGE_NAME%:
%PACKAGE_NAME%:
%PACKAGE_NAME%:
%PACKAGE_NAME%:
%PACKAGE_NAME%: