diff options
Diffstat (limited to 'system/aide')
-rw-r--r-- | system/aide/aide.SlackBuild | 20 | ||||
-rw-r--r-- | system/aide/aide.info | 6 |
2 files changed, 18 insertions, 8 deletions
diff --git a/system/aide/aide.SlackBuild b/system/aide/aide.SlackBuild index b87c666081..10e19c31a0 100644 --- a/system/aide/aide.SlackBuild +++ b/system/aide/aide.SlackBuild @@ -1,14 +1,17 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for AIDE # Andy Bailey <GooseYArd@gmail.com> -# Emmanuel N. Millan <emmanueln@gmail.com> - 2018,2019 +# Emmanuel N. Millan <emmanueln@gmail.com> - 2018,2021 + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=aide #PKGVER=`basename $PRGNAM*tar.gz .tar.gz | cut -d- -f2` -VERSION=${VERSION:-0.16.2} +VERSION=${VERSION:-0.18.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -18,7 +21,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} @@ -92,4 +102,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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/aide/aide.info b/system/aide/aide.info index 8caec1c7d3..bf6da3d4a2 100644 --- a/system/aide/aide.info +++ b/system/aide/aide.info @@ -1,8 +1,8 @@ PRGNAM="aide" -VERSION="0.16.2" +VERSION="0.18.6" HOMEPAGE="https://aide.github.io/" -DOWNLOAD="https://github.com/aide/aide/releases/download/v0.16.2/aide-0.16.2.tar.gz" -MD5SUM="9835914273bb06f9b3263ce36ef7149b" +DOWNLOAD="https://github.com/aide/aide/releases/download/v0.18.6/aide-0.18.6.tar.gz" +MD5SUM="3f464e9187dc812af140dd0f3f1c58f7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |