diff options
author | Marco Bonetti <sid77@slackware.it> | 2010-05-13 00:37:44 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:37:44 +0200 |
commit | 25e3bc68239f87e8387edb506cff056cf3a2a257 (patch) | |
tree | 833222e0fa0409962f259e06624fcef1bf18bf12 /network/openvas-client/openvas-client.SlackBuild | |
parent | e5e00f5ae09834043cb1975226ea5919fd884a10 (diff) | |
download | slackbuilds-25e3bc68239f87e8387edb506cff056cf3a2a257.tar.gz |
network/openvas-client: Updated for version 3.0.0
Diffstat (limited to 'network/openvas-client/openvas-client.SlackBuild')
-rw-r--r-- | network/openvas-client/openvas-client.SlackBuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/network/openvas-client/openvas-client.SlackBuild b/network/openvas-client/openvas-client.SlackBuild index 47bf889206..5249660ed0 100644 --- a/network/openvas-client/openvas-client.SlackBuild +++ b/network/openvas-client/openvas-client.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=openvas-client -VERSION=${VERSION:-2.0.3} +VERSION=${VERSION:-3.0.0} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,7 +34,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="CHANGES COPYING COPYING.OpenSSL COPYING.README" +DOCS="CHANGES COPYING COPYING.README ChangeLog" if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -71,16 +71,12 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -# looks like they forgot something ;-) -if [ -r ssl/openvasclient-mkrand ]; then - install -m 0755 ssl/openvasclient-mkrand $PKG/usr/bin/openvasclient-mkrand -fi ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null + xargs strip --strip-unneeded 2> /dev/null || true ) ( cd $PKG/usr/man @@ -90,11 +86,14 @@ fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -cp -a libnessus/COPYING $PKG/usr/doc/$PRGNAM-$VERSION/COPYING.libnessus +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 + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |