[nikto] fix patch format

rebus rebus at fedoraproject.org
Thu Oct 4 00:15:04 UTC 2012


commit 6776f382130d734247e1c35642e93a5873420f7e
Author: Michal Ambroz <rebus at seznam.cz>
Date:   Thu Oct 4 02:14:33 2012 +0200

    fix patch format

 nikto-libwhisker2.patch |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/nikto-libwhisker2.patch b/nikto-libwhisker2.patch
index 597e45b..528671d 100644
--- a/nikto-libwhisker2.patch
+++ b/nikto-libwhisker2.patch
@@ -1,7 +1,7 @@
 diff -ru nikto-2.1.5/nikto.pl nikto-2.1.5.new/nikto.pl
---- nikto-2.1.5/nikto.pl	2012-09-18 16:03:18.858811310 +0530
-+++ nikto-2.1.5.new/nikto.pl	2012-09-18 16:05:17.954814058 +0530
-@@ -56,11 +56,11 @@
+--- nikto-2.1.5/nikto.pl	2012-09-10 10:22:36.000000000 +0200
++++ nikto-2.1.5.new/nikto.pl	2012-10-04 02:12:33.605985988 +0200
+@@ -56,14 +56,14 @@
  setup_dirs();
  require "$CONFIGFILE{'PLUGINDIR'}/nikto_core.plugin";
  nprint("T:" . localtime($COUNTERS{'scan_start'}) . ": Starting", "d");
@@ -16,3 +16,6 @@ diff -ru nikto-2.1.5/nikto.pl nikto-2.1.5.new/nikto.pl
  #set SSL Engine
 -LW2::init_ssl_engine($CONFIGFILE{'LW_SSL_ENGINE'});
 +#LW2::init_ssl_engine($CONFIGFILE{'LW_SSL_ENGINE'});
+ 
+ my ($a, $b) = split(/\./, $LW2::VERSION);
+ die("- You must use LW2 2.4 or later\n") if ($a != 2 || $b < 4);


More information about the scm-commits mailing list