From d2ec2b6968a02e2dd16474d7681f459f827af7ba Mon Sep 17 00:00:00 2001 From: Marco Bonetti Date: Sat, 5 Mar 2011 00:35:32 -0300 Subject: network/nikto: Updated for version 2.1.4. Signed-off-by: Niels Horn --- network/nikto/nikto.SlackBuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'network/nikto/nikto.SlackBuild') 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 -- cgit v1.2.3