summaryrefslogtreecommitdiffstats
path: root/system/apache-cassandra
diff options
context:
space:
mode:
author Mario Antunes <mariolpantunes@gmail.com>2023-08-26 19:21:20 +0900
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-26 19:07:04 +0700
commit66810cdacd2fae5854d7602b9b309a7cd2bcc303 (patch)
tree58230740c6e46d3c44e55e9ff67f7bda0ea4bbab /system/apache-cassandra
parent778d8c42ad43db14425aa0591323060cab40af2f (diff)
downloadslackbuilds-66810cdacd2fae5854d7602b9b309a7cd2bcc303.tar.gz
slackbuilds-66810cdacd2fae5854d7602b9b309a7cd2bcc303.tar.xz
system/apache-cassandra: Updated for version 4.1.3.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/apache-cassandra')
-rw-r--r--system/apache-cassandra/apache-cassandra.SlackBuild15
-rw-r--r--system/apache-cassandra/apache-cassandra.info6
2 files changed, 10 insertions, 11 deletions
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"