Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2014 10:06:18 GMT
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189464: [patch] databases/redis-devel -- update to 3.0.0-beta3
Message-ID:  <201405081006.s48A6ITA041256@cgiserv.freebsd.org>
Resent-Message-ID: <201405081010.s48AA0hT094658@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189464
>Category:       ports
>Synopsis:       [patch] databases/redis-devel -- update to 3.0.0-beta3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 08 10:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Pietro Cerutti
>Release:        
>Organization:
The FreeBSD Project
>Environment:
>Description:
- Update to 3.0.0-beta3
- Fix LICENSE
- Fix rc.d script
- STAGE-clean
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 353281)
+++ Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	redis
-DISTVERSION=	3.0.0-beta2
+DISTVERSION=	3.0.0-beta3
 CATEGORIES=	databases
 MASTER_SITES=	https://github.com/antirez/redis/archive/
 PKGNAMESUFFIX=	-devel
@@ -12,7 +12,7 @@
 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 @@
 FETCH_ARGS=	-Fpr
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MLUA}
@@ -90,13 +89,13 @@
 		${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
+	${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
 
 post-install:
 .for d in ${REDIS_LOGDIR} ${REDIS_RUNDIR} ${REDIS_DBDIR}
-	[ -d ${d} ] || ${MKDIR} ${d} && ${CHOWN} ${USERS}:${GROUPS} ${d}
+	${MKDIR} ${STAGEDIR}${d} && ${CHOWN} ${USERS}:${GROUPS} ${STAGEDIR}${d}
 .endfor
 
 regression-test: build
Index: distinfo
===================================================================
--- distinfo	(revision 353281)
+++ distinfo	(working copy)
@@ -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-beta3.tar.gz) = 60a95da4e6db6cd1f4a61a9b815b989f5051273c1f8d6649ad2ecbfa3b900b23
+SIZE (redis/3.0.0-beta3.tar.gz) = 1182948
Index: files/redis.in
===================================================================
--- files/redis.in	(revision 353281)
+++ files/redis.in	(working copy)
@@ -16,7 +16,7 @@
 . /etc/rc.subr
 
 name="redis"
-rcvar=`set_rcvar`
+rcvar="redis_enable"
 
 extra_commands="reload"
 


>Release-Note:
>Audit-Trail:
>Unformatted:



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