FreeBSD Bugzilla – Attachment 156354 Details for
Bug 199257
security/whatweb not work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to just to runtime issues with Ruby 2.1
whatweb-0.4.8.126.e729_1.diff (text/plain), 2.09 KB, created by
Jason Unovitch
on 2015-05-05 01:28:43 UTC
(
hide
)
Description:
Patch to just to runtime issues with Ruby 2.1
Filename:
MIME Type:
Creator:
Jason Unovitch
Created:
2015-05-05 01:28:43 UTC
Size:
2.09 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 385083) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= whatweb > DISTVERSION= 0.4.8-${GH_COMMIT} >+PORTREVISION= 1 > CATEGORIES= security www > > MAINTAINER= rm@FreeBSD.org >Index: files/patch-lib_extend-http.rb >=================================================================== >--- files/patch-lib_extend-http.rb (revision 0) >+++ files/patch-lib_extend-http.rb (working copy) >@@ -0,0 +1,11 @@ >+--- lib/extend-http.rb.orig 2015-05-05 01:19:35 UTC >++++ lib/extend-http.rb >+@@ -97,7 +97,7 @@ class ExtendedHTTP < Net::HTTP #:nodoc >+ end >+ >+ >+- if RUBY_VERSION =~ /^1\.9/ || RUBY_VERSION =~ /^2\.0/ >++ if RUBY_VERSION =~ /^1\.9/ || RUBY_VERSION =~ /^2\./ >+ D "opening connection to #{conn_address()}..." >+ s = timeout(@open_timeout) { TCPSocket.open(conn_address(), conn_port()) } >+ D "opened" > >Property changes on: files/patch-lib_extend-http.rb >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: files/patch-whatweb >=================================================================== >--- files/patch-whatweb (revision 0) >+++ files/patch-whatweb (working copy) >@@ -0,0 +1,11 @@ >+--- whatweb.orig 2015-05-05 01:19:21 UTC >++++ whatweb >+@@ -49,7 +49,7 @@ require 'resolv-replace' # asynchronous >+ >+ >+ ### ruby 1.9 changes >+-if RUBY_VERSION =~ /^1\.9/ || RUBY_VERSION =~ /^2\.0/ >++if RUBY_VERSION =~ /^1\.9/ || RUBY_VERSION =~ /^2\./ >+ require 'digest/md5' >+ else >+ require 'md5' > >Property changes on: files/patch-whatweb >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 199257
: 156354 |
156357
|
156358
|
156360
|
156361