[packages/nikto] - updated to 2.1.5
jareq
jareq at pld-linux.org
Sat Dec 1 13:37:13 CET 2012
commit 052712b91f59165da64fada581ae046753ea05d0
Author: Jaroslaw Kruk <kruk.jaroslaw at gmail.com>
Date: Sat Dec 1 13:34:52 2012 +0100
- updated to 2.1.5
nikto-paths.patch | 34 +++++++++++++++++-----------------
nikto.spec | 6 +++---
2 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/nikto.spec b/nikto.spec
index 9cfcffa..c5bb002 100644
--- a/nikto.spec
+++ b/nikto.spec
@@ -1,12 +1,12 @@
Summary: Web server assessment tool
Summary(pl.UTF-8): Skrypt do testowania zabezpieczeń serwera WWW
Name: nikto
-Version: 2.1.4
+Version: 2.1.5
Release: 1
License: GPL
Group: Networking
Source0: http://www.cirt.net/nikto/%{name}-%{version}.tar.bz2
-# Source0-md5: 0d58d9ca27b9f387b60130e125db8687
+# Source0-md5: 35ac9f11ab4aa0d5b8449748338bd159
URL: http://www.cirt.net/nikto2/
Patch0: %{name}-paths.patch
Suggests: nmap
@@ -38,7 +38,7 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_datadir}/%{name},%{_mand
install nikto.conf $RPM_BUILD_ROOT%{_sysconfdir}
cp -a nikto.pl $RPM_BUILD_ROOT%{_bindir}
-cp -a plugins templates $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -a databases plugins templates $RPM_BUILD_ROOT%{_datadir}/%{name}
cp -a docs/nikto.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
diff --git a/nikto-paths.patch b/nikto-paths.patch
index adc8ff2..e2def82 100644
--- a/nikto-paths.patch
+++ b/nikto-paths.patch
@@ -1,29 +1,29 @@
-diff -burNp nikto-2.1.1/nikto.conf nikto-2.1.1-dud/nikto.conf
---- nikto-2.1.1/nikto.conf 2010-02-02 20:28:54.000000000 +0100
-+++ nikto-2.1.1-dud/nikto.conf 2010-02-07 00:28:22.201055867 +0100
-@@ -22,10 +22,10 @@ USERAGENT=Mozilla/4.75 (Nikto/@VERSION)
+diff -urN nikto-2.1.5.orig/nikto.conf nikto-2.1.5/nikto.conf
+--- nikto-2.1.5.orig/nikto.conf 2012-12-01 11:55:47.000000000 +0100
++++ nikto-2.1.5/nikto.conf 2012-12-01 12:05:49.000000000 +0100
+@@ -23,7 +23,7 @@
#SKIPIDS=
- # if Nikto is having difficulty finding the 'plugins', set the full install path here
--# EXECDIR=/usr/local/nikto
-+EXECDIR=/usr/share/nikto
-
# The DTD
-NIKTODTD=docs/nikto.dtd
-+NIKTODTD=/usr/share/doc/nikto/nikto.dtd
++NIKTODTD=/usr/share/doc/nikto-2.1.5/nikto.dtd
# the default HTTP version to try... can/will be changed as necessary
DEFAULTHTTPVER=1.0
-@@ -68,9 +68,9 @@ CHECKMETHODS=HEAD GET
+@@ -61,11 +61,11 @@
+ CHECKMETHODS=HEAD GET
# If you want to specify the location of any of the files, specify them here
- # EXECDIR=/opt/nikto
--# PLUGINDIR=/opt/nikto/plugins
--# TEMPLATEDIR=/opt/nikto/templates
--# DOCDIR=/opt/nikto/docs
-+PLUGINDIR=/usr/share/nikto/plugins
-+TEMPLATEDIR=/usr/share/nikto/templates
-+DOCDIR=/usr/share/doc/nikto
+-# EXECDIR=/opt/nikto # Location of Nikto
+-# PLUGINDIR=/opt/nikto/plugins # Location of plugin dir
+-# DBDIR=/opt/nikto/databases # Location of plugin dir
+-# TEMPLATEDIR=/opt/nikto/templates # Location of tempmlate dir
+-# DOCDIR=/opt/nikto/docs # Location of docs dir
++EXECDIR=/usr/share/nikto # Location of Nikto
++PLUGINDIR=/usr/share/nikto/plugins # Location of plugin dir
++DBDIR=/usr/share/nikto/databases # Location of plugin dir
++TEMPLATEDIR=/usr/share/nikto/templates # Location of tempmlate dir
++DOCDIR=/usr/share/doc/nikto-2.1.5 # Location of docs dir
# Default plugin macros
@@MUTATE=dictionary;subdomain
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nikto.git/commitdiff/052712b91f59165da64fada581ae046753ea05d0
More information about the pld-cvs-commit
mailing list