summaryrefslogtreecommitdiffstats
path: root/php-redis
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-03-27 12:10:06 +0000
committer Eric Hameleers <alien@slackware.com>2023-03-27 12:10:06 +0000
commitddcb56164e2072603942b8564447eb2982dc6f88 (patch)
tree5b273f4737ef1ca5111bf53aa2dd50b3dbc4baf1 /php-redis
parent80082e8d105b88cc8fc9e33046a271d29050a4bf (diff)
downloadasb-ddcb56164e2072603942b8564447eb2982dc6f88.tar.gz
asb-ddcb56164e2072603942b8564447eb2982dc6f88.tar.xz
php-redis: update to 5.3.7
Diffstat (limited to 'php-redis')
-rwxr-xr-xphp-redis/build/php-redis.SlackBuild15
-rw-r--r--php-redis/build/slack-desc24
2 files changed, 21 insertions, 18 deletions
diff --git a/php-redis/build/php-redis.SlackBuild b/php-redis/build/php-redis.SlackBuild
index b8c7119c..145bdf04 100755
--- a/php-redis/build/php-redis.SlackBuild
+++ b/php-redis/build/php-redis.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# $Id$
# Copyright 2012-2018 Ebben Aries <e@dscp.org>
-# Copyright 2022 Eric Hameleers, Eindhoven, NL
+# Copyright 2022, 2023 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -34,6 +34,8 @@
# Changelog:
# 5.3.6-1: 24/jan/2022 by Eric Hameleers <alien@slackware.com>
# * Initial build.
+# 5.3.7-1: 27/mar/2023 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh php-redis.SlackBuild' to build a Slackware package.
# The package (.t?z) and .txt file as well as build logs are created in /tmp .
@@ -41,9 +43,9 @@
#
# -----------------------------------------------------------------------------
-PRGNAM=php-redis
+PRGNAM=${PRGNAM:-"php-redis"}
SRCNAM=redis
-VERSION=${VERSION:-5.3.6}
+VERSION=${VERSION:-5.3.7}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(nproc) "}
TAG=${TAG:-alien}
@@ -58,8 +60,8 @@ TMP=${TMP:-/tmp/build}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tgz"
-SRCURL="https://pecl.php.net/get/redis-${VERSION}.tgz"
+SOURCE="$SRCDIR/${SRCNAM}-${VERSION}.tgz"
+SRCURL="https://pecl.php.net/get/${SRCNAM}-${VERSION}.tgz"
##
## --- with a little luck, you won't have to edit below this point --- ##
@@ -243,7 +245,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
# Add a package description:
mkdir -p $PKG/install
-cat $SRCDIR/slack-desc > $PKG/install/slack-desc
+cat $SRCDIR/slack-desc | sed -e "s/^${SRCNAM}/${PRGNAM}/" \
+ > $PKG/install/slack-desc
cat $SRCDIR/slack-required > $PKG/install/slack-required
# Build the package:
diff --git a/php-redis/build/slack-desc b/php-redis/build/slack-desc
index e9af9cdf..4bcba417 100644
--- a/php-redis/build/slack-desc
+++ b/php-redis/build/slack-desc
@@ -5,15 +5,15 @@
# 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------------------------------------------------------|
-php-redis: php-redis (PHP extension for redis memory cache)
-php-redis:
-php-redis: php-redis is a PHP extension for interfacing with Redis.
-php-redis:
-php-redis:
-php-redis:
-php-redis:
-php-redis:
-php-redis:
-php-redis: See also: https://github.com/phpredis/phpredis/
-php-redis:
+ |-----handy-ruler------------------------------------------------------|
+redis: php-redis (PHP extension for redis memory cache)
+redis:
+redis: php-redis is a PHP extension for interfacing with Redis.
+redis:
+redis:
+redis:
+redis:
+redis:
+redis:
+redis: See also: https://github.com/phpredis/phpredis/
+redis: