summaryrefslogtreecommitdiffstats
path: root/source/l
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-09-14 18:15:34 +0000
committer Eric Hameleers <alien@slackware.com>2024-09-14 20:58:45 +0200
commit06728159b386d24244d3d13356a83de321fdfa3d (patch)
tree1590971f4de64e1f671b43368bfae3e21aa2cd8c /source/l
parentf4acbc3fdb871b9204d496c4a6e52833fced8545 (diff)
downloadcurrent-06728159b386d24244d3d13356a83de321fdfa3d.tar.gz
current-06728159b386d24244d3d13356a83de321fdfa3d.tar.xz
Sat Sep 14 18:15:34 UTC 202420240914181534
a/mkinitrd-1.4.11-x86_64-36.txz: Rebuilt. setup.01.mkinitrd (aka geninitrd): Set GENINITRD_SILENT to anything to generate the initrd silently. l/iso-codes-4.17.0-noarch-1.txz: Upgraded. l/libarchive-3.7.5-x86_64-1.txz: Upgraded. This update fixes the following security issues: fix multiple vulnerabilities identified by SAST (#2251, #2256) cpio: ignore out-of-range gid/uid/size/ino and harden AFIO parsing (#2258) lzop: prevent integer overflow (#2174) rar4: protect copy_from_lzss_window_to_unp() (#2172, CVE-2024-20696) rar4: fix CVE-2024-26256 (#2269) rar4: fix OOB in delta and audio filter (#2148, #2149) rar4: fix out of boundary access with large files (#2179) rar4: add boundary checks to rgb filter (#2210) rar4: fix OOB access with unicode filenames (#2203) rar5: clear 'data ready' cache on window buffer reallocs (#2265) rpm: calculate huge header sizes correctly (#2158) unzip: unify EOF handling (#2175) util: fix out of boundary access in mktemp functions (#2160) uu: stop processing if lines are too long (#2168) For more information, see: https://www.cve.org/CVERecord?id=CVE-2024-20696 https://www.cve.org/CVERecord?id=CVE-2024-26256 (* Security fix *) l/python-hatch-vcs-0.4.0-x86_64-1.txz: Added. This is needed to build urllib3-2.2.3. l/python-idna-3.9-x86_64-1.txz: Upgraded. l/python-urllib3-2.2.3-x86_64-1.txz: Upgraded. n/bind-9.20.1-x86_64-1.txz: Upgraded. xap/xlockmore-5.79-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l')
-rw-r--r--source/l/iso-codes/iso-codes.url1
-rwxr-xr-xsource/l/libarchive/libarchive.SlackBuild11
-rw-r--r--source/l/libarchive/libarchive.url2
-rw-r--r--source/l/python-hatch-vcs/hatch-vcs.url1
-rwxr-xr-xsource/l/python-hatch-vcs/python-hatch-vcs.SlackBuild85
-rw-r--r--source/l/python-hatch-vcs/slack-desc19
-rwxr-xr-xsource/l/python-urllib3/python-urllib3.SlackBuild2
-rw-r--r--source/l/python-urllib3/urllib3.url2
8 files changed, 113 insertions, 10 deletions
diff --git a/source/l/iso-codes/iso-codes.url b/source/l/iso-codes/iso-codes.url
new file mode 100644
index 000000000..9bf9891cc
--- /dev/null
+++ b/source/l/iso-codes/iso-codes.url
@@ -0,0 +1 @@
+https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/v4.17.0/iso-codes-v4.17.0.tar.gz
diff --git a/source/l/libarchive/libarchive.SlackBuild b/source/l/libarchive/libarchive.SlackBuild
index 341389530..8f2ee81bc 100755
--- a/source/l/libarchive/libarchive.SlackBuild
+++ b/source/l/libarchive/libarchive.SlackBuild
@@ -32,7 +32,7 @@ BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i586 ;;
+ i?86) export ARCH=i686 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
@@ -52,14 +52,11 @@ NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
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"
+if [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=pentium4 -mtune=generic"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -march=x86-64 -mtune=generic -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
diff --git a/source/l/libarchive/libarchive.url b/source/l/libarchive/libarchive.url
index e4a02c4af..6253a41f7 100644
--- a/source/l/libarchive/libarchive.url
+++ b/source/l/libarchive/libarchive.url
@@ -1,2 +1,2 @@
https://github.com/libarchive/libarchive
-https://github.com/libarchive/libarchive/releases/download/v3.7.4/libarchive-3.7.4.tar.xz
+https://github.com/libarchive/libarchive/releases/download/v3.7.5/libarchive-3.7.5.tar.xz
diff --git a/source/l/python-hatch-vcs/hatch-vcs.url b/source/l/python-hatch-vcs/hatch-vcs.url
new file mode 100644
index 000000000..a5590ed89
--- /dev/null
+++ b/source/l/python-hatch-vcs/hatch-vcs.url
@@ -0,0 +1 @@
+https://github.com/ofek/hatch-vcs
diff --git a/source/l/python-hatch-vcs/python-hatch-vcs.SlackBuild b/source/l/python-hatch-vcs/python-hatch-vcs.SlackBuild
new file mode 100755
index 000000000..39015e2fc
--- /dev/null
+++ b/source/l/python-hatch-vcs/python-hatch-vcs.SlackBuild
@@ -0,0 +1,85 @@
+#!/bin/bash
+
+# Copyright 2017, 2018, 2024 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2017 Heinz Wiesinger, Amsterdam, NL
+# 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=python-hatch-vcs
+VERSION=${VERSION:-$(echo hatch-vcs-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
+
+SRCNAM=hatch-vcs
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
+ arm*) ARCH=arm ;;
+ *) 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
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1
+cd $SRCNAM-$VERSION || exit 1
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+unshare -n python3 -m build --wheel --no-isolation || exit 1
+
+python3 -m installer --destdir "$PKG" dist/*.whl || exit 1
+
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a *.rst *.txt PKG-INFO \
+ $PKG/usr/doc/$PKGNAM-$VERSION
+find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 0644 {} \+
+
+# If there's a CHANGES.rst, installing at least part of the recent history
+# is useful, but don't let it get totally out of control:
+if [ -r CHANGES.rst ]; then
+ DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION)
+ cat CHANGES.rst | head -n 1000 > $DOCSDIR/CHANGES.rst
+ touch -r CHANGES.rst $DOCSDIR/CHANGES.rst
+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
diff --git a/source/l/python-hatch-vcs/slack-desc b/source/l/python-hatch-vcs/slack-desc
new file mode 100644
index 000000000..e76a748f9
--- /dev/null
+++ b/source/l/python-hatch-vcs/slack-desc
@@ -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 ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python-hatch-vcs: python-hatch-vcs (hatch versioning plugin)
+python-hatch-vcs:
+python-hatch-vcs: This package provides a plugin for hatch that uses your preferred
+python-hatch-vcs: version control system (like Git) to determine project versions.
+python-hatch-vcs:
+python-hatch-vcs: Homepage: https://github.com/ofek/hatch-vcs
+python-hatch-vcs:
+python-hatch-vcs:
+python-hatch-vcs:
+python-hatch-vcs:
+python-hatch-vcs:
diff --git a/source/l/python-urllib3/python-urllib3.SlackBuild b/source/l/python-urllib3/python-urllib3.SlackBuild
index f1848a343..13fcd1a7f 100755
--- a/source/l/python-urllib3/python-urllib3.SlackBuild
+++ b/source/l/python-urllib3/python-urllib3.SlackBuild
@@ -31,7 +31,7 @@ SRCNAM=urllib3
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i586 ;;
+ i?86) ARCH=i686 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
diff --git a/source/l/python-urllib3/urllib3.url b/source/l/python-urllib3/urllib3.url
index ad87d82bf..c00db1afc 100644
--- a/source/l/python-urllib3/urllib3.url
+++ b/source/l/python-urllib3/urllib3.url
@@ -1 +1 @@
-https://github.com/shazow/urllib3
+https://pypi.org/project/urllib3