aboutsummaryrefslogtreecommitdiff
path: root/network/nikto/nikto.SlackBuild
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2011-03-05 00:35:32 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-03-05 00:35:32 -0300
commitd2ec2b6968a02e2dd16474d7681f459f827af7ba (patch)
tree564df389d71d6fabf1d71b8feb81dafd7e79fb9f /network/nikto/nikto.SlackBuild
parent800ce8b7ac43fd06eb986b06db8a2afa30940777 (diff)
network/nikto: Updated for version 2.1.4.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/nikto/nikto.SlackBuild')
-rw-r--r--network/nikto/nikto.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/network/nikto/nikto.SlackBuild b/network/nikto/nikto.SlackBuild
index a882d98f9cb96..6e66cb1cc1fc2 100644
--- a/network/nikto/nikto.SlackBuild
+++ b/network/nikto/nikto.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nikto
-VERSION=${VERSION:-2.1.2}
+VERSION=${VERSION:-2.1.4}
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
@@ -106,10 +104,10 @@ rm -f $PKG/usr/lib$LIBDIRSUFFIX/nikto/plugins/LW2.pm
# Copy over important docs and man page
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/usr/man/man1/
-( cd docs
+cd docs
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION/
gzip -9c nikto.1 > $PKG/usr/man/man1/nikto.1.gz
-)
+cd -
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install