From owner-svn-ports-all@FreeBSD.ORG Mon Jun 2 01:42:12 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3500E3F; Mon, 2 Jun 2014 01:42:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 958F127CB; Mon, 2 Jun 2014 01:42:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s521gCU4003164; Mon, 2 Jun 2014 01:42:12 GMT (envelope-from osa@svn.freebsd.org) Received: (from osa@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s521gB7O003159; Mon, 2 Jun 2014 01:42:11 GMT (envelope-from osa@svn.freebsd.org) Message-Id: <201406020142.s521gB7O003159@svn.freebsd.org> From: "Sergey A. Osokin" Date: Mon, 2 Jun 2014 01:42:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356190 - in head/databases/redis-devel: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 01:42:12 -0000 Author: osa Date: Mon Jun 2 01:42:11 2014 New Revision: 356190 URL: http://svnweb.freebsd.org/changeset/ports/356190 QAT: https://qat.redports.org/buildarchive/r356190/ Log: Upgrade from 3.0.0-beta2 to 3.0.0-beta5. Fix lua/luajit-specific extra patches. Stagefy. --[ Redis 3.0.0 Beta 5 (version 2.9.54) ] Release date: 26 may 2014 This is the 5th beta of Redis 3.0.0. It does not include any real worthwhile change (just three days passed since the previous beta), but fixes two stupid bugs preventing cluster tests to pass. --[ Redis 3.0.0 Beta 4 (version 2.9.53) ] Release date: 23 may 2014 This is the fourth beta of Redis 3.0.0. >> General changes * [NEW] Scripting engine performances improvements. * [NEW] Log format slightly changed to report current node role. * [FIX] Correct the HyperLogLog stale cache flag to prevent unnecessary computation. >> Cluster changes * [NEW] redis-trib: ability to import data from standalone Redis instances. * [NEW] redis-trib: "fix" subcommand much better at fixing errors. * [NEW] CLUSTER FAILOVER FORCE implemented. * [NEW] CLUSTER RESET implemented, it is now possible to completely reset nodes and create a new cluster without restarting anything. * [NEW] Slave validity factor (max estimated data age to still failover) is now under the control of the user, and can be configured via redis.conf or CONFIG SET. Option name cluster-slave-validity-factor. * [NEW] Cluster test: failure detection and failover initial tests. * [NEW] CLUSTER MEET: better error messages when address is invalid. * [NEW] Bulk-accept new Cluster nodes in the Cluster bus instead of performing just a single accept() per event fired. * [FIX] Bypass data_age check for manual failovers. * [FIX] Fixed data_age computation / check integer overflow. * [FIX] Various fixes to Tcl client.tcl Redis Cluster client used in tests. * [FIX] Better handling of stolen slots. * [FIX] Don't accept cluster bus connections during startup. >> Sentinel changes * [NEW] Generate +config-update-from event when a new config is received. * [NEW] Log when a failover will be re-attempted again. * [FIX] Sentinel: Add "dir /tmp" directive in example sentinel.conf. --[ Redis 3.0.0 Beta 3 (version 2.9.52) ] Release date: 5 may 2014 This is the third beta of Redis 3.0.0. >> General changes * [NEW] New data structure: the HyperLogLog (see 2.8 release notes). * [NEW] Lexicograhical range queries in sorted sets (see 2.8 release notes). * [NEW] LRU algorithm precision greatly improved. * [FIX] Redis is now much more responsive to reply with LOADING / BUSY errors. >> Cluster changes * [NEW] Cluster testing framework and initial tests. * [NEW] Cluster epochs collision resolution (make Redis Cluster more resilient to admin and programming errors). * [NEW] Persist / fsync some global state to ensure correct crash-recovery semantics. * [NEW] New command introduced: CLUSTER SET-CONFIG-EPOCH, still not used by redis-trib. Will be used to speedup the assignment of unique epochs to different nodes at cluster creation time. For now this is handled as a side effect of the cluster epochs collision resolution. * [FIX] Different fixes to redis-trib cluster creation. * [FIX] Fix an error in the CLUSTER NODES output for nodes slots. >> Sentinel changes * [NEW] Sentinels are now able to send update messages in a peer-to-peer fashion even if no Redis instances are available. Now the Sentinel liveness property that the most updated configuration in a given partition is propagated to all the Sentinels is extended to partitions without reachable instances. * [NEW] Sentinel safety properties are now ensured in a crash-recovery system model since some state is persisted on disk before replying to other nodes, and reloaded at startup. * [NEW] Sentinel now uses CLIENT SETNAME so that it is easy to identify Sentinels using CLIENT LIST among other clients. * [NEW] Sentinel failure detection and reconnection code improved. Modified: head/databases/redis-devel/Makefile head/databases/redis-devel/distinfo head/databases/redis-devel/files/extra-patch-src-Makefile.lua head/databases/redis-devel/files/extra-patch-src-Makefile.luajit Modified: head/databases/redis-devel/Makefile ============================================================================== --- head/databases/redis-devel/Makefile Mon Jun 2 00:46:52 2014 (r356189) +++ head/databases/redis-devel/Makefile Mon Jun 2 01:42:11 2014 (r356190) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= redis -DISTVERSION= 3.0.0-beta2 +DISTVERSION= 3.0.0-beta5 CATEGORIES= databases MASTER_SITES= https://github.com/antirez/redis/archive/ PKGNAMESUFFIX= -devel @@ -12,7 +12,7 @@ DIST_SUBDIR= ${PORTNAME} MAINTAINER= osa@FreeBSD.org COMMENT= A persistent key-value database with built-in net interface -LICENSE= BSD +LICENSE= BSD3CLAUSE LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo @@ -26,7 +26,6 @@ TESTS_DESC= Install lang/tcl for redis u FETCH_ARGS= -Fpr WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} -NO_STAGE= yes .include .if ${PORT_OPTIONS:MLUA} @@ -90,14 +89,9 @@ post-build: ${WRKSRC}/redis.conf > ${WRKDIR}/redis.conf do-install: - ${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKSRC}/src/!} ${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKDIR}/redis.conf ${PREFIX}/etc/redis.conf.sample - ${INSTALL_DATA} ${WRKSRC}/sentinel.conf ${PREFIX}/etc/sentinel.conf.sample - -post-install: -.for d in ${REDIS_LOGDIR} ${REDIS_RUNDIR} ${REDIS_DBDIR} - [ -d ${d} ] || ${MKDIR} ${d} && ${CHOWN} ${USERS}:${GROUPS} ${d} -.endfor + ${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKSRC}/src/!} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKDIR}/redis.conf ${STAGEDIR}${PREFIX}/etc/redis.conf.sample + ${INSTALL_DATA} ${WRKSRC}/sentinel.conf ${STAGEDIR}${PREFIX}/etc/sentinel.conf.sample regression-test: build @cd ${WRKSRC} && ${TCLSH} tests/test_helper.tcl Modified: head/databases/redis-devel/distinfo ============================================================================== --- head/databases/redis-devel/distinfo Mon Jun 2 00:46:52 2014 (r356189) +++ head/databases/redis-devel/distinfo Mon Jun 2 01:42:11 2014 (r356190) @@ -1,2 +1,2 @@ -SHA256 (redis/3.0.0-beta2.tar.gz) = 5540bd49ad66639c4e80cb21c3c8a00004cba5fb15be897bb81d88b809b88bf3 -SIZE (redis/3.0.0-beta2.tar.gz) = 1134097 +SHA256 (redis/3.0.0-beta5.tar.gz) = a4819d1fa49c5b8079839e171332765184ed81f9e35d7af5e3137c2250a9d1ac +SIZE (redis/3.0.0-beta5.tar.gz) = 1191542 Modified: head/databases/redis-devel/files/extra-patch-src-Makefile.lua ============================================================================== --- head/databases/redis-devel/files/extra-patch-src-Makefile.lua Mon Jun 2 00:46:52 2014 (r356189) +++ head/databases/redis-devel/files/extra-patch-src-Makefile.lua Mon Jun 2 01:42:11 2014 (r356190) @@ -1,5 +1,5 @@ ---- src/Makefile.orig 2013-08-13 15:52:22.000000000 +0400 -+++ src/Makefile 2013-08-13 15:54:55.000000000 +0400 +--- src/Makefile.orig 2014-05-26 20:06:48.000000000 +0400 ++++ src/Makefile 2014-06-02 00:19:36.000000000 +0400 @@ -15,7 +15,7 @@ release_hdr := $(shell sh -c './mkreleasehdr.sh') uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') @@ -18,7 +18,7 @@ FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG) FINAL_LIBS=-lm DEBUG=-g -ggdb -@@ -85,6 +85,9 @@ +@@ -88,6 +88,9 @@ FINAL_LIBS+= ../deps/jemalloc/lib/libjemalloc.a -ldl endif @@ -28,15 +28,15 @@ REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS) REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS) REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL) -@@ -105,6 +108,7 @@ +@@ -108,6 +111,7 @@ REDIS_SERVER_NAME=redis-server REDIS_SENTINEL_NAME=redis-sentinel - REDIS_SERVER_OBJ=adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o migrate.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crc64.o bitops.o sentinel.o notify.o setproctitle.o -+REDIS_SERVER_OBJ+= lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o + REDIS_SERVER_OBJ=adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o cluster.o crc16.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crc64.o bitops.o sentinel.o notify.o setproctitle.o blocked.o hyperloglog.o ++REDIS_SERVER_OBJ+=lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o REDIS_CLI_NAME=redis-cli REDIS_CLI_OBJ=anet.o sds.o adlist.o redis-cli.o zmalloc.o release.o anet.o ae.o crc64.o REDIS_BENCHMARK_NAME=redis-benchmark -@@ -159,7 +163,7 @@ +@@ -162,7 +166,7 @@ # redis-server $(REDIS_SERVER_NAME): $(REDIS_SERVER_OBJ) Modified: head/databases/redis-devel/files/extra-patch-src-Makefile.luajit ============================================================================== --- head/databases/redis-devel/files/extra-patch-src-Makefile.luajit Mon Jun 2 00:46:52 2014 (r356189) +++ head/databases/redis-devel/files/extra-patch-src-Makefile.luajit Mon Jun 2 01:42:11 2014 (r356190) @@ -1,5 +1,5 @@ ---- src/Makefile.orig 2013-08-13 15:52:22.000000000 +0400 -+++ src/Makefile 2013-08-13 15:54:55.000000000 +0400 +--- src/Makefile.orig 2014-05-26 20:06:48.000000000 +0400 ++++ src/Makefile 2014-06-02 00:16:02.000000000 +0400 @@ -15,7 +15,7 @@ release_hdr := $(shell sh -c './mkreleasehdr.sh') uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') @@ -18,7 +18,7 @@ FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG) FINAL_LIBS=-lm DEBUG=-g -ggdb -@@ -85,6 +85,9 @@ +@@ -88,6 +88,9 @@ FINAL_LIBS+= ../deps/jemalloc/lib/libjemalloc.a -ldl endif @@ -28,15 +28,15 @@ REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS) REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS) REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL) -@@ -105,6 +108,7 @@ +@@ -108,6 +111,7 @@ REDIS_SERVER_NAME=redis-server REDIS_SENTINEL_NAME=redis-sentinel - REDIS_SERVER_OBJ=adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o migrate.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crc64.o bitops.o sentinel.o notify.o setproctitle.o -+REDIS_SERVER_OBJ+= lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o + REDIS_SERVER_OBJ=adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o cluster.o crc16.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crc64.o bitops.o sentinel.o notify.o setproctitle.o blocked.o hyperloglog.o ++REDIS_SERVER_OBJ+=lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o REDIS_CLI_NAME=redis-cli REDIS_CLI_OBJ=anet.o sds.o adlist.o redis-cli.o zmalloc.o release.o anet.o ae.o crc64.o REDIS_BENCHMARK_NAME=redis-benchmark -@@ -159,7 +163,7 @@ +@@ -162,7 +166,7 @@ # redis-server $(REDIS_SERVER_NAME): $(REDIS_SERVER_OBJ)