From 66810cdacd2fae5854d7602b9b309a7cd2bcc303 Mon Sep 17 00:00:00 2001 From: Mario Antunes Date: Sat, 26 Aug 2023 19:21:20 +0900 Subject: system/apache-cassandra: Updated for version 4.1.3. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- system/apache-cassandra/apache-cassandra.SlackBuild | 15 +++++++-------- system/apache-cassandra/apache-cassandra.info | 6 +++--- 2 files changed, 10 insertions(+), 11 deletions(-) (limited to 'system/apache-cassandra') diff --git a/system/apache-cassandra/apache-cassandra.SlackBuild b/system/apache-cassandra/apache-cassandra.SlackBuild index 3eddc2ba7b..e4fe2c0a46 100644 --- a/system/apache-cassandra/apache-cassandra.SlackBuild +++ b/system/apache-cassandra/apache-cassandra.SlackBuild @@ -24,19 +24,18 @@ # based on apache-tomcat.SlackBuild by Heinz Wiesinger and Vincent Batts +# 20230807 bkw: Modified by SlackBuilds.org, BUILD=2: fix csh profile script. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM="apache-cassandra" -VERSION=${VERSION:-4.0.1} +VERSION=${VERSION:-4.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH="noarch" -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -77,10 +76,10 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh #!/bin/csh -setenv CASSANDRA_HOME="/opt/$PRGNAM" -setenv CASSANDRA_CONF="\$CASSANDRA_HOME/conf" -setenv CASSANDRA_INCLUDE="\$CASSANDRA_HOME/tools/bin/cassandra.in.sh" -setenv PATH="\$PATH:\$CASSANDRA_HOME/bin" +setenv CASSANDRA_HOME "/opt/$PRGNAM" +setenv CASSANDRA_CONF "\${CASSANDRA_HOME}/conf" +setenv CASSANDRA_INCLUDE "\${CASSANDRA_HOME}/tools/bin/cassandra.in.sh" +setenv PATH "\${PATH}:\${CASSANDRA_HOME}/bin" EOF cat << EOF > $PKG/etc/profile.d/$PRGNAM.sh diff --git a/system/apache-cassandra/apache-cassandra.info b/system/apache-cassandra/apache-cassandra.info index 4f3c974be5..09c9c61397 100644 --- a/system/apache-cassandra/apache-cassandra.info +++ b/system/apache-cassandra/apache-cassandra.info @@ -1,8 +1,8 @@ PRGNAM="apache-cassandra" -VERSION="4.0.1" +VERSION="4.1.3" HOMEPAGE="http://cassandra.apache.org/" -DOWNLOAD="http://archive.apache.org/dist/cassandra/4.0.1/apache-cassandra-4.0.1-bin.tar.gz" -MD5SUM="aae4ab4f0f7dc68677a1140eccb87c7d" +DOWNLOAD="https://dlcdn.apache.org/cassandra/4.1.3/apache-cassandra-4.1.3-bin.tar.gz" +MD5SUM="f2f148d0c7af65375caedb074dde93d1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="zulu-openjdk8" -- cgit v1.2.3-65-gdbad