View | Details | Raw Unified | Return to bug 241526 | Differences between
and this patch

Collapse All | Expand All

(-)UPDATING (+14 lines)
Lines 3-12 Link Here
3
they are unavoidable.
3
they are unavoidable.
4
4
5
You should get into the habit of checking this file for changes each time
5
You should get into the habit of checking this file for changes each time
6
you update your ports collection, before attempting any port upgrades.
6
you update your ports collection, before attempting any port upgrades.
7
7
8
20191108:
9
  AFFECTS: users of databases/redis[-devel]
10
  AUTHOR: osa@FreeBSD.org
11
12
  The databases/redis port has been updated to the recent stable release.
13
  Users wanting to stay on v4.x can replace databases/redis with 
14
  databases/redis4 with one of the following commands:
15
16
  # pkg install databases/redis4
17
    or
18
  # portmaster -o databases/redis4 databases/redis
19
    or
20
  # portupgrade -o databases/redis4 databases/redis
21
8
20191103:
22
20191103:
9
  AFFECTS: users of www/node
23
  AFFECTS: users of www/node
10
  AUTHOR: bhughes@FreeBSD.org
24
  AUTHOR: bhughes@FreeBSD.org
11
25
12
  The www/node port has been updated to Node.js v13.0.0, the latest
26
  The www/node port has been updated to Node.js v13.0.0, the latest
(-)databases/Makefile (+1 lines)
Lines 888-897 Link Here
888
    SUBDIR += qt5-sqldrivers-sqlite3
888
    SUBDIR += qt5-sqldrivers-sqlite3
889
    SUBDIR += qt5-sqldrivers-tds
889
    SUBDIR += qt5-sqldrivers-tds
890
    SUBDIR += recutils
890
    SUBDIR += recutils
891
    SUBDIR += redis
891
    SUBDIR += redis
892
    SUBDIR += redis-devel
892
    SUBDIR += redis-devel
893
    SUBDIR += redis4
893
    SUBDIR += redis_exporter
894
    SUBDIR += redis_exporter
894
    SUBDIR += redisdesktopmanager
895
    SUBDIR += redisdesktopmanager
895
    SUBDIR += retcl
896
    SUBDIR += retcl
896
    SUBDIR += riak
897
    SUBDIR += riak
897
    SUBDIR += rocksdb
898
    SUBDIR += rocksdb
(-)databases/p5-AnyEvent-Redis/Makefile (-1 / +1 lines)
Lines 1-11 Link Here
1
# Created by: Anton Berezin <tobez@FreeBSD.org>
1
# Created by: Anton Berezin <tobez@FreeBSD.org>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	AnyEvent-Redis
4
PORTNAME=	AnyEvent-Redis
5
PORTVERSION=	0.24
5
PORTVERSION=	0.24
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	databases perl5
7
CATEGORIES=	databases perl5
8
MASTER_SITES=	CPAN
8
MASTER_SITES=	CPAN
9
MASTER_SITE_SUBDIR=	CPAN:DGL
9
MASTER_SITE_SUBDIR=	CPAN:DGL
10
PKGNAMEPREFIX=	p5-
10
PKGNAMEPREFIX=	p5-
11
11
(-)databases/p5-Redis-Fast/Makefile (+1 lines)
Lines 1-9 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	Redis-Fast
3
PORTNAME=	Redis-Fast
4
PORTVERSION=	0.23
4
PORTVERSION=	0.23
5
PORTREVISION=	1
5
CATEGORIES=	databases perl5
6
CATEGORIES=	databases perl5
6
MASTER_SITES=	CPAN
7
MASTER_SITES=	CPAN
7
PKGNAMEPREFIX=	p5-
8
PKGNAMEPREFIX=	p5-
8
9
9
MAINTAINER=	bokutin@bokut.in
10
MAINTAINER=	bokutin@bokut.in
(-)databases/py-redis/Makefile (+1 lines)
Lines 1-10 Link Here
1
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
1
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	redis
4
PORTNAME=	redis
5
PORTVERSION=	3.2.1
5
PORTVERSION=	3.2.1
6
PORTREVISION=	1
6
CATEGORIES=	databases python
7
CATEGORIES=	databases python
7
MASTER_SITES=	CHEESESHOP
8
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
10
10
MAINTAINER=	koobs@FreeBSD.org
11
MAINTAINER=	koobs@FreeBSD.org
(-)databases/py-redis2/Makefile (+1 lines)
Lines 1-10 Link Here
1
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
1
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	redis
4
PORTNAME=	redis
5
PORTVERSION=	2.10.6
5
PORTVERSION=	2.10.6
6
PORTREVISION=	1
6
CATEGORIES=	databases python
7
CATEGORIES=	databases python
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMESUFFIX=	2
9
PKGNAMESUFFIX=	2
9
10
10
MAINTAINER=	koobs@FreeBSD.org
11
MAINTAINER=	koobs@FreeBSD.org
(-)databases/redis/Makefile (-8 / +21 lines)
Lines 1-36 Link Here
1
# Created by: Sergey Skvortsov <skv@protey.ru>
1
# Created by: Sergey Skvortsov <skv@protey.ru>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	redis
4
PORTNAME=	redis
5
DISTVERSION=	4.0.14
5
PORTVERSION=	5.0.6
6
PORTREVISION=	1
7
CATEGORIES=	databases
6
CATEGORIES=	databases
8
MASTER_SITES=	http://download.redis.io/releases/
7
MASTER_SITES=	http://download.redis.io/releases/
9
8
10
MAINTAINER=	osa@FreeBSD.org
9
MAINTAINER=	osa@FreeBSD.org
11
COMMENT=	Persistent key-value database with built-in net interface
10
COMMENT=	Persistent key-value database with built-in net interface
12
11
13
LICENSE=	BSD3CLAUSE
12
LICENSE=	BSD3CLAUSE
14
13
15
OPTIONS_DEFINE=	TESTS TRIB
14
OPTIONS_DEFINE=	JEMALLOC TESTS TRIB
16
OPTIONS_RADIO=	EXTLUA
15
OPTIONS_RADIO=	EXTLUA
17
OPTIONS_RADIO_EXTLUA=	LUA LUAJIT
16
OPTIONS_RADIO_EXTLUA=	LUA LUAJIT
18
OPTIONS_SUB=	yes
17
OPTIONS_SUB=	yes
18
JEMALLOC_DESC=	Use jemalloc
19
LUA_DESC=	Use lang/lua instead of builtin lua
19
LUA_DESC=	Use lang/lua instead of builtin lua
20
LUAJIT_DESC=	Use lang/luajit instead of builtin lua
20
LUAJIT_DESC=	Use lang/luajit instead of builtin lua
21
TESTS_DESC=	Install lang/tcl for redis unit tests
21
TESTS_DESC=	Install lang/tcl for redis unit tests
22
TRIB_DESC=	Install redis-trib.rb (lang/ruby req.)
22
TRIB_DESC=	Install redis-trib.rb (lang/ruby req.)
23
23
24
USES+=		compiler gmake
25
MAKE_ENV=	"V=yo"
26
24
.include <bsd.port.options.mk>
27
.include <bsd.port.options.mk>
25
28
26
.if ${ARCH} == i386 && ! ${CFLAGS:M-march=*}
29
.if ${ARCH} == i386 && ! ${CFLAGS:M-march=*}
27
# Needed for __atomic_fetch_add_8
30
# Needed for __atomic_fetch_add_8
28
USE_GCC=	yes
31
USE_GCC=	yes
29
CFLAGS+=	-march=i586
32
CFLAGS+=	-march=i586
30
.endif
33
.endif
31
34
35
.if ${PORT_OPTIONS:MJEMALLOC}
36
MAKE_ENV+=	"USE_JEMALLOC=yes"
37
.endif
38
32
.if ${PORT_OPTIONS:MTRIB}
39
.if ${PORT_OPTIONS:MTRIB}
33
CATEGORIES+=	ruby
40
CATEGORIES+=	ruby
34
USE_RUBY=	yes
41
USE_RUBY=	yes
35
RUN_DEPENDS=	rubygem-redis>=2.2:databases/rubygem-redis
42
RUN_DEPENDS=	rubygem-redis>=2.2:databases/rubygem-redis
36
.endif
43
.endif
Lines 54-67 Link Here
54
USES+=		tcl:build
61
USES+=		tcl:build
55
.endif
62
.endif
56
63
57
LDFLAGS+=	-lpthread -lm -lexecinfo
64
LDFLAGS+=	-lpthread -lm -lexecinfo
58
65
59
CONFLICTS?=	redis-devel-5.*
66
CONFLICTS?=	redis4-4.* redis-devel-5.*
60
67
61
USES+=		gmake
62
MAKE_ENV=	"V=yo"
63
USE_RC_SUBR=	redis sentinel
68
USE_RC_SUBR=	redis sentinel
64
BIN_FILES=	redis-benchmark redis-check-aof redis-check-rdb \
69
BIN_FILES=	redis-benchmark redis-check-aof redis-check-rdb \
65
		redis-cli redis-sentinel redis-server
70
		redis-cli redis-sentinel redis-server
66
71
67
USERS=	redis
72
USERS=	redis
Lines 82-95 Link Here
82
	REDIS_GROUP=${GROUPS} \
87
	REDIS_GROUP=${GROUPS} \
83
	REDIS_LOGDIR=${REDIS_LOGDIR} \
88
	REDIS_LOGDIR=${REDIS_LOGDIR} \
84
	REDIS_DBDIR=${REDIS_DBDIR} \
89
	REDIS_DBDIR=${REDIS_DBDIR} \
85
	REDIS_RUNDIR=${REDIS_RUNDIR}
90
	REDIS_RUNDIR=${REDIS_RUNDIR}
86
91
87
.if ${PORT_OPTIONS:MLUAJIT} || ${PORT_OPTIONS:MLUA}
92
.include <bsd.port.pre.mk>
93
88
post-patch:
94
post-patch:
95
.if ${PORT_OPTIONS:MJEMALLOC}
96
	@${REINPLACE_CMD} '35s!Linux!FreeBSD!g' ${WRKSRC}/src/Makefile
97
.endif
98
.if ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MLUAJIT}
89
	@cd ${WRKSRC}/deps/lua/src && ${CP} fpconv.* lua_* strbuf.* ${WRKSRC}/src/
99
	@cd ${WRKSRC}/deps/lua/src && ${CP} fpconv.* lua_* strbuf.* ${WRKSRC}/src/
90
.endif
100
.endif
101
.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
102
	${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/src/lzf_d.c
103
.endif
91
104
92
post-build:
105
post-build:
93
	${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
106
	${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
94
		${WRKSRC}/redis.conf > ${WRKDIR}/redis.conf
107
		${WRKSRC}/redis.conf > ${WRKDIR}/redis.conf
95
108
Lines 105-110 Link Here
105
		${STAGEDIR}${REDIS_RUNDIR}
118
		${STAGEDIR}${REDIS_RUNDIR}
106
119
107
do-test:
120
do-test:
108
	@cd ${WRKSRC} && ${TCLSH} tests/test_helper.tcl
121
	@cd ${WRKSRC} && ${TCLSH} tests/test_helper.tcl
109
122
110
.include <bsd.port.mk>
123
.include <bsd.port.post.mk>
(-)databases/redis/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1553045896
1
TIMESTAMP = 1572268200
2
SHA256 (redis-4.0.14.tar.gz) = 1e1e18420a86cfb285933123b04a82e1ebda20bfb0a289472745a087587e93a7
2
SHA256 (redis-5.0.6.tar.gz) = 6624841267e142c5d5d5be292d705f8fb6070677687c5aad1645421a936d22b3
3
SIZE (redis-4.0.14.tar.gz) = 1740967
3
SIZE (redis-5.0.6.tar.gz) = 1979873
(-)databases/redis/files/extra-patch-src-Makefile.lua (-5 / +5 lines)
Lines 1-7 Link Here
1
--- src/Makefile.orig	2017-08-06 10:42:53.992510000 -0400
1
--- src/Makefile.orig	2018-10-18 18:09:43.930566000 -0400
2
+++ src/Makefile	2017-08-06 10:44:57.344366000 -0400
2
+++ src/Makefile	2018-10-18 18:10:32.562125000 -0400
3
@@ -16,7 +16,7 @@
3
@@ -16,7 +16,7 @@
4
 uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
4
 uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
5
 uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
5
 uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
6
 OPTIMIZATION?=-O2
6
 OPTIMIZATION?=-O2
7
-DEPENDENCY_TARGETS=hiredis linenoise lua
7
-DEPENDENCY_TARGETS=hiredis linenoise lua
Lines 28-38 Link Here
28
+FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise
28
+FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise
29
 
29
 
30
 ifeq ($(MALLOC),tcmalloc)
30
 ifeq ($(MALLOC),tcmalloc)
31
 	FINAL_CFLAGS+= -DUSE_TCMALLOC
31
 	FINAL_CFLAGS+= -DUSE_TCMALLOC
32
@@ -130,6 +130,9 @@
32
@@ -130,6 +130,9 @@
33
 	FINAL_LIBS+= ../deps/jemalloc/lib/libjemalloc.a
33
 	FINAL_LIBS := ../deps/jemalloc/lib/libjemalloc.a $(FINAL_LIBS)
34
 endif
34
 endif
35
 
35
 
36
+FINAL_CFLAGS+=-I${PREFIX}/include/lua51
36
+FINAL_CFLAGS+=-I${PREFIX}/include/lua51
37
+FINAL_LIBS+= -L${PREFIX}/lib -llua-5.1
37
+FINAL_LIBS+= -L${PREFIX}/lib -llua-5.1
38
+
38
+
Lines 40-53 Link Here
40
 REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS)
40
 REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS)
41
 REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL)
41
 REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL)
42
@@ -150,6 +153,7 @@
42
@@ -150,6 +153,7 @@
43
 REDIS_SERVER_NAME=redis-server
43
 REDIS_SERVER_NAME=redis-server
44
 REDIS_SENTINEL_NAME=redis-sentinel
44
 REDIS_SENTINEL_NAME=redis-sentinel
45
 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
45
 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
46
+REDIS_SERVER_OBJ+=fpconv.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
46
+REDIS_SERVER_OBJ+=fpconv.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
47
 REDIS_CLI_NAME=redis-cli
47
 REDIS_CLI_NAME=redis-cli
48
 REDIS_CLI_OBJ=anet.o adlist.o redis-cli.o zmalloc.o release.o anet.o ae.o crc64.o
48
 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
49
 REDIS_BENCHMARK_NAME=redis-benchmark
49
 REDIS_BENCHMARK_NAME=redis-benchmark
50
@@ -201,7 +205,7 @@
50
@@ -201,7 +205,7 @@
51
 
51
 
52
 # redis-server
52
 # redis-server
53
 $(REDIS_SERVER_NAME): $(REDIS_SERVER_OBJ)
53
 $(REDIS_SERVER_NAME): $(REDIS_SERVER_OBJ)
(-)databases/redis/files/extra-patch-src-Makefile.luajit (-5 / +5 lines)
Lines 1-7 Link Here
1
--- src/Makefile.orig	2017-08-06 10:48:29.559222000 -0400
1
--- src/Makefile.orig	2018-10-18 18:11:24.649811000 -0400
2
+++ src/Makefile	2017-08-06 10:50:45.155432000 -0400
2
+++ src/Makefile	2018-10-18 18:11:35.160523000 -0400
3
@@ -16,7 +16,7 @@
3
@@ -16,7 +16,7 @@
4
 uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
4
 uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
5
 uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
5
 uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
6
 OPTIMIZATION?=-O2
6
 OPTIMIZATION?=-O2
7
-DEPENDENCY_TARGETS=hiredis linenoise lua
7
-DEPENDENCY_TARGETS=hiredis linenoise lua
Lines 28-38 Link Here
28
+FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise
28
+FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise
29
 
29
 
30
 ifeq ($(MALLOC),tcmalloc)
30
 ifeq ($(MALLOC),tcmalloc)
31
 	FINAL_CFLAGS+= -DUSE_TCMALLOC
31
 	FINAL_CFLAGS+= -DUSE_TCMALLOC
32
@@ -130,6 +130,9 @@
32
@@ -130,6 +130,9 @@
33
 	FINAL_LIBS+= ../deps/jemalloc/lib/libjemalloc.a
33
 	FINAL_LIBS := ../deps/jemalloc/lib/libjemalloc.a $(FINAL_LIBS)
34
 endif
34
 endif
35
 
35
 
36
+FINAL_CFLAGS+=-I${PREFIX}/include/luajit-2.0
36
+FINAL_CFLAGS+=-I${PREFIX}/include/luajit-2.0
37
+FINAL_LIBS+= -L${PREFIX}/lib -lluajit-5.1
37
+FINAL_LIBS+= -L${PREFIX}/lib -lluajit-5.1
38
+
38
+
Lines 40-53 Link Here
40
 REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS)
40
 REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS)
41
 REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL)
41
 REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL)
42
@@ -150,6 +153,7 @@
42
@@ -150,6 +153,7 @@
43
 REDIS_SERVER_NAME=redis-server
43
 REDIS_SERVER_NAME=redis-server
44
 REDIS_SENTINEL_NAME=redis-sentinel
44
 REDIS_SENTINEL_NAME=redis-sentinel
45
 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
45
 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
46
+REDIS_SERVER_OBJ+=fpconv.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
46
+REDIS_SERVER_OBJ+=fpconv.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
47
 REDIS_CLI_NAME=redis-cli
47
 REDIS_CLI_NAME=redis-cli
48
 REDIS_CLI_OBJ=anet.o adlist.o redis-cli.o zmalloc.o release.o anet.o ae.o crc64.o
48
 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
49
 REDIS_BENCHMARK_NAME=redis-benchmark
49
 REDIS_BENCHMARK_NAME=redis-benchmark
50
@@ -201,7 +205,7 @@
50
@@ -201,7 +205,7 @@
51
 
51
 
52
 # redis-server
52
 # redis-server
53
 $(REDIS_SERVER_NAME): $(REDIS_SERVER_OBJ)
53
 $(REDIS_SERVER_NAME): $(REDIS_SERVER_OBJ)
(-)databases/redis/files/patch-deps-Makefile (-4 / +4 lines)
Lines 1-17 Link Here
1
--- deps/Makefile.orig	2016-02-02 19:38:43.438304000 -0500
1
--- deps/Makefile.orig	2019-09-25 10:40:18 UTC
2
+++ deps/Makefile	2016-02-02 19:40:05.911356000 -0500
2
+++ deps/Makefile
3
@@ -59,7 +59,7 @@
3
@@ -58,7 +58,7 @@ ifeq ($(uname_S),SunOS)
4
 	LUA_CFLAGS= -D__C99FEATURES__=1
4
 	LUA_CFLAGS= -D__C99FEATURES__=1
5
 endif
5
 endif
6
 
6
 
7
-LUA_CFLAGS+= -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' $(CFLAGS)
7
-LUA_CFLAGS+= -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' $(CFLAGS)
8
+LUA_CFLAGS+= -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' $(CFLAGS)
8
+LUA_CFLAGS+= -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' $(CFLAGS)
9
 LUA_LDFLAGS+= $(LDFLAGS)
9
 LUA_LDFLAGS+= $(LDFLAGS)
10
 # lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
10
 # lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
11
 # challenging to cross-compile lua (and redis).  These defines make it easier
11
 # challenging to cross-compile lua (and redis).  These defines make it easier
12
@@ -69,7 +69,7 @@
12
@@ -68,7 +68,7 @@ ARFLAGS=rcu
13
 
13
 
14
 lua: .make-prerequisites
14
 lua: .make-prerequisites
15
 	@printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
15
 	@printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
16
-	cd lua/src && $(MAKE) all CFLAGS="$(LUA_CFLAGS)" MYLDFLAGS="$(LUA_LDFLAGS)" AR="$(AR) $(ARFLAGS)"
16
-	cd lua/src && $(MAKE) all CFLAGS="$(LUA_CFLAGS)" MYLDFLAGS="$(LUA_LDFLAGS)" AR="$(AR) $(ARFLAGS)"
17
+	cd lua/src && $(MAKE) all CC="$(CC)" CFLAGS="$(LUA_CFLAGS)" MYLDFLAGS="$(LUA_LDFLAGS)" AR="$(AR) $(ARFLAGS)"
17
+	cd lua/src && $(MAKE) all CC="$(CC)" CFLAGS="$(LUA_CFLAGS)" MYLDFLAGS="$(LUA_LDFLAGS)" AR="$(AR) $(ARFLAGS)"
(-)databases/redis/files/patch-deps-hiredis-Makefile (-8 / +8 lines)
Lines 1-17 Link Here
1
--- deps/hiredis/Makefile.orig	2017-05-01 19:46:31.733229000 -0400
1
--- deps/hiredis/Makefile.orig	2019-09-25 10:40:18 UTC
2
+++ deps/hiredis/Makefile	2017-05-01 19:48:37.150358000 -0400
2
+++ deps/hiredis/Makefile
3
@@ -15,7 +15,7 @@
3
@@ -15,7 +15,7 @@ HIREDIS_PATCH=$(shell grep HIREDIS_PATCH hiredis.h | a
4
 HIREDIS_SONAME=$(shell grep HIREDIS_SONAME hiredis.h | awk '{print $$3}')
4
 HIREDIS_SONAME=$(shell grep HIREDIS_SONAME hiredis.h | awk '{print $$3}')
5
 
5
 
6
 # Installation related variables and target
6
 # Installation related variables and target
7
-PREFIX?=/usr/local
7
-PREFIX?=/usr/local
8
+PREFIX?=${PREFIX}
8
+PREFIX?=${PREFIX}
9
 INCLUDE_PATH?=include/hiredis
9
 INCLUDE_PATH?=include/hiredis
10
 LIBRARY_PATH?=lib
10
 LIBRARY_PATH?=lib
11
 PKGCONF_PATH?=pkgconfig
11
 PKGCONF_PATH?=pkgconfig
12
@@ -38,10 +38,10 @@
12
@@ -38,10 +38,10 @@ export REDIS_TEST_CONFIG
13
 # Fallback to gcc when $CC is not in $PATH.
13
 # Fallback to gcc when $CC is not in $PATH.
14
 CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
14
 CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
15
 CXX:=$(shell sh -c 'type $(CXX) >/dev/null 2>/dev/null && echo $(CXX) || echo g++')
15
 CXX:=$(shell sh -c 'type $(CXX) >/dev/null 2>/dev/null && echo $(CXX) || echo g++')
16
-OPTIMIZATION?=-O3
16
-OPTIMIZATION?=-O3
17
+#OPTIMIZATION?=-O3
17
+#OPTIMIZATION?=-O3
Lines 21-41 Link Here
21
+#DEBUG_FLAGS?= -g -ggdb
21
+#DEBUG_FLAGS?= -g -ggdb
22
+REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS)
22
+REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS)
23
 REAL_LDFLAGS=$(LDFLAGS) $(ARCH)
23
 REAL_LDFLAGS=$(LDFLAGS) $(ARCH)
24
 
24
 
25
 DYLIBSUFFIX=so
25
 DYLIBSUFFIX=so
26
@@ -60,6 +60,15 @@
26
@@ -59,6 +59,15 @@ ifeq ($(uname_S),SunOS)
27
   REAL_LDFLAGS+= -ldl -lnsl -lsocket
27
   DYLIB_MAKE_CMD=$(CC) -G -o $(DYLIBNAME) -h $(DYLIB_MINOR_NAME) $(LDFLAGS)
28
   DYLIB_MAKE_CMD=$(CC) -G -o $(DYLIBNAME) -h $(DYLIB_MINOR_NAME) $(LDFLAGS)
28
   INSTALL= cp -r
29
   INSTALL= cp -r
29
 endif
30
+endif
30
+ifeq ($(uname_S),FreeBSD)
31
+ifeq ($(uname_S),FreeBSD)
31
+  CFLAGS?=$(CFLAGS)
32
+  CFLAGS?=$(CFLAGS)
32
+  CCLINK?=-pthread
33
+  CCLINK?=-pthread
33
+  LDFLAGS?=-L. -Wl,-rpath,.
34
+  LDFLAGS?=-L. -Wl,-rpath,.
34
+  DYLIBNAME?=libhiredis.so
35
+  DYLIBNAME?=libhiredis.so
35
+  DYLIB_MAKE_CMD?=$(CC) -o ${DYLIBNAME} ${OBJ}
36
+  DYLIB_MAKE_CMD?=$(CC) -o ${DYLIBNAME} ${OBJ}
36
+  STLIBNAME?=libhiredis.a
37
+  STLIBNAME?=libhiredis.a
37
+  STLIB_MAKE_CMD?=ar rcs ${STLIBNAME} ${OBJ}
38
+  STLIB_MAKE_CMD?=ar rcs ${STLIBNAME} ${OBJ}
38
+endif
39
 endif
39
 ifeq ($(uname_S),Darwin)
40
 ifeq ($(uname_S),Darwin)
40
   DYLIBSUFFIX=dylib
41
   DYLIBSUFFIX=dylib
41
   DYLIB_MINOR_NAME=$(LIBNAME).$(HIREDIS_SONAME).$(DYLIBSUFFIX)
(-)databases/redis/files/patch-deps-hiredis-net.c (-6 / +6 lines)
Lines 1-8 Link Here
1
--- deps/hiredis/net.c.orig	2017-04-22 07:23:27.000000000 -0400
1
--- deps/hiredis/net.c.orig	2019-09-25 10:40:18 UTC
2
+++ deps/hiredis/net.c	2017-05-05 20:02:09.292479000 -0400
2
+++ deps/hiredis/net.c
3
@@ -135,13 +135,12 @@
3
@@ -135,13 +135,12 @@ int redisKeepAlive(redisContext *c, int interval) {
4
 
4
 
5
     val = interval;
5
     val = interval;
6
 
6
 
7
-#ifdef _OSX
7
-#ifdef _OSX
8
+#if defined(_OSX)
8
+#if defined(_OSX)
Lines 14-24 Link Here
14
-#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__)
14
-#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__)
15
+#elif defined(__GLIBC__)
15
+#elif defined(__GLIBC__)
16
     val = interval;
16
     val = interval;
17
     if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &val, sizeof(val)) < 0) {
17
     if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &val, sizeof(val)) < 0) {
18
         __redisSetError(c,REDIS_ERR_OTHER,strerror(errno));
18
         __redisSetError(c,REDIS_ERR_OTHER,strerror(errno));
19
@@ -160,6 +159,27 @@
19
@@ -160,6 +159,27 @@ int redisKeepAlive(redisContext *c, int interval) {
20
         __redisSetError(c,REDIS_ERR_OTHER,strerror(errno));
20
         __redisSetError(c,REDIS_ERR_OTHER,strerror(errno));
21
         return REDIS_ERR;
21
         return REDIS_ERR;
22
     }
22
     }
23
+#else
23
+#else
24
+#if !defined(__sun) && defined(TCP_KEEPIDLE) && defined(TCP_KEEPINTVL) && \
24
+#if !defined(__sun) && defined(TCP_KEEPIDLE) && defined(TCP_KEEPINTVL) && \
Lines 42-61 Link Here
42
+        return REDIS_ERR;
42
+        return REDIS_ERR;
43
+    }
43
+    }
44
 #endif
44
 #endif
45
 #endif
45
 #endif
46
 
46
 
47
@@ -431,7 +451,7 @@
47
@@ -431,7 +451,7 @@ int redisContextConnectUnix(redisContext *c, const cha
48
     struct sockaddr_un sa;
48
     struct sockaddr_un sa;
49
     long timeout_msec = -1;
49
     long timeout_msec = -1;
50
 
50
 
51
-    if (redisCreateSocket(c,AF_LOCAL) < 0)
51
-    if (redisCreateSocket(c,AF_LOCAL) < 0)
52
+    if (redisCreateSocket(c,AF_UNIX) < 0)
52
+    if (redisCreateSocket(c,AF_UNIX) < 0)
53
         return REDIS_ERR;
53
         return REDIS_ERR;
54
     if (redisSetBlocking(c,0) != REDIS_OK)
54
     if (redisSetBlocking(c,0) != REDIS_OK)
55
         return REDIS_ERR;
55
         return REDIS_ERR;
56
@@ -456,7 +476,7 @@
56
@@ -456,7 +476,7 @@ int redisContextConnectUnix(redisContext *c, const cha
57
     if (redisContextTimeoutMsec(c,&timeout_msec) != REDIS_OK)
57
     if (redisContextTimeoutMsec(c,&timeout_msec) != REDIS_OK)
58
         return REDIS_ERR;
58
         return REDIS_ERR;
59
 
59
 
60
-    sa.sun_family = AF_LOCAL;
60
-    sa.sun_family = AF_LOCAL;
61
+    sa.sun_family = AF_UNIX;
61
+    sa.sun_family = AF_UNIX;
(-)databases/redis/files/patch-deps-linenoise-Makefile (-2 / +2 lines)
Lines 1-7 Link Here
1
--- deps/linenoise/Makefile.orig	2015-01-17 22:13:25.000000000 +0300
1
--- deps/linenoise/Makefile.orig	2019-09-25 10:40:18 UTC
2
+++ deps/linenoise/Makefile	2015-01-17 22:13:45.000000000 +0300
2
+++ deps/linenoise/Makefile
3
@@ -1,10 +1,10 @@
3
@@ -1,10 +1,10 @@
4
 STD=
4
 STD=
5
 WARN= -Wall
5
 WARN= -Wall
6
-OPT= -Os
6
-OPT= -Os
7
+#OPT= -Os
7
+#OPT= -Os
(-)databases/redis/files/patch-redis.conf (-6 / +6 lines)
Lines 1-35 Link Here
1
--- redis.conf.orig	2016-06-17 09:15:21.000000000 -0400
1
--- redis.conf.orig	2019-09-25 10:40:18 UTC
2
+++ redis.conf	2016-06-18 11:58:19.871082000 -0400
2
+++ redis.conf
3
@@ -125,7 +125,7 @@
3
@@ -133,7 +133,7 @@ tcp-keepalive 300
4
 
4
 
5
 # By default Redis does not run as a daemon. Use 'yes' if you need it.
5
 # By default Redis does not run as a daemon. Use 'yes' if you need it.
6
 # Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
6
 # Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
7
-daemonize no
7
-daemonize no
8
+daemonize yes
8
+daemonize yes
9
 
9
 
10
 # If you run Redis from upstart or systemd, Redis can interact with your
10
 # If you run Redis from upstart or systemd, Redis can interact with your
11
 # supervision tree. Options:
11
 # supervision tree. Options:
12
@@ -147,7 +147,7 @@
12
@@ -155,7 +155,7 @@ supervised no
13
 #
13
 #
14
 # Creating a pid file is best effort: if Redis is not able to create it
14
 # Creating a pid file is best effort: if Redis is not able to create it
15
 # nothing bad happens, the server will start and run normally.
15
 # nothing bad happens, the server will start and run normally.
16
-pidfile /var/run/redis_6379.pid
16
-pidfile /var/run/redis_6379.pid
17
+pidfile %%REDIS_RUNDIR%%/redis.pid
17
+pidfile %%REDIS_RUNDIR%%/redis.pid
18
 
18
 
19
 # Specify the server verbosity level.
19
 # Specify the server verbosity level.
20
 # This can be one of:
20
 # This can be one of:
21
@@ -160,7 +160,7 @@
21
@@ -168,7 +168,7 @@ loglevel notice
22
 # Specify the log file name. Also the empty string can be used to force
22
 # Specify the log file name. Also the empty string can be used to force
23
 # Redis to log on the standard output. Note that if you use standard
23
 # Redis to log on the standard output. Note that if you use standard
24
 # output for logging but daemonize, logs will be sent to /dev/null
24
 # output for logging but daemonize, logs will be sent to /dev/null
25
-logfile ""
25
-logfile ""
26
+logfile %%REDIS_LOGDIR%%/redis.log
26
+logfile %%REDIS_LOGDIR%%/redis.log
27
 
27
 
28
 # To enable logging to the system logger, just set 'syslog-enabled' to yes,
28
 # To enable logging to the system logger, just set 'syslog-enabled' to yes,
29
 # and optionally update the other syslog parameters to suit your needs.
29
 # and optionally update the other syslog parameters to suit your needs.
30
@@ -244,7 +244,7 @@
30
@@ -260,7 +260,7 @@ dbfilename dump.rdb
31
 # The Append Only File will also be created inside this directory.
31
 # The Append Only File will also be created inside this directory.
32
 #
32
 #
33
 # Note that you must specify a directory here, not a file name.
33
 # Note that you must specify a directory here, not a file name.
34
-dir ./
34
-dir ./
35
+dir %%REDIS_DBDIR%%/
35
+dir %%REDIS_DBDIR%%/
(-)databases/redis/files/patch-src-Makefile (-13 / +13 lines)
Lines 1-39 Link Here
1
--- src/Makefile.orig	2015-04-01 17:01:44.000000000 +0300
1
--- src/Makefile.orig	2019-09-25 10:40:18 UTC
2
+++ src/Makefile	2015-04-07 21:30:22.464962000 +0300
2
+++ src/Makefile
3
@@ -22,7 +22,7 @@
3
@@ -29,7 +29,7 @@ endif
4
 WARN=-Wall -W
4
 WARN=-Wall -W -Wno-missing-field-initializers
5
 OPT=$(OPTIMIZATION)
5
 OPT=$(OPTIMIZATION)
6
 
6
 
7
-PREFIX?=/usr/local
7
-PREFIX?=/usr/local
8
+PREFIX:=$(PREFIX)
8
+PREFIX:=$(PREFIX)
9
 INSTALL_BIN=$(PREFIX)/bin
9
 INSTALL_BIN=$(PREFIX)/bin
10
 INSTALL=install
10
 INSTALL=install
11
 
11
 
12
@@ -52,7 +52,6 @@
12
@@ -75,7 +75,6 @@ endif
13
 FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
13
 FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
14
 FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
14
 FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
15
 FINAL_LIBS=-lm
15
 FINAL_LIBS=-lm
16
-DEBUG=-g -ggdb
16
-DEBUG=-g -ggdb
17
 
17
 
18
 ifeq ($(uname_S),SunOS)
18
 ifeq ($(uname_S),SunOS)
19
 	# SunOS
19
 	# SunOS
20
@@ -63,6 +62,11 @@
20
@@ -94,6 +93,11 @@ ifeq ($(uname_S),Darwin)
21
 ifeq ($(uname_S),Darwin)
21
 	# Darwin
22
 	# Darwin (nothing to do)
22
 	FINAL_LIBS+= -ldl
23
 else
23
 else
24
+ifeq ($(uname_S),FreeBSD)
24
+ifeq ($(uname_S),FreeBSD)
25
+        # FreeBSD
25
+        # FreeBSD
26
+        FINAL_CFLAGS?= $(CFLAGS) $(REDIS_CFLAGS) -I${PREFIX}/include
26
+        FINAL_CFLAGS?= $(CFLAGS) $(REDIS_CFLAGS) -I${PREFIX}/include
27
+        FINAL_LDFLAGS= $(LDFLAGS) -pthread
27
+        FINAL_LDFLAGS= $(LDFLAGS) -pthread
28
+else
28
+else
29
 ifeq ($(uname_S),AIX)
29
 ifeq ($(uname_S),AIX)
30
         # AIX
30
         # AIX
31
         FINAL_LDFLAGS+= -Wl,-bexpall
31
         FINAL_LDFLAGS+= -Wl,-bexpall
32
@@ -75,6 +79,7 @@
32
@@ -120,6 +124,7 @@ else
33
 	# All the other OSes (notably Linux)
34
 	FINAL_LDFLAGS+= -rdynamic
35
 	FINAL_LIBS+=-ldl -pthread -lrt
36
+endif
33
 endif
37
 endif
34
 endif
38
 endif
35
 endif
39
 endif
36
+endif
37
 # Include paths to dependencies
38
 FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src
39
 
(-)databases/redis/files/patch-src-config.h (-11 lines)
Lines 1-11 Link Here
1
--- src/config.h.orig	2015-04-07 21:24:36.634829000 +0300
2
+++ src/config.h	2015-04-07 21:24:53.388849000 +0300
3
@@ -62,7 +62,7 @@
4
 #endif
5
 
6
 /* Test for backtrace() */
7
-#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__))
8
+#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) || defined(__FreeBSD__)
9
 #define HAVE_BACKTRACE 1
10
 #endif
11
 
(-)databases/redis/files/patch-src-lua_cjson.c (-12 lines)
Lines 1-12 Link Here
1
--- deps/lua/src/lua_cjson.c.orig	2016-12-04 20:49:41.925218000 -0500
2
+++ deps/lua/src/lua_cjson.c	2016-12-04 20:49:59.728885000 -0500
3
@@ -46,7 +46,9 @@
4
 #include "strbuf.h"
5
 #include "fpconv.h"
6
 
7
+#if defined(__sun)
8
 #include "../../../src/solarisfixes.h"
9
+#endif
10
 
11
 #ifndef CJSON_MODNAME
12
 #define CJSON_MODNAME   "cjson"
(-)databases/redis/files/patch-src-mkreleasehdr.sh (-4 / +4 lines)
Lines 1-11 Link Here
1
--- src/mkreleasehdr.sh.orig	2013-08-13 15:39:40.000000000 +0400
1
--- src/mkreleasehdr.sh.orig	2019-09-25 10:40:18 UTC
2
+++ src/mkreleasehdr.sh	2013-08-13 15:39:55.000000000 +0400
2
+++ src/mkreleasehdr.sh
3
@@ -1,6 +1,6 @@
3
@@ -1,6 +1,6 @@
4
 #!/bin/sh
4
 #!/bin/sh
5
-GIT_SHA1=`(git show-ref --head --hash=8 2> /dev/null || echo 00000000) | head -n1`
5
-GIT_SHA1=`(git show-ref --head --hash=8 2> /dev/null || echo 00000000) | head -n1`
6
-GIT_DIRTY=`git diff --no-ext-diff 2> /dev/null | wc -l`
6
-GIT_DIRTY=`git diff --no-ext-diff 2> /dev/null | wc -l`
7
+GIT_SHA1="00000000"
7
+GIT_SHA1="00000000"
8
+GIT_DIRTY="0"
8
+GIT_DIRTY="0"
9
 BUILD_ID=`uname -n`"-"`date +%s`
9
 BUILD_ID=`uname -n`"-"`date +%s`
10
 test -f release.h || touch release.h
10
 if [ -n "$SOURCE_DATE_EPOCH" ]; then
11
 (cat release.h | grep SHA1 | grep $GIT_SHA1) && \
11
   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)
(-)databases/redis-devel/Makefile (-1 / +1 lines)
Lines 62-72 Link Here
62
USES+=		tcl:build
62
USES+=		tcl:build
63
.endif
63
.endif
64
64
65
LDFLAGS+=	-lpthread -lm -lexecinfo
65
LDFLAGS+=	-lpthread -lm -lexecinfo
66
66
67
CONFLICTS?=	redis-4.*
67
CONFLICTS?=	redis4-4.* redis-5.*
68
68
69
USE_RC_SUBR=	redis sentinel
69
USE_RC_SUBR=	redis sentinel
70
BIN_FILES=	redis-benchmark redis-check-aof redis-check-rdb \
70
BIN_FILES=	redis-benchmark redis-check-aof redis-check-rdb \
71
		redis-cli redis-sentinel redis-server
71
		redis-cli redis-sentinel redis-server
72
72
(-)databases/redis4/Makefile (-3 / +4 lines)
Lines 1-13 Link Here
1
# Created by: Sergey Skvortsov <skv@protey.ru>
1
# Created by: Sergey Skvortsov <skv@protey.ru>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	redis
4
PORTNAME=	redis4
5
DISTVERSION=	4.0.14
5
PORTVERSION=	4.0.14
6
PORTREVISION=	1
6
PORTREVISION=	1
7
CATEGORIES=	databases
7
CATEGORIES=	databases
8
MASTER_SITES=	http://download.redis.io/releases/
8
MASTER_SITES=	http://download.redis.io/releases/
9
DISTNAME=	redis-${PORTVERSION}
9
10
10
MAINTAINER=	osa@FreeBSD.org
11
MAINTAINER=	osa@FreeBSD.org
11
COMMENT=	Persistent key-value database with built-in net interface
12
COMMENT=	Persistent key-value database with built-in net interface
12
13
13
LICENSE=	BSD3CLAUSE
14
LICENSE=	BSD3CLAUSE
Lines 54-64 Link Here
54
USES+=		tcl:build
55
USES+=		tcl:build
55
.endif
56
.endif
56
57
57
LDFLAGS+=	-lpthread -lm -lexecinfo
58
LDFLAGS+=	-lpthread -lm -lexecinfo
58
59
59
CONFLICTS?=	redis-devel-5.*
60
CONFLICTS?=	redis-5.* redis-devel-5.*
60
61
61
USES+=		gmake
62
USES+=		gmake
62
MAKE_ENV=	"V=yo"
63
MAKE_ENV=	"V=yo"
63
USE_RC_SUBR=	redis sentinel
64
USE_RC_SUBR=	redis sentinel
64
BIN_FILES=	redis-benchmark redis-check-aof redis-check-rdb \
65
BIN_FILES=	redis-benchmark redis-check-aof redis-check-rdb \
(-)databases/rubygem-hiredis/Makefile (-1 / +1 lines)
Lines 1-11 Link Here
1
# Created by: Steve Wills <swills@FreeBSD.org>
1
# Created by: Steve Wills <swills@FreeBSD.org>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	hiredis
4
PORTNAME=	hiredis
5
PORTVERSION=	0.6.3
5
PORTVERSION=	0.6.3
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	databases rubygems
7
CATEGORIES=	databases rubygems
8
MASTER_SITES=	RG
8
MASTER_SITES=	RG
9
9
10
MAINTAINER=	ruby@FreeBSD.org
10
MAINTAINER=	ruby@FreeBSD.org
11
COMMENT=	Ruby wrapper for hiredis
11
COMMENT=	Ruby wrapper for hiredis
(-)devel/gitblit/Makefile (-1 / +1 lines)
Lines 1-11 Link Here
1
# Created by: Dusan Vejnovic <freebsd@dussan.org>
1
# Created by: Dusan Vejnovic <freebsd@dussan.org>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	gitblit
4
PORTNAME=	gitblit
5
PORTVERSION=	1.8.0
5
PORTVERSION=	1.8.0
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	devel java
7
CATEGORIES=	devel java
8
MASTER_SITES=	http://dl.bintray.com/${PORTNAME}/releases/
8
MASTER_SITES=	http://dl.bintray.com/${PORTNAME}/releases/
9
EXTRACT_SUFX=	.war
9
EXTRACT_SUFX=	.war
10
10
11
MAINTAINER=	freebsd@dussan.org
11
MAINTAINER=	freebsd@dussan.org
(-)devel/py-dj22-django-rq/Makefile (+1 lines)
Lines 1-10 Link Here
1
# Created by: René Ladan <rene@freebsd.org>
1
# Created by: René Ladan <rene@freebsd.org>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	django-rq
4
PORTNAME=	django-rq
5
PORTVERSION=	2.1.0
5
PORTVERSION=	2.1.0
6
PORTREVISION=	1
6
CATEGORIES=	devel python
7
CATEGORIES=	devel python
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj22-
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj22-
8
MASTER_SITES=	CHEESESHOP
9
MASTER_SITES=	CHEESESHOP
9
10
10
MAINTAINER=	sunpoet@FreeBSD.org
11
MAINTAINER=	sunpoet@FreeBSD.org
(-)devel/py-django-rq/Makefile (-1 / +1 lines)
Lines 19-29 Link Here
19
		${PYTHON_PKGNAMEPREFIX}rq>=1.0:devel/py-rq@${PY_FLAVOR}
19
		${PYTHON_PKGNAMEPREFIX}rq>=1.0:devel/py-rq@${PY_FLAVOR}
20
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
20
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
24
		redis-server:databases/redis
24
		redis-server:databases/redis4
25
25
26
USES=		python
26
USES=		python
27
USE_PYTHON=	autoplist concurrent distutils
27
USE_PYTHON=	autoplist concurrent distutils
28
28
29
NO_ARCH=	yes
29
NO_ARCH=	yes
(-)irc/anope/Makefile (+1 lines)
Lines 1-9 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	anope
3
PORTNAME=	anope
4
PORTVERSION=	2.0.6
4
PORTVERSION=	2.0.6
5
PORTREVISION=	1
5
CATEGORIES=	irc
6
CATEGORIES=	irc
6
7
7
MAINTAINER=	egypcio@FreeBSD.org
8
MAINTAINER=	egypcio@FreeBSD.org
8
COMMENT=	Set of IRC services for IRC networks
9
COMMENT=	Set of IRC services for IRC networks
9
10
(-)net/opensips/Makefile (-2 / +2 lines)
Lines 1-11 Link Here
1
# Created by: Euan Thoms <euan@potensol.com>
1
# Created by: Euan Thoms <euan@potensol.com>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=		opensips
4
PORTNAME=		opensips
5
DISTVERSION=		2.2.6
5
DISTVERSION=		2.2.6
6
PORTREVISION=	5
6
PORTREVISION=	6
7
CATEGORIES=		net
7
CATEGORIES=		net
8
MASTER_SITES=		http://opensips.org/pub/opensips/${PORTVERSION}/
8
MASTER_SITES=		http://opensips.org/pub/opensips/${PORTVERSION}/
9
9
10
MAINTAINER=		euan@potensol.com
10
MAINTAINER=		euan@potensol.com
11
COMMENT=		Open SIP Server
11
COMMENT=		Open SIP Server
Lines 23-33 Link Here
23
			libcurl.so:ftp/curl \
23
			libcurl.so:ftp/curl \
24
			libjson-c.so:devel/json-c
24
			libjson-c.so:devel/json-c
25
BUILD_DEPENDS=		ginstall:sysutils/coreutils \
25
BUILD_DEPENDS=		ginstall:sysutils/coreutils \
26
			gtar:archivers/gtar \
26
			gtar:archivers/gtar \
27
			gm4:devel/m4 \
27
			gm4:devel/m4 \
28
			redis-server:databases/redis-devel
28
			redis-server:databases/redis
29
RUN_DEPENDS=		${LOCALBASE}/bin/bash:shells/bash \
29
RUN_DEPENDS=		${LOCALBASE}/bin/bash:shells/bash \
30
			${LOCALBASE}/bin/grep:textproc/gnugrep
30
			${LOCALBASE}/bin/grep:textproc/gnugrep
31
31
32
GINSTALL=		ginstall
32
GINSTALL=		ginstall
33
33
(-)net-im/rubygem-lita/Makefile (-1 / +1 lines)
Lines 1-11 Link Here
1
# Created by: Steve Wills <swills@FreeBSD.org>
1
# Created by: Steve Wills <swills@FreeBSD.org>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	lita
4
PORTNAME=	lita
5
PORTVERSION=	4.7.1
5
PORTVERSION=	4.7.1
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	net-im rubygems
7
CATEGORIES=	net-im rubygems
8
MASTER_SITES=	RG
8
MASTER_SITES=	RG
9
9
10
MAINTAINER=	ruby@FreeBSD.org
10
MAINTAINER=	ruby@FreeBSD.org
11
COMMENT=	Multi-service chat bot with extendable behavior
11
COMMENT=	Multi-service chat bot with extendable behavior
(-)security/openvas8-scanner/Makefile (-1 / +1 lines)
Lines 1-11 Link Here
1
# Created by: Tomoyuki Sakurai <cherry@trombik.org>
1
# Created by: Tomoyuki Sakurai <cherry@trombik.org>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME?=	openvas8-scanner
4
PORTNAME?=	openvas8-scanner
5
PORTVERSION?=	5.0.8
5
PORTVERSION?=	5.0.8
6
PORTREVISION=	4
6
PORTREVISION=	5
7
CATEGORIES=	security
7
CATEGORIES=	security
8
MASTER_SITES?=	http://wald.intevation.org/frs/download.php/2436/
8
MASTER_SITES?=	http://wald.intevation.org/frs/download.php/2436/
9
DISTNAME=	${PORTNAME:S/${OPENVAS_VER}//}-${PORTVERSION}
9
DISTNAME=	${PORTNAME:S/${OPENVAS_VER}//}-${PORTVERSION}
10
DIST_SUBDIR=	openvas${OPENVAS_VER}
10
DIST_SUBDIR=	openvas${OPENVAS_VER}
11
11
(-)www/gitlab-ce/Makefile (-1 / +1 lines)
Lines 1-11 Link Here
1
# Created by: Torsten Zuehlsdorff <tz@FreeBSD.org>
1
# Created by: Torsten Zuehlsdorff <tz@FreeBSD.org>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	gitlab-ce
4
PORTNAME=	gitlab-ce
5
PORTVERSION=	12.4.2
5
PORTVERSION=	12.4.2
6
PORTREVISION=	0
6
PORTREVISION=	1
7
CATEGORIES=	www devel
7
CATEGORIES=	www devel
8
8
9
MAINTAINER=	mfechner@FreeBSD.org
9
MAINTAINER=	mfechner@FreeBSD.org
10
COMMENT=	Web GUI for managing git repositories
10
COMMENT=	Web GUI for managing git repositories
11
11

Return to bug 241526