1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Update to version 0.8.7

PR:		ports/161671
Submitted by:	Gea-Suan Lin <gslin@gslin.org> (maintainer)
This commit is contained in:
Pawel Pekala 2011-10-18 21:07:35 +00:00
parent 9ded345815
commit b594f26dc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283854
3 changed files with 26 additions and 14 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= cassandra
PORTVERSION= 0.8.5
PORTVERSION= 0.8.7
CATEGORIES= databases java
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= cassandra/${PORTVERSION}
@ -20,14 +20,23 @@ LICENSE= ASL
JAVA_VERSION= 1.6+
NO_BUILD= yes
REINPLACE_ARGS= -i ''
USE_JAVA= yes
USE_RC_SUBR= cassandra
REINPLACE_ARGS= -i ''
CONFIGS= access.properties cassandra-topology.properties cassandra.yaml \
log4j-server.properties log4j-tools.properties passwd.properties
SCRIPTS= cassandra cassandra-cli json2sstable nodetool sstable2json \
sstablekeys sstableloader
CONFIGS= access.properties \
cassandra-topology.properties \
cassandra.yaml \
log4j-server.properties \
log4j-tools.properties \
passwd.properties
SCRIPTS= cassandra \
cassandra-cli \
json2sstable \
nodetool \
sstable2json \
sstablekeys \
sstableloader
post-extract:
@${RM} ${WRKSRC}/bin/*.bat ${WRKSRC}/bin/stop-server
@ -35,9 +44,12 @@ post-extract:
@${MV} ${WRKSRC}/conf/${i} ${WRKSRC}/conf/${i}.sample
.endfor
do-patch:
@${REINPLACE_CMD} -e 's|/usr/share/cassandra|${DATADIR}/bin|' ${WRKSRC}/bin/cassandra-cli ${WRKSRC}/bin/nodetool
@${REINPLACE_CMD} -e 's|\`dirname \$$\0\`/..|${DATADIR}|' ${WRKSRC}/bin/cassandra.in.sh
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/cassandra|${DATADIR}/bin|' \
${WRKSRC}/bin/cassandra-cli \
${WRKSRC}/bin/nodetool
@${REINPLACE_CMD} -e 's|\`dirname \$$\0\`/..|${DATADIR}|' \
${WRKSRC}/bin/cassandra.in.sh
do-install:
@${MKDIR} ${DATADIR}
@ -47,6 +59,6 @@ do-install:
@${LN} -s ${DATADIR}/bin/nodetool ${PREFIX}/bin/nodetool
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (apache-cassandra-0.8.5-bin.tar.gz) = 12a433e51f8e49d70da761ceed9a912633480854e7ef7f49899865f28331883a
SIZE (apache-cassandra-0.8.5-bin.tar.gz) = 10236276
SHA256 (apache-cassandra-0.8.7-bin.tar.gz) = 5b1f442e8f9e80bcebe7c46083659365c4d7edd0fe01ed610c4a07a9d1cfdc16
SIZE (apache-cassandra-0.8.7-bin.tar.gz) = 10274121

View File

@ -1555,8 +1555,8 @@ bin/nodetool
%%DATADIR%%/javadoc/serialized-form.html
%%DATADIR%%/javadoc/stylesheet.css
%%DATADIR%%/lib/antlr-3.2.jar
%%DATADIR%%/lib/apache-cassandra-0.8.5.jar
%%DATADIR%%/lib/apache-cassandra-thrift-0.8.5.jar
%%DATADIR%%/lib/apache-cassandra-0.8.7.jar
%%DATADIR%%/lib/apache-cassandra-thrift-0.8.7.jar
%%DATADIR%%/lib/avro-1.4.0-fixes.jar
%%DATADIR%%/lib/avro-1.4.0-sources-fixes.jar
%%DATADIR%%/lib/commons-cli-1.1.jar