Hello community, here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory checked in at 2013-05-28 12:08:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Sys-Virt (Old) and /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Sys-Virt" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Sys-Virt/perl-Sys-Virt.changes 2013-03-14 15:36:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new/perl-Sys-Virt.changes 2013-05-28 12:08:14.000000000 +0200 @@ -1,0 +2,6 @@ +Fri May 17 01:05:03 MDT 2013 - [email protected] + +- Update to 1.0.5 + - Add all new APIs and constants in libvirt 1.0.5 + +------------------------------------------------------------------- Old: ---- Sys-Virt-1.0.3.tar.gz New: ---- Sys-Virt-1.0.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Sys-Virt.spec ++++++ --- /var/tmp/diff_new_pack.33NCkL/_old 2013-05-28 12:08:15.000000000 +0200 +++ /var/tmp/diff_new_pack.33NCkL/_new 2013-05-28 12:08:15.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-Sys-Virt -Version: 1.0.3 +Version: 1.0.5 Release: 0 %define cpan_name Sys-Virt Summary: Represent and manage a libvirt hypervisor connection ++++++ Sys-Virt-1.0.3.tar.gz -> Sys-Virt-1.0.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/Changes new/Sys-Virt-1.0.5/Changes --- old/Sys-Virt-1.0.3/Changes 2013-03-05 19:17:17.000000000 +0100 +++ new/Sys-Virt-1.0.5/Changes 2013-05-14 15:24:54.000000000 +0200 @@ -1,5 +1,9 @@ Revision history for perl module Sys::Virt +1.0.5 2013-05-14 + + - Add all new APIs in libvirt 1.0.4 and 1.0.5 + 1.0.3 2013-03-05 - Add all new APIs in libvirt 1.0.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/MANIFEST new/Sys-Virt-1.0.5/MANIFEST --- old/Sys-Virt-1.0.3/MANIFEST 2013-03-05 19:17:33.000000000 +0100 +++ new/Sys-Virt-1.0.5/MANIFEST 2013-05-14 15:25:08.000000000 +0200 @@ -40,8 +40,6 @@ MANIFEST.SKIP META.yml META.yml.PL -MYMETA.json -MYMETA.yml perl-Sys-Virt.spec perl-Sys-Virt.spec.PL README diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/META.yml new/Sys-Virt-1.0.5/META.yml --- old/Sys-Virt-1.0.3/META.yml 2013-03-05 19:17:32.000000000 +0100 +++ new/Sys-Virt-1.0.5/META.yml 2013-05-14 15:25:08.000000000 +0200 @@ -1,7 +1,7 @@ --- #YAML:1.0 name: Sys-Virt abstract: Extension for the libvirt library -version: 1.0.3 +version: 1.0.5 author: - Daniel P. Berrange <[email protected]> license: perl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/MYMETA.json new/Sys-Virt-1.0.5/MYMETA.json --- old/Sys-Virt-1.0.3/MYMETA.json 2013-03-05 19:17:20.000000000 +0100 +++ new/Sys-Virt-1.0.5/MYMETA.json 1970-01-01 01:00:00.000000000 +0100 @@ -1,46 +0,0 @@ -{ - "abstract" : "unknown", - "author" : [ - "Daniel Berrange <[email protected]>" - ], - "dynamic_config" : 0, - "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120921", - "license" : [ - "unknown" - ], - "meta-spec" : { - "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" - }, - "name" : "Sys-Virt", - "no_index" : { - "directory" : [ - "t", - "inc" - ] - }, - "prereqs" : { - "build" : { - "requires" : { - "ExtUtils::MakeMaker" : "0" - } - }, - "configure" : { - "requires" : { - "ExtUtils::MakeMaker" : "0" - } - }, - "runtime" : { - "requires" : { - "Test::CPAN::Changes" : "0", - "Test::More" : "0", - "Test::Pod" : "0", - "Test::Pod::Coverage" : "0", - "Time::HiRes" : "0", - "XML::XPath" : "0" - } - } - }, - "release_status" : "stable", - "version" : "v1.0.3" -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/MYMETA.yml new/Sys-Virt-1.0.5/MYMETA.yml --- old/Sys-Virt-1.0.3/MYMETA.yml 2013-03-05 19:17:20.000000000 +0100 +++ new/Sys-Virt-1.0.5/MYMETA.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,27 +0,0 @@ ---- -abstract: unknown -author: - - 'Daniel Berrange <[email protected]>' -build_requires: - ExtUtils::MakeMaker: 0 -configure_requires: - ExtUtils::MakeMaker: 0 -dynamic_config: 0 -generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120921' -license: unknown -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 -name: Sys-Virt -no_index: - directory: - - t - - inc -requires: - Test::CPAN::Changes: 0 - Test::More: 0 - Test::Pod: 0 - Test::Pod::Coverage: 0 - Time::HiRes: 0 - XML::XPath: 0 -version: v1.0.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/Makefile.PL new/Sys-Virt-1.0.5/Makefile.PL --- old/Sys-Virt-1.0.3/Makefile.PL 2013-03-05 19:17:17.000000000 +0100 +++ new/Sys-Virt-1.0.5/Makefile.PL 2013-05-14 15:24:54.000000000 +0200 @@ -3,7 +3,7 @@ # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. -my $libvirtver = "1.0.3"; +my $libvirtver = "1.0.5"; my $stat = system "pkg-config --atleast-version=$libvirtver libvirt"; die "cannot run pkg-config to check libvirt version" if $stat == -1; die "libvirt >= $libvirtver is required\n" unless $stat == 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/README new/Sys-Virt-1.0.5/README --- old/Sys-Virt-1.0.3/README 2013-03-05 19:17:17.000000000 +0100 +++ new/Sys-Virt-1.0.5/README 2013-05-14 15:24:54.000000000 +0200 @@ -7,6 +7,6 @@ The only pre-requisite for this module is libvirt itself. For installation instructions, consult the INSTALL file. -The current minimum required version of libvirt is 1.0.3 +The current minimum required version of libvirt is 1.0.5 -- End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/Virt.xs new/Sys-Virt-1.0.5/Virt.xs --- old/Sys-Virt-1.0.3/Virt.xs 2013-03-05 19:17:17.000000000 +0100 +++ new/Sys-Virt-1.0.5/Virt.xs 2013-05-14 15:24:54.000000000 +0200 @@ -5297,11 +5297,25 @@ void -dettach(dev) +dettach(dev, driversv, flags=0) virNodeDevicePtr dev; - PPCODE: - if (virNodeDeviceDettach(dev) < 0) - _croak_error(); + SV *driversv; + unsigned int flags; + PREINIT: + const char *driver = NULL; + STRLEN len; + PPCODE: + if (SvOK(driversv)) { + driver = SvPV(driversv, len); + } + + if (flags || driver) { + if (virNodeDeviceDetachFlags(dev, driver, flags) < 0) + _croak_error(); + } else { + if (virNodeDeviceDettach(dev) < 0) + _croak_error(); + } void @@ -6934,6 +6948,8 @@ REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSI_TARGET, LIST_CAP_SCSI_TARGET); REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSI, LIST_CAP_SCSI); REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_STORAGE, LIST_CAP_STORAGE); + REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_FC_HOST, LIST_CAP_FC_HOST); + REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_VPORTS, LIST_CAP_VPORTS); stash = gv_stashpv( "Sys::Virt::StorageVol", TRUE ); @@ -6967,6 +6983,7 @@ REGISTER_CONSTANT(VIR_SECRET_USAGE_TYPE_NONE, USAGE_TYPE_NONE); REGISTER_CONSTANT(VIR_SECRET_USAGE_TYPE_VOLUME, USAGE_TYPE_VOLUME); REGISTER_CONSTANT(VIR_SECRET_USAGE_TYPE_CEPH, USAGE_TYPE_CEPH); + REGISTER_CONSTANT(VIR_SECRET_USAGE_TYPE_ISCSI, USAGE_TYPE_ISCSI); REGISTER_CONSTANT(VIR_CONNECT_LIST_SECRETS_EPHEMERAL, LIST_EPHEMERAL); @@ -7044,6 +7061,8 @@ REGISTER_CONSTANT(VIR_FROM_SSH, FROM_SSH); REGISTER_CONSTANT(VIR_FROM_LOCKSPACE, FROM_LOCKSPACE); REGISTER_CONSTANT(VIR_FROM_INITCTL, FROM_INITCTL); + REGISTER_CONSTANT(VIR_FROM_CGROUP, FROM_CGROUP); + REGISTER_CONSTANT(VIR_FROM_IDENTITY, FROM_IDENTITY); REGISTER_CONSTANT(VIR_ERR_OK, ERR_OK); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/lib/Sys/Virt/Error.pm new/Sys-Virt-1.0.5/lib/Sys/Virt/Error.pm --- old/Sys-Virt-1.0.3/lib/Sys/Virt/Error.pm 2013-03-05 19:17:17.000000000 +0100 +++ new/Sys-Virt-1.0.5/lib/Sys/Virt/Error.pm 2013-05-14 15:24:54.000000000 +0200 @@ -346,6 +346,14 @@ The initctl client code +=item Sys::Virt::Error::FROM_CGROUP + +The cgroups code + +=item Sys::Virt::Error::FROM_IDENTITY + +The identity management code + =back =head2 ERROR CODE CONSTANTS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/lib/Sys/Virt/NodeDevice.pm new/Sys-Virt-1.0.5/lib/Sys/Virt/NodeDevice.pm --- old/Sys-Virt-1.0.3/lib/Sys/Virt/NodeDevice.pm 2013-03-05 19:17:17.000000000 +0100 +++ new/Sys-Virt-1.0.5/lib/Sys/Virt/NodeDevice.pm 2013-05-14 15:24:54.000000000 +0200 @@ -152,6 +152,14 @@ Include devices with the USB interface capability +=item Sys::Virt::NodeDevice::LIST_CAP_FC_HOST + +Include devices with the fibre channel host capability + +=item Sys::Virt::NodeDevice::LIST_CAP_VPORTS + +Include devices with the NPIV vport capability + =back =cut diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/lib/Sys/Virt/Secret.pm new/Sys-Virt-1.0.5/lib/Sys/Virt/Secret.pm --- old/Sys-Virt-1.0.3/lib/Sys/Virt/Secret.pm 2013-03-05 19:17:17.000000000 +0100 +++ new/Sys-Virt-1.0.5/lib/Sys/Virt/Secret.pm 2013-05-14 15:24:54.000000000 +0200 @@ -143,6 +143,12 @@ to CEPH storage volumes. The usage ID for secrets will refer to the server name. +=item Sys::Virt::Secret::USAGE_TYPE_ISCSI + +The constant for secrets which are to be used for authenticating +to iSCSI storage volumes. The usage ID for secrets will refer to +the server name. + =back =head2 LIST FILTERING diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/lib/Sys/Virt.pm new/Sys-Virt-1.0.5/lib/Sys/Virt.pm --- old/Sys-Virt-1.0.3/lib/Sys/Virt.pm 2013-03-05 19:17:17.000000000 +0100 +++ new/Sys-Virt-1.0.5/lib/Sys/Virt.pm 2013-05-14 15:24:54.000000000 +0200 @@ -78,7 +78,7 @@ use Sys::Virt::DomainSnapshot; use Sys::Virt::Stream; -our $VERSION = '1.0.3'; +our $VERSION = '1.0.5'; require XSLoader; XSLoader::load('Sys::Virt', $VERSION); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.0.3/perl-Sys-Virt.spec new/Sys-Virt-1.0.5/perl-Sys-Virt.spec --- old/Sys-Virt-1.0.3/perl-Sys-Virt.spec 2013-03-05 19:17:33.000000000 +0100 +++ new/Sys-Virt-1.0.5/perl-Sys-Virt.spec 2013-05-14 15:25:08.000000000 +0200 @@ -1,7 +1,7 @@ # Automatically generated by perl-Sys-Virt.spec.PL Name: perl-Sys-Virt -Version: 1.0.3 +Version: 1.0.5 Release: 1%{?dist}%{?extra_release} Summary: Represent and manage a libvirt hypervisor connection License: GPLv2+ or Artistic -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
