diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/redis/redis.SlackBuild | 16 | ||||
-rw-r--r-- | system/redis/redis.info | 6 |
2 files changed, 15 insertions, 7 deletions
diff --git a/system/redis/redis.SlackBuild b/system/redis/redis.SlackBuild index bd4c9292d0785..9196350be687d 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 Audrius Kažukauskas <audrius@neutrino.lt> +# Copyright 2012-2013 Audrius Kažukauskas <audrius@neutrino.lt> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=redis -VERSION=${VERSION:-2.6.5} +VERSION=${VERSION:-2.6.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -66,12 +66,20 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Use our CFLAGS. +sed -i "s|-O3||" deps/Makefile deps/hiredis/Makefile + # No ./configure necessary. -CFLAGS="$SLKCFLAGS" make +# http://lists.slackbuilds.org/pipermail/slackbuilds-users/2013-January/010042.html +( unset ARCH ; CFLAGS="$SLKCFLAGS" make ) # Install binaries. mkdir -p $PKG/usr/bin -install -m 0755 src/redis-{server,cli,benchmark,check-{aof,dump}} $PKG/usr/bin +( cd src + install -m 0755 \ + redis-server redis-cli redis-benchmark redis-check-aof redis-check-dump \ + $PKG/usr/bin +) # Create symlink to start redis in sentinel mode. ( cd $PKG/usr/bin ; ln -sf redis-server redis-sentinel ) diff --git a/system/redis/redis.info b/system/redis/redis.info index 7b93cd2e68a1d..f4a2a9ef68e5c 100644 --- a/system/redis/redis.info +++ b/system/redis/redis.info @@ -1,8 +1,8 @@ PRGNAM="redis" -VERSION="2.6.5" +VERSION="2.6.9" HOMEPAGE="http://redis.io/" -DOWNLOAD="http://redis.googlecode.com/files/redis-2.6.5.tar.gz" -MD5SUM="ce52e1716ca215f38e88fd861e951e3e" +DOWNLOAD="http://redis.googlecode.com/files/redis-2.6.9.tar.gz" +MD5SUM="5093fb7c5f763e828c857daf260665bc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |