databases/riak: update 1.4.10 -> 1.4.12

- Fix issue with starting Riak due to incorrect dirs ownership

PR:		195220
This commit is contained in:
Bartek Rutkowski 2015-02-21 20:39:33 +00:00
parent 67c6fc9fd5
commit 4a30174693
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379548
3 changed files with 14 additions and 12 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= riak
PORTVERSION= 1.4.10
PORTVERSION= 1.4.12
CATEGORIES= databases
MASTER_SITES= http://s3.amazonaws.com/downloads.basho.com/riak/${PORTVERSION:R}/${PORTVERSION}/ \
http://downloads.basho.com.s3.amazonaws.com/riak/${PORTVERSION:R}/${PORTVERSION}/
@ -17,11 +17,13 @@ USES= gmake readline
USE_RC_SUBR= riak
PLIST= ${WRKDIR}/pkg-plist
PLIST_SUB+= RIAK_CONFDIR=${RIAK_CONFDIR} \
PLIST_SUB+= GROUPS=${GROUPS} \
RIAK_CONFDIR=${RIAK_CONFDIR} \
RIAK_DBDIR=${RIAK_DBDIR} \
RIAK_HOMEDIR=${RIAK_HOMEDIR} \
RIAK_LIBDIR=${RIAK_LIBDIR} \
RIAK_LOGDIR=${RIAK_LOGDIR}
RIAK_LOGDIR=${RIAK_LOGDIR} \
USERS=${USERS}
USERS= riak
GROUPS= riak
@ -44,8 +46,6 @@ post-patch:
pre-install:
${RM} -f ${PLIST}
${CAT} ${PKGDIR}/pkg-plist >> ${PLIST}
${ECHO} "@owner ${USERS}" >> ${PLIST}
${ECHO} "@group ${GROUPS}" >> ${PLIST}
(cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} releases -type f \
| ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \
| ${AWK} '{print "lib/riak/"$$2 }' >> ${PLIST})

View File

@ -1,2 +1,2 @@
SHA256 (riak-1.4.10.tar.gz) = 464d6076e3f7297c8ac068ba9864f1a28e0900ccbda46b70a2f92bac3765ad77
SIZE (riak-1.4.10.tar.gz) = 13815356
SHA256 (riak-1.4.12.tar.gz) = 2ae63ba183ce457399a21542c75aa6149481c972ebac739a1599e93e81982c91
SIZE (riak-1.4.12.tar.gz) = 13821609

View File

@ -6,12 +6,14 @@ man/man1/riak-admin.1.gz
man/man1/riak-debug.1.gz
man/man1/riak.1.gz
man/man1/search-cmd.1.gz
@dir %%RIAK_CONFDIR%%
@dir %%RIAK_LOGDIR%%
@dir %%RIAK_DBDIR%%
@dir %%RIAK_HOMEDIR%%
@dir %%RIAK_LIBDIR%%
@sample %%ETCDIR%%/vm.args.sample
@sample %%ETCDIR%%/app.config.sample
@sample %%ETCDIR%%/cert.pem.sample
@sample %%ETCDIR%%/key.pem.sample
@dir %%RIAK_CONFDIR%%
@owner %%USERS%%
@group %%GROUPS%%
@dir %%RIAK_DBDIR%%
@dir %%RIAK_HOMEDIR%%
@dir %%RIAK_LIBDIR%%
@dir %%RIAK_LOGDIR%%