diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-18 13:40:35 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-18 13:40:35 +0700 |
commit | 26783c6fac41acac873be07fe3cb06b4ee7c1f15 (patch) | |
tree | 11cef69c67ba1d28728bce5935d3f31a3cf8f8be /system/apache-cassandra | |
parent | bd2ae1e413e523a6823575a2362b0e20d36e0d6c (diff) |
system/apache-cassandra: Updated for version 4.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/apache-cassandra')
-rw-r--r-- | system/apache-cassandra/apache-cassandra.SlackBuild | 7 | ||||
-rw-r--r-- | system/apache-cassandra/apache-cassandra.info | 6 | ||||
-rw-r--r-- | system/apache-cassandra/rc.cassandra | 2 |
3 files changed, 7 insertions, 8 deletions
diff --git a/system/apache-cassandra/apache-cassandra.SlackBuild b/system/apache-cassandra/apache-cassandra.SlackBuild index 3ba0a6bc46b5e..3eddc2ba7bfe1 100644 --- a/system/apache-cassandra/apache-cassandra.SlackBuild +++ b/system/apache-cassandra/apache-cassandra.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="apache-cassandra" -VERSION=${VERSION:-2.0.7} +VERSION=${VERSION:-4.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -68,12 +68,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION rm -f bin/*.bat -cp -rf bin conf interface lib pylib tools $PKG/opt/$PRGNAM +cp -rf bin conf lib pylib tools $PKG/opt/$PRGNAM cp $CWD/rc.cassandra $PKG/etc/rc.d/rc.cassandra.new -cp -a CHANGES.txt LICENSE.txt NEWS.txt NOTICE.txt README.txt \ +cp -a CHANGES.txt LICENSE.txt NEWS.txt NOTICE.txt \ $PKG/usr/doc/$PRGNAM-$VERSION -cp -rf javadoc $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh diff --git a/system/apache-cassandra/apache-cassandra.info b/system/apache-cassandra/apache-cassandra.info index 45143d3b55060..41786242e6139 100644 --- a/system/apache-cassandra/apache-cassandra.info +++ b/system/apache-cassandra/apache-cassandra.info @@ -1,8 +1,8 @@ PRGNAM="apache-cassandra" -VERSION="2.0.7" +VERSION="4.0.1" HOMEPAGE="http://cassandra.apache.org/" -DOWNLOAD="http://archive.apache.org/dist/cassandra/2.0.7/apache-cassandra-2.0.7-bin.tar.gz" -MD5SUM="1894c5103d12a2be14a2c44bfa2363cc" +DOWNLOAD="http://archive.apache.org/dist/cassandra/4.0.1/apache-cassandra-4.0.1-bin.tar.gz" +MD5SUM="aae4ab4f0f7dc68677a1140eccb87c7d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jdk" diff --git a/system/apache-cassandra/rc.cassandra b/system/apache-cassandra/rc.cassandra index 8fa5d9a7cebfe..adb69099fd1d4 100644 --- a/system/apache-cassandra/rc.cassandra +++ b/system/apache-cassandra/rc.cassandra @@ -35,7 +35,7 @@ if [[ $STATUS -eq 0 ]]; then echo -e "Service $PRG is already running." else echo -e "Start service $PRG" - $DIR$PRG -p $PID_FILE > /dev/null 2>&1 & + $DIR$PRG -r -p $PID_FILE > /dev/null 2>&1 & fi } |