diff options
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 c6370a6d70..eefd140eee 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 |