mirror of
git://slackware.nl/current.git
synced 2025-01-14 08:01:11 +01:00
Mon Nov 11 20:56:27 UTC 2024
patches/packages/wget-1.25.0-x86_64-1_slack15.0.txz: Upgraded. [Breaking change] Drop support for shorthand FTP URLs (CVE-2024-10524) [Breaking change] Switch to continuous reading from stdin pipes For more information, see: https://www.cve.org/CVERecord?id=CVE-2024-10524 (* Security fix *)
This commit is contained in:
parent
34532a5a6a
commit
431dd191b6
8 changed files with 250 additions and 51 deletions
|
@ -11,9 +11,25 @@
|
||||||
<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>Thu, 7 Nov 2024 21:46:13 GMT</pubDate>
|
<pubDate>Mon, 11 Nov 2024 20:56:27 GMT</pubDate>
|
||||||
<lastBuildDate>Fri, 8 Nov 2024 12:30:28 GMT</lastBuildDate>
|
<lastBuildDate>Tue, 12 Nov 2024 12:30:33 GMT</lastBuildDate>
|
||||||
<generator>maintain_current_git.sh v 1.17</generator>
|
<generator>maintain_current_git.sh v 1.17</generator>
|
||||||
|
<item>
|
||||||
|
<title>Mon, 11 Nov 2024 20:56:27 GMT</title>
|
||||||
|
<pubDate>Mon, 11 Nov 2024 20:56:27 GMT</pubDate>
|
||||||
|
<link>https://git.slackware.nl/current/tag/?h=20241111205627</link>
|
||||||
|
<guid isPermaLink="false">20241111205627</guid>
|
||||||
|
<description>
|
||||||
|
<![CDATA[<pre>
|
||||||
|
patches/packages/wget-1.25.0-x86_64-1_slack15.0.txz: Upgraded.
|
||||||
|
[Breaking change] Drop support for shorthand FTP URLs (CVE-2024-10524)
|
||||||
|
[Breaking change] Switch to continuous reading from stdin pipes
|
||||||
|
For more information, see:
|
||||||
|
https://www.cve.org/CVERecord?id=CVE-2024-10524
|
||||||
|
(* Security fix *)
|
||||||
|
</pre>]]>
|
||||||
|
</description>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<title>Thu, 7 Nov 2024 21:46:13 GMT</title>
|
<title>Thu, 7 Nov 2024 21:46:13 GMT</title>
|
||||||
<pubDate>Thu, 7 Nov 2024 21:46:13 GMT</pubDate>
|
<pubDate>Thu, 7 Nov 2024 21:46:13 GMT</pubDate>
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
Mon Nov 11 20:56:27 UTC 2024
|
||||||
|
patches/packages/wget-1.25.0-x86_64-1_slack15.0.txz: Upgraded.
|
||||||
|
[Breaking change] Drop support for shorthand FTP URLs (CVE-2024-10524)
|
||||||
|
[Breaking change] Switch to continuous reading from stdin pipes
|
||||||
|
For more information, see:
|
||||||
|
https://www.cve.org/CVERecord?id=CVE-2024-10524
|
||||||
|
(* Security fix *)
|
||||||
|
+--------------------------+
|
||||||
Thu Nov 7 21:46:13 UTC 2024
|
Thu Nov 7 21:46:13 UTC 2024
|
||||||
patches/packages/curl-8.11.0-x86_64-2_slack15.0.txz: Rebuilt.
|
patches/packages/curl-8.11.0-x86_64-2_slack15.0.txz: Rebuilt.
|
||||||
Adjust libcurl.pc to remove ldap from Requires.private.
|
Adjust libcurl.pc to remove ldap from Requires.private.
|
||||||
|
|
37
FILELIST.TXT
37
FILELIST.TXT
|
@ -1,20 +1,20 @@
|
||||||
Thu Nov 7 21:49:37 UTC 2024
|
Mon Nov 11 20:59:31 UTC 2024
|
||||||
|
|
||||||
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 2024-11-07 21:46 .
|
drwxr-xr-x 12 root root 4096 2024-11-11 20:56 .
|
||||||
-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 1261447 2024-11-06 20:57 ./CHECKSUMS.md5
|
-rw-r--r-- 1 root root 1261447 2024-11-07 21:50 ./CHECKSUMS.md5
|
||||||
-rw-r--r-- 1 root root 195 2024-11-06 20:57 ./CHECKSUMS.md5.asc
|
-rw-r--r-- 1 root root 195 2024-11-07 21:50 ./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 2174908 2024-11-07 21:46 ./ChangeLog.txt
|
-rw-r--r-- 1 root root 2175271 2024-11-11 20:56 ./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 1653488 2024-11-06 20:57 ./FILELIST.TXT
|
-rw-r--r-- 1 root root 1653488 2024-11-07 21:49 ./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
|
||||||
|
@ -821,13 +821,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 2024-11-07 21:49 ./patches
|
drwxr-xr-x 4 root root 4096 2024-11-11 20:59 ./patches
|
||||||
-rw-r--r-- 1 root root 142263 2024-11-07 21:49 ./patches/CHECKSUMS.md5
|
-rw-r--r-- 1 root root 142829 2024-11-11 20:59 ./patches/CHECKSUMS.md5
|
||||||
-rw-r--r-- 1 root root 195 2024-11-07 21:49 ./patches/CHECKSUMS.md5.asc
|
-rw-r--r-- 1 root root 195 2024-11-11 20:59 ./patches/CHECKSUMS.md5.asc
|
||||||
-rw-r--r-- 1 root root 196123 2024-11-07 21:49 ./patches/FILE_LIST
|
-rw-r--r-- 1 root root 196899 2024-11-11 20:59 ./patches/FILE_LIST
|
||||||
-rw-r--r-- 1 root root 18973305 2024-11-07 21:49 ./patches/MANIFEST.bz2
|
-rw-r--r-- 1 root root 19001594 2024-11-11 20:59 ./patches/MANIFEST.bz2
|
||||||
-rw-r--r-- 1 root root 99795 2024-11-07 21:49 ./patches/PACKAGES.TXT
|
-rw-r--r-- 1 root root 100361 2024-11-11 20:59 ./patches/PACKAGES.TXT
|
||||||
drwxr-xr-x 7 root root 32768 2024-11-07 21:49 ./patches/packages
|
drwxr-xr-x 7 root root 32768 2024-11-11 20:59 ./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
|
||||||
|
@ -1268,6 +1268,9 @@ drwxr-xr-x 2 root root 4096 2024-06-08 19:45 ./patches/packages/old-linux
|
||||||
-rw-r--r-- 1 root root 551 2023-10-09 17:34 ./patches/packages/wayland-1.22.0-x86_64-1_slack15.0.txt
|
-rw-r--r-- 1 root root 551 2023-10-09 17:34 ./patches/packages/wayland-1.22.0-x86_64-1_slack15.0.txt
|
||||||
-rw-r--r-- 1 root root 132588 2023-10-09 17:34 ./patches/packages/wayland-1.22.0-x86_64-1_slack15.0.txz
|
-rw-r--r-- 1 root root 132588 2023-10-09 17:34 ./patches/packages/wayland-1.22.0-x86_64-1_slack15.0.txz
|
||||||
-rw-r--r-- 1 root root 163 2023-10-09 17:34 ./patches/packages/wayland-1.22.0-x86_64-1_slack15.0.txz.asc
|
-rw-r--r-- 1 root root 163 2023-10-09 17:34 ./patches/packages/wayland-1.22.0-x86_64-1_slack15.0.txz.asc
|
||||||
|
-rw-r--r-- 1 root root 397 2024-11-11 18:11 ./patches/packages/wget-1.25.0-x86_64-1_slack15.0.txt
|
||||||
|
-rw-r--r-- 1 root root 762660 2024-11-11 18:11 ./patches/packages/wget-1.25.0-x86_64-1_slack15.0.txz
|
||||||
|
-rw-r--r-- 1 root root 195 2024-11-11 18:11 ./patches/packages/wget-1.25.0-x86_64-1_slack15.0.txz.asc
|
||||||
-rw-r--r-- 1 root root 367 2024-05-12 18:57 ./patches/packages/whois-5.5.23-x86_64-1_slack15.0.txt
|
-rw-r--r-- 1 root root 367 2024-05-12 18:57 ./patches/packages/whois-5.5.23-x86_64-1_slack15.0.txt
|
||||||
-rw-r--r-- 1 root root 64484 2024-05-12 18:57 ./patches/packages/whois-5.5.23-x86_64-1_slack15.0.txz
|
-rw-r--r-- 1 root root 64484 2024-05-12 18:57 ./patches/packages/whois-5.5.23-x86_64-1_slack15.0.txz
|
||||||
-rw-r--r-- 1 root root 195 2024-05-12 18:57 ./patches/packages/whois-5.5.23-x86_64-1_slack15.0.txz.asc
|
-rw-r--r-- 1 root root 195 2024-05-12 18:57 ./patches/packages/whois-5.5.23-x86_64-1_slack15.0.txz.asc
|
||||||
|
@ -1316,7 +1319,7 @@ drwxr-xr-x 2 root root 4096 2024-06-08 19:45 ./patches/packages/old-linux
|
||||||
-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 135 root root 4096 2024-11-07 21:42 ./patches/source
|
drwxr-xr-x 136 root root 4096 2024-11-11 20:54 ./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
|
||||||
|
@ -2654,6 +2657,12 @@ drwxr-xr-x 2 root root 4096 2023-04-04 19:07 ./patches/source/wayland
|
||||||
-rw-r--r-- 1 root root 566 2023-04-04 08:07 ./patches/source/wayland/wayland-1.22.0.tar.xz.sig
|
-rw-r--r-- 1 root root 566 2023-04-04 08:07 ./patches/source/wayland/wayland-1.22.0.tar.xz.sig
|
||||||
-rwxr-xr-x 1 root root 4066 2023-10-07 19:48 ./patches/source/wayland/wayland.SlackBuild
|
-rwxr-xr-x 1 root root 4066 2023-10-07 19:48 ./patches/source/wayland/wayland.SlackBuild
|
||||||
-rw-r--r-- 1 root root 46 2020-02-19 19:41 ./patches/source/wayland/wayland.url
|
-rw-r--r-- 1 root root 46 2020-02-19 19:41 ./patches/source/wayland/wayland.url
|
||||||
|
drwxr-xr-x 2 root root 4096 2024-11-11 18:05 ./patches/source/wget
|
||||||
|
-rw-r--r-- 1 root root 264 2008-10-01 23:27 ./patches/source/wget/doinst.sh.gz
|
||||||
|
-rw-r--r-- 1 root root 849 2018-02-27 06:13 ./patches/source/wget/slack-desc
|
||||||
|
-rw-r--r-- 1 root root 2582072 2024-11-10 21:32 ./patches/source/wget/wget-1.25.0.tar.lz
|
||||||
|
-rw-r--r-- 1 root root 854 2024-11-10 21:32 ./patches/source/wget/wget-1.25.0.tar.lz.sig
|
||||||
|
-rwxr-xr-x 1 root root 3901 2024-11-11 18:10 ./patches/source/wget/wget.SlackBuild
|
||||||
drwxr-xr-x 2 root root 4096 2024-05-12 18:56 ./patches/source/whois
|
drwxr-xr-x 2 root root 4096 2024-05-12 18:56 ./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 820 2019-03-28 19:25 ./patches/source/whois/slack-desc
|
||||||
-rw-r--r-- 1 root root 90344 2024-05-12 08:59 ./patches/source/whois/whois-5.5.23.tar.lz
|
-rw-r--r-- 1 root root 90344 2024-05-12 08:59 ./patches/source/whois/whois-5.5.23.tar.lz
|
||||||
|
|
11
patches/packages/wget-1.25.0-x86_64-1_slack15.0.txt
Normal file
11
patches/packages/wget-1.25.0-x86_64-1_slack15.0.txt
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
wget: wget (a non-interactive network retriever)
|
||||||
|
wget:
|
||||||
|
wget: GNU Wget is a free network utility to retrieve files from the
|
||||||
|
wget: World Wide Web using HTTP and FTP, the two most widely used Internet
|
||||||
|
wget: protocols. It works non-interactively, thus enabling work in the
|
||||||
|
wget: background after having logged off.
|
||||||
|
wget:
|
||||||
|
wget: The author of Wget is Hrvoje Niksic <hniksic@srce.hr>.
|
||||||
|
wget:
|
||||||
|
wget:
|
||||||
|
wget:
|
14
patches/source/wget/doinst.sh
Normal file
14
patches/source/wget/doinst.sh
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
config() {
|
||||||
|
NEW="$1"
|
||||||
|
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
||||||
|
# If there's no config file by that name, mv it over:
|
||||||
|
if [ ! -r $OLD ]; then
|
||||||
|
mv $NEW $OLD
|
||||||
|
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
|
||||||
|
rm $NEW
|
||||||
|
fi
|
||||||
|
# Otherwise, we leave the .new copy for the admin to consider...
|
||||||
|
}
|
||||||
|
|
||||||
|
config etc/wgetrc.new
|
||||||
|
|
19
patches/source/wget/slack-desc
Normal file
19
patches/source/wget/slack-desc
Normal 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------------------------------------------------------|
|
||||||
|
wget: wget (a non-interactive network retriever)
|
||||||
|
wget:
|
||||||
|
wget: GNU Wget is a free network utility to retrieve files from the
|
||||||
|
wget: World Wide Web using HTTP and FTP, the two most widely used Internet
|
||||||
|
wget: protocols. It works non-interactively, thus enabling work in the
|
||||||
|
wget: background after having logged off.
|
||||||
|
wget:
|
||||||
|
wget: The author of Wget is Hrvoje Niksic <hniksic@srce.hr>.
|
||||||
|
wget:
|
||||||
|
wget:
|
||||||
|
wget:
|
121
patches/source/wget/wget.SlackBuild
Executable file
121
patches/source/wget/wget.SlackBuild
Executable file
|
@ -0,0 +1,121 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Copyright 2008, 2009, 2010, 2012, 2013, 2014, 2015, 2018 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=wget
|
||||||
|
VERSION=${VERSION:-$(echo wget-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
|
||||||
|
BUILD=${BUILD:-1_slack15.0}
|
||||||
|
|
||||||
|
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
|
||||||
|
|
||||||
|
# Automatically determine the architecture we're building on:
|
||||||
|
if [ -z "$ARCH" ]; then
|
||||||
|
case "$( uname -m )" in
|
||||||
|
i?86) export ARCH=i586 ;;
|
||||||
|
arm*) export ARCH=arm ;;
|
||||||
|
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||||
|
*) export ARCH=$( uname -m ) ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||||
|
# the name of the created package would be, and then exit. This information
|
||||||
|
# could be useful to other scripts.
|
||||||
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||||
|
echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i486" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "i586" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "s390" ]; then
|
||||||
|
SLKCFLAGS="-O2"
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
else
|
||||||
|
SLKCFLAGS="-O2"
|
||||||
|
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-wget
|
||||||
|
|
||||||
|
rm -rf $PKG
|
||||||
|
mkdir -p $TMP $PKG
|
||||||
|
cd $TMP
|
||||||
|
rm -rf wget-$VERSION
|
||||||
|
tar xvf $CWD/wget-$VERSION.tar.?z || exit 1
|
||||||
|
cd wget-$VERSION
|
||||||
|
|
||||||
|
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 \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--infodir=/usr/info \
|
||||||
|
--docdir=/usr/doc/wget-$VERSION \
|
||||||
|
--with-ssl=openssl \
|
||||||
|
--build=${ARCH}-slackware-linux || exit 1
|
||||||
|
|
||||||
|
make $NUMJOBS || make || exit 1
|
||||||
|
make install DESTDIR=$PKG || exit 1
|
||||||
|
|
||||||
|
mv $PKG/etc/wgetrc $PKG/etc/wgetrc.new
|
||||||
|
|
||||||
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
|
||||||
|
rm -f $PKG/usr/info/dir
|
||||||
|
gzip -9 $PKG/usr/info/* $PKG/usr/man/man?/*
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/wget-$VERSION
|
||||||
|
cp -a \
|
||||||
|
AUTHORS COPYING* MAILING-LIST NEWS PATCHES README* TODO \
|
||||||
|
$PKG/usr/doc/wget-$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/*-$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
|
||||||
|
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
|
||||||
|
|
||||||
|
cd $PKG
|
||||||
|
/sbin/makepkg -l y -c n $TMP/wget-$VERSION-$ARCH-$BUILD.txz
|
||||||
|
|
|
@ -1406,6 +1406,7 @@ gzip ./patches/source/util-linux/ziptool-fix_build.patch
|
||||||
gzip ./patches/source/util-linux/CVE-2024-28085-pre1.patch
|
gzip ./patches/source/util-linux/CVE-2024-28085-pre1.patch
|
||||||
gzip ./patches/source/util-linux/CVE-2024-28085-pre3.patch
|
gzip ./patches/source/util-linux/CVE-2024-28085-pre3.patch
|
||||||
gzip ./patches/source/flac/flac.man.diff
|
gzip ./patches/source/flac/flac.man.diff
|
||||||
|
gzip ./patches/source/wget/doinst.sh
|
||||||
gzip ./patches/source/libtiff/patches/CVE-2022-2056_2057_2058.patch
|
gzip ./patches/source/libtiff/patches/CVE-2022-2056_2057_2058.patch
|
||||||
gzip ./patches/source/libtiff/patches/CVE-2022-34526.patch
|
gzip ./patches/source/libtiff/patches/CVE-2022-34526.patch
|
||||||
gzip ./patches/source/libtiff/patches/CVE-2022-3970.patch
|
gzip ./patches/source/libtiff/patches/CVE-2022-3970.patch
|
||||||
|
|
Loading…
Reference in a new issue