summaryrefslogtreecommitdiffstats
path: root/system/chronograf
diff options
context:
space:
mode:
Diffstat (limited to 'system/chronograf')
-rw-r--r--system/chronograf/README5
-rw-r--r--system/chronograf/chronograf.SlackBuild20
-rw-r--r--system/chronograf/chronograf.info12
3 files changed, 24 insertions, 13 deletions
diff --git a/system/chronograf/README b/system/chronograf/README
index 37c8860d14..fbaadf0fc4 100644
--- a/system/chronograf/README
+++ b/system/chronograf/README
@@ -8,8 +8,9 @@ visualizations of your data.
Groupname and Username
-You must have the "chronograf" group and user to run this script, for
+You must have the "chronograf" group and user to run this script, for
example:
groupadd -g 350 chronograf
- useradd -u 350 -s /bin/false -d /var/lib/chronograf -g chronograf chronograf
+ useradd -u 350 -s /bin/false -d /var/lib/chronograf \
+ -g chronograf chronograf
diff --git a/system/chronograf/chronograf.SlackBuild b/system/chronograf/chronograf.SlackBuild
index 35bf3002ee..38449a9219 100644
--- a/system/chronograf/chronograf.SlackBuild
+++ b/system/chronograf/chronograf.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Chronograf
-# Copyright 2017-2020 Ebben Aries <e@dscp.org>
+# Copyright 2017-2024 Ebben Aries <slackbuilds@dscp.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=chronograf
-VERSION=${VERSION:-1.8.0}
+VERSION=${VERSION:-1.10.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -46,7 +49,14 @@ elif ! getent passwd $PRGNAM; then
exit 1
fi
-CWD=$(pwd)
+# 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
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -102,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/chronograf/chronograf.info b/system/chronograf/chronograf.info
index c03ac8e4bd..9991aff83a 100644
--- a/system/chronograf/chronograf.info
+++ b/system/chronograf/chronograf.info
@@ -1,10 +1,10 @@
PRGNAM="chronograf"
-VERSION="1.8.0"
+VERSION="1.10.3"
HOMEPAGE="https://www.influxdata.com"
-DOWNLOAD="https://dl.influxdata.com/chronograf/releases/chronograf-1.8.0_linux_i386.tar.gz"
-MD5SUM="5eca18780c5b8706898795bc75f387f0"
-DOWNLOAD_x86_64="https://dl.influxdata.com/chronograf/releases/chronograf-1.8.0_linux_amd64.tar.gz"
-MD5SUM_x86_64="29a29acc205692381e52d8ee756f5c7f"
+DOWNLOAD="https://dl.influxdata.com/chronograf/releases/chronograf-1.10.3_linux_i386.tar.gz"
+MD5SUM="72385f53ae4dffff70a17973e172f7f6"
+DOWNLOAD_x86_64="https://dl.influxdata.com/chronograf/releases/chronograf-1.10.3_linux_amd64.tar.gz"
+MD5SUM_x86_64="493fe3362a03082472de8f83e57cdfc7"
REQUIRES=""
MAINTAINER="Ebben Aries"
-EMAIL="e@dscp.org"
+EMAIL="slackbuilds@dscp.org"