Date: Tue, 11 Nov 2014 21:26:34 +0000 (UTC) From: Ryan Steinmetz <zi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372466 - in head/net/vmware-vsphere-cli: . files Message-ID: <201411112126.sABLQYTE020270@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zi Date: Tue Nov 11 21:26:34 2014 New Revision: 372466 URL: https://svnweb.freebsd.org/changeset/ports/372466 QAT: https://qat.redports.org/buildarchive/r372466/ Log: - Work around issue with modern versions of perl/libwww - Bump PORTREVISION Added: head/net/vmware-vsphere-cli/files/patch-lib__VMware__share__VMware__VICommon.pm (contents, props changed) Modified: head/net/vmware-vsphere-cli/Makefile Modified: head/net/vmware-vsphere-cli/Makefile ============================================================================== --- head/net/vmware-vsphere-cli/Makefile Tue Nov 11 21:15:35 2014 (r372465) +++ head/net/vmware-vsphere-cli/Makefile Tue Nov 11 21:26:34 2014 (r372466) @@ -3,7 +3,7 @@ PORTNAME= vmware-vsphere-cli PORTVERSION= 5.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net perl5 MASTER_SITES= #http://communities.vmware.com/community/vmtn/developer/downloads DISTNAME= VMware-vSphere-Perl-SDK-${PORTVERSION}-${DISTREL}.i386 Added: head/net/vmware-vsphere-cli/files/patch-lib__VMware__share__VMware__VICommon.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/vmware-vsphere-cli/files/patch-lib__VMware__share__VMware__VICommon.pm Tue Nov 11 21:26:34 2014 (r372466) @@ -0,0 +1,43 @@ +--- lib/VMware/share/VMware/VICommon.pm.orig 2014-11-11 21:22:23 UTC ++++ lib/VMware/share/VMware/VICommon.pm +@@ -424,16 +424,6 @@ + my $url = shift; + my %supportedapiversions; + if ($url =~ s|http(s?)://(.*)/sdk.*|http$1://$2/sdk/vimService.wsdl|i) { +- if ($1 eq "s") { +- eval { +- require Crypt::SSLeay; +- Crypt::SSLeay->import(); +- }; +- if ($@) { +- die "Crypt::SSLeay is required for https connections, but could not be loaded: $@"; +- } +- } +- + my $temp_addr = $2; + if ($temp_addr =~ /:/) { + if (($temp_addr =~ tr/:/:/) > 1) { +@@ -501,23 +491,11 @@ + + sub query_server_version { + BEGIN { +- #To remove SSL Warning, switching from IO::Socket::SSL to Net::SSL +- $ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS} = "Net::SSL"; + #To remove host verification + $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0; + } + my $url = shift; + if ($url =~ s|http(s?)://(.*)/sdk.*|http$1://$2/sdk/vimService.wsdl|i) { +- # bug 288336 +- if ($1 eq "s") { +- eval { +- require Crypt::SSLeay; +- Crypt::SSLeay->import(); +- }; +- if ($@) { +- die "Crypt::SSLeay is required for https connections, but could not be loaded: $@"; +- } +- } + # no IPv6 support yet + my $temp_addr = $2; + if ($temp_addr =~ /:/) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411112126.sABLQYTE020270>