Fri Jul 29 19:59:03 UTC 2022

patches/packages/gnutls-3.7.7-x86_64-1_slack15.0.txz:  Upgraded.
  libgnutls: Fixed double free during verification of pkcs7 signatures.
  Reported by Jaak Ristioja.
  For more information, see:
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2509
  (* Security fix *)
This commit is contained in:
Patrick J Volkerding 2022-07-29 19:59:03 +00:00 committed by Eric Hameleers
parent 0648599e6d
commit e8686ed7fd
6 changed files with 274 additions and 44 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, 28 Jul 2022 23:48:36 GMT</pubDate>
<lastBuildDate>Fri, 29 Jul 2022 11:30:52 GMT</lastBuildDate>
<pubDate>Fri, 29 Jul 2022 19:59:03 GMT</pubDate>
<lastBuildDate>Sat, 30 Jul 2022 11:30:19 GMT</lastBuildDate>
<generator>maintain_current_git.sh v 1.17</generator>
<item>
<title>Fri, 29 Jul 2022 19:59:03 GMT</title>
<pubDate>Fri, 29 Jul 2022 19:59:03 GMT</pubDate>
<link>https://git.slackware.nl/current/tag/?h=20220729195903</link>
<guid isPermaLink="false">20220729195903</guid>
<description>
<![CDATA[<pre>
patches/packages/gnutls-3.7.7-x86_64-1_slack15.0.txz: Upgraded.
libgnutls: Fixed double free during verification of pkcs7 signatures.
Reported by Jaak Ristioja.
For more information, see:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2509
(* Security fix *)
</pre>]]>
</description>
</item>
<item>
<title>Thu, 28 Jul 2022 23:48:36 GMT</title>
<pubDate>Thu, 28 Jul 2022 23:48:36 GMT</pubDate>

View file

@ -1,3 +1,11 @@
Fri Jul 29 19:59:03 UTC 2022
patches/packages/gnutls-3.7.7-x86_64-1_slack15.0.txz: Upgraded.
libgnutls: Fixed double free during verification of pkcs7 signatures.
Reported by Jaak Ristioja.
For more information, see:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2509
(* Security fix *)
+--------------------------+
Thu Jul 28 23:48:36 UTC 2022
patches/packages/mozilla-thunderbird-91.12.0-x86_64-1_slack15.0.txz: Upgraded.
This release contains security fixes and improvements.

View file

@ -1,20 +1,20 @@
Thu Jul 28 23:51:56 UTC 2022
Fri Jul 29 20:02:06 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-28 23:48 .
drwxr-xr-x 12 root root 4096 2022-07-29 19:59 .
-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 1146328 2022-07-27 19:20 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2022-07-27 19:20 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 1146328 2022-07-28 23:52 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2022-07-28 23:52 ./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 1914208 2022-07-28 23:48 ./ChangeLog.txt
-rw-r--r-- 1 root root 1914547 2022-07-29 19:59 ./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 1496513 2022-07-27 19:20 ./FILELIST.TXT
-rw-r--r-- 1 root root 1496513 2022-07-28 23:51 ./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-28 23:51 ./patches
-rw-r--r-- 1 root root 42884 2022-07-28 23:51 ./patches/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2022-07-28 23:51 ./patches/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 57508 2022-07-28 23:51 ./patches/FILE_LIST
-rw-r--r-- 1 root root 11135160 2022-07-28 23:51 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 32090 2022-07-28 23:51 ./patches/PACKAGES.TXT
drwxr-xr-x 3 root root 16384 2022-07-28 23:51 ./patches/packages
drwxr-xr-x 4 root root 4096 2022-07-29 20:02 ./patches
-rw-r--r-- 1 root root 43404 2022-07-29 20:02 ./patches/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2022-07-29 20:02 ./patches/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 58214 2022-07-29 20:02 ./patches/FILE_LIST
-rw-r--r-- 1 root root 11188566 2022-07-29 20:02 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 32757 2022-07-29 20:02 ./patches/PACKAGES.TXT
drwxr-xr-x 3 root root 16384 2022-07-29 20:01 ./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
@ -789,6 +789,9 @@ drwxr-xr-x 3 root root 16384 2022-07-28 23:51 ./patches/packages
-rw-r--r-- 1 root root 598 2022-07-07 18:24 ./patches/packages/gnupg2-2.2.36-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 2368640 2022-07-07 18:24 ./patches/packages/gnupg2-2.2.36-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-07-07 18:24 ./patches/packages/gnupg2-2.2.36-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 492 2022-07-29 19:05 ./patches/packages/gnutls-3.7.7-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 2838884 2022-07-29 19:05 ./patches/packages/gnutls-3.7.7-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-07-29 19:05 ./patches/packages/gnutls-3.7.7-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 314 2022-04-14 21:04 ./patches/packages/gzip-1.12-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 111208 2022-04-14 21:04 ./patches/packages/gzip-1.12-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-04-14 21:04 ./patches/packages/gzip-1.12-x86_64-1_slack15.0.txz.asc
@ -898,7 +901,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 43 root root 4096 2022-07-28 23:44 ./patches/source
drwxr-xr-x 44 root root 4096 2022-07-29 19:16 ./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
@ -1026,6 +1029,11 @@ drwxr-xr-x 2 root root 4096 2022-07-07 18:21 ./patches/source/gnupg2
-rw-r--r-- 1 root root 5158914 2022-07-06 18:20 ./patches/source/gnupg2/gnupg-2.2.36.tar.lz
-rwxr-xr-x 1 root root 4261 2022-07-07 18:21 ./patches/source/gnupg2/gnupg2.SlackBuild
-rw-r--r-- 1 root root 1052 2018-08-27 17:38 ./patches/source/gnupg2/slack-desc
drwxr-xr-x 2 root root 4096 2022-07-29 18:58 ./patches/source/gnutls
-rw-r--r-- 1 root root 6351664 2022-07-28 14:18 ./patches/source/gnutls/gnutls-3.7.7.tar.xz
-rw-r--r-- 1 root root 685 2022-07-28 14:18 ./patches/source/gnutls/gnutls-3.7.7.tar.xz.sig
-rwxr-xr-x 1 root root 4992 2022-07-29 19:02 ./patches/source/gnutls/gnutls.SlackBuild
-rw-r--r-- 1 root root 946 2018-02-27 06:13 ./patches/source/gnutls/slack-desc
drwxr-xr-x 2 root root 4096 2022-04-07 21:51 ./patches/source/gzip
-rw-r--r-- 1 root root 825548 2022-04-07 17:00 ./patches/source/gzip/gzip-1.12.tar.xz
-rw-r--r-- 1 root root 833 2022-04-07 17:00 ./patches/source/gzip/gzip-1.12.tar.xz.sig
@ -2730,14 +2738,14 @@ drwxr-xr-x 2 root root 69632 2022-02-01 08:29 ./slackware64/kde
-rw-r--r-- 1 root root 439 2022-01-08 22:41 ./slackware64/kde/kinit-5.90.0-x86_64-1.txt
-rw-r--r-- 1 root root 128740 2022-01-08 22:41 ./slackware64/kde/kinit-5.90.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-08 22:41 ./slackware64/kde/kinit-5.90.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 523 2022-01-08 22:39 ./slackware64/kde/kio-5.90.0-x86_64-1.txt
-rw-r--r-- 1 root root 4244248 2022-01-08 22:39 ./slackware64/kde/kio-5.90.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-08 22:39 ./slackware64/kde/kio-5.90.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 235 2022-01-06 21:58 ./slackware64/kde/kio-extras-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 1071944 2022-01-06 21:58 ./slackware64/kde/kio-extras-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 21:58 ./slackware64/kde/kio-extras-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 367 2022-01-06 21:58 ./slackware64/kde/kio-gdrive-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 122104 2022-01-06 21:58 ./slackware64/kde/kio-gdrive-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 523 2022-01-08 22:39 ./slackware64/kde/kio-5.90.0-x86_64-1.txt
-rw-r--r-- 1 root root 4244248 2022-01-08 22:39 ./slackware64/kde/kio-5.90.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-08 22:39 ./slackware64/kde/kio-5.90.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 235 2022-01-06 21:58 ./slackware64/kde/kio-extras-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 1071944 2022-01-06 21:58 ./slackware64/kde/kio-extras-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 21:58 ./slackware64/kde/kio-extras-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 367 2022-01-06 21:58 ./slackware64/kde/kio-gdrive-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 122104 2022-01-06 21:58 ./slackware64/kde/kio-gdrive-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 21:58 ./slackware64/kde/kio-gdrive-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 311 2022-01-06 21:56 ./slackware64/kde/kipi-plugins-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 1242164 2022-01-06 21:56 ./slackware64/kde/kipi-plugins-21.12.1-x86_64-1.txz
@ -5486,14 +5494,14 @@ drwxr-xr-x 2 root root 65536 2022-02-01 04:47 ./slackware64/x
-rw-r--r-- 1 root root 235 2021-11-03 00:43 ./slackware64/x/pyxdg-0.27-x86_64-6.txt
-rw-r--r-- 1 root root 77612 2021-11-03 00:43 ./slackware64/x/pyxdg-0.27-x86_64-6.txz
-rw-r--r-- 1 root root 163 2021-11-03 00:43 ./slackware64/x/pyxdg-0.27-x86_64-6.txz.asc
-rw-r--r-- 1 root root 298 2021-02-13 13:11 ./slackware64/x/rendercheck-1.5-x86_64-4.txt
-rw-r--r-- 1 root root 39908 2021-02-13 13:11 ./slackware64/x/rendercheck-1.5-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:11 ./slackware64/x/rendercheck-1.5-x86_64-4.txz.asc
-rw-r--r-- 1 root root 255 2021-02-13 13:11 ./slackware64/x/rgb-1.0.6-x86_64-5.txt
-rw-r--r-- 1 root root 21024 2021-02-13 13:11 ./slackware64/x/rgb-1.0.6-x86_64-5.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:11 ./slackware64/x/rgb-1.0.6-x86_64-5.txz.asc
-rw-r--r-- 1 root root 394 2021-02-13 13:01 ./slackware64/x/sazanami-fonts-ttf-20040629-noarch-5.txt
-rw-r--r-- 1 root root 5962292 2021-02-13 13:01 ./slackware64/x/sazanami-fonts-ttf-20040629-noarch-5.txz
-rw-r--r-- 1 root root 298 2021-02-13 13:11 ./slackware64/x/rendercheck-1.5-x86_64-4.txt
-rw-r--r-- 1 root root 39908 2021-02-13 13:11 ./slackware64/x/rendercheck-1.5-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:11 ./slackware64/x/rendercheck-1.5-x86_64-4.txz.asc
-rw-r--r-- 1 root root 255 2021-02-13 13:11 ./slackware64/x/rgb-1.0.6-x86_64-5.txt
-rw-r--r-- 1 root root 21024 2021-02-13 13:11 ./slackware64/x/rgb-1.0.6-x86_64-5.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:11 ./slackware64/x/rgb-1.0.6-x86_64-5.txz.asc
-rw-r--r-- 1 root root 394 2021-02-13 13:01 ./slackware64/x/sazanami-fonts-ttf-20040629-noarch-5.txt
-rw-r--r-- 1 root root 5962292 2021-02-13 13:01 ./slackware64/x/sazanami-fonts-ttf-20040629-noarch-5.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:01 ./slackware64/x/sazanami-fonts-ttf-20040629-noarch-5.txz.asc
-rw-r--r-- 1 root root 292 2021-02-13 13:11 ./slackware64/x/sessreg-1.1.2-x86_64-3.txt
-rw-r--r-- 1 root root 23212 2021-02-13 13:11 ./slackware64/x/sessreg-1.1.2-x86_64-3.txz
@ -15101,18 +15109,18 @@ drwxr-xr-x 2 root root 4096 2020-02-23 17:53 ./source/x/x11/src/xcb
-rw-r--r-- 1 root root 241520 2014-10-01 10:05 ./source/x/x11/src/xcb/xcb-util-keysyms-0.4.0.tar.xz
-rw-r--r-- 1 root root 243560 2014-06-13 02:53 ./source/x/x11/src/xcb/xcb-util-renderutil-0.3.9.tar.xz
-rw-r--r-- 1 root root 266716 2014-02-19 11:40 ./source/x/x11/src/xcb/xcb-util-wm-0.4.1.tar.xz
-rw-r--r-- 1 root root 232228 2012-03-23 22:46 ./source/x/x11/src/xcb/xpyb-1.3.1.tar.xz
-rw-r--r-- 1 root root 47 2018-03-23 18:19 ./source/x/x11/src/xf86-input-wacom.url
drwxr-xr-x 2 root root 4096 2021-12-16 18:46 ./source/x/x11/src/xserver
-rw-r--r-- 1 root root 5178288 2021-12-15 19:04 ./source/x/x11/src/xserver/xorg-server-1.20.14.tar.xz
-rwxr-xr-x 1 root root 15219 2020-02-19 20:37 ./source/x/x11/x11.SlackBuild
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/x/xcm
-rw-r--r-- 1 root root 744 2018-11-11 20:29 ./source/x/xcm/slack-desc
-rw-r--r-- 1 root root 205926 2016-12-09 21:50 ./source/x/xcm/xcm-0.5.4.tar.lz
-rwxr-xr-x 1 root root 4055 2021-02-13 05:32 ./source/x/xcm/xcm.SlackBuild
-rw-r--r-- 1 root root 393 2018-11-11 21:25 ./source/x/xcm/xcm.udev.rules.diff.gz
-rw-r--r-- 1 root root 44 2018-11-11 20:29 ./source/x/xcm/xcm.url
drwxr-xr-x 2 root root 4096 2022-01-04 21:44 ./source/x/xdg-desktop-portal
-rw-r--r-- 1 root root 232228 2012-03-23 22:46 ./source/x/x11/src/xcb/xpyb-1.3.1.tar.xz
-rw-r--r-- 1 root root 47 2018-03-23 18:19 ./source/x/x11/src/xf86-input-wacom.url
drwxr-xr-x 2 root root 4096 2021-12-16 18:46 ./source/x/x11/src/xserver
-rw-r--r-- 1 root root 5178288 2021-12-15 19:04 ./source/x/x11/src/xserver/xorg-server-1.20.14.tar.xz
-rwxr-xr-x 1 root root 15219 2020-02-19 20:37 ./source/x/x11/x11.SlackBuild
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/x/xcm
-rw-r--r-- 1 root root 744 2018-11-11 20:29 ./source/x/xcm/slack-desc
-rw-r--r-- 1 root root 205926 2016-12-09 21:50 ./source/x/xcm/xcm-0.5.4.tar.lz
-rwxr-xr-x 1 root root 4055 2021-02-13 05:32 ./source/x/xcm/xcm.SlackBuild
-rw-r--r-- 1 root root 393 2018-11-11 21:25 ./source/x/xcm/xcm.udev.rules.diff.gz
-rw-r--r-- 1 root root 44 2018-11-11 20:29 ./source/x/xcm/xcm.url
drwxr-xr-x 2 root root 4096 2022-01-04 21:44 ./source/x/xdg-desktop-portal
-rw-r--r-- 1 root root 1137 2021-09-24 17:52 ./source/x/xdg-desktop-portal/slack-desc
-rw-r--r-- 1 root root 205957 2021-12-22 15:28 ./source/x/xdg-desktop-portal/xdg-desktop-portal-1.12.1.tar.lz
-rwxr-xr-x 1 root root 4526 2021-09-24 17:51 ./source/x/xdg-desktop-portal/xdg-desktop-portal.SlackBuild

