[Lunar-commits] <moonbase> nikto: version bump to 2.1.4

Christian Krause wookietreiber at lunar-linux.org
Thu Aug 18 19:46:51 CEST 2011


commit 0eddfbbd28c00522e4eee910b91ec0fd5e7a957c
Author: Christian Krause <wookietreiber at lunar-linux.org>
Date:   Thu Aug 18 19:46:51 2011 +0200

    nikto: version bump to 2.1.4
---
 security/nikto/BUILD   |   18 +++++-------------
 security/nikto/DETAILS |    9 ++++-----
 2 files changed, 9 insertions(+), 18 deletions(-)

diff --git a/security/nikto/BUILD b/security/nikto/BUILD
index cedd3ca..e15a674 100644
--- a/security/nikto/BUILD
+++ b/security/nikto/BUILD
@@ -3,11 +3,6 @@
   EXEC_DIR="/usr/share/nikto"
   CONF_FILE="nikto.conf"
 
-  #We want a /etc/nikto.conf file not a ./config.txt file
-  sedit "s:config.txt:$CONF_FILE:" nikto.pl  &&
-  sedit "s:\$NIKTO{configfile} = \"$CONF_FILE\":\$NIKTO{configfile} = \"/etc/$CONF_FILE\":" nikto.pl &&
-  mv config.txt $CONF_FILE  &&
-
   # uncomment and set the exec directory
   sedit "s:# EXECDIR=/usr/local/nikto:EXECDIR=$EXEC_DIR:" $CONF_FILE &&
 
@@ -19,18 +14,15 @@
   prepare_install &&
 
   # install the conf file
-  install -m 0600 $CONF_FILE /etc &&
+  install -D -m 0644 $CONF_FILE /etc &&
 
   # install the app
-  install -D -m 0700 nikto.pl /usr/bin/nikto.pl  &&
+  install -D -m 0755 nikto.pl /usr/bin/nikto.pl  &&
   ln -sf /usr/bin/nikto.pl /usr/bin/nikto        &&
 
   # install the plugins, templates, etc
-  mkdir -p -m 0700 $EXEC_DIR/{plugins,templates,kbase,docs}  &&
-  cd plugins                   &&
-  cp * $EXEC_DIR/plugins       &&
-  cd ..                        &&
-  cd templates                 &&
-  cp * $EXEC_DIR/templates
+  install -d $EXEC_DIR/{plugins,templates,kbase,docs}  &&
+  cp -r plugins/*   $EXEC_DIR/plugins  &&
+  cp -r templates/* $EXEC_DIR/templates
 
 ) > $C_FIFO 2>&1
diff --git a/security/nikto/DETAILS b/security/nikto/DETAILS
index cec5f5f..754d7d7 100644
--- a/security/nikto/DETAILS
+++ b/security/nikto/DETAILS
@@ -1,12 +1,11 @@
           MODULE=nikto
-         VERSION=2.03
+         VERSION=2.1.4
           SOURCE=$MODULE-$VERSION.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
-      SOURCE_URL=http://www.cirt.net/$MODULE
-      SOURCE_VFY=sha1:24211a3be1a66b7304abf77fcdd9f1ac9909ec72
+      SOURCE_URL=https://www.cirt.net/$MODULE
+      SOURCE_VFY=sha1:d36f385dab04352336c09b7e576496a6ba18484a
         WEB_SITE=http://www.cirt.net/code/nikto.shtml
          ENTERED=20041027
-         UPDATED=20090810
+         UPDATED=20110818
            SHORT="A web server vulnerability scanner"
 
 cat << EOF


More information about the Lunar-commits mailing list