summaryrefslogtreecommitdiff
path: root/system/apache-cassandra/apache-cassandra.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-04-04 21:45:45 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-04-04 22:06:49 -0500
commit50195a5d978996fdfb9bb49590d9233e6fad20ac (patch)
treef344a6a05d6fbc9416c199eed27038683f5a4fc5 /system/apache-cassandra/apache-cassandra.SlackBuild
parentcc1c5cf5100e7ed5d15d3bf19d6884509ecaee74 (diff)
downloadslackbuilds-50195a5d978996fdfb9bb49590d9233e6fad20ac.tar.gz
system/apache-cassandra: Updated for version 0.6.12.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/apache-cassandra/apache-cassandra.SlackBuild')
-rw-r--r--system/apache-cassandra/apache-cassandra.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/apache-cassandra/apache-cassandra.SlackBuild b/system/apache-cassandra/apache-cassandra.SlackBuild
index 7e5d6866fe..a6822e1372 100644
--- a/system/apache-cassandra/apache-cassandra.SlackBuild
+++ b/system/apache-cassandra/apache-cassandra.SlackBuild
@@ -25,11 +25,12 @@
# based on apache-tomcat.SlackBuild by Heinz Wiesinger and Vincent Batts
PRGNAM=apache-cassandra
-VERSION=0.6.5
-ARCH=noarch
+VERSION=0.6.12
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+ARCH=noarch
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -57,12 +58,13 @@ mkdir -p $PKG/var/lib/cassandra
rm -f bin/*.bat
#####
-cp -f $CWD/cassandra.in.sh $PKG/etc/$PRGNAM
cp -rf conf/* interface $PKG/etc/$PRGNAM
cp -rf bin lib $PKG/opt/$PRGNAM
-
mkdir -p $PKG/etc/{profile.d,rc.d}
cp $CWD/rc.cassandra $PKG/etc/rc.d/rc.cassandra.new
+cp -f $CWD/cassandra.in.sh $PKG/etc/$PRGNAM/cassandra.in.sh.new
+mv $PKG/etc/apache-cassandra/storage-conf.xml \
+ $PKG/etc/apache-cassandra/storage-conf.xml.new
cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh
#!/bin/csh