Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2019 18:20:53 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518516 - in head/databases/redis-devel: . files
Message-ID:  <201911271820.xARIKrUv033845@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Wed Nov 27 18:20:53 2019
New Revision: 518516
URL: https://svnweb.freebsd.org/changeset/ports/518516

Log:
  Update to the recent development version from the unstable branch.

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
  head/databases/redis-devel/files/patch-deps-hiredis-Makefile
  head/databases/redis-devel/files/patch-redis.conf
  head/databases/redis-devel/files/patch-src-mkreleasehdr.sh

Modified: head/databases/redis-devel/Makefile
==============================================================================
--- head/databases/redis-devel/Makefile	Wed Nov 27 18:18:16 2019	(r518515)
+++ head/databases/redis-devel/Makefile	Wed Nov 27 18:20:53 2019	(r518516)
@@ -2,16 +2,19 @@
 # $FreeBSD$
 
 PORTNAME=	redis
-DISTVERSION=	5.0.7
-PORTREVISION=	1
+PORTVERSION=	6.0.0.20191125
 CATEGORIES=	databases
-MASTER_SITES=	http://download.redis.io/releases/
 PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	osa@FreeBSD.org
 COMMENT=	Persistent key-value database with built-in net interface
 
 LICENSE=	BSD3CLAUSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	antirez
+GH_PROJECT=	${PORTNAME}
+GH_TAGNAME=	a1b6548
 
 OPTIONS_DEFINE=	JEMALLOC TESTS TRIB
 OPTIONS_RADIO=	EXTLUA

Modified: head/databases/redis-devel/distinfo
==============================================================================
--- head/databases/redis-devel/distinfo	Wed Nov 27 18:18:16 2019	(r518515)
+++ head/databases/redis-devel/distinfo	Wed Nov 27 18:20:53 2019	(r518516)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1574364884
-SHA256 (redis-5.0.7.tar.gz) = 61db74eabf6801f057fd24b590232f2f337d422280fd19486eca03be87d3a82b
-SIZE (redis-5.0.7.tar.gz) = 1984203
+TIMESTAMP = 1574869655
+SHA256 (antirez-redis-6.0.0.20191125-a1b6548_GH0.tar.gz) = 33f9e9af6339d7d6aaa583ba8fefc42986a3577cacc63db3750175f88a484f58
+SIZE (antirez-redis-6.0.0.20191125-a1b6548_GH0.tar.gz) = 2164648

Modified: head/databases/redis-devel/files/extra-patch-src-Makefile.lua
==============================================================================
--- head/databases/redis-devel/files/extra-patch-src-Makefile.lua	Wed Nov 27 18:18:16 2019	(r518515)
+++ head/databases/redis-devel/files/extra-patch-src-Makefile.lua	Wed Nov 27 18:20:53 2019	(r518516)
@@ -1,5 +1,5 @@
---- src/Makefile.orig	2018-10-18 18:09:43.930566000 -0400
-+++ src/Makefile	2018-10-18 18:10:32.562125000 -0400
+--- src/Makefile.orig	2019-11-24 18:35:15.366487000 -0500
++++ src/Makefile	2019-11-24 18:36:15.006447000 -0500
 @@ -16,7 +16,7 @@
  uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
  uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
@@ -9,7 +9,7 @@
  NODEPS:=clean distclean
  
  # Default settings
-@@ -63,8 +63,8 @@
+@@ -72,8 +72,8 @@
  # Override default settings if possible
  -include .make-settings
  
@@ -20,7 +20,7 @@
  FINAL_LIBS=-lm
  
  ifeq ($(uname_S),SunOS)
-@@ -112,7 +112,7 @@
+@@ -134,7 +134,7 @@
  endif
  endif
  # Include paths to dependencies
@@ -29,8 +29,8 @@
  
  ifeq ($(MALLOC),tcmalloc)
  	FINAL_CFLAGS+= -DUSE_TCMALLOC
-@@ -130,6 +130,9 @@
- 	FINAL_LIBS := ../deps/jemalloc/lib/libjemalloc.a $(FINAL_LIBS)
+@@ -158,6 +158,9 @@
+     FINAL_LIBS += ../deps/hiredis/libhiredis_ssl.a -lssl -lcrypto
  endif
  
 +FINAL_CFLAGS+=-I${PREFIX}/include/lua51
@@ -39,15 +39,15 @@
  REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)
  REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS)
  REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL)
-@@ -150,6 +153,7 @@
+@@ -178,6 +181,7 @@
  REDIS_SERVER_NAME=redis-server
  REDIS_SENTINEL_NAME=redis-sentinel
- REDIS_SERVER_OBJ=adlist.o quicklist.o ae.o anet.o dict.o server.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 latency.o sparkline.o redis-check-rdb.o redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o localtime.o lolwut.o lolwut5.o
+ REDIS_SERVER_OBJ=adlist.o quicklist.o ae.o anet.o dict.o server.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 latency.o sparkline.o redis-check-rdb.o redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o localtime.o lolwut.o lolwut5.o lolwut6.o acl.o gopher.o tracking.o connection.o tls.o sha256.o
 +REDIS_SERVER_OBJ+=fpconv.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
  REDIS_CLI_NAME=redis-cli
  REDIS_CLI_OBJ=anet.o adlist.o dict.o redis-cli.o zmalloc.o release.o anet.o ae.o crc64.o siphash.o crc16.o
  REDIS_BENCHMARK_NAME=redis-benchmark
-@@ -201,7 +205,7 @@
+@@ -229,7 +233,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	Wed Nov 27 18:18:16 2019	(r518515)
+++ head/databases/redis-devel/files/extra-patch-src-Makefile.luajit	Wed Nov 27 18:20:53 2019	(r518516)
@@ -1,5 +1,5 @@
---- src/Makefile.orig	2018-10-18 18:11:24.649811000 -0400
-+++ src/Makefile	2018-10-18 18:11:35.160523000 -0400
+--- src/Makefile.orig	2019-11-24 18:37:44.530528000 -0500
++++ src/Makefile	2019-11-24 18:38:18.143896000 -0500
 @@ -16,7 +16,7 @@
  uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
  uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
@@ -9,7 +9,7 @@
  NODEPS:=clean distclean
  
  # Default settings
-@@ -63,8 +63,8 @@
+@@ -72,8 +72,8 @@
  # Override default settings if possible
  -include .make-settings
  
@@ -20,7 +20,7 @@
  FINAL_LIBS=-lm
  
  ifeq ($(uname_S),SunOS)
-@@ -112,7 +112,7 @@
+@@ -134,7 +134,7 @@
  endif
  endif
  # Include paths to dependencies
@@ -29,8 +29,8 @@
  
  ifeq ($(MALLOC),tcmalloc)
  	FINAL_CFLAGS+= -DUSE_TCMALLOC
-@@ -130,6 +130,9 @@
- 	FINAL_LIBS := ../deps/jemalloc/lib/libjemalloc.a $(FINAL_LIBS)
+@@ -158,6 +158,9 @@
+     FINAL_LIBS += ../deps/hiredis/libhiredis_ssl.a -lssl -lcrypto
  endif
  
 +FINAL_CFLAGS+=-I${PREFIX}/include/luajit-2.0
@@ -39,15 +39,15 @@
  REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)
  REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS)
  REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL)
-@@ -150,6 +153,7 @@
+@@ -178,6 +181,7 @@
  REDIS_SERVER_NAME=redis-server
  REDIS_SENTINEL_NAME=redis-sentinel
- REDIS_SERVER_OBJ=adlist.o quicklist.o ae.o anet.o dict.o server.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 latency.o sparkline.o redis-check-rdb.o redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o localtime.o lolwut.o lolwut5.o
+ REDIS_SERVER_OBJ=adlist.o quicklist.o ae.o anet.o dict.o server.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 latency.o sparkline.o redis-check-rdb.o redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o localtime.o lolwut.o lolwut5.o lolwut6.o acl.o gopher.o tracking.o connection.o tls.o sha256.o
 +REDIS_SERVER_OBJ+=fpconv.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
  REDIS_CLI_NAME=redis-cli
  REDIS_CLI_OBJ=anet.o adlist.o dict.o redis-cli.o zmalloc.o release.o anet.o ae.o crc64.o siphash.o crc16.o
  REDIS_BENCHMARK_NAME=redis-benchmark
-@@ -201,7 +205,7 @@
+@@ -229,7 +233,7 @@
  
  # redis-server
  $(REDIS_SERVER_NAME): $(REDIS_SERVER_OBJ)

Modified: head/databases/redis-devel/files/patch-deps-hiredis-Makefile
==============================================================================
--- head/databases/redis-devel/files/patch-deps-hiredis-Makefile	Wed Nov 27 18:18:16 2019	(r518515)
+++ head/databases/redis-devel/files/patch-deps-hiredis-Makefile	Wed Nov 27 18:20:53 2019	(r518516)
@@ -1,6 +1,6 @@
---- deps/hiredis/Makefile.orig	2019-09-25 10:40:18 UTC
-+++ deps/hiredis/Makefile
-@@ -15,7 +15,7 @@ HIREDIS_PATCH=$(shell grep HIREDIS_PATCH hiredis.h | a
+--- deps/hiredis/Makefile.orig	2019-11-24 18:44:27.552196000 -0500
++++ deps/hiredis/Makefile	2019-11-24 19:16:28.147610000 -0500
+@@ -21,7 +21,7 @@
  HIREDIS_SONAME=$(shell grep HIREDIS_SONAME hiredis.h | awk '{print $$3}')
  
  # Installation related variables and target
@@ -9,33 +9,32 @@
  INCLUDE_PATH?=include/hiredis
  LIBRARY_PATH?=lib
  PKGCONF_PATH?=pkgconfig
-@@ -38,10 +38,10 @@ export REDIS_TEST_CONFIG
+@@ -44,10 +44,8 @@
  # Fallback to gcc when $CC is not in $PATH.
- CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
- CXX:=$(shell sh -c 'type $(CXX) >/dev/null 2>/dev/null && echo $(CXX) || echo g++')
+ CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
+ CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++')
 -OPTIMIZATION?=-O3
-+#OPTIMIZATION?=-O3
- WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings
+ WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers
 -DEBUG_FLAGS?= -g -ggdb
--REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS) $(ARCH)
-+#DEBUG_FLAGS?= -g -ggdb
+-REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CPPFLAGS) $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS)
 +REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS)
- REAL_LDFLAGS=$(LDFLAGS) $(ARCH)
+ REAL_LDFLAGS=$(LDFLAGS)
  
  DYLIBSUFFIX=so
-@@ -59,6 +59,15 @@ ifeq ($(uname_S),SunOS)
+@@ -82,6 +80,16 @@
+ ifeq ($(uname_S),SunOS)
    REAL_LDFLAGS+= -ldl -lnsl -lsocket
    DYLIB_MAKE_CMD=$(CC) -G -o $(DYLIBNAME) -h $(DYLIB_MINOR_NAME) $(LDFLAGS)
-   INSTALL= cp -r
 +endif
 +ifeq ($(uname_S),FreeBSD)
 +  CFLAGS?=$(CFLAGS)
-+  CCLINK?=-pthread
++  CCLINK?=pthread
 +  LDFLAGS?=-L. -Wl,-rpath,.
 +  DYLIBNAME?=libhiredis.so
 +  DYLIB_MAKE_CMD?=$(CC) -o ${DYLIBNAME} ${OBJ}
 +  STLIBNAME?=libhiredis.a
 +  STLIB_MAKE_CMD?=ar rcs ${STLIBNAME} ${OBJ}
++  SSL_LDFLAGS+=	${OPENSSL_LDFLAGS}
  endif
  ifeq ($(uname_S),Darwin)
    DYLIBSUFFIX=dylib

Modified: head/databases/redis-devel/files/patch-redis.conf
==============================================================================
--- head/databases/redis-devel/files/patch-redis.conf	Wed Nov 27 18:18:16 2019	(r518515)
+++ head/databases/redis-devel/files/patch-redis.conf	Wed Nov 27 18:20:53 2019	(r518516)
@@ -1,6 +1,6 @@
---- redis.conf.orig	2019-09-25 10:40:18 UTC
+--- redis.conf.orig	2019-11-22 16:54:22 UTC
 +++ redis.conf
-@@ -133,7 +133,7 @@ tcp-keepalive 300
+@@ -203,7 +203,7 @@ tcp-keepalive 300
  
  # By default Redis does not run as a daemon. Use 'yes' if you need it.
  # Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
@@ -9,7 +9,7 @@
  
  # If you run Redis from upstart or systemd, Redis can interact with your
  # supervision tree. Options:
-@@ -155,7 +155,7 @@ supervised no
+@@ -225,7 +225,7 @@ supervised no
  #
  # 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.
@@ -18,7 +18,7 @@
  
  # Specify the server verbosity level.
  # This can be one of:
-@@ -168,7 +168,7 @@ loglevel notice
+@@ -238,7 +238,7 @@ loglevel notice
  # 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
@@ -27,7 +27,7 @@
  
  # To enable logging to the system logger, just set 'syslog-enabled' to yes,
  # and optionally update the other syslog parameters to suit your needs.
-@@ -260,7 +260,7 @@ dbfilename dump.rdb
+@@ -330,7 +330,7 @@ dbfilename dump.rdb
  # The Append Only File will also be created inside this directory.
  #
  # Note that you must specify a directory here, not a file name.

Modified: head/databases/redis-devel/files/patch-src-mkreleasehdr.sh
==============================================================================
--- head/databases/redis-devel/files/patch-src-mkreleasehdr.sh	Wed Nov 27 18:18:16 2019	(r518515)
+++ head/databases/redis-devel/files/patch-src-mkreleasehdr.sh	Wed Nov 27 18:20:53 2019	(r518516)
@@ -1,4 +1,4 @@
---- src/mkreleasehdr.sh.orig	2019-09-25 10:40:18 UTC
+--- src/mkreleasehdr.sh.orig	2019-11-22 16:54:22 UTC
 +++ src/mkreleasehdr.sh
 @@ -1,6 +1,6 @@
  #!/bin/sh
@@ -8,4 +8,4 @@
 +GIT_DIRTY="0"
  BUILD_ID=`uname -n`"-"`date +%s`
  if [ -n "$SOURCE_DATE_EPOCH" ]; then
-   BUILD_ID=$(date -u -d "@$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u %s)
+   BUILD_ID=$(date -u -d "@$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u +%s)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911271820.xARIKrUv033845>