[151930] trunk/dports/databases/redis
ryandesign at macports.org
ryandesign at macports.org
Tue Aug 23 22:48:42 PDT 2016
Revision: 151930
https://trac.macports.org/changeset/151930
Author: ryandesign at macports.org
Date: 2016-08-23 22:48:42 -0700 (Tue, 23 Aug 2016)
Log Message:
-----------
redis: update to 3.2.3 (#51337)
Modified Paths:
--------------
trunk/dports/databases/redis/Portfile
trunk/dports/databases/redis/files/patch-redis.conf.diff
Modified: trunk/dports/databases/redis/Portfile
===================================================================
--- trunk/dports/databases/redis/Portfile 2016-08-24 05:29:28 UTC (rev 151929)
+++ trunk/dports/databases/redis/Portfile 2016-08-24 05:48:42 UTC (rev 151930)
@@ -4,7 +4,7 @@
PortSystem 1.0
name redis
-version 3.0.7
+version 3.2.3
categories databases
platforms darwin
license BSD
@@ -17,8 +17,8 @@
homepage http://redis.io/
master_sites http://download.redis.io/releases/
-checksums rmd160 595762ed65acf7d4593ae28707d2fcfc438cc35a \
- sha256 b2a791c4ea3bb7268795c45c6321ea5abcc24457178373e6a6e3be6372737f23
+checksums rmd160 ad82033f72e24458c9cf1cbb28996b2b7e173365 \
+ sha256 674e9c38472e96491b7d4f7b42c38b71b5acbca945856e209cb428fbc6135f15
patchfiles patch-redis.conf.diff
@@ -28,7 +28,8 @@
use_configure no
-variant universal {}
+# configure: error: C preprocessor "/lib/cpp" fails sanity check
+#variant universal {}
build.args-append CC="${configure.cc} [get_canonical_archflags cc]"
@@ -45,10 +46,14 @@
xinstall -m 0755 -W ${worksrcpath}/src \
redis-benchmark \
redis-check-aof \
- redis-check-dump \
+ redis-check-rdb \
redis-cli \
redis-server \
${destroot}${prefix}/bin
+
+ ln -s redis-server \
+ ${destroot}${prefix}/bin/redis-sentinel
+
xinstall -m 0644 ${worksrcpath}/redis.conf \
${destroot}${prefix}/etc/redis.conf.sample
}
Modified: trunk/dports/databases/redis/files/patch-redis.conf.diff
===================================================================
--- trunk/dports/databases/redis/files/patch-redis.conf.diff 2016-08-24 05:29:28 UTC (rev 151929)
+++ trunk/dports/databases/redis/files/patch-redis.conf.diff 2016-08-24 05:48:42 UTC (rev 151930)
@@ -1,15 +1,15 @@
---- redis.conf.orig 2016-01-25 06:57:52.000000000 -0800
-+++ redis.conf 2016-02-12 05:53:18.000000000 -0800
-@@ -43,7 +43,7 @@
+--- redis.conf.orig 2016-08-02 04:00:29.000000000 -0500
++++ redis.conf 2016-08-24 00:41:00.000000000 -0500
+@@ -147,7 +147,7 @@
+ #
+ # Creating a pid file is best effort: if Redis is not able to create it
+ # nothing bad happens, the server will start and run normally.
+-pidfile /var/run/redis_6379.pid
++pidfile @PREFIX@/var/run/redis_6379.pid
- # When running daemonized, Redis writes a pid file in /var/run/redis.pid by
- # default. You can specify a custom pid file location here.
--pidfile /var/run/redis.pid
-+pidfile @PREFIX@/var/run/redis.pid
-
- # Accept connections on the specified port, default is 6379.
- # If port 0 is specified Redis will not listen on a TCP socket.
-@@ -105,7 +105,7 @@
+ # Specify the server verbosity level.
+ # This can be one of:
+@@ -160,7 +160,7 @@
# Specify the log file name. Also the empty string can be used to force
# Redis to log on the standard output. Note that if you use standard
# output for logging but daemonize, logs will be sent to /dev/null
@@ -18,12 +18,12 @@
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
# and optionally update the other syslog parameters to suit your needs.
-@@ -189,7 +189,7 @@
+@@ -244,7 +244,7 @@
# The Append Only File will also be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
-dir ./
-+dir @PREFIX@/var/db/redis/
++dir @PREFIX@/var/db/redis
################################# REPLICATION #################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160823/f58faa8a/attachment.html>
More information about the macports-changes
mailing list