aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorBartek Rutkowski <robak@FreeBSD.org>2015-02-21 20:39:33 +0000
committerBartek Rutkowski <robak@FreeBSD.org>2015-02-21 20:39:33 +0000
commit4a30174693bfc94eae7dae3bd71537ff3ff1b501 (patch)
tree82738d5eecb162262586a66a7da511c9f4da4174 /databases
parent67c6fc9fd56f3c1e4335b283e6af66bef4e1e481 (diff)
databases/riak: update 1.4.10 -> 1.4.12
- Fix issue with starting Riak due to incorrect dirs ownership PR: 195220
Notes
Notes: svn path=/head/; revision=379548
Diffstat (limited to 'databases')
-rw-r--r--databases/riak/Makefile10
-rw-r--r--databases/riak/distinfo4
-rw-r--r--databases/riak/pkg-plist12
3 files changed, 14 insertions, 12 deletions
diff --git a/databases/riak/Makefile b/databases/riak/Makefile
index a7e3f9291698..8013a727aed7 100644
--- a/databases/riak/Makefile
+++ b/databases/riak/Makefile
@@ -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})
diff --git a/databases/riak/distinfo b/databases/riak/distinfo
index cb5b31a2de85..3ac05542d6e3 100644
--- a/databases/riak/distinfo
+++ b/databases/riak/distinfo
@@ -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
diff --git a/databases/riak/pkg-plist b/databases/riak/pkg-plist
index 4cf271e5f249..85c203663bd8 100644
--- a/databases/riak/pkg-plist
+++ b/databases/riak/pkg-plist
@@ -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%%