network/kismet: Updated for version 2022.02.R1 + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
pyllyukko 2022-02-19 20:30:47 +02:00 committed by Willy Sudiarto Raharjo
parent 8196ec623d
commit aa5d855a53
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 13 additions and 18 deletions

View File

@ -5,6 +5,7 @@
# Copyright 2007 Robby Workman <rworkman@slackbuilds.org>
# Copyright 2010 Antonio Hernández Blas <hba.nihilismus@gmail.com>
# Copyright 2013-2017 Audrius Kažukauskas <audrius@neutrino.lt>
# Copyright 2022 pyllyukko
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -27,13 +28,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kismet
VERSION=${VERSION:-2016_07_R1}
VERSION=${VERSION:-2022.02.R1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION=$(echo $VERSION | tr _ -)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@ -61,7 +60,7 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
SLKCFLAGS="-O2 -fPIC -fPIE -pie -Wl,-z,relro,-z,now -fstack-protector-all --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
@ -83,11 +82,10 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
rm -rf $PRGNAM-${VERSION//./-}
tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.xz
mv $PRGNAM-$SRCVERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-${VERSION//./-}.tar.xz
cd $PRGNAM-${VERSION//./-}
chown -R root:root .
find -L . \
@ -116,11 +114,8 @@ make plugins-install MANGRP=root DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG README RELEASENOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG 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

View File

@ -1,10 +1,10 @@
PRGNAM="kismet"
VERSION="2016_07_R1"
VERSION="2022.02.R1"
HOMEPAGE="https://kismetwireless.net/"
DOWNLOAD="https://kismetwireless.net/code/kismet-2016-07-R1.tar.xz"
MD5SUM="7fa6e86c5078a0e7d91fc9bf954c5107"
DOWNLOAD="https://www.kismetwireless.net/code/kismet-2022-02-R1.tar.xz"
MD5SUM="35eda7c521e007e5b324ae05d576ab33"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Audrius Kažukauskas"
EMAIL="audrius@neutrino.lt"
REQUIRES="libwebsockets protobuf3 protobuf-c"
MAINTAINER="pyllyukko"
EMAIL="pyllyukko@maimed.org"