View file

@ -0,0 +1,11 @@
gnutls: gnutls (GNU TLS library)
gnutls:
gnutls: This is a TLS (Transport Layer Security) 1.0 and SSL (Secure Sockets
gnutls: Layer) 3.0 implementation. In brief, GnuTLS can be described as a
gnutls: library which offers an API to access secure communication protocols.
gnutls: These protocols provide privacy over insecure lines, and were designed
gnutls: to prevent eavesdropping, tampering, or message forgery.
gnutls:
gnutls: Homepage: http://www.gnu.org/software/gnutls/
gnutls:
gnutls:

View file

@ -0,0 +1,168 @@
#!/bin/bash
# Copyright 2007, 2008, 2009, 2010, 2016, 2017, 2018, 2020 Patrick 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=gnutls
VERSION=${VERSION:-$(echo gnutls-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1_slack15.0}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
exit 0
fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
# Don't use icecream:
PATH=$(echo $PATH | sed "s|/usr/libexec/icecc/bin||g" | tr -s : | sed "s/^://g" | sed "s/:$//g")
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.xz || exit 1
cd $PKGNAM-$VERSION || cd $(echo $PKGNAM-$VERSION | rev | cut -f2- -d . | rev) || 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 {} \+
# Need to reconf to find guile-3.0.x:
autoreconf -vif
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--infodir=/usr/info \
--mandir=/usr/man \
--docdir=/usr/doc/$PKGNAM-$VERSION \
--enable-static=no \
--disable-rpath \
--with-included-libtasn1 \
--with-brotli \
--with-idn \
--with-zstd \
--enable-openssl-compatibility \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
# Remove any zero length man pages:
find $PKG/usr/man/ -type f -empty -delete
# 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
( cd $PKG/usr/info
rm -f dir
gzip -9 *.info*
)
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
AUTHORS COPYING* INSTALL LICENSE NEWS README* THANKS \
doc/COPYING* \
$PKG/usr/doc/$PKGNAM-$VERSION
# These PNG images are already present in /usr/info.
rm -f $PKG/usr/doc/$PKGNAM-$VERSION/*.png
# 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
# Likewise for the bloated NEWS:
if [ -r NEWS ]; then
DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION)
cat NEWS | head -n 1000 > $DOCSDIR/NEWS
touch -r NEWS $DOCSDIR/NEWS
fi
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n -p $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------------------------------------------------------|
gnutls: gnutls (GNU TLS library)
gnutls:
gnutls: This is a TLS (Transport Layer Security) 1.0 and SSL (Secure Sockets
gnutls: Layer) 3.0 implementation. In brief, GnuTLS can be described as a
gnutls: library which offers an API to access secure communication protocols.
gnutls: These protocols provide privacy over insecure lines, and were designed
gnutls: to prevent eavesdropping, tampering, or message forgery.
gnutls:
gnutls: Homepage: http://www.gnu.org/software/gnutls/
gnutls:
gnutls: