Tue Oct 10 19:27:56 UTC 2023

patches/packages/libcue-2.2.1-x86_64-4_slack15.0.txz:  Rebuilt.
  Fixed a bug which could allow memory corruption resulting in arbitrary
  code execution.
  For more information, see:
    https://www.cve.org/CVERecord?id=CVE-2023-43641
  (* Security fix *)
patches/packages/libnotify-0.8.3-x86_64-1_slack15.0.txz:  Upgraded.
  This release contains a critical stability/minor security update which
  affects Electron applications that utilize Portal notifications (eg,
  through Flatpak). It is highly recommended that all users of libnotify
  0.8.x update to this release.
  (* Security fix *)
This commit is contained in:
Patrick J Volkerding 2023-10-10 19:27:56 +00:00 committed by Eric Hameleers
parent 8e8992f064
commit 3923d6b15d
11 changed files with 478 additions and 89 deletions

View file

@ -11,9 +11,31 @@
<description>Tracking Slackware development in git.</description> <description>Tracking Slackware development in git.</description>
<language>en-us</language> <language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id> <id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id>
<pubDate>Mon, 9 Oct 2023 18:10:01 GMT</pubDate> <pubDate>Tue, 10 Oct 2023 19:27:56 GMT</pubDate>
<lastBuildDate>Tue, 10 Oct 2023 11:30:24 GMT</lastBuildDate> <lastBuildDate>Wed, 11 Oct 2023 11:30:06 GMT</lastBuildDate>
<generator>maintain_current_git.sh v 1.17</generator> <generator>maintain_current_git.sh v 1.17</generator>
<item>
<title>Tue, 10 Oct 2023 19:27:56 GMT</title>
<pubDate>Tue, 10 Oct 2023 19:27:56 GMT</pubDate>
<link>https://git.slackware.nl/current/tag/?h=20231010192756</link>
<guid isPermaLink="false">20231010192756</guid>
<description>
<![CDATA[<pre>
patches/packages/libcue-2.2.1-x86_64-4_slack15.0.txz: Rebuilt.
Fixed a bug which could allow memory corruption resulting in arbitrary
code execution.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2023-43641
(* Security fix *)
patches/packages/libnotify-0.8.3-x86_64-1_slack15.0.txz: Upgraded.
This release contains a critical stability/minor security update which
affects Electron applications that utilize Portal notifications (eg,
through Flatpak). It is highly recommended that all users of libnotify
0.8.x update to this release.
(* Security fix *)
</pre>]]>
</description>
</item>
<item> <item>
<title>Mon, 9 Oct 2023 18:10:01 GMT</title> <title>Mon, 9 Oct 2023 18:10:01 GMT</title>
<pubDate>Mon, 9 Oct 2023 18:10:01 GMT</pubDate> <pubDate>Mon, 9 Oct 2023 18:10:01 GMT</pubDate>

View file

@ -1,3 +1,17 @@
Tue Oct 10 19:27:56 UTC 2023
patches/packages/libcue-2.2.1-x86_64-4_slack15.0.txz: Rebuilt.
Fixed a bug which could allow memory corruption resulting in arbitrary
code execution.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2023-43641
(* Security fix *)
patches/packages/libnotify-0.8.3-x86_64-1_slack15.0.txz: Upgraded.
This release contains a critical stability/minor security update which
affects Electron applications that utilize Portal notifications (eg,
through Flatpak). It is highly recommended that all users of libnotify
0.8.x update to this release.
(* Security fix *)
+--------------------------+
Mon Oct 9 18:10:01 UTC 2023 Mon Oct 9 18:10:01 UTC 2023
patches/packages/wayland-1.22.0-x86_64-1_slack15.0.txz: Upgraded. patches/packages/wayland-1.22.0-x86_64-1_slack15.0.txz: Upgraded.
This is a bugfix release. This is a bugfix release.

View file

