rpms/nikto/F-12 nikto.spec,1.5,1.6

Huzaifa Sidhpurwala huzaifas at fedoraproject.org
Mon Feb 8 06:38:47 UTC 2010


Author: huzaifas

Update of /cvs/pkgs/rpms/nikto/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4663

Modified Files:
	nikto.spec 
Log Message:
Resolve rhbz #515871


Index: nikto.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nikto/F-12/nikto.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- nikto.spec	25 Jul 2009 19:22:44 -0000	1.5
+++ nikto.spec	8 Feb 2010 06:38:46 -0000	1.6
@@ -1,6 +1,6 @@
 Name:           nikto
 Version:        2.03
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Web server scanner 
 
 Group:          Applications/Internet
@@ -28,7 +28,8 @@ can be automatically updated (if desired
 %patch0 -p1
 
 #change configfile path
-sed -i "s:$CFG{configfile}=\"config.txt\":$CFG{configfile}=\"%{_sysconfdir}/nikto/config\":" nikto.pl
+sed -i 's:$NIKTO{configfile} = "config.txt";:$NIKTO{configfile}="%{_sysconfdir}/nikto/config";:' nikto.pl
+sed -i 's:# EXECDIR=/usr/local/nikto:EXECDIR=%{_datadir}/nikto:' config.txt
 #enable nmap by default and set plugindir path
 sed -i "s:#NMAP=/usr/bin/nmap:NMAP=%{_bindir}/nmap:;
         s:# PLUGINDIR=/usr/local/nikto/plugins:PLUGINDIR=%{_datadir}/nikto/plugins:" config.txt
@@ -65,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Feb 08 2010 Huzaifa Sidhpurwala <huzaifas at redhat.com> - 2.03-3
+- Resolve rhbz #515871
+
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.03-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 



More information about the scm-commits mailing list