rpms/nikto/F-10 nikto-2.03-libwhisker2.patch, NONE, 1.1 nikto.spec, 1.2, 1.3 sources, 1.2, 1.3
Sindre Pedersen Bjørdal
sindrepb at fedoraproject.org
Wed Apr 1 01:38:36 UTC 2009
Author: sindrepb
Update of /cvs/pkgs/rpms/nikto/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25150
Modified Files:
nikto.spec sources
Added Files:
nikto-2.03-libwhisker2.patch
Log Message:
new upstream release
nikto-2.03-libwhisker2.patch:
--- NEW FILE nikto-2.03-libwhisker2.patch ---
diff -up ./nikto.pl.orig ./nikto.pl
--- ./nikto.pl.orig 2009-04-01 03:13:26.000000000 +0200
+++ ./nikto.pl 2009-04-01 03:13:44.000000000 +0200
@@ -68,9 +68,9 @@ require "$NIKTO{plugindir}/nikto_core.pl
nprint("T:$STARTTIME: Starting", "d");
require "$NIKTO{plugindir}/nikto_reports.plugin"; ### Change this line if your setup is having trouble finding it
require "$NIKTO{plugindir}/nikto_single.plugin"; ### Change this line if your setup is having trouble finding it
-require "$NIKTO{plugindir}/LW2.pm"; ### Change this line if your setup is having trouble finding it
+#require "$NIKTO{plugindir}/LW2.pm"; ### Change this line if your setup is having trouble finding it
-# use LW2; ### Change this line to use a different installed version
+use LW2; ### Change this line to use a different installed version
($a, $b) = split(/\./, $LW2::VERSION);
die("- You must use LW2 2.4 or later\n") if ($a != 2 || $b < 4);
Index: nikto.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nikto/F-10/nikto.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- nikto.spec 26 Aug 2008 22:59:20 -0000 1.2
+++ nikto.spec 1 Apr 2009 01:38:05 -0000 1.3
@@ -1,15 +1,15 @@
Name: nikto
-Version: 1.36
-Release: 4%{?dist}
+Version: 2.03
+Release: 1%{?dist}
Summary: Web server scanner
Group: Applications/Internet
License: GPLv2+
URL: http://www.cirt.net/code/nikto.shtml
-Source0: http://www.cirt.net/nikto/%{name}-%{version}.tar.bz2
-#use system libwhisker
+Source0: http://www.cirt.net/nikto2/%{name}-%{version}.tar.bz2
Source1: nikto-database-license.txt
-Patch0: nikto-1.36-libwhisker.patch
+#use system libwhisker2
+Patch0: nikto-2.03-libwhisker2.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -24,7 +24,7 @@
can be automatically updated (if desired).
%prep
-%setup -q
+%setup -qn %{name}
%patch0 -p1
#change configfile path
@@ -39,15 +39,17 @@
%install
rm -rf $RPM_BUILD_ROOT
-cp %{SOURCE1} $RPM_BUILD_DIR/%{name}-%{version}/database-license.txt
+cp %{SOURCE1} $RPM_BUILD_DIR/%{name}/database-license.txt
install -pD nikto.pl $RPM_BUILD_ROOT%{_bindir}/nikto
-install -m 0644 -pD docs/nikto-%{version}.man $RPM_BUILD_ROOT%{_mandir}/man1/nikto.1
+install -m 0644 -pD docs/nikto.1 $RPM_BUILD_ROOT%{_mandir}/man1/nikto.1
mkdir -p $RPM_BUILD_ROOT%{_datadir}/nikto/plugins/
install -m 0644 -p plugins/* $RPM_BUILD_ROOT%{_datadir}/nikto/plugins/
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/nikto/templates/
+install -m 0644 -p templates/* $RPM_BUILD_ROOT%{_datadir}/nikto/templates/
install -m 0644 -pD config.txt $RPM_BUILD_ROOT%{_sysconfdir}/nikto/config
#remove unneeded files
-rm -f $RPM_BUILD_ROOT%{_datadir}/nikto/plugins/LW.pm
+rm -f $RPM_BUILD_ROOT%{_datadir}/nikto/plugins/LW2.pm
%clean
rm -rf $RPM_BUILD_ROOT
@@ -55,7 +57,7 @@
%files
%defattr(-,root,root,-)
-%doc docs/CHANGES.txt docs/LICENSE.txt docs/README_plugins.txt database-license.txt
+%doc docs/CHANGES.txt docs/LICENSE.txt database-license.txt
%{_bindir}/*
%config(noreplace) %{_sysconfdir}/nikto
%{_datadir}/nikto
@@ -63,6 +65,12 @@
%changelog
+* Wed Apr 01 2009 Sindre Pedersen Bjørdal <sindrepb at fedoraproject.org> - 2.03-1
+- New upstream release
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.36-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
* Tue Aug 26 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.36-4
- fix license tag
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/nikto/F-10/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 6 Jun 2007 16:32:02 -0000 1.2
+++ sources 1 Apr 2009 01:38:05 -0000 1.3
@@ -1 +1 @@
-d70107deb225489ecf20e2b46684674e nikto-1.36.tar.bz2
+8f286a7943b12a341088f005f832d087 nikto-2.03.tar.bz2
More information about the scm-commits
mailing list