@ -1,20 +1,20 @@
Mon Oct 9 18:14:14 UTC 2023 Tue Oct 10 19:30:24 UTC 2023
Here is the file list for this directory. If you are using a Here is the file list for this directory. If you are using a
mirror site and find missing or extra files in the disk mirror site and find missing or extra files in the disk
subdirectories, please have the archive administrator refresh subdirectories, please have the archive administrator refresh
the mirror. the mirror.
drwxr-xr-x 12 root root 4096 2023-10-09 18:10 . drwxr-xr-x 12 root root 4096 2023-10-10 19:27 .
-rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0 -rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0
-rw-r--r-- 1 root root 16609 2022-03-30 19:03 ./CHANGES_AND_HINTS.TXT -rw-r--r-- 1 root root 16609 2022-03-30 19:03 ./CHANGES_AND_HINTS.TXT
-rw-r--r-- 1 root root 1190900 2023-10-06 21:32 ./CHECKSUMS.md5 -rw-r--r-- 1 root root 1191562 2023-10-09 18:14 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-10-06 21:32 ./CHECKSUMS.md5.asc -rw-r--r-- 1 root root 163 2023-10-09 18:14 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING -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 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 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 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT
-rw-r--r-- 1 root root 2049235 2023-10-09 18:10 ./ChangeLog.txt -rw-r--r-- 1 root root 2049888 2023-10-10 19:27 ./ChangeLog.txt
drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI 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 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 -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 -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 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 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg
-rw-r--r-- 1 root root 1557412 2023-10-06 21:31 ./FILELIST.TXT -rw-r--r-- 1 root root 1558284 2023-10-09 18:14 ./FILELIST.TXT
-rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY -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 864745 2022-02-02 08:25 ./PACKAGES.TXT
-rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT -rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT
@ -752,13 +752,13 @@ drwxr-xr-x 2 root root 4096 2022-12-17 19:52 ./pasture/source/samba
-rw-r--r-- 1 root root 7921 2018-04-29 17:31 ./pasture/source/samba/smb.conf.default -rw-r--r-- 1 root root 7921 2018-04-29 17:31 ./pasture/source/samba/smb.conf.default
-rw-r--r-- 1 root root 7933 2018-01-14 20:41 ./pasture/source/samba/smb.conf.default.orig -rw-r--r-- 1 root root 7933 2018-01-14 20:41 ./pasture/source/samba/smb.conf.default.orig
-rw-r--r-- 1 root root 536 2017-03-23 19:18 ./pasture/source/samba/smb.conf.diff.gz -rw-r--r-- 1 root root 536 2017-03-23 19:18 ./pasture/source/samba/smb.conf.diff.gz
drwxr-xr-x 4 root root 4096 2023-10-09 18:14 ./patches drwxr-xr-x 4 root root 4096 2023-10-10 19:30 ./patches
-rw-r--r-- 1 root root 83030 2023-10-09 18:14 ./patches/CHECKSUMS.md5 -rw-r--r-- 1 root root 84104 2023-10-10 19:30 ./patches/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-10-09 18:14 ./patches/CHECKSUMS.md5.asc -rw-r--r-- 1 root root 163 2023-10-10 19:30 ./patches/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 113505 2023-10-09 18:14 ./patches/FILE_LIST -rw-r--r-- 1 root root 114954 2023-10-10 19:30 ./patches/FILE_LIST
-rw-r--r-- 1 root root 13169542 2023-10-09 18:14 ./patches/MANIFEST.bz2 -rw-r--r-- 1 root root 13169773 2023-10-10 19:30 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 59898 2023-10-09 18:14 ./patches/PACKAGES.TXT -rw-r--r-- 1 root root 60910 2023-10-10 19:30 ./patches/PACKAGES.TXT
drwxr-xr-x 3 root root 24576 2023-10-09 18:14 ./patches/packages drwxr-xr-x 3 root root 24576 2023-10-10 19:30 ./patches/packages
-rw-r--r-- 1 root root 360 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 360 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 2389564 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 2389564 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 163 2023-09-26 19:28 ./patches/packages/Cython-0.29.36-x86_64-1_slack15.0.txz.asc
@ -867,12 +867,18 @@ drwxr-xr-x 3 root root 24576 2023-10-09 18:14 ./patches/packages
-rw-r--r-- 1 root root 402 2023-09-14 02:00 ./patches/packages/libarchive-3.7.2-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 402 2023-09-14 02:00 ./patches/packages/libarchive-3.7.2-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 522472 2023-09-14 02:00 ./patches/packages/libarchive-3.7.2-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 522472 2023-09-14 02:00 ./patches/packages/libarchive-3.7.2-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-09-14 02:00 ./patches/packages/libarchive-3.7.2-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 163 2023-09-14 02:00 ./patches/packages/libarchive-3.7.2-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 464 2023-10-10 17:08 ./patches/packages/libcue-2.2.1-x86_64-4_slack15.0.txt
-rw-r--r-- 1 root root 27236 2023-10-10 17:08 ./patches/packages/libcue-2.2.1-x86_64-4_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-10-10 17:08 ./patches/packages/libcue-2.2.1-x86_64-4_slack15.0.txz.asc
-rw-r--r-- 1 root root 332 2022-12-20 19:28 ./patches/packages/libksba-1.6.3-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 332 2022-12-20 19:28 ./patches/packages/libksba-1.6.3-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 169200 2022-12-20 19:28 ./patches/packages/libksba-1.6.3-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 169200 2022-12-20 19:28 ./patches/packages/libksba-1.6.3-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-12-20 19:28 ./patches/packages/libksba-1.6.3-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 163 2022-12-20 19:28 ./patches/packages/libksba-1.6.3-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 341 2023-06-04 19:08 ./patches/packages/libmilter-8.17.2-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 341 2023-06-04 19:08 ./patches/packages/libmilter-8.17.2-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 119504 2023-06-04 19:08 ./patches/packages/libmilter-8.17.2-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 119504 2023-06-04 19:08 ./patches/packages/libmilter-8.17.2-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-06-04 19:08 ./patches/packages/libmilter-8.17.2-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 163 2023-06-04 19:08 ./patches/packages/libmilter-8.17.2-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 248 2023-10-10 18:00 ./patches/packages/libnotify-0.8.3-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 42032 2023-10-10 18:00 ./patches/packages/libnotify-0.8.3-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-10-10 18:00 ./patches/packages/libnotify-0.8.3-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 405 2023-05-04 17:54 ./patches/packages/libssh-0.10.5-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 405 2023-05-04 17:54 ./patches/packages/libssh-0.10.5-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 237236 2023-05-04 17:54 ./patches/packages/libssh-0.10.5-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 237236 2023-05-04 17:54 ./patches/packages/libssh-0.10.5-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-05-04 17:54 ./patches/packages/libssh-0.10.5-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 163 2023-05-04 17:54 ./patches/packages/libssh-0.10.5-x86_64-1_slack15.0.txz.asc
@ -1045,7 +1051,7 @@ drwxr-xr-x 2 root root 4096 2023-06-23 18:50 ./patches/packages/linux-5.15
-rw-r--r-- 1 root root 463 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 463 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 459652 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 459652 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 163 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz.asc
drwxr-xr-x 88 root root 4096 2023-10-09 17:48 ./patches/source drwxr-xr-x 90 root root 4096 2023-10-10 19:15 ./patches/source
drwxr-xr-x 2 root root 4096 2023-09-26 19:22 ./patches/source/Cython drwxr-xr-x 2 root root 4096 2023-09-26 19:22 ./patches/source/Cython
-rw-r--r-- 1 root root 1623580 2023-07-04 19:24 ./patches/source/Cython/Cython-0.29.36.tar.lz -rw-r--r-- 1 root root 1623580 2023-07-04 19:24 ./patches/source/Cython/Cython-0.29.36.tar.lz
-rwxr-xr-x 1 root root 3041 2023-09-26 19:23 ./patches/source/Cython/Cython.SlackBuild -rwxr-xr-x 1 root root 3041 2023-09-26 19:23 ./patches/source/Cython/Cython.SlackBuild
@ -1367,6 +1373,12 @@ drwxr-xr-x 2 root root 4096 2023-09-13 19:02 ./patches/source/libarchive
-rwxr-xr-x 1 root root 3786 2023-09-14 01:58 ./patches/source/libarchive/libarchive.SlackBuild -rwxr-xr-x 1 root root 3786 2023-09-14 01:58 ./patches/source/libarchive/libarchive.SlackBuild
-rw-r--r-- 1 root root 41 2019-06-17 02:47 ./patches/source/libarchive/libarchive.url -rw-r--r-- 1 root root 41 2019-06-17 02:47 ./patches/source/libarchive/libarchive.url
-rw-r--r-- 1 root root 856 2018-02-27 06:12 ./patches/source/libarchive/slack-desc -rw-r--r-- 1 root root 856 2018-02-27 06:12 ./patches/source/libarchive/slack-desc
drwxr-xr-x 2 root root 4096 2023-10-10 17:04 ./patches/source/libcue
-rw-r--r-- 1 root root 692 2023-10-10 17:04 ./patches/source/libcue/fdf72c8bded8d24cfa0608b8e97f2eed210a920e.patch
-rw-r--r-- 1 root root 20903 2018-05-02 00:51 ./patches/source/libcue/libcue-2.2.1.tar.lz
-rwxr-xr-x 1 root root 4105 2023-10-10 17:08 ./patches/source/libcue/libcue.SlackBuild
-rw-r--r-- 1 root root 35 2020-03-22 18:38 ./patches/source/libcue/libcue.url
-rw-r--r-- 1 root root 918 2020-03-22 18:46 ./patches/source/libcue/slack-desc
drwxr-xr-x 2 root root 4096 2022-12-20 19:28 ./patches/source/libksba drwxr-xr-x 2 root root 4096 2022-12-20 19:28 ./patches/source/libksba
-rw-r--r-- 1 root root 569208 2022-12-20 06:43 ./patches/source/libksba/libksba-1.6.3.tar.lz -rw-r--r-- 1 root root 569208 2022-12-20 06:43 ./patches/source/libksba/libksba-1.6.3.tar.lz
-rwxr-xr-x 1 root root 3977 2022-10-08 18:40 ./patches/source/libksba/libksba.SlackBuild -rwxr-xr-x 1 root root 3977 2022-10-08 18:40 ./patches/source/libksba/libksba.SlackBuild
@ -1377,6 +1389,10 @@ drwxr-xr-x 2 root root 4096 2023-06-04 18:58 ./patches/source/libmilter
-rw-r--r-- 1 root root 1629409 2023-06-03 08:31 ./patches/source/libmilter/sendmail.8.17.2.tar.lz -rw-r--r-- 1 root root 1629409 2023-06-03 08:31 ./patches/source/libmilter/sendmail.8.17.2.tar.lz
-rw-r--r-- 1 root root 400 2019-08-20 17:57 ./patches/source/libmilter/site.config.m4 -rw-r--r-- 1 root root 400 2019-08-20 17:57 ./patches/source/libmilter/site.config.m4
-rw-r--r-- 1 root root 830 2018-02-27 06:13 ./patches/source/libmilter/slack-desc -rw-r--r-- 1 root root 830 2018-02-27 06:13 ./patches/source/libmilter/slack-desc
drwxr-xr-x 2 root root 4096 2023-10-10 17:55 ./patches/source/libnotify
-rw-r--r-- 1 root root 104966 2023-10-09 21:24 ./patches/source/libnotify/libnotify-0.8.3.tar.lz
-rwxr-xr-x 1 root root 3907 2023-10-10 18:00 ./patches/source/libnotify/libnotify.SlackBuild
-rw-r--r-- 1 root root 701 2022-04-28 18:26 ./patches/source/libnotify/slack-desc
drwxr-xr-x 2 root root 4096 2023-05-04 17:27 ./patches/source/libssh drwxr-xr-x 2 root root 4096 2023-05-04 17:27 ./patches/source/libssh
-rw-r--r-- 1 root root 557776 2023-05-04 11:59 ./patches/source/libssh/libssh-0.10.5.tar.xz -rw-r--r-- 1 root root 557776 2023-05-04 11:59 ./patches/source/libssh/libssh-0.10.5.tar.xz
-rw-r--r-- 1 root root 833 2023-05-04 11:59 ./patches/source/libssh/libssh-0.10.5.tar.xz.asc -rw-r--r-- 1 root root 833 2023-05-04 11:59 ./patches/source/libssh/libssh-0.10.5.tar.xz.asc

