Date: Tue, 21 Jun 2011 12:43:14 GMT From: Oleg Ginzburg <olevole@olevole.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/158115: databases/redis does not create a neccesary dir when installed Message-ID: <201106211243.p5LChEQC017389@red.freebsd.org> Resent-Message-ID: <201106211250.p5LCoBnv069481@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158115 >Category: ports >Synopsis: databases/redis does not create a neccesary dir when installed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 21 12:50:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Oleg Ginzburg >Release: >Organization: >Environment: >Description: >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN redis.bak/Makefile redis/Makefile --- redis.bak/Makefile 2011-06-21 15:59:26.000000000 +0400 +++ redis/Makefile 2011-06-21 16:34:25.000000000 +0400 @@ -47,4 +47,9 @@ ${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKSRC}/src/!} ${PREFIX}/bin/ ${INSTALL_DATA} ${WRKDIR}/redis.conf ${PREFIX}/etc/redis.conf.sample +post-install: +.for f in ${REDIS_LOGDIR} ${REDIS_RUNDIR} ${REDIS_DBDIR} + [ -d ${f} ] || ${MKDIR} ${f} && ${CHOWN} ${USERS}:${GROUPS} ${f} +.endfor + .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106211243.p5LChEQC017389>