diff options
Diffstat (limited to 'network/openvas-scanner/openvas-scanner.SlackBuild')
-rw-r--r-- | network/openvas-scanner/openvas-scanner.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/network/openvas-scanner/openvas-scanner.SlackBuild b/network/openvas-scanner/openvas-scanner.SlackBuild index 02514bfc98..0d57a950c5 100644 --- a/network/openvas-scanner/openvas-scanner.SlackBuild +++ b/network/openvas-scanner/openvas-scanner.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openvas-scanner -VERSION=${VERSION:-4.0.6} +VERSION=${VERSION:-5.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -89,11 +89,12 @@ 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 mv $PKG/usr/share/man $PKG/usr -rmdir $PKG/usr/share 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 +mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION +rm -r $PKG/usr/share cp -a CHANGES COPYING COPYING.GPLv2 ChangeLog INSTALL README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |