aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2015-10-26 07:39:49 +0800
committerosa <osa@FreeBSD.org>2015-10-26 07:39:49 +0800
commit678fa44861b178ddd3fe4070c4c4b6323c295071 (patch)
tree4c9a6788536978913a2df4b003e26bc77ee5a245
parentea500dfec42757df0cab0c199d08586859ae87a1 (diff)
downloadfreebsd-ports-gnome-678fa44861b178ddd3fe4070c4c4b6323c295071.tar.gz
freebsd-ports-gnome-678fa44861b178ddd3fe4070c4c4b6323c295071.tar.zst
freebsd-ports-gnome-678fa44861b178ddd3fe4070c4c4b6323c295071.zip
Upgrade from 3.0.4 to 3.0.5.
<ChangeLog> --[ Redis 3.0.5 ] Release date: 15 Oct 2015 Upgrade urgency: MODERATE, the most important thing is a fix in the replication code that may make the slave hanging forever if the master remains with an open socket even if it is no longer able to reply. * [FIX] MOVE now moves the TTL as well. A bug lasting forever... finally fixed thanks to Andy Grunwald that reported it. (reported by Andy Grunwald, fixed by Salvatore Sanfilippo) * [FIX] Fix a false positive in HSTRLEN test. * [FIX] Fix a bug in redis-cli --pipe mode that was not able to read back replies from the server incrementally. Now a mass import will use a lot less memory, and you can use --pipe to do incremental streaming. (reported by Twitter user @fsaintjacques, fixed by Salvatore Sanfilippo) * [FIX] Slave detection of master timeout. (fixed by Kevin McGehee, refactoring and regression test by Salvatore Sanfilippo) * [NEW] Cluster: redis-trib fix can fix an additional case for opens lots. (Salvatore Sanfilippo) * [NEW] Cluster: redis-trib import support for --copy and --replace options (David Thomson) </ChangeLog>
-rw-r--r--databases/redis-devel/Makefile15
-rw-r--r--databases/redis-devel/distinfo4
-rw-r--r--databases/redis-devel/pkg-plist1
-rw-r--r--databases/redis/Makefile15
-rw-r--r--databases/redis/distinfo4
-rw-r--r--databases/redis/pkg-plist1
6 files changed, 32 insertions, 8 deletions
diff --git a/databases/redis-devel/Makefile b/databases/redis-devel/Makefile
index 1fd058f8fc93..f0f046abe991 100644
--- a/databases/redis-devel/Makefile
+++ b/databases/redis-devel/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= redis
-DISTVERSION= 3.0.4
+DISTVERSION= 3.0.5
CATEGORIES= databases
MASTER_SITES= http://download.redis.io/releases/
PKGNAMESUFFIX= -devel
@@ -14,15 +14,23 @@ LICENSE= BSD3CLAUSE
USES= execinfo
-OPTIONS_DEFINE= TESTS
+OPTIONS_DEFINE= TESTS TRIB
OPTIONS_RADIO= EXTLUA
OPTIONS_RADIO_EXTLUA= LUA LUAJIT
+OPTIONS_SUB= yes
LUA_DESC= Use lang/lua instead of builtin lua
LUAJIT_DESC= Use lang/luajit instead of builtin lua
TESTS_DESC= Install lang/tcl for redis unit tests
+TRIB_DESC= Install redis-trib.rb (lang/ruby req.)
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MTRIB}
+CATEGORIES+= ruby
+USE_RUBY= yes
+RUN_DEPENDS= rubygem-redis>=2.2:${PORTSDIR}/databases/rubygem-redis
+.endif
+
.if ${PORT_OPTIONS:MLUA}
USES+= lua:51
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src-Makefile.lua
@@ -86,6 +94,9 @@ post-build:
do-install:
${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKSRC}/src/!} ${STAGEDIR}${PREFIX}/bin/
+.if ${PORT_OPTIONS:MTRIB}
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/redis-trib.rb ${STAGEDIR}${PREFIX}/bin/
+.endif
${INSTALL_DATA} ${WRKDIR}/redis.conf ${STAGEDIR}${PREFIX}/etc/redis.conf.sample
${INSTALL_DATA} ${WRKSRC}/sentinel.conf ${STAGEDIR}${PREFIX}/etc/sentinel.conf.sample
${MKDIR} ${STAGEDIR}${REDIS_LOGDIR} \
diff --git a/databases/redis-devel/distinfo b/databases/redis-devel/distinfo
index fd4795e24053..e06bf196463d 100644
--- a/databases/redis-devel/distinfo
+++ b/databases/redis-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (redis-3.0.4.tar.gz) = a35e90ad581925134aa0fc92e969cc825f5cdee8e13c36a87d4d6995316112cf
-SIZE (redis-3.0.4.tar.gz) = 1364993
+SHA256 (redis-3.0.5.tar.gz) = 4c176826eee909fbdc63db1c15adc22aab42d758043829e556f4331e6a5bd480
+SIZE (redis-3.0.5.tar.gz) = 1366160
diff --git a/databases/redis-devel/pkg-plist b/databases/redis-devel/pkg-plist
index 669df02bf189..adbb8f3a38b7 100644
--- a/databases/redis-devel/pkg-plist
+++ b/databases/redis-devel/pkg-plist
@@ -4,6 +4,7 @@ bin/redis-check-dump
bin/redis-cli
bin/redis-sentinel
bin/redis-server
+%%TRIB%%bin/redis-trib.rb
@sample etc/redis.conf.sample
@sample etc/sentinel.conf.sample
@dir(%%REDIS_USER%%,%%REDIS_GROUP%%,) %%REDIS_DBDIR%%
diff --git a/databases/redis/Makefile b/databases/redis/Makefile
index 0f2ece0e5be7..d9b83328b822 100644
--- a/databases/redis/Makefile
+++ b/databases/redis/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= redis
-DISTVERSION= 3.0.4
+DISTVERSION= 3.0.5
CATEGORIES= databases
MASTER_SITES= http://download.redis.io/releases/
@@ -13,15 +13,23 @@ LICENSE= BSD3CLAUSE
USES= execinfo
-OPTIONS_DEFINE= TESTS
+OPTIONS_DEFINE= TESTS TRIB
OPTIONS_RADIO= EXTLUA
OPTIONS_RADIO_EXTLUA= LUA LUAJIT
+OPTIONS_SUB= yes
LUA_DESC= Use lang/lua instead of builtin lua
LUAJIT_DESC= Use lang/luajit instead of builtin lua
TESTS_DESC= Install lang/tcl for redis unit tests
+TRIB_DESC= Install redis-trib.rb (lang/ruby req.)
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MTRIB}
+CATEGORIES+= ruby
+USE_RUBY= yes
+RUN_DEPENDS= rubygem-redis>=2.2:${PORTSDIR}/databases/rubygem-redis
+.endif
+
.if ${PORT_OPTIONS:MLUA}
USES+= lua:51
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src-Makefile.lua
@@ -85,6 +93,9 @@ post-build:
do-install:
${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKSRC}/src/!} ${STAGEDIR}${PREFIX}/bin/
+.if ${PORT_OPTIONS:MTRIB}
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/redis-trib.rb ${STAGEDIR}${PREFIX}/bin/
+.endif
${INSTALL_DATA} ${WRKDIR}/redis.conf ${STAGEDIR}${PREFIX}/etc/redis.conf.sample
${INSTALL_DATA} ${WRKSRC}/sentinel.conf ${STAGEDIR}${PREFIX}/etc/sentinel.conf.sample
${MKDIR} ${STAGEDIR}${REDIS_LOGDIR} \
diff --git a/databases/redis/distinfo b/databases/redis/distinfo
index fd4795e24053..e06bf196463d 100644
--- a/databases/redis/distinfo
+++ b/databases/redis/distinfo
@@ -1,2 +1,2 @@
-SHA256 (redis-3.0.4.tar.gz) = a35e90ad581925134aa0fc92e969cc825f5cdee8e13c36a87d4d6995316112cf
-SIZE (redis-3.0.4.tar.gz) = 1364993
+SHA256 (redis-3.0.5.tar.gz) = 4c176826eee909fbdc63db1c15adc22aab42d758043829e556f4331e6a5bd480
+SIZE (redis-3.0.5.tar.gz) = 1366160
diff --git a/databases/redis/pkg-plist b/databases/redis/pkg-plist
index 669df02bf189..adbb8f3a38b7 100644
--- a/databases/redis/pkg-plist
+++ b/databases/redis/pkg-plist
@@ -4,6 +4,7 @@ bin/redis-check-dump
bin/redis-cli
bin/redis-sentinel
bin/redis-server
+%%TRIB%%bin/redis-trib.rb
@sample etc/redis.conf.sample
@sample etc/sentinel.conf.sample
@dir(%%REDIS_USER%%,%%REDIS_GROUP%%,) %%REDIS_DBDIR%%