diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2016-08-03 20:28:45 +0300 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-08-05 18:10:47 +0100 |
commit | 0799e08a7cd1912015a3ae98317bba8ddfb9ae2f (patch) | |
tree | 5eacfd49dd30872cd25a9679fd4faac4884024d9 /system/redis/redis.SlackBuild | |
parent | 74c9f40dd305b0b34ca437135f86f9b9c8540e63 (diff) |
system/redis: Updated for version 3.2.3.
Thanks to Marcin Szychowski.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'system/redis/redis.SlackBuild')
-rw-r--r-- | system/redis/redis.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/system/redis/redis.SlackBuild b/system/redis/redis.SlackBuild index c6370a6d70602..eefd140eeecc9 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 |