diff options
Diffstat (limited to 'databases/redis')
-rw-r--r-- | databases/redis/Makefile | 15 | ||||
-rw-r--r-- | databases/redis/distinfo | 4 | ||||
-rw-r--r-- | databases/redis/pkg-plist | 1 |
3 files changed, 16 insertions, 4 deletions
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%% |