diff options
author | pyllyukko <pyllyukko@maimed.org> | 2022-02-19 20:30:47 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-20 01:31:57 +0700 |
commit | aa5d855a534087c82f52049da8d830dc135f5145 (patch) | |
tree | dde6cd7cf5fb4c34143e33bfe5a3e4f28ae70f15 /network/kismet | |
parent | 8196ec623d2ac357d6808cf07b0300c4963a4014 (diff) |
network/kismet: Updated for version 2022.02.R1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/kismet')
-rw-r--r-- | network/kismet/kismet.SlackBuild | 19 | ||||
-rw-r--r-- | network/kismet/kismet.info | 12 |
2 files changed, 13 insertions, 18 deletions
diff --git a/network/kismet/kismet.SlackBuild b/network/kismet/kismet.SlackBuild index a86ec563618d2..38617770b5d71 100644 --- a/network/kismet/kismet.SlackBuild +++ b/network/kismet/kismet.SlackBuild @@ -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 diff --git a/network/kismet/kismet.info b/network/kismet/kismet.info index 2d0c322ada2c0..bcc8071bdb973 100644 --- a/network/kismet/kismet.info +++ b/network/kismet/kismet.info @@ -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" |