View | Details | Raw Unified | Return to bug 199257 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	whatweb
4
PORTNAME=	whatweb
5
DISTVERSION=	0.4.8-${GH_COMMIT}
5
DISTVERSION=	0.4.8-${GH_COMMIT}
6
PORTREVISION=	1
6
CATEGORIES=	security www
7
CATEGORIES=	security www
7
8
8
MAINTAINER=	rm@FreeBSD.org
9
MAINTAINER=	rm@FreeBSD.org
(-)files/patch-lib_extend-http.rb (+11 lines)
Line 0 Link Here
1
--- lib/extend-http.rb.orig	2015-05-05 01:19:35 UTC
2
+++ lib/extend-http.rb
3
@@ -97,7 +97,7 @@ class ExtendedHTTP < Net::HTTP   #:nodoc
4
 	end
5
 
6
 
7
-        if RUBY_VERSION =~ /^1\.9/ || RUBY_VERSION =~ /^2\.0/
8
+        if RUBY_VERSION =~ /^1\.9/ || RUBY_VERSION =~ /^2\./
9
 	      D "opening connection to #{conn_address()}..."
10
 	      s = timeout(@open_timeout) { TCPSocket.open(conn_address(), conn_port()) }
11
 	      D "opened"
(-)files/patch-whatweb (+11 lines)
Line 0 Link Here
1
--- whatweb.orig	2015-05-05 01:19:21 UTC
2
+++ whatweb
3
@@ -49,7 +49,7 @@ require 'resolv-replace' # asynchronous 
4
 
5
 
6
 ### ruby 1.9 changes
7
-if RUBY_VERSION =~ /^1\.9/ || RUBY_VERSION =~ /^2\.0/
8
+if RUBY_VERSION =~ /^1\.9/ || RUBY_VERSION =~ /^2\./
9
         require 'digest/md5'
10
 else
11
         require 'md5'

Return to bug 199257