View file

@ -0,0 +1,11 @@
libcue: libcue (CUE sheet parser library)
libcue:
libcue: A CUE sheet is a metadata file which describes the layout of a CD or
libcue: DVD. The libcue library is intended for parsing a CUE sheet and
libcue: providing an API for programs to access the parsed data. While there
libcue: is no single CUE sheet standard, libcue attempts to parse the most
libcue: commonly known CUE layouts.
libcue:
libcue: Homepage: https://github.com/lipnitsk/libcue
libcue:
libcue:

View file

@ -0,0 +1,11 @@
libnotify: libnotify (notification library)
libnotify:
libnotify: A general library for event notification.
libnotify:
libnotify: Homepage: https://gitlab.gnome.org/GNOME/libnotify
libnotify:
libnotify:
libnotify:
libnotify:
libnotify:
libnotify:

View file

@ -0,0 +1,24 @@
From fdf72c8bded8d24cfa0608b8e97f2eed210a920e Mon Sep 17 00:00:00 2001
From: Kevin Backhouse <kevinbackhouse@github.com>
Date: Wed, 27 Sep 2023 20:22:43 +0100
Subject: [PATCH] Check that the array index isn't negative. This fixes
CVE-2023-43641.
Signed-off-by: Kevin Backhouse <kevinbackhouse@github.com>
---
cd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cd.c b/cd.c
index cf77a18..4bbea19 100644
--- a/cd.c
+++ b/cd.c
@@ -339,7 +339,7 @@ track_get_rem(const Track* track)
void track_set_index(Track *track, int i, long ind)
{
- if (i > MAXINDEX) {
+ if (i < 0 || i > MAXINDEX) {
fprintf(stderr, "too many indexes\n");
return;
}

View file

@ -0,0 +1,126 @@
#!/bin/bash
# Copyright 2020 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=libcue
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-4_slack15.0}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
i?86) ARCH=i586 ;;
arm*) readelf /usr/bin/file -A | grep -E -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$(uname -m) ;;
esac
export ARCH
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
exit 0
fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
elif [ "$ARCH" = "armv7hl" ]; then
SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
LIBDIRSUFFIX=""
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
cat $CWD/fdf72c8bded8d24cfa0608b8e97f2eed210a920e.patch | patch -p1 --verbose || exit 1
# Configure, build, and install:
mkdir cmake-build
cd cmake-build
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
-DBUILD_SHARED_LIBS=ON \
-DDOC_INSTALL_DIR="doc" \
-DMAN_INSTALL_DIR=/usr/man \
.. || exit 1
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
cd ..
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
# Add a documentation directory:
mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
cp -a \
AUTHORS* ChangeLog COPYING* LICENSE* NEWS* README* THANKS* TODO* \
$PKG/usr/doc/${PKGNAM}-$VERSION
# If there's a ChangeLog, installing at least part of the recent history
# is useful, but don't let it get totally out of control:
if [ -r ChangeLog ]; then
DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION)
cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
touch -r ChangeLog $DOCSDIR/ChangeLog
fi
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz

