summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-04-12 19:08:59 +0000
committer Eric Hameleers <alien@slackware.com>2024-04-12 22:01:31 +0200
commitb280795dd541d3d520a83295c4049b32f50df32e (patch)
tree8d80a977fb038a914751d0fbed6a49af17d9f0d6 /source
parent79267f6e54a1227ee4db836d4cf36c100ec8d5b7 (diff)
downloadcurrent-b280795dd541d3d520a83295c4049b32f50df32e.tar.gz
current-b280795dd541d3d520a83295c4049b32f50df32e.tar.xz
Fri Apr 12 19:08:59 UTC 202420240412190859
a/less-653-x86_64-1.txz: Upgraded. d/ninja-1.12.0-x86_64-1.txz: Upgraded. d/valgrind-3.22.0-x86_64-1.txz: Added. Thanks to Kyle Guinn, Peter Wang, and Willy Sudiarto Raharjo. l/netpbm-11.06.01-x86_64-1.txz: Upgraded. n/php-8.3.6-x86_64-1.txz: Upgraded. This update fixes bugs and security issues. For more information, see: https://www.php.net/ChangeLog-8.php#8.3.6 (* Security fix *)
Diffstat (limited to 'source')
-rwxr-xr-xsource/a/less/less.SlackBuild6
-rw-r--r--source/a/less/lesspipe.sh2
-rw-r--r--source/d/valgrind/README19
-rw-r--r--source/d/valgrind/slack-desc19
-rwxr-xr-xsource/d/valgrind/valgrind.SlackBuild144
-rw-r--r--source/d/valgrind/valgrind.url1
-rwxr-xr-xsource/n/php/fetch-php.sh4
7 files changed, 190 insertions, 5 deletions
diff --git a/source/a/less/less.SlackBuild b/source/a/less/less.SlackBuild
index 002899a60..1ea2e2077 100755
--- a/source/a/less/less.SlackBuild
+++ b/source/a/less/less.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2005-2022 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2005-2024 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -74,7 +74,9 @@ tar xvf $CWD/less-$VERSION.tar.?z || exit 1
cd less-$VERSION || exit 1
# Fix path in manpage:
-sed -i "s,/usr/local/etc,/etc,g" less.nro
+if [ -r less.nro ]; then
+ sed -i "s,/usr/local/etc,/etc,g" less.nro
+fi
chown -R root:root .
find . \
diff --git a/source/a/less/lesspipe.sh b/source/a/less/lesspipe.sh
index b5d76d48a..6bc9ff64d 100644
--- a/source/a/less/lesspipe.sh
+++ b/source/a/less/lesspipe.sh
@@ -33,7 +33,7 @@ lesspipe() {
*.tgz | *.tar.gz | *.tar.Z | *.tar.z | *.tar.bz2 | *.tbz ) tar tvvf "$1" 2>/dev/null ;;
*.tlz | *.tar.lz ) lzip -dc "$1" 2> /dev/null | tar tvvf - 2> /dev/null ;;
*.txz | *.tar.xz ) xz -dc "$1" 2> /dev/null | tar tvvf - 2> /dev/null ;;
- *.tzst | *.tar.zst | *.tar.zstd ) tar tvvf "$1" 2> /dev/null ;;
+ *.tzst | *.tzz | *.tar.zst | *.tar.zstd ) tar tvvf "$1" 2> /dev/null ;;
*.zip) unzip -l "$1" 2>/dev/null ;;
*.rpm) rpm -qpvl "$1" 2>/dev/null ;;
*.rar) # check if rar is installed first
diff --git a/source/d/valgrind/README b/source/d/valgrind/README
new file mode 100644
index 000000000..7e4eec341
--- /dev/null
+++ b/source/d/valgrind/README
@@ -0,0 +1,19 @@
+Valgrind is a framework for building dynamic analysis tools. There are
+Valgrind tools that can automatically detect many memory management
+and threading bugs, and profile your programs in detail. You can also
+use Valgrind to build new tools.
+
+The Valgrind distribution currently includes six production-quality
+tools: a memory error detector, two thread error detectors, a cache
+and branch-prediction profiler, a call-graph generating cache and
+branch-prediction profiler, and a heap profiler. It also includes
+three experimental tools: a heap/stack/global array overrun detector,
+a different kind of heap profiler, and a SimPoint basic block vector
+generator. It runs on the following platforms: x86/Linux, AMD64/Linux,
+PPC32/Linux, PPC64/Linux, ARM/Linux, x86/MacOSX and AMD64/MacOSX.
+
+Optional dependency: either mpich or openmpi. If one of these is
+found, valgrind will include the MPI wrapper, which allows using
+valgrind with software that uses the MPI message passing standard.
+Note that only one of mpich or openmpi should be installed, as they
+conflict with each other.
diff --git a/source/d/valgrind/slack-desc b/source/d/valgrind/slack-desc
new file mode 100644
index 000000000..d6c88257b
--- /dev/null
+++ b/source/d/valgrind/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------------------------------------------------------|
+valgrind: valgrind (Valgrind memory debugger)
+valgrind:
+valgrind: Valgrind is an award-winning suite of tools for debugging and
+valgrind: profiling Linux programs. With the tools that come with Valgrind,
+valgrind: you can automatically detect many memory management and threading
+valgrind: bugs, avoiding hours of frustrating bug-hunting, making your
+valgrind: programs more stable. You can also perform detailed profiling,
+valgrind: to speed up and reduce memory use of your programs.
+valgrind:
+valgrind: Homepage: https://www.valgrind.org
+valgrind:
diff --git a/source/d/valgrind/valgrind.SlackBuild b/source/d/valgrind/valgrind.SlackBuild
new file mode 100755
index 000000000..7c850fa27
--- /dev/null
+++ b/source/d/valgrind/valgrind.SlackBuild
@@ -0,0 +1,144 @@
+#!/bin/bash
+
+# Written by Kyle Guinn <elyk03@gmail.com>
+# Updated by Peter Wang <novalazy@gmail.com>
+# Updated by Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2024 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=valgrind
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
+
+# 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 | egrep -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
+ # The valgrind build system already passes -fpic
+ # and forcing -fPIC results in a build failure.
+ SLKCFLAGS="-O2"
+ 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 {} \+
+
+# Configure, build, and install:
+if [ ! -r configure ]; then
+ if [ -x ./autogen.sh ]; then
+ NOCONFIGURE=1 ./autogen.sh
+ else
+ autoreconf -vif
+ fi
+fi
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --docdir=/usr/doc/$PKGNAM-$VERSION \
+ --mandir=/usr/man \
+ --build=$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
+
+# Strip executables, but do NOT strip the shared objects, as recommended by the developers:
+find $PKG | xargs file | grep -e "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
+# Compress manual pages:
+find $PKG/usr/man -type f -exec gzip -9 {} \+
+for i in $( find $PKG/usr/man -type l ) ; do
+ ln -s $( readlink $i ).gz $i.gz
+ rm $i
+done
+
+# Add a documentation directory:
+mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
+cp -a \
+ AUTHORS* COPYING* FAQ* NEWS* README* \
+ $PKG/usr/doc/${PKGNAM}-$VERSION
+mv $PKG/usr/share/doc/valgrind/html $PKG/usr/doc/${PKGNAM}-$VERSION
+
+# The doc directory is the only thing in $PKG/usr/share, and the only things
+# left in it now are pdf and a ps doc files. They are large, so we won't keep
+# them around. If you still want them, uncomment the line below.
+# mv $PKG/usr/share/doc/valgrind/*.{ps,pdf} $PKG/usr/doc/$PKGNAM-$VERSION
+rm -rf $PKG/usr/share
+
+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/d/valgrind/valgrind.url b/source/d/valgrind/valgrind.url
new file mode 100644
index 000000000..51de39c62
--- /dev/null
+++ b/source/d/valgrind/valgrind.url
@@ -0,0 +1 @@
+http://sourceware.org/pub/valgrind
diff --git a/source/n/php/fetch-php.sh b/source/n/php/fetch-php.sh
index a176d5759..aec301cb7 100755
--- a/source/n/php/fetch-php.sh
+++ b/source/n/php/fetch-php.sh
@@ -1,2 +1,2 @@
-lftpget http://us.php.net/distributions/php-8.3.5.tar.xz.asc
-lftpget http://us.php.net/distributions/php-8.3.5.tar.xz
+lftpget http://us.php.net/distributions/php-8.3.6.tar.xz.asc
+lftpget http://us.php.net/distributions/php-8.3.6.tar.xz