diff options
Diffstat (limited to 'system/monitorix')
-rw-r--r-- | system/monitorix/monitorix.SlackBuild | 20 | ||||
-rw-r--r-- | system/monitorix/monitorix.info | 6 |
2 files changed, 18 insertions, 8 deletions
diff --git a/system/monitorix/monitorix.SlackBuild b/system/monitorix/monitorix.SlackBuild index 878c6edf3c..4700a7a847 100644 --- a/system/monitorix/monitorix.SlackBuild +++ b/system/monitorix/monitorix.SlackBuild @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for "monitorix". # Copyright 2014-2016 Marcel Saegebarth <marc@mos6581.de> # All rights reserved. -# Updated 2019-2020 by Emmanuel N. Millan, Mendoza, Argentina +# Updated 2019-2021 by Emmanuel N. Millan, Mendoza, Argentina # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are @@ -25,10 +25,13 @@ # (INCLUDING NEGLIGENCE OR 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=monitorix -VERSION=${VERSION:-3.12.0} +VERSION=${VERSION:-3.15.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac 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} @@ -126,4 +136,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/monitorix/monitorix.info b/system/monitorix/monitorix.info index 224a2239ff..1135ed3d5a 100644 --- a/system/monitorix/monitorix.info +++ b/system/monitorix/monitorix.info @@ -1,8 +1,8 @@ PRGNAM="monitorix" -VERSION="3.12.0" +VERSION="3.15.0" HOMEPAGE="https://www.monitorix.org/" -DOWNLOAD="https://www.monitorix.org/monitorix-3.12.0.tar.gz" -MD5SUM="f1697a98284ac466b617d5312bd9fbf4" +DOWNLOAD="https://www.monitorix.org/monitorix-3.15.0.tar.gz" +MD5SUM="48ff1d8398d7eca13c97270464cd66c7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-lwp-useragent-cached perl-http-server-simple perl-config-general rrdtool" |