summaryrefslogtreecommitdiff
path: root/dev-perl/VMware-vSphere-Perl-SDK
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2013-06-12 22:21:09 +0200
committerBertrand Jacquin <beber@meleeweb.net>2013-06-12 22:22:07 +0200
commit1c85c8ee6bc6941a5656708c38a6c8c2a9fc0814 (patch)
treefaa558d6d2a31034a77f9b414d472a65be81fad9 /dev-perl/VMware-vSphere-Perl-SDK
parentmove g-ctan to dev-tex (diff)
downloadportage-1c85c8ee6bc6941a5656708c38a6c8c2a9fc0814.tar.xz
move perl-gcpan to dev-perl
Diffstat (limited to 'dev-perl/VMware-vSphere-Perl-SDK')
-rw-r--r--dev-perl/VMware-vSphere-Perl-SDK/ChangeLog27
-rw-r--r--dev-perl/VMware-vSphere-Perl-SDK/Manifest6
-rw-r--r--dev-perl/VMware-vSphere-Perl-SDK/VMware-vSphere-Perl-SDK-5.1.0.ebuild38
-rw-r--r--dev-perl/VMware-vSphere-Perl-SDK/files/uuid-module.patch47
-rw-r--r--dev-perl/VMware-vSphere-Perl-SDK/metadata.xml8
5 files changed, 126 insertions, 0 deletions
diff --git a/dev-perl/VMware-vSphere-Perl-SDK/ChangeLog b/dev-perl/VMware-vSphere-Perl-SDK/ChangeLog
new file mode 100644
index 00000000..b0733c90
--- /dev/null
+++ b/dev-perl/VMware-vSphere-Perl-SDK/ChangeLog
@@ -0,0 +1,27 @@
+# ChangeLog for perl-gcpan/VMware-vSphere-Perl-SDK
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 10 Jun 2013; Bertrand Jacquin <beber@meleeweb.net> metadata.xml:
+ Fix manifest
+
+*VMware-vSphere-Perl-SDK-5.1.0 (08 Jun 2013)
+
+ 08 Jun 2013; Bertrand Jacquin <beber@meleeweb.net>
+ +VMware-vSphere-Perl-SDK-5.1.0.ebuild,
+ -VMware-vSphere-Perl-SDK-5.1.0.780721.ebuild:
+ perl-gcpan/VMware-vSphere-Perl-SDK: Move to EAPI 5, Handle properly no fetch
+ RESTRICT
+
+ 29 May 2013; Bertrand Jacquin <beber@meleeweb.net>
+ VMware-vSphere-Perl-SDK-5.1.0.780721.ebuild:
+ Fix quotes
+
+ 28 May 2013; Bertrand Jacquin <beber@meleeweb.net> +metadata.xml:
+ Add missing metadata.xml
+
+*VMware-vSphere-Perl-SDK-5.1.0.780721 (27 May 2013)
+
+ 27 May 2013; Bertrand Jacquin <beber@meleeweb.net>
+ +VMware-vSphere-Perl-SDK-5.1.0.780721.ebuild, +files/uuid-module.patch:
+ Add perl module VMware-vSphere-Perl-SDK
diff --git a/dev-perl/VMware-vSphere-Perl-SDK/Manifest b/dev-perl/VMware-vSphere-Perl-SDK/Manifest
new file mode 100644
index 00000000..872a68c7
--- /dev/null
+++ b/dev-perl/VMware-vSphere-Perl-SDK/Manifest
@@ -0,0 +1,6 @@
+AUX uuid-module.patch 2163 SHA256 c68641c727318808a6faa18f15093f75dceef79b6a4222f12df5dbf8b0d1c685 WHIRLPOOL 5daf9907739023ee9c131029ff6a6427471c9b583ab8338a4412c02b9a61c872899a2615e695f4d71e7a61e6c4ce3a962c8d3decfaffe807e7fd964c0aebe273
+DIST VMware-vSphere-Perl-SDK-5.1.0-780721.i386.tar.gz 25188254 SHA256 2d14c9f00b4e982a0c66ca3e95eb20411d17f71c6f50af071f30355222f2ea85 WHIRLPOOL 971b9786983fb907838c4b276b587c25c1e137c7fb5160fc8928c5ac0d6ef46966b3e7686acf8a4baaf77458ff3b8994dc6ad551733759b550f7427f9f60733b
+DIST VMware-vSphere-Perl-SDK-5.1.0-780721.x86_64.tar.gz 24967872 SHA256 cf6389d10ee930d687026e04f15990bfb6403fcbfebc75342239b5d62b6e9086 WHIRLPOOL 012c3b18c0961325d995596b1487f3f0d538fd796b3f7f4dd13cad4fc1e40aac9a714cd6610a1f43abd733abfb4c8eaf2453625cdd545bbfddcd39a0016ba8fd
+EBUILD VMware-vSphere-Perl-SDK-5.1.0.ebuild 958 SHA256 191b0d69a71288f02182a9829fbfc821722984d71930c9218f7a2cd5d592cd87 WHIRLPOOL 96f239889e661d621a8440d5422ab494fb7d005dbf360804acc8782f72e457feed921d562a405691520da0f0e64cfb6ce18d732155fb86bcf26f751c86edc3d8
+MISC ChangeLog 929 SHA256 0487f1a34e6a433bb2bafc9459d345814cc059d50fdd42ec124f37e34fd8f35a WHIRLPOOL 5297c7ff5462e59994cbdd90235cb28771f56a00ffa862bc4213c11157381feae3d1078d75956d68fc834f1ab10b2151ad7b84183e97aa02cb7506f9366dd261
+MISC metadata.xml 254 SHA256 c56bc3d6780712c960298c70bb86867aeb6661e97a317cc624516b0e16b72fcc WHIRLPOOL 2ebbfaa14ef0c1847284fe64a79f052cd7e73b25a724fba728c084aaaf2dd0692e068eedcf42ccef7e205077f00c35780ded7ec69118dc01ddb988b4802e46ae
diff --git a/dev-perl/VMware-vSphere-Perl-SDK/VMware-vSphere-Perl-SDK-5.1.0.ebuild b/dev-perl/VMware-vSphere-Perl-SDK/VMware-vSphere-Perl-SDK-5.1.0.ebuild
new file mode 100644
index 00000000..812dd3ec
--- /dev/null
+++ b/dev-perl/VMware-vSphere-Perl-SDK/VMware-vSphere-Perl-SDK-5.1.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+MODULE_AUTHOR=VMWare
+MODULE_VERSION=780721
+inherit perl-module
+
+DESCRIPTION="A Perl SDK for interacting with VMware vSphere infrastructure"
+
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+SRC_URI="
+ x86? ( ${P}-${MODULE_VERSION}.i386.tar.gz )
+ amd64? ( ${P}-${MODULE_VERSION}.x86_64.tar.gz )"
+RESTRICT="fetch"
+
+S="${WORKDIR}/vmware-vsphere-cli-distrib"
+
+PATCHES=( "${FILESDIR}/uuid-module.patch" )
+
+myinst="${myinst} DEST_VMWARE_APPS=${ED}/usr/$(get_libdir)/vmware-viperl/apps"
+myinst="${myinst} DEST_VMWARE_DOC=${ED}/usr/share/doc/vmware-viperl/doc"
+myinst="${myinst} DESTDIR=${ED}"
+
+pkg_nofetch() {
+ my_arch
+
+ eerror "Please go to"
+ eerror " https://my.vmware.com/group/vmware/details?downloadGroup=VSP510-SDKPERL-510&productId=285"
+ eerror "and download"
+ eerror " ${A}"
+ eerror "After downloading, put it in:"
+ eerror " ${DISTDIR}"
+}
diff --git a/dev-perl/VMware-vSphere-Perl-SDK/files/uuid-module.patch b/dev-perl/VMware-vSphere-Perl-SDK/files/uuid-module.patch
new file mode 100644
index 00000000..5aecf9ac
--- /dev/null
+++ b/dev-perl/VMware-vSphere-Perl-SDK/files/uuid-module.patch
@@ -0,0 +1,47 @@
+# $Id$
+--- bin/vmware-uninstall-vSphere-CLI.pl 2011-06-02 01:52:30.000000000 +1000
++++ bin/vmware-uninstall-vSphere-CLI.pl 2011-08-29 13:15:19.558032827 +1000
+@@ -5423,7 +5423,7 @@
+ {'module' => 'Data::Dumper', 'version' => '2.121', 'path' => 'Data-Dumper-2.121'},
+ {'module' => 'Class::MethodMaker', 'version' => '2.10', 'path' => 'Class-MethodMaker-2.10'},
+ {'module' => 'HTML::Parser', 'version' => '3.60', 'path' => 'HTML-Parser-3.60'},
+- {'module' => 'UUID', 'version' => '0.03', 'path' => 'UUID-0.03'},
++ {'module' => 'Data::UUID', 'version' => '1.217', 'path' => 'Data-UUID-1.217'},
+ {'module' => 'Data::Dump', 'version' => '1.15', 'path' => 'Data-Dump-1.15'},
+ {'module' => 'SOAP::Lite', 'version' => '0.710.08', 'path' => 'SOAP-Lite-0.710.08'},
+ {'module' => 'URI', 'version' => '1.37', 'path' => 'URI-1.37'},
+--- lib/WSMan/share/WSMan/WSBasic.pm 2011-05-17 08:22:08.000000000 +1000
++++ lib/WSMan/share/WSMan/WSBasic.pm 2011-08-29 13:01:52.541492208 +1000
+@@ -3,7 +3,7 @@
+
+ #=========================<Imports>==================================#
+ use SOAP::Lite;
+-use UUID;
++use Data::UUID;
+ #use MIME::Base64;
+ #=========================</Imports>=================================#
+
+@@ -91,10 +91,8 @@
+
+ #Method to generate UUIDs.
+ sub _get_uuid{
+- my ($uuid, $string);
+- UUID::generate($uuid);
+- UUID::unparse($uuid, $string);
+- return $string;
++ my $ug = new Data::UUID;
++ return $ug->create_str();
+ }
+
+ #Identify Method.
+--- Makefile.PL 2011-06-02 01:52:29.000000000 +1000
++++ Makefile.PL 2011-08-29 13:15:33.956363049 +1000
+@@ -74,7 +74,7 @@
+ 'Class::MethodMaker' => '2.08',
+ 'XML::LibXML' => '1.58',
+ 'LWP' => '5.8.05',
+- 'UUID' => '0.03',
++ 'Data::UUID' => '1.0',
+ 'SOAP::Lite' => '0.67'},
+ #
+ # These macros put things in the usual spot if you are running
diff --git a/dev-perl/VMware-vSphere-Perl-SDK/metadata.xml b/dev-perl/VMware-vSphere-Perl-SDK/metadata.xml
new file mode 100644
index 00000000..933498d8
--- /dev/null
+++ b/dev-perl/VMware-vSphere-Perl-SDK/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>beber@meleeweb.net</email>
+ <name>Bertrand Jacquin</name>
+ </maintainer>
+</pkgmetadata>