summaryrefslogtreecommitdiffstats
path: root/network/kismet/kismet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/kismet/kismet.SlackBuild')
-rw-r--r--network/kismet/kismet.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/network/kismet/kismet.SlackBuild b/network/kismet/kismet.SlackBuild
index 38617770b5..0a4f245297 100644
--- a/network/kismet/kismet.SlackBuild
+++ b/network/kismet/kismet.SlackBuild
@@ -28,7 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kismet
-VERSION=${VERSION:-2022.02.R1}
+VERSION=${VERSION:-20240430}
+COMMITVER="c28bca11baa23888510fac59a34bbe0b5d68dc37"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -82,10 +80,10 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-${VERSION//./-}
+rm -rf $PRGNAM-$COMMITVER
-tar xvf $CWD/$PRGNAM-${VERSION//./-}.tar.xz
-cd $PRGNAM-${VERSION//./-}
+tar xvf $CWD/$PRGNAM-$COMMITVER.tar.gz
+cd $PRGNAM-$COMMITVER
chown -R root:root .
find -L . \
@@ -115,7 +113,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG LICENSE README.OLD README.SSL README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.OLD README.SSL README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install