File nikto-config.patch of Package nikto

diff -ur nikto-2.1.5-orig/docs/nikto.1 nikto-2.1.5/docs/nikto.1
--- nikto-2.1.5-orig/docs/nikto.1	2010-07-11 09:27:52.000000000 +0200
+++ nikto-2.1.5/docs/nikto.1	2012-09-17 11:24:06.883148655 +0200
@@ -296,17 +296,17 @@
 .RE
 .RE
 .PP
-\fI${NIKTO_DIR}/plugins/db*\fR
+\fI/var/lib/nikto/databases/db*\fR
 .RS 4
 db files are the databases that nikto uses to check for vulnerabilities and issues within the web server\&.
 .RE
 .PP
-\fI${NIKTO_DIR}/plugins/*\&.plugin\fR
+\fI/var/lib/nikto/plugins/*\&.plugin\fR
 .RS 4
 All nikto\'s plugins exist here\&. Nikto itself is just a wrapper script to manage CLI and pass through to the plugins\&.
 .RE
 .PP
-\fI${NIKTO_DIR}/templates\fR
+\fI/var/lib/nikto/templates\fR
 .RS 4
 Contains the templates for nikto\'s output formats\&.
 .RE
diff -ur nikto-2.1.5-orig/nikto.conf nikto-2.1.5/nikto.conf
--- nikto-2.1.5-orig/nikto.conf	2012-08-21 23:58:40.000000000 +0200
+++ nikto-2.1.5/nikto.conf	2012-09-17 11:24:37.715695272 +0200
@@ -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				# 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/bin/nikto				# Location of Nikto
+PLUGINDIR=/var/lib/nikto/plugins		# Location of plugin dir
+DBDIR=/var/lib/nikto/databases			# Location of plugin dir
+TEMPLATEDIR=/var/lib/nikto/templates		# Location of tempmlate dir
+DOCDIR=/usr/share/doc/packages/nikto		# Location of docs dir
 
 # Default plugin macros
 @@MUTATE=dictionary;subdomain
openSUSE Build Service is sponsored by