View file

@ -0,0 +1 @@
https://github.com/lipnitsk/libcue

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------------------------------------------------------|
libcue: libcue (CUE sheet parser library)
libcue:
libcue: A CUE sheet is a metadata file which describes the layout of a CD or
libcue: DVD. The libcue library is intended for parsing a CUE sheet and
libcue: providing an API for programs to access the parsed data. While there
libcue: is no single CUE sheet standard, libcue attempts to parse the most
libcue: commonly known CUE layouts.
libcue:
libcue: Homepage: https://github.com/lipnitsk/libcue
libcue:
libcue:

View file

@ -0,0 +1,126 @@
#!/bin/bash
#
# Slackware build script for libnotify
#
# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA
# Copyright 2010, 2018, 2019, 2022, 2023 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=libnotify
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1_slack15.0}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) 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
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# Configure, build, and install:
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
mkdir meson-build
cd meson-build
meson setup \
--prefix=/usr \
--libdir=lib${LIBDIRSUFFIX} \
--libexecdir=/usr/libexec \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--includedir=/usr/include \
--datadir=/usr/share \
--mandir=/usr/man \
--sysconfdir=/etc \
--localstatedir=/var \
--buildtype=release \
-Ddocbook_docs=disabled \
-Dgtk_doc=false \
-Dtests=false \
-Dman=false \
.. || exit 1
"${NINJA:=ninja}" $NUMJOBS || exit 1
DESTDIR=$PKG $NINJA install || exit 1
cd ..
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a AUTHORS* COPYING* NEWS* README* SPEC* $PKG/usr/doc/$PKGNAM-$VERSION
if [ -d $PKG/usr/share/gtk-doc/html/libnotify ]; then
( cd $PKG/usr/doc/$PKGNAM-$VERSION ; ln -s ../../share/gtk-doc/html/libnotify html )
fi
# If there's a ChangeLog, installing at least part of the recent history
# is useful, but don't let it get totally out of control:
if [ -r ChangeLog ]; then
DOCSDIR=$(echo $PKG/usr/doc/*-$VERSION)
cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
touch -r ChangeLog $DOCSDIR/ChangeLog
fi
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz

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--------------------------------------------------|
libnotify: libnotify (notification library)
libnotify:
libnotify: A general library for event notification.
libnotify:
libnotify: Homepage: https://gitlab.gnome.org/GNOME/libnotify
libnotify:
libnotify:
libnotify:
libnotify:
libnotify:
libnotify: