Index: head/net/vmware-vsphere-cli/Makefile =================================================================== --- head/net/vmware-vsphere-cli/Makefile (revision 372465) +++ head/net/vmware-vsphere-cli/Makefile (revision 372466) @@ -1,79 +1,79 @@ # Created by: Ryan Steinmetz # $FreeBSD$ 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 MAINTAINER= zi@FreeBSD.org COMMENT= VMware vSphere SDK for Perl with CLI tools BUILD_DEPENDS= p5-Class-MethodMaker>=0:${PORTSDIR}/devel/p5-Class-MethodMaker \ p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \ p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \ p5-UUID>=0:${PORTSDIR}/devel/p5-UUID \ p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \ p5-SOAP-Lite>=0:${PORTSDIR}/net/p5-SOAP-Lite RUN_DEPENDS= p5-Class-MethodMaker>=0:${PORTSDIR}/devel/p5-Class-MethodMaker \ p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \ p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \ p5-UUID>=0:${PORTSDIR}/devel/p5-UUID \ p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \ p5-SOAP-Lite>=0:${PORTSDIR}/net/p5-SOAP-Lite USES= perl5 shebangfix USE_PERL5= configure RESTRICTED= May not be redistributed. Must accept license to download. NO_CDROM= May not be redistributed. Must accept license to download. NO_PACKAGE= May not be redistributed. Must accept license to download. SHEBANG_FILES= bin/* apps/host/* apps/general/* apps/vm/* DISTREL= 1384587 .include .if (!exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})) DISTFILE_INSTRUCTIONS=\n\ Due to licensing restrictions, certain files must be fetched manually.\n\n\ Please visit http://communities.vmware.com/community/vmtn/developer/forums/vsphere_sdk_perl\n\ and choose Download. Then, login using a VMware account and accept the license agreement.\n\ Choose the download for vSphere SDK for Perl - 32-bit Linux Installer (even if you are not on i386)\n\n\ After the download has completed, please place ${DISTNAME}${EXTRACT_SUFX} in\n\ ${DISTDIR}, then restart the build.\n\n .endif .if defined(DISTFILE_INSTRUCTIONS) .if defined(PACKAGE_BUILDING) IGNORE= requires manual fetch .else pre-fetch: @${PRINTF} "${DISTFILE_INSTRUCTIONS}" @exit 1 .endif .endif post-extract: @${MV} ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-distrib ${WRKSRC} @${RM} ${WRKSRC}/vmware-install.pl post-patch: @${REINPLACE_CMD} -e 's|%%EXAMPLESDIR%%|${STAGEDIR}${EXAMPLESDIR}|g' ${WRKSRC}/Makefile.PL @${FIND} ${WRKSRC} -name \*.orig -delete post-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/vicfg-* ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/svmotion ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/vmware-cmd ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/vmkfstools ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/vifs ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/vihostupdate ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/vihostupdate35 ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/viperl-support ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/apps/host/* ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/apps/general/* ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/apps/vm/* ${STAGEDIR}${PREFIX}/bin .include Index: head/net/vmware-vsphere-cli/files/patch-lib__VMware__share__VMware__VICommon.pm =================================================================== --- head/net/vmware-vsphere-cli/files/patch-lib__VMware__share__VMware__VICommon.pm (nonexistent) +++ head/net/vmware-vsphere-cli/files/patch-lib__VMware__share__VMware__VICommon.pm (revision 372466) @@ -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 =~ /:/) { Property changes on: head/net/vmware-vsphere-cli/files/patch-lib__VMware__share__VMware__VICommon.pm ___________________________________________________________________ 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 Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property