diff options
Diffstat (limited to 'system/apache-cassandra/apache-cassandra.SlackBuild')
-rw-r--r-- | system/apache-cassandra/apache-cassandra.SlackBuild | 10 |
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 |