svn commit: r400924 - head/sysutils/riak-cs
William Grzybowski
wg at FreeBSD.org
Fri Nov 6 11:56:19 UTC 2015
Author: wg
Date: Fri Nov 6 11:56:18 2015
New Revision: 400924
URL: https://svnweb.freebsd.org/changeset/ports/400924
Log:
sysutils/riak-cs: fix shebangs and configs
- Fix shebangs
- Fix config giles, @sample is used incorrectly
- Add LICENSE_FILE
- Remove needless @dir
PR: 204324
Submitted by: amdmi3
Modified:
head/sysutils/riak-cs/Makefile
head/sysutils/riak-cs/pkg-plist
Modified: head/sysutils/riak-cs/Makefile
==============================================================================
--- head/sysutils/riak-cs/Makefile Fri Nov 6 11:53:13 2015 (r400923)
+++ head/sysutils/riak-cs/Makefile Fri Nov 6 11:56:18 2015 (r400924)
@@ -2,18 +2,23 @@
PORTNAME= riak-cs
PORTVERSION= 2.1.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://s3.amazonaws.com/downloads.basho.com/riak-cs/${PORTVERSION:R}/${PORTVERSION}/ \
- http://downloads.basho.com.s3.amazonaws.com/riak-cs/${PORTVERSION:R}/${PORTVERSION}/
+ http://downloads.basho.com.s3.amazonaws.com/riak-cs/${PORTVERSION:R}/${PORTVERSION}/
MAINTAINER= wg at FreeBSD.org
COMMENT= Open source, distributed, S3 interface to Riak KV
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/lib/riak-erlang/bin/erlc:${PORTSDIR}/lang/erlang-riak
-USES= gmake readline
+USES= gmake readline shebangfix
+SHEBANG_FILES= deps/eper/priv/bin/dtop \
+ deps/eper/priv/bin/ntop \
+ deps/eper/priv/bin/redbug
USE_RC_SUBR= riak-cs
USERS= riakcs
@@ -44,10 +49,10 @@ do-install:
${MKDIR} ${STAGEDIR}${RIAKCS_CONFDIR}
${MKDIR} ${STAGEDIR}${RIAKCS_DBDIR}
${MKDIR} ${STAGEDIR}${RIAKCS_LOGDIR}
- ${INSTALL_DATA} ${WRKSRC}/rel/riak-cs/etc/riak-cs.conf ${STAGEDIR}${RIAKCS_CONFDIR}/riak-cs.conf
- ${INSTALL_DATA} ${WRKSRC}/rel/riak-cs/etc/advanced.config ${STAGEDIR}${RIAKCS_CONFDIR}/advanced.config
- ${INSTALL_DATA} ${WRKSRC}/rel/riak-cs/etc/cert.pem ${STAGEDIR}${RIAKCS_CONFDIR}/cert.pem
- ${INSTALL_DATA} ${WRKSRC}/rel/riak-cs/etc/key.pem ${STAGEDIR}${RIAKCS_CONFDIR}/key.pem
+ ${INSTALL_DATA} ${WRKSRC}/rel/riak-cs/etc/riak-cs.conf ${STAGEDIR}${RIAKCS_CONFDIR}/riak-cs.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/rel/riak-cs/etc/advanced.config ${STAGEDIR}${RIAKCS_CONFDIR}/advanced.config.sample
+ ${INSTALL_DATA} ${WRKSRC}/rel/riak-cs/etc/cert.pem ${STAGEDIR}${RIAKCS_CONFDIR}/cert.pem.sample
+ ${INSTALL_DATA} ${WRKSRC}/rel/riak-cs/etc/key.pem ${STAGEDIR}${RIAKCS_CONFDIR}/key.pem.sample
(cd ${WRKSRC}/rel/riak-cs/lib/ && ${COPYTREE_BIN} . ${STAGEDIR}${RIAKCS_LIBDIR})
(cd ${WRKSRC}/rel/riak-cs/bin/ && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/sbin/)
(cd ${WRKSRC}/rel/riak-cs/lib/basho-patches && ${COPYTREE_SHARE} . ${STAGEDIR}${RIAKCS_LIBDIR}/basho-patches)
Modified: head/sysutils/riak-cs/pkg-plist
==============================================================================
--- head/sysutils/riak-cs/pkg-plist Fri Nov 6 11:53:13 2015 (r400923)
+++ head/sysutils/riak-cs/pkg-plist Fri Nov 6 11:56:18 2015 (r400924)
@@ -7,11 +7,10 @@ sbin/riak-cs-multibag
sbin/riak-cs-stanchion
sbin/riak-cs-storage
sbin/riak-cs-supercluster
- at sample %%RIAKCS_CONFDIR%%/riak-cs.conf
- at sample %%RIAKCS_CONFDIR%%/advanced.config
- at sample %%RIAKCS_CONFDIR%%/key.pem
- at sample %%RIAKCS_CONFDIR%%/cert.pem
- at dir %%RIAKCS_CONFDIR%%
+ at sample %%RIAKCS_CONFDIR%%/riak-cs.conf.sample
+ at sample %%RIAKCS_CONFDIR%%/advanced.config.sample
+ at sample %%RIAKCS_CONFDIR%%/key.pem.sample
+ at sample %%RIAKCS_CONFDIR%%/cert.pem.sample
@owner %%USERS%%
@group %%GROUPS%%
@dir %%RIAKCS_DBDIR%%
More information about the svn-ports-all
mailing list