mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/openvas-scanner: Updated for version 3.0.2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
95b6ca251a
commit
11b3503d34
2 changed files with 8 additions and 13 deletions
|
@ -23,16 +23,14 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=openvas-scanner
|
||||
VERSION=${VERSION:-3.0.1}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-3.0.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
@ -89,16 +87,13 @@ make install DESTDIR=$PKG
|
|||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
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
|
||||
|
||||
# install rc script and config file.
|
||||
install -D -m0755 -oroot -groot $CWD/rc.openvassd $PKG/etc/rc.d/rc.openvassd.new
|
||||
cat $CWD/rc.openvas.conf > $PKG/etc/rc.d/rc.openvas.conf.new
|
||||
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="openvas-scanner"
|
||||
VERSION="3.0.1"
|
||||
VERSION="3.0.2"
|
||||
HOMEPAGE="http://www.openvas.org/"
|
||||
DOWNLOAD="http://wald.intevation.org/frs/download.php/696/openvas-scanner-3.0.1.tar.gz"
|
||||
MD5SUM="bc16660a65007a521b774e7eb474e89c"
|
||||
DOWNLOAD="http://wald.intevation.org/frs/download.php/724/openvas-scanner-3.0.2.tar.gz"
|
||||
MD5SUM="0fbadc838d4f21c43f1ce6c8180287e6"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Marco Bonetti"
|
||||
EMAIL="sid77@slackware.it"
|
||||
APPROVED="dsomero"
|
||||
APPROVED="Erik Hanson"
|
||||
|
|
Loading…
Reference in a new issue