diff options
-rw-r--r-- | system/redis/rc.redis.new | 2 | ||||
-rw-r--r-- | system/redis/redis.SlackBuild | 14 | ||||
-rw-r--r-- | system/redis/redis.info | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/system/redis/rc.redis.new b/system/redis/rc.redis.new index b7d715f4ba06..0d4b1b03122f 100644 --- a/system/redis/rc.redis.new +++ b/system/redis/rc.redis.new @@ -5,7 +5,7 @@ PORT=6379 SERV=/usr/bin/redis-server CLI=/usr/bin/redis-cli -PIDFILE=/var/run/redis.pid +PIDFILE=/var/run/redis_${PORT}.pid CONF=/etc/redis/redis.conf redis_start() { diff --git a/system/redis/redis.SlackBuild b/system/redis/redis.SlackBuild index c6370a6d7060..eefd140eeecc 100644 --- a/system/redis/redis.SlackBuild +++ b/system/redis/redis.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for redis # Copyright 2010 Kuroi Kenshi <kuroi_kenshi96@yahoo.com> -# Copyright 2012-2015 Audrius Kažukauskas <audrius@neutrino.lt> +# Copyright 2012-2016 Audrius Kažukauskas <audrius@neutrino.lt> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=redis -VERSION=${VERSION:-3.0.4} +VERSION=${VERSION:-3.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -87,7 +87,7 @@ sed -i \ -e 's|^daemonize no|daemonize yes|' \ -e 's|^dir \.|dir /var/lib/redis|' \ -e 's|^logfile ""|logfile /var/log/redis/redis.log|' \ - -e 's|^# bind 127.0.0.1|bind 127.0.0.1|' \ + -e 's|^# bind 127.0.0.1$|bind 127.0.0.1|' \ $PKG/etc/redis/redis.conf.new install -D -m 0644 sentinel.conf $PKG/etc/redis/sentinel.conf.new @@ -108,7 +108,7 @@ cat $CWD/redis.logrotate > $PKG/etc/logrotate.d/redis.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - 00-RELEASENOTES BUGS CONTRIBUTING COPYING README \ + 00-RELEASENOTES BUGS CONTRIBUTING COPYING MANIFESTO README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/system/redis/redis.info b/system/redis/redis.info index e64c1b8c7810..1fdc6da16ba0 100644 --- a/system/redis/redis.info +++ b/system/redis/redis.info @@ -1,8 +1,8 @@ PRGNAM="redis" -VERSION="3.0.4" +VERSION="3.2.3" HOMEPAGE="http://redis.io/" -DOWNLOAD="http://download.redis.io/releases/redis-3.0.4.tar.gz" -MD5SUM="9e535dea3dc5301de012047bf3cca952" +DOWNLOAD="http://download.redis.io/releases/redis-3.2.3.tar.gz" +MD5SUM="138209b54dfc9819e6aea7b9503f8bd3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |