diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2015-06-07 13:50:48 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-06-07 22:10:02 +0700 |
commit | 0078e5d80caf30c72b7a4034bb1f58f5b3120bf9 (patch) | |
tree | fc252ff7be9b0a74df7f37834eccd71c5e67a9c8 | |
parent | 08a21299fd2962ba9b8e4e920c2f98fb4e4f7b57 (diff) | |
download | slackbuilds-0078e5d80caf30c72b7a4034bb1f58f5b3120bf9.tar.gz |
system/redis: Updated for version 3.0.2.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
-rw-r--r-- | system/redis/doinst.sh | 1 | ||||
-rw-r--r-- | system/redis/redis.SlackBuild | 15 | ||||
-rw-r--r-- | system/redis/redis.info | 6 |
3 files changed, 7 insertions, 15 deletions
diff --git a/system/redis/doinst.sh b/system/redis/doinst.sh index 27ee4d0acc..9e57d26a6f 100644 --- a/system/redis/doinst.sh +++ b/system/redis/doinst.sh @@ -23,5 +23,6 @@ preserve_perms() { } config etc/redis/redis.conf.new +config etc/redis/sentinel.conf.new config etc/logrotate.d/redis.new preserve_perms etc/rc.d/rc.redis.new diff --git a/system/redis/redis.SlackBuild b/system/redis/redis.SlackBuild index e524d3488b..8af4397f7d 100644 --- a/system/redis/redis.SlackBuild +++ b/system/redis/redis.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=redis -VERSION=${VERSION:-2.8.19} +VERSION=${VERSION:-3.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -76,17 +76,7 @@ sed -i "s|-O3||" deps/Makefile deps/hiredis/Makefile # No ./configure necessary. # http://lists.slackbuilds.org/pipermail/slackbuilds-users/2013-January/010042.html ( unset ARCH ; CFLAGS="$SLKCFLAGS" make ) - -# Install binaries. -mkdir -p $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 ) +make install PREFIX=$PKG/usr find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -99,6 +89,7 @@ sed -i \ -e 's|^logfile ""|logfile /var/log/redis/redis.log|' \ -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 # Create data directory. mkdir -p $PKG/var/lib/redis diff --git a/system/redis/redis.info b/system/redis/redis.info index 2742e95472..0eff44555f 100644 --- a/system/redis/redis.info +++ b/system/redis/redis.info @@ -1,8 +1,8 @@ PRGNAM="redis" -VERSION="2.8.19" +VERSION="3.0.2" HOMEPAGE="http://redis.io/" -DOWNLOAD="http://download.redis.io/releases/redis-2.8.19.tar.gz" -MD5SUM="3794107224043465603f48941f5c86a7" +DOWNLOAD="http://download.redis.io/releases/redis-3.0.2.tar.gz" +MD5SUM="87be8867447f62524b584813e5a7bd14" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |