diff options
author | Marco Bonetti <sid77@slackware.it> | 2011-02-05 11:02:43 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-02-05 11:02:43 -0600 |
commit | aa219231c8b707adcc1fb31cc4a14738402cdccb (patch) | |
tree | 3224dffb0c164c0fba05fd1cfc0806d43c99b470 /network/openvas-client/openvas-client.SlackBuild | |
parent | 1982d2bc49ec4ea6adceaa30d45a5786afc956eb (diff) | |
download | slackbuilds-aa219231c8b707adcc1fb31cc4a14738402cdccb.tar.gz |
network/openvas-client: Updated for version 3.0.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/openvas-client/openvas-client.SlackBuild')
-rw-r--r-- | network/openvas-client/openvas-client.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/network/openvas-client/openvas-client.SlackBuild b/network/openvas-client/openvas-client.SlackBuild index 36677b6803..497c98d7dd 100644 --- a/network/openvas-client/openvas-client.SlackBuild +++ b/network/openvas-client/openvas-client.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh # Slackware build script for OpenVAS client. -# -# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> + +# Copyright 2011-2012 Marco Bonetti <sid77@slackware.it> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=openvas-client -VERSION=${VERSION:-3.0.0} +VERSION=${VERSION:-3.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -84,15 +84,12 @@ 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 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/etc/openvas/openvas-client_log.conf $PKG/etc/openvas/openvas-client_log.conf.new -chmod 644 $PKG/etc/openvas/openvas-client_log.conf.new +chmod 0644 $PKG/etc/openvas/openvas-client_log.conf.new cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |