Sun Jul 10 18:49:34 UTC 2022

patches/packages/wavpack-5.5.0-x86_64-1_slack15.0.txz:  Upgraded.
  WavPack 5.5.0 contains a fix for CVE-2021-44269 wherein encoding a specially
  crafted DSD file causes an out-of-bounds read exception.
  For more information, see:
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44269
  (* Security fix *)
This commit is contained in:
Patrick J Volkerding 2022-07-10 18:49:34 +00:00 committed by Eric Hameleers
parent 9edcc6c242
commit 5cd37beaa8
7 changed files with 245 additions and 43 deletions

View file

@ -11,9 +11,25 @@
<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, 7 Jul 2022 23:03:01 GMT</pubDate>
<lastBuildDate>Fri, 8 Jul 2022 11:30:17 GMT</lastBuildDate>
<pubDate>Sun, 10 Jul 2022 18:49:34 GMT</pubDate>
<lastBuildDate>Mon, 11 Jul 2022 11:30:16 GMT</lastBuildDate>
<generator>maintain_current_git.sh v 1.17</generator>
<item>
<title>Sun, 10 Jul 2022 18:49:34 GMT</title>
<pubDate>Sun, 10 Jul 2022 18:49:34 GMT</pubDate>
<link>https://git.slackware.nl/current/tag/?h=20220710184934</link>
<guid isPermaLink="false">20220710184934</guid>
<description>
<![CDATA[<pre>
patches/packages/wavpack-5.5.0-x86_64-1_slack15.0.txz: Upgraded.
WavPack 5.5.0 contains a fix for CVE-2021-44269 wherein encoding a specially
crafted DSD file causes an out-of-bounds read exception.
For more information, see:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44269
(* Security fix *)
</pre>]]>
</description>
</item>
<item>
<title>Thu, 7 Jul 2022 23:03:01 GMT</title>
<pubDate>Thu, 7 Jul 2022 23:03:01 GMT</pubDate>

View file

@ -1,3 +1,11 @@
Sun Jul 10 18:49:34 UTC 2022
patches/packages/wavpack-5.5.0-x86_64-1_slack15.0.txz: Upgraded.
WavPack 5.5.0 contains a fix for CVE-2021-44269 wherein encoding a specially
crafted DSD file causes an out-of-bounds read exception.
For more information, see:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44269
(* Security fix *)
+--------------------------+
Thu Jul 7 23:03:01 UTC 2022
patches/packages/gnupg2-2.2.36-x86_64-1_slack15.0.txz: Upgraded.
g10: Fix possibly garbled status messages in NOTATION_DATA. This bug could

View file

@ -1,20 +1,20 @@
Thu Jul 7 23:07:37 UTC 2022
Sun Jul 10 18:54:31 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-07-07 23:03 .
drwxr-xr-x 12 root root 4096 2022-07-10 18:49 .
-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 1137740 2022-07-05 20:20 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2022-07-05 20:20 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 1138237 2022-07-07 23:07 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2022-07-07 23:07 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING
-rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3
-rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT
-rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT
-rw-r--r-- 1 root root 1909194 2022-07-07 23:03 ./ChangeLog.txt
-rw-r--r-- 1 root root 1909572 2022-07-10 18:49 ./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 1485051 2022-07-05 20:20 ./FILELIST.TXT
-rw-r--r-- 1 root root 1485725 2022-07-07 23:07 ./FILELIST.TXT
-rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY
-rw-r--r-- 1 root root 864745 2022-02-02 08:25 ./PACKAGES.TXT
-rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT
@ -737,13 +737,13 @@ drwxr-xr-x 2 root root 4096 2008-05-07 05:21 ./pasture/source/php/pear
-rwxr-xr-x 1 root root 9448 2018-05-16 22:38 ./pasture/source/php/php.SlackBuild
-rw-r--r-- 1 root root 775 2017-07-07 19:25 ./pasture/source/php/php.ini-development.diff.gz
-rw-r--r-- 1 root root 830 2005-12-09 05:18 ./pasture/source/php/slack-desc
drwxr-xr-x 4 root root 4096 2022-07-07 23:07 ./patches
-rw-r--r-- 1 root root 35505 2022-07-07 23:07 ./patches/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2022-07-07 23:07 ./patches/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 47524 2022-07-07 23:07 ./patches/FILE_LIST
-rw-r--r-- 1 root root 11438450 2022-07-07 23:07 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 27117 2022-07-07 23:07 ./patches/PACKAGES.TXT
drwxr-xr-x 3 root root 12288 2022-07-07 23:07 ./patches/packages
drwxr-xr-x 4 root root 4096 2022-07-10 18:54 ./patches
-rw-r--r-- 1 root root 36022 2022-07-10 18:54 ./patches/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2022-07-10 18:54 ./patches/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 48228 2022-07-10 18:54 ./patches/FILE_LIST
-rw-r--r-- 1 root root 11441192 2022-07-10 18:54 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 27806 2022-07-10 18:54 ./patches/PACKAGES.TXT
drwxr-xr-x 3 root root 12288 2022-07-10 18:54 ./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
@ -868,6 +868,9 @@ drwxr-xr-x 2 root root 4096 2022-05-09 21:37 ./patches/packages/linux-5.15
-rw-r--r-- 1 root root 503 2022-03-30 22:34 ./patches/packages/vim-gvim-8.2.4649-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 1660648 2022-03-30 22:34 ./patches/packages/vim-gvim-8.2.4649-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-03-30 22:34 ./patches/packages/vim-gvim-8.2.4649-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 507 2022-07-10 18:40 ./patches/packages/wavpack-5.5.0-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 185936 2022-07-10 18:40 ./patches/packages/wavpack-5.5.0-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-07-10 18:40 ./patches/packages/wavpack-5.5.0-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 367 2022-04-12 19:47 ./patches/packages/whois-5.5.13-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 62016 2022-04-12 19:47 ./patches/packages/whois-5.5.13-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-04-12 19:47 ./patches/packages/whois-5.5.13-x86_64-1_slack15.0.txz.asc
@ -877,7 +880,7 @@ drwxr-xr-x 2 root root 4096 2022-05-09 21:37 ./patches/packages/linux-5.15
-rw-r--r-- 1 root root 388 2022-03-28 19:09 ./patches/packages/zlib-1.2.12-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 105204 2022-03-28 19:09 ./patches/packages/zlib-1.2.12-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-03-28 19:09 ./patches/packages/zlib-1.2.12-x86_64-1_slack15.0.txz.asc
drwxr-xr-x 39 root root 4096 2022-07-07 19:02 ./patches/source
drwxr-xr-x 40 root root 4096 2022-07-10 18:45 ./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
@ -1235,6 +1238,11 @@ drwxr-xr-x 2 root root 4096 2022-03-30 18:18 ./patches/source/vim
-rwxr-xr-x 1 root root 6370 2022-03-30 22:26 ./patches/source/vim/vim-gvim.SlackBuild
-rwxr-xr-x 1 root root 7934 2022-03-30 22:26 ./patches/source/vim/vim.SlackBuild
-rw-r--r-- 1 root root 283 2019-01-11 20:43 ./patches/source/vim/vim.vimrc.diff.gz
drwxr-xr-x 2 root root 4096 2022-07-10 18:34 ./patches/source/wavpack
-rw-r--r-- 1 root root 963 2019-12-19 18:54 ./patches/source/wavpack/slack-desc
-rw-r--r-- 1 root root 797996 2022-07-09 01:55 ./patches/source/wavpack/wavpack-5.5.0.tar.xz
-rwxr-xr-x 1 root root 4283 2022-07-10 18:40 ./patches/source/wavpack/wavpack.SlackBuild
-rw-r--r-- 1 root root 32 2019-12-19 18:55 ./patches/source/wavpack/wavpack.url
drwxr-xr-x 2 root root 4096 2022-04-12 19:47 ./patches/source/whois
-rw-r--r-- 1 root root 820 2019-03-28 19:25 ./patches/source/whois/slack-desc
-rw-r--r-- 1 root root 85013 2022-02-23 00:07 ./patches/source/whois/whois-5.5.12.tar.lz
@ -2739,14 +2747,14 @@ drwxr-xr-x 2 root root 69632 2022-02-01 08:29 ./slackware64/kde
-rw-r--r-- 1 root root 1109292 2022-01-06 22:32 ./slackware64/kde/knetwalk-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 22:32 ./slackware64/kde/knetwalk-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 310 2022-01-08 22:40 ./slackware64/kde/knewstuff-5.90.0-x86_64-1.txt
-rw-r--r-- 1 root root 817892 2022-01-08 22:40 ./slackware64/kde/knewstuff-5.90.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-08 22:40 ./slackware64/kde/knewstuff-5.90.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 310 2022-01-06 22:36 ./slackware64/kde/knights-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 3547936 2022-01-06 22:36 ./slackware64/kde/knights-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 22:36 ./slackware64/kde/knights-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 156 2022-01-06 21:54 ./slackware64/kde/knotes-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 643708 2022-01-06 21:54 ./slackware64/kde/knotes-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 21:54 ./slackware64/kde/knotes-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 817892 2022-01-08 22:40 ./slackware64/kde/knewstuff-5.90.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-08 22:40 ./slackware64/kde/knewstuff-5.90.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 310 2022-01-06 22:36 ./slackware64/kde/knights-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 3547936 2022-01-06 22:36 ./slackware64/kde/knights-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 22:36 ./slackware64/kde/knights-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 156 2022-01-06 21:54 ./slackware64/kde/knotes-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 643708 2022-01-06 21:54 ./slackware64/kde/knotes-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 21:54 ./slackware64/kde/knotes-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 312 2022-01-08 22:34 ./slackware64/kde/knotifications-5.90.0-x86_64-1.txt
-rw-r--r-- 1 root root 148992 2022-01-08 22:34 ./slackware64/kde/knotifications-5.90.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-08 22:34 ./slackware64/kde/knotifications-5.90.0-x86_64-1.txz.asc
@ -5497,15 +5505,15 @@ drwxr-xr-x 2 root root 65536 2022-02-01 04:47 ./slackware64/x
-rw-r--r-- 1 root root 163 2021-02-13 13:11 ./slackware64/x/xclipboard-1.1.3-x86_64-5.txz.asc
-rw-r--r-- 1 root root 290 2021-02-13 13:11 ./slackware64/x/xclock-1.0.9-x86_64-3.txt
-rw-r--r-- 1 root root 42380 2021-02-13 13:11 ./slackware64/x/xclock-1.0.9-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:11 ./slackware64/x/xclock-1.0.9-x86_64-3.txz.asc
-rw-r--r-- 1 root root 290 2021-02-13 13:04 ./slackware64/x/xcm-0.5.4-x86_64-4.txt
-rw-r--r-- 1 root root 20704 2021-02-13 13:04 ./slackware64/x/xcm-0.5.4-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:04 ./slackware64/x/xcm-0.5.4-x86_64-4.txz.asc
-rw-r--r-- 1 root root 367 2021-02-13 13:11 ./slackware64/x/xcmsdb-1.0.5-x86_64-4.txt
-rw-r--r-- 1 root root 26200 2021-02-13 13:11 ./slackware64/x/xcmsdb-1.0.5-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:11 ./slackware64/x/xcmsdb-1.0.5-x86_64-4.txz.asc
-rw-r--r-- 1 root root 301 2021-02-13 13:11 ./slackware64/x/xcompmgr-1.1.8-x86_64-3.txt
-rw-r--r-- 1 root root 29656 2021-02-13 13:11 ./slackware64/x/xcompmgr-1.1.8-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:11 ./slackware64/x/xclock-1.0.9-x86_64-3.txz.asc
-rw-r--r-- 1 root root 290 2021-02-13 13:04 ./slackware64/x/xcm-0.5.4-x86_64-4.txt
-rw-r--r-- 1 root root 20704 2021-02-13 13:04 ./slackware64/x/xcm-0.5.4-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:04 ./slackware64/x/xcm-0.5.4-x86_64-4.txz.asc
-rw-r--r-- 1 root root 367 2021-02-13 13:11 ./slackware64/x/xcmsdb-1.0.5-x86_64-4.txt
-rw-r--r-- 1 root root 26200 2021-02-13 13:11 ./slackware64/x/xcmsdb-1.0.5-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:11 ./slackware64/x/xcmsdb-1.0.5-x86_64-4.txz.asc
-rw-r--r-- 1 root root 301 2021-02-13 13:11 ./slackware64/x/xcompmgr-1.1.8-x86_64-3.txt
-rw-r--r-- 1 root root 29656 2021-02-13 13:11 ./slackware64/x/xcompmgr-1.1.8-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:11 ./slackware64/x/xcompmgr-1.1.8-x86_64-3.txz.asc
-rw-r--r-- 1 root root 220 2021-02-13 13:11 ./slackware64/x/xconsole-1.0.7-x86_64-4.txt
-rw-r--r-- 1 root root 23964 2021-02-13 13:11 ./slackware64/x/xconsole-1.0.7-x86_64-4.txz
@ -15141,16 +15149,16 @@ drwxr-xr-x 2 root root 4096 2021-11-15 20:10 ./source/xap/gftp
-rw-r--r-- 1 root root 32 2021-02-11 18:21 ./source/xap/gftp/gftp.url
-rw-r--r-- 1 root root 895 2018-02-27 06:13 ./source/xap/gftp/slack-desc
drwxr-xr-x 2 root root 4096 2021-12-26 19:53 ./source/xap/gimp
-rw-r--r-- 1 root root 23680015 2021-12-19 21:19 ./source/xap/gimp/gimp-2.10.30.tar.lz
-rwxr-xr-x 1 root root 4636 2021-12-26 19:53 ./source/xap/gimp/gimp.SlackBuild
-rw-r--r-- 1 root root 923 2018-02-27 06:13 ./source/xap/gimp/slack-desc
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xap/gkrellm
-rw-r--r-- 1 root root 651098 2019-07-25 14:06 ./source/xap/gkrellm/gkrellm-2.3.11.tar.lz
-rw-r--r-- 1 root root 12482 2007-04-07 01:23 ./source/xap/gkrellm/gkrellm-countdown-0.1.2.tar.gz
-rwxr-xr-x 1 root root 5300 2021-02-13 05:32 ./source/xap/gkrellm/gkrellm.SlackBuild
-rw-r--r-- 1 root root 211 2008-10-26 01:35 ./source/xap/gkrellm/gkrellm.theme.defaults.diff.gz
-rw-r--r-- 1 root root 35 2019-07-26 04:32 ./source/xap/gkrellm/gkrellm.url
-rw-r--r-- 1 root root 968 2018-02-27 06:13 ./source/xap/gkrellm/slack-desc
-rw-r--r-- 1 root root 23680015 2021-12-19 21:19 ./source/xap/gimp/gimp-2.10.30.tar.lz
-rwxr-xr-x 1 root root 4636 2021-12-26 19:53 ./source/xap/gimp/gimp.SlackBuild
-rw-r--r-- 1 root root 923 2018-02-27 06:13 ./source/xap/gimp/slack-desc
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xap/gkrellm
-rw-r--r-- 1 root root 651098 2019-07-25 14:06 ./source/xap/gkrellm/gkrellm-2.3.11.tar.lz
-rw-r--r-- 1 root root 12482 2007-04-07 01:23 ./source/xap/gkrellm/gkrellm-countdown-0.1.2.tar.gz
-rwxr-xr-x 1 root root 5300 2021-02-13 05:32 ./source/xap/gkrellm/gkrellm.SlackBuild
-rw-r--r-- 1 root root 211 2008-10-26 01:35 ./source/xap/gkrellm/gkrellm.theme.defaults.diff.gz
-rw-r--r-- 1 root root 35 2019-07-26 04:32 ./source/xap/gkrellm/gkrellm.url
-rw-r--r-- 1 root root 968 2018-02-27 06:13 ./source/xap/gkrellm/slack-desc
drwxr-xr-x 2 root root 4096 2021-07-14 04:20 ./source/xap/gnuchess
-rw-r--r-- 1 root root 142963 2004-01-19 11:50 ./source/xap/gnuchess/Sjeng-Free-11.2.tar.bz2
-rw-r--r-- 1 root root 652 2004-10-27 05:47 ./source/xap/gnuchess/chess.png

View file

@ -0,0 +1,11 @@
wavpack: wavpack (WAV audio file compressor)
wavpack:
wavpack: WavPack is a completely open audio compression format providing
wavpack: lossless, high-quality lossy, and a unique hybrid compression mode.
wavpack: The hybrid mode creates both a relatively small, high-quality lossy
wavpack: file that can be used all by itself, and a "correction" file that
wavpack: (when combined with the lossy file) provides full lossless
wavpack: restoration.
wavpack:
wavpack: Homepage: http://www.wavpack.com
wavpack:

View file

@ -0,0 +1,20 @@
# 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------------------------------------------------------|
wavpack: wavpack (WAV audio file compressor)
wavpack:
wavpack: WavPack is a completely open audio compression format providing
wavpack: lossless, high-quality lossy, and a unique hybrid compression mode.
wavpack: The hybrid mode creates both a relatively small, high-quality lossy
wavpack: file that can be used all by itself, and a "correction" file that
wavpack: (when combined with the lossy file) provides full lossless
wavpack: restoration.
wavpack:
wavpack: Homepage: http://www.wavpack.com
wavpack:

View file

@ -0,0 +1,138 @@
#!/bin/bash
# Copyright 2007 Erik Hanson erik@slackbuilds.org
# All rights reserved.
# Updated by Andrew Brouwers, abrouwers@gmail.com
# Modified by the SlackBuilds.org project
# Modified to build wavpack.
# Copyright 2008, 2009, 2010, 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:
#
# 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=wavpack
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1_slack15.0}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
exit 0
fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--enable-static=no \
--build=$ARCH-slackware-linux \
|| exit 1
make $NUMJOBS || make || exit 1
make install-strip DESTDIR=$PKG || exit 1
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
AUTHORS* COPYING* NEWS* README* \
$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
rm -r $PKG/usr/share/doc/wavpack
rmdir $PKG/usr/share/doc $PKG/usr/share
# Compress and link manpages, if any:
if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man
for manpagedir in $(find . -type d -name "man*") ; do
( cd $manpagedir
for eachpage in $( find . -type l -maxdepth 1) ; do
ln -s $( readlink $eachpage ).gz $eachpage.gz
rm $eachpage
done
gzip -9 *.?
)
done
)
fi
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD.txz

View file

@ -0,0 +1 @@
https://github.com/dbry/WavPack