aboutsummaryrefslogtreecommitdiff
path: root/php83
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-11-20 01:01:58 +0100
committerEugen Wissner <belka@caraus.de>2026-11-20 01:01:58 +0100
commitfadec050b0e561dfa497d72561a13d36f8610b60 (patch)
tree9bba39fd08a4b7420d618c09fc0533b2528fcac2 /php83
parentb657b34703f65ca3b9a9bbb90c2adf57e9fc7b80 (diff)
downloadslackbuilds-fadec050b0e561dfa497d72561a13d36f8610b60.tar.gz
php83: Updated for version 8.3.37HEADmaster
Diffstat (limited to 'php83')
-rw-r--r--php83/php83.SlackBuild22
-rw-r--r--php83/php83.info6
2 files changed, 12 insertions, 16 deletions
diff --git a/php83/php83.SlackBuild b/php83/php83.SlackBuild
index eb4be72..b99009b 100644
--- a/php83/php83.SlackBuild
+++ b/php83/php83.SlackBuild
@@ -28,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=php83
-VERSION=${VERSION:-8.3.33}
+VERSION=${VERSION:-8.3.37}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -43,9 +43,6 @@ if [ -z "$ARCH" ]; then
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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -75,18 +72,16 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf php-$VERSION
-tar xvf $CWD/php-$VERSION.tar.xz
+tar xvf $CWD/php-$VERSION.tar.xz --no-same-owner
cd php-$VERSION
chown -R root:root .
# Sometimes they ship a few of these:
find . -name "*.orig" -delete
-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 {} \;
+find . ! -type l -a \( \
+ \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \
+ \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \) \)
sed -i "s|build$|php/${VERSION_SUFFIX}/build|" scripts/Makefile.frag
sed -i "s|build\"$|php/${VERSION_SUFFIX}/build\"|" scripts/phpize.in
@@ -211,11 +206,12 @@ rm -r $PKG/usr/share/fpm $PKG/usr/bin/pear $PKG/usr/bin/peardev
mv $PKG/usr/bin/pecl $PKG/usr/bin/pecl-${VERSION_SUFFIX}
install -m 644 php.ini-development php.ini-production $PKG/etc/php/${VERSION_SUFFIX}/
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
cp -a \
CODING_STANDARDS* CONTRIBUTING* EXTENSIONS* LICENSE* NEWS* README* UPGRADING* \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+ $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/php83/php83.info b/php83/php83.info
index ca7721d..88dc828 100644
--- a/php83/php83.info
+++ b/php83/php83.info
@@ -1,8 +1,8 @@
PRGNAM="php83"
-VERSION="8.3.33"
+VERSION="8.3.37"
HOMEPAGE="https://www.php.net/"
-DOWNLOAD="https://www.php.net/distributions/php-8.3.33.tar.xz"
-MD5SUM="04369f89d610200722cc22f0bfd25f86"
+DOWNLOAD="https://www.php.net/distributions/php-8.3.37.tar.xz"
+MD5SUM="6aca3334fc66c51dd3d9aea5e9ea83a8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="postgresql18"