aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2013-02-10 10:26:16 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-02-13 19:33:46 -0500
commitd4355726d10c51c4670c0566d9cf37a780220de2 (patch)
tree60650b02964a3332eea0f06ec5111c8bd255b431
parent1035fa1d2296492712891ad4760879abb0c8fc8f (diff)
system/redis: Updated for version 2.6.9.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--system/redis/redis.SlackBuild16
-rw-r--r--system/redis/redis.info6
2 files changed, 15 insertions, 7 deletions
diff --git a/system/redis/redis.SlackBuild b/system/redis/redis.SlackBuild
index bd4c9292d078..9196350be687 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 7b93cd2e68a1..f4a2a9ef68e5 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=""