openSUSE Commits
Threads by month
- ----- 2024 -----
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
April 2016
- 1 participants
- 1255 discussions
Hello community,
here is the log from the commit of package mailman for openSUSE:Factory checked in at 2016-04-28 16:55:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mailman (Old)
and /work/SRC/openSUSE:Factory/.mailman.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mailman"
Changes:
--------
--- /work/SRC/openSUSE:Factory/mailman/mailman.changes 2016-03-31 13:03:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mailman.new/mailman.changes 2016-04-28 16:58:22.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Apr 18 09:14:00 UTC 2016 - hsk(a)imb-jena.de
+
+- update to 2.1.22
+ * bug fixes, i18n updates; for details see NEWS
+
+-------------------------------------------------------------------
Old:
----
mailman-2.1.21.tgz
mailman-2.1.21.tgz.sig
New:
----
mailman-2.1.22.tgz
mailman-2.1.22.tgz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mailman.spec ++++++
--- /var/tmp/diff_new_pack.QHnRWO/_old 2016-04-28 16:58:25.000000000 +0200
+++ /var/tmp/diff_new_pack.QHnRWO/_new 2016-04-28 16:58:25.000000000 +0200
@@ -37,7 +37,7 @@
Summary: The GNU Mailing List Manager
License: GPL-2.0+
Group: Productivity/Networking/Email/Mailinglists
-Version: 2.1.21
+Version: 2.1.22
Release: 0
Source0: https://ftp.gnu.org/gnu/mailman/%{name}-%{version}.tgz
Source13: https://ftp.gnu.org/gnu/mailman/%{name}-%{version}.tgz.sig
++++++ mailman-2.1.21.tgz -> mailman-2.1.22.tgz ++++++
/work/SRC/openSUSE:Factory/mailman/mailman-2.1.21.tgz /work/SRC/openSUSE:Factory/.mailman.new/mailman-2.1.22.tgz differ: char 5, line 1
1
0
Hello community,
here is the log from the commit of package python-croniter for openSUSE:Factory checked in at 2016-04-28 16:55:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-croniter (Old)
and /work/SRC/openSUSE:Factory/.python-croniter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-croniter"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-croniter/python-croniter.changes 2014-09-17 17:25:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-croniter.new/python-croniter.changes 2016-04-28 16:58:19.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Apr 13 08:15:37 UTC 2016 - dmueller(a)suse.com
+
+- switch to python-python-dateutil
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-croniter.spec ++++++
--- /var/tmp/diff_new_pack.h2RbnY/_old 2016-04-28 16:58:22.000000000 +0200
+++ /var/tmp/diff_new_pack.h2RbnY/_new 2016-04-28 16:58:22.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-croniter
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,10 +28,10 @@
BuildRequires: python-setuptools
BuildRequires: unzip
# Test requirements:
-BuildRequires: python-dateutil
BuildRequires: python-nose
+BuildRequires: python-python-dateutil
BuildRequires: python-pytz
-Requires: python-dateutil
+Requires: python-python-dateutil
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
1
0
Hello community,
here is the log from the commit of package bitcoin for openSUSE:Factory checked in at 2016-04-28 16:55:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bitcoin (Old)
and /work/SRC/openSUSE:Factory/.bitcoin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bitcoin"
Changes:
--------
--- /work/SRC/openSUSE:Factory/bitcoin/bitcoin.changes 2016-02-23 16:59:19.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.bitcoin.new/bitcoin.changes 2016-04-28 16:58:16.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Apr 13 06:56:37 UTC 2016 - mpluskal(a)suse.com
+
+- Use pretty name for tarball
+- Update describtion in .firewall
+
+-------------------------------------------------------------------
Old:
----
v0.12.0.tar.gz
New:
----
bitcoin-0.12.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ bitcoin.spec ++++++
--- /var/tmp/diff_new_pack.bQQSSh/_old 2016-04-28 16:58:19.000000000 +0200
+++ /var/tmp/diff_new_pack.bQQSSh/_new 2016-04-28 16:58:19.000000000 +0200
@@ -31,7 +31,7 @@
License: MIT
Group: Productivity/Networking/Other
Url: http://%{name}.org/
-Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz
+Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{ve…
Source1: %{base}d.service
Source2: %{base}d.firewall
Source3: %{base}d.conf
++++++ bitcoind.firewall ++++++
--- /var/tmp/diff_new_pack.bQQSSh/_old 2016-04-28 16:58:19.000000000 +0200
+++ /var/tmp/diff_new_pack.bQQSSh/_new 2016-04-28 16:58:19.000000000 +0200
@@ -1,5 +1,5 @@
## Name: bitcoin daemon
-## Description: Opens ports for vsftpd Server.
+## Description: Opens ports for bitcoind daemon.
# space separated list of allowed TCP ports
TCP="bitcoind 8332:8333"
1
0
Hello community,
here is the log from the commit of package opencl-headers for openSUSE:Factory checked in at 2016-04-28 16:55:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opencl-headers (Old)
and /work/SRC/openSUSE:Factory/.opencl-headers.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opencl-headers"
Changes:
--------
--- /work/SRC/openSUSE:Factory/opencl-headers/opencl-headers.changes 2015-11-26 17:02:13.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.opencl-headers.new/opencl-headers.changes 2016-04-28 16:58:12.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Apr 19 16:42:55 UTC 2016 - mpluskal(a)suse.com
+
+- Update to 2.1+git.20160105
+- Use _service instead of get-tarball.sh
+
+-------------------------------------------------------------------
Old:
----
get-tarball.sh
opencl-headers-2.1_20151117.tar.bz2
New:
----
_service
opencl-headers-2.1+git.20160105.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ opencl-headers.spec ++++++
--- /var/tmp/diff_new_pack.uvOrL3/_old 2016-04-28 16:58:16.000000000 +0200
+++ /var/tmp/diff_new_pack.uvOrL3/_new 2016-04-28 16:58:16.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package opencl-headers
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,15 @@
#
-%define opencl_version 2.1
-%define date 20151117
Name: opencl-headers
-Version: %{opencl_version}_%{date}
+Version: 2.1+git.20160105
Release: 0
Summary: OpenCL (Open Computing Language) headers
License: MIT
-Group: Development/C
+Group: Development/Libraries/C and C++
Url: http://www.khronos.org/registry/cl/
-Source: %{name}-%{version}.tar.bz2
-Source1: get-tarball.sh
+Source: %{name}-%{version}.tar.xz
+BuildRequires: xz
Conflicts: opencl-headers-1_2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
++++++ _service ++++++
<services>
<service mode="localonly" name="tar_scm">
<param name="url">https://github.com/KhronosGroup/OpenCL-Headers.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="changesgenerate">enable</param>
<param name="filename">opencl-headers</param>
<param name="versionformat">2.1+git.%cd</param>
</service>
<service mode="localonly" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="localonly" name="set_version"/>
</services>
1
0
Hello community,
here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory checked in at 2016-04-28 16:55:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 2016-03-08 10:18:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new/perl-Sys-Virt.changes 2016-04-28 16:58:10.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Apr 12 23:51:53 UTC 2016 - jfehlig(a)suse.com
+
+- Update to 1.3.3
+ - Add all new APIs and constants in libvirt 1.3.3
+
+-------------------------------------------------------------------
Old:
----
Sys-Virt-1.3.2.tar.gz
New:
----
Sys-Virt-1.3.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Sys-Virt.spec ++++++
--- /var/tmp/diff_new_pack.riHU5D/_old 2016-04-28 16:58:12.000000000 +0200
+++ /var/tmp/diff_new_pack.riHU5D/_new 2016-04-28 16:58:12.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Sys-Virt
-Version: 1.3.2
+Version: 1.3.3
Release: 0
%define cpan_name Sys-Virt
Summary: Represent and manage a libvirt hypervisor connection
++++++ Sys-Virt-1.3.2.tar.gz -> Sys-Virt-1.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.3.2/AUTHORS new/Sys-Virt-1.3.3/AUTHORS
--- old/Sys-Virt-1.3.2/AUTHORS 2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/AUTHORS 2016-04-07 18:56:33.000000000 +0200
@@ -13,5 +13,6 @@
Ludwig Nussel <ludwig-dot-nussel-at-suse-dot-de>
Zhe Peng <zpeng-at-redhat-dot-com>
Osier Yang <jyang-at-redhat-dot-com>
+ Michal Privoznik <mprivozn-at-redhat-dot-com>
-- End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.3.2/Changes new/Sys-Virt-1.3.3/Changes
--- old/Sys-Virt-1.3.2/Changes 2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/Changes 2016-04-07 18:56:33.000000000 +0200
@@ -1,5 +1,19 @@
Revision history for perl module Sys::Virt
+1.3.3 2016-04-07
+
+ - Add VIR_ERR_AUTH_UNAVAILABLE constant
+ - Add VIR_DOMAIN_SCHEDULER_GLOBAL_PERIOD, VIR_DOMAIN_SCHEDULER_GLOBAL_QUOTA,
+ VIR_DOMAIN_TUNABLE_CPU_GLOBAL_PERIOD & VIR_DOMAIN_TUNABLE_CPU_GLOBAL_QUOTA
+ constants
+ - Add VIR_DOMAIN_EVENT_ID_JOB_COMPLETED constant and callback
+ - Add VIR_ERR_NO_SERVER constant
+ - Add VIR_DOMAIN_EVENT_DEFINED_FROM_SNAPSHOT constant
+ - Add VIR_MIGRATE_PARAM_DISKS_PORT constant
+ - Add virDomainMigrateStartPostCopy API support
+ - Add constants related to post-copy migration
+ - Add APIS & constants for new perf event support
+
1.3.2 2016-03-01
- Add VIR_STORAGE_VOL_WIPE_ALG_TRIM constant
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.3.2/META.yml new/Sys-Virt-1.3.3/META.yml
--- old/Sys-Virt-1.3.2/META.yml 2016-03-01 16:11:16.000000000 +0100
+++ new/Sys-Virt-1.3.3/META.yml 2016-04-07 18:56:50.000000000 +0200
@@ -1,7 +1,7 @@
--- #YAML:1.0
name: Sys-Virt
abstract: Extension for the libvirt library
-version: 1.3.2
+version: 1.3.3
author:
- Daniel P. Berrange <dan(a)berrange.com>
license: perl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.3.2/MYMETA.json new/Sys-Virt-1.3.3/MYMETA.json
--- old/Sys-Virt-1.3.2/MYMETA.json 2016-03-01 16:11:07.000000000 +0100
+++ new/Sys-Virt-1.3.3/MYMETA.json 2016-04-07 18:56:41.000000000 +0200
@@ -42,6 +42,6 @@
}
},
"release_status" : "stable",
- "version" : "v1.3.2",
+ "version" : "v1.3.3",
"x_serialization_backend" : "JSON::PP version 2.27300"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.3.2/MYMETA.yml new/Sys-Virt-1.3.3/MYMETA.yml
--- old/Sys-Virt-1.3.2/MYMETA.yml 2016-03-01 16:11:07.000000000 +0100
+++ new/Sys-Virt-1.3.3/MYMETA.yml 2016-04-07 18:56:41.000000000 +0200
@@ -24,5 +24,5 @@
Test::Pod::Coverage: '0'
Time::HiRes: '0'
XML::XPath: '0'
-version: v1.3.2
+version: v1.3.3
x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.3.2/Makefile.PL new/Sys-Virt-1.3.3/Makefile.PL
--- old/Sys-Virt-1.3.2/Makefile.PL 2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/Makefile.PL 2016-04-07 18:56:33.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.3.2";
+my $libvirtver = "1.3.3";
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.3.2/README new/Sys-Virt-1.3.3/README
--- old/Sys-Virt-1.3.2/README 2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/README 2016-04-07 18:56:33.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.3.2
+The current minimum required version of libvirt is 1.3.3
-- End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.3.2/Virt.xs new/Sys-Virt-1.3.3/Virt.xs
--- old/Sys-Virt-1.3.2/Virt.xs 2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/Virt.xs 2016-04-07 18:56:33.000000000 +0200
@@ -1091,6 +1091,49 @@
static int
+_domain_event_job_completed_callback(virConnectPtr con,
+ virDomainPtr dom,
+ virTypedParameterPtr params,
+ int nparams,
+ void *opaque)
+{
+ AV *data = opaque;
+ SV **self;
+ SV **cb;
+ HV *params_hv;
+ SV *domref;
+ dSP;
+
+ self = av_fetch(data, 0, 0);
+ cb = av_fetch(data, 1, 0);
+
+ SvREFCNT_inc(*self);
+
+ ENTER;
+ SAVETMPS;
+
+ PUSHMARK(SP);
+ XPUSHs(*self);
+ domref = sv_newmortal();
+ sv_setref_pv(domref, "Sys::Virt::Domain", (void*)dom);
+ virDomainRef(dom);
+
+ params_hv = vir_typed_param_to_hv(params, nparams);
+
+ XPUSHs(domref);
+ XPUSHs(newRV(( SV*)params_hv));
+ PUTBACK;
+
+ call_sv(*cb, G_DISCARD);
+
+ FREETMPS;
+ LEAVE;
+
+ return 0;
+}
+
+
+static int
_network_event_lifecycle_callback(virConnectPtr con,
virNetworkPtr net,
int event,
@@ -3069,6 +3112,9 @@
case VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION:
callback = VIR_DOMAIN_EVENT_CALLBACK(_domain_event_migration_iteration_callback);
break;
+ case VIR_DOMAIN_EVENT_ID_JOB_COMPLETED:
+ callback = VIR_DOMAIN_EVENT_CALLBACK(_domain_event_job_completed_callback);
+ break;
default:
callback = VIR_DOMAIN_EVENT_CALLBACK(_domain_event_generic_callback);
break;
@@ -4167,6 +4213,46 @@
Safefree(params);
+HV *
+get_perf_events(dom, flags=0)
+ virDomainPtr dom;
+ unsigned int flags;
+ PREINIT:
+ virTypedParameter *params = NULL;
+ int nparams = 0;
+ CODE:
+ if (virDomainGetPerfEvents(dom, ¶ms, &nparams, flags) < 0) {
+ Safefree(params);
+ _croak_error();
+ }
+
+ RETVAL = vir_typed_param_to_hv(params, nparams);
+ Safefree(params);
+ OUTPUT:
+ RETVAL
+
+
+void
+set_perf_events(dom, newparams, flags=0)
+ virDomainPtr dom;
+ HV *newparams;
+ unsigned int flags;
+ PREINIT:
+ virTypedParameter *params = NULL;
+ int nparams = 0;
+ PPCODE:
+ if (virDomainGetPerfEvents(dom, ¶ms, &nparams, flags) < 0) {
+ Safefree(params);
+ _croak_error();
+ }
+
+ nparams = vir_typed_param_from_hv(newparams, params, nparams);
+
+ if (virDomainSetPerfEvents(dom, params, nparams, flags) < 0)
+ _croak_error();
+ Safefree(params);
+
+
unsigned long
get_max_memory(dom)
virDomainPtr dom;
@@ -4433,7 +4519,7 @@
virTypedParameter *params;
int nparams;
CODE:
- nparams = 6;
+ nparams = 7;
Newx(params, nparams, virTypedParameter);
strncpy(params[0].field, VIR_MIGRATE_PARAM_URI,
@@ -4460,6 +4546,10 @@
VIR_TYPED_PARAM_FIELD_LENGTH);
params[5].type = VIR_TYPED_PARAM_STRING;
+ strncpy(params[6].field, VIR_MIGRATE_PARAM_DISKS_PORT,
+ VIR_TYPED_PARAM_FIELD_LENGTH);
+ params[6].type = VIR_TYPED_PARAM_INT;
+
nparams = vir_typed_param_from_hv(newparams, params, nparams);
vir_typed_param_add_string_list_from_hv(newparams, ¶ms, &nparams,
@@ -4488,7 +4578,7 @@
virTypedParameter *params;
int nparams;
PPCODE:
- nparams = 6;
+ nparams = 7;
Newx(params, nparams, virTypedParameter);
strncpy(params[0].field, VIR_MIGRATE_PARAM_URI,
@@ -4515,6 +4605,10 @@
VIR_TYPED_PARAM_FIELD_LENGTH);
params[5].type = VIR_TYPED_PARAM_STRING;
+ strncpy(params[6].field, VIR_MIGRATE_PARAM_DISKS_PORT,
+ VIR_TYPED_PARAM_FIELD_LENGTH);
+ params[6].type = VIR_TYPED_PARAM_INT;
+
nparams = vir_typed_param_from_hv(newparams, params, nparams);
vir_typed_param_add_string_list_from_hv(newparams, ¶ms, &nparams,
@@ -4598,6 +4692,15 @@
void
+migrate_start_post_copy(dom, flags=0)
+ virDomainPtr dom;
+ unsigned int flags;
+ PPCODE:
+ if (virDomainMigrateStartPostCopy(dom, flags) < 0)
+ _croak_error();
+
+
+void
attach_device(dom, xml, flags=0)
virDomainPtr dom;
const char *xml;
@@ -7456,6 +7559,7 @@
REGISTER_CONSTANT(VIR_DOMAIN_RUNNING_SAVE_CANCELED, STATE_RUNNING_SAVE_CANCELED);
REGISTER_CONSTANT(VIR_DOMAIN_RUNNING_WAKEUP, STATE_RUNNING_WAKEUP);
REGISTER_CONSTANT(VIR_DOMAIN_RUNNING_CRASHED, STATE_RUNNING_CRASHED);
+ REGISTER_CONSTANT(VIR_DOMAIN_RUNNING_POSTCOPY, STATE_RUNNING_POSTCOPY);
REGISTER_CONSTANT(VIR_DOMAIN_BLOCKED_UNKNOWN, STATE_BLOCKED_UNKNOWN);
@@ -7471,6 +7575,8 @@
REGISTER_CONSTANT(VIR_DOMAIN_PAUSED_SNAPSHOT, STATE_PAUSED_SNAPSHOT);
REGISTER_CONSTANT(VIR_DOMAIN_PAUSED_CRASHED, STATE_PAUSED_CRASHED);
REGISTER_CONSTANT(VIR_DOMAIN_PAUSED_STARTING_UP, STATE_PAUSED_STARTING_UP);
+ REGISTER_CONSTANT(VIR_DOMAIN_PAUSED_POSTCOPY, STATE_PAUSED_POSTCOPY);
+ REGISTER_CONSTANT(VIR_DOMAIN_PAUSED_POSTCOPY_FAILED, STATE_PAUSED_POSTCOPY_FAILED);
REGISTER_CONSTANT(VIR_DOMAIN_SHUTDOWN_UNKNOWN, STATE_SHUTDOWN_UNKNOWN);
REGISTER_CONSTANT(VIR_DOMAIN_SHUTDOWN_USER, STATE_SHUTDOWN_USER);
@@ -7532,6 +7638,7 @@
REGISTER_CONSTANT(VIR_MIGRATE_ABORT_ON_ERROR, MIGRATE_ABORT_ON_ERROR);
REGISTER_CONSTANT(VIR_MIGRATE_AUTO_CONVERGE, MIGRATE_AUTO_CONVERGE);
REGISTER_CONSTANT(VIR_MIGRATE_RDMA_PIN_ALL, MIGRATE_RDMA_PIN_ALL);
+ REGISTER_CONSTANT(VIR_MIGRATE_POSTCOPY, MIGRATE_POSTCOPY);
REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_BANDWIDTH, MIGRATE_PARAM_BANDWIDTH);
REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_DEST_NAME, MIGRATE_PARAM_DEST_NAME);
@@ -7540,6 +7647,7 @@
REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_URI, MIGRATE_PARAM_URI);
REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_LISTEN_ADDRESS, MIGRATE_PARAM_LISTEN_ADDRESS);
REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_MIGRATE_DISKS, MIGRATE_PARAM_MIGRATE_DISKS);
+ REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_DISKS_PORT, MIGRATE_PARAM_DISK_PORT);
REGISTER_CONSTANT(VIR_DOMAIN_XML_SECURE, XML_SECURE);
REGISTER_CONSTANT(VIR_DOMAIN_XML_INACTIVE, XML_INACTIVE);
@@ -7573,6 +7681,7 @@
REGISTER_CONSTANT(VIR_DOMAIN_STATS_INTERFACE, STATS_INTERFACE);
REGISTER_CONSTANT(VIR_DOMAIN_STATS_STATE, STATS_STATE);
REGISTER_CONSTANT(VIR_DOMAIN_STATS_VCPU, STATS_VCPU);
+ REGISTER_CONSTANT(VIR_DOMAIN_STATS_PERF, STATS_PERF);
REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_ACTIVE, GET_ALL_STATS_ACTIVE);
REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_INACTIVE, GET_ALL_STATS_INACTIVE);
@@ -7599,6 +7708,7 @@
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_DEFINED_ADDED, EVENT_DEFINED_ADDED);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_DEFINED_UPDATED, EVENT_DEFINED_UPDATED);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_DEFINED_RENAMED, EVENT_DEFINED_RENAMED);
+ REGISTER_CONSTANT(VIR_DOMAIN_EVENT_DEFINED_FROM_SNAPSHOT, EVENT_DEFINED_FROM_SNAPSHOT);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_UNDEFINED_REMOVED, EVENT_UNDEFINED_REMOVED);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_UNDEFINED_RENAMED, EVENT_UNDEFINED_RENAMED);
@@ -7618,10 +7728,13 @@
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_SUSPENDED_RESTORED, EVENT_SUSPENDED_RESTORED);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_SUSPENDED_FROM_SNAPSHOT, EVENT_SUSPENDED_FROM_SNAPSHOT);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_SUSPENDED_API_ERROR, EVENT_SUSPENDED_API_ERROR);
+ REGISTER_CONSTANT(VIR_DOMAIN_EVENT_SUSPENDED_POSTCOPY, EVENT_SUSPENDED_POSTCOPY);
+ REGISTER_CONSTANT(VIR_DOMAIN_EVENT_SUSPENDED_POSTCOPY_FAILED, EVENT_SUSPENDED_POSTCOPY_FAILED);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_RESUMED_UNPAUSED, EVENT_RESUMED_UNPAUSED);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_RESUMED_MIGRATED, EVENT_RESUMED_MIGRATED);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_RESUMED_FROM_SNAPSHOT, EVENT_RESUMED_FROM_SNAPSHOT);
+ REGISTER_CONSTANT(VIR_DOMAIN_EVENT_RESUMED_POSTCOPY, EVENT_RESUMED_POSTCOPY);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_STOPPED_SHUTDOWN, EVENT_STOPPED_SHUTDOWN);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_STOPPED_DESTROYED, EVENT_STOPPED_DESTROYED);
@@ -7738,6 +7851,7 @@
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_TUNABLE, EVENT_ID_TUNABLE);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_AGENT_LIFECYCLE, EVENT_ID_AGENT_LIFECYCLE);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION, EVENT_ID_MIGRATION_ITERATION);
+ REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_JOB_COMPLETED, EVENT_ID_JOB_COMPLETED);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_WATCHDOG_NONE, EVENT_WATCHDOG_NONE);
REGISTER_CONSTANT(VIR_DOMAIN_EVENT_WATCHDOG_PAUSE, EVENT_WATCHDOG_PAUSE);
@@ -7788,6 +7902,8 @@
REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_CPU_SHARES, SCHEDULER_CPU_SHARES);
REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_VCPU_PERIOD, SCHEDULER_VCPU_PERIOD);
REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_VCPU_QUOTA, SCHEDULER_VCPU_QUOTA);
+ REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_GLOBAL_PERIOD, SCHEDULER_GLOBAL_PERIOD);
+ REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_GLOBAL_QUOTA, SCHEDULER_GLOBAL_QUOTA);
REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_WEIGHT, SCHEDULER_WEIGHT);
REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_CAP, SCHEDULER_CAP);
REGISTER_CONSTANT_STR(VIR_DOMAIN_SCHEDULER_LIMIT, SCHEDULER_LIMIT);
@@ -7830,6 +7946,7 @@
REGISTER_CONSTANT(VIR_DOMAIN_NUMATUNE_MEM_PREFERRED, NUMATUNE_MEM_PREFERRED);
REGISTER_CONSTANT(VIR_DOMAIN_NUMATUNE_MEM_INTERLEAVE, NUMATUNE_MEM_INTERLEAVE);
+ REGISTER_CONSTANT_STR(VIR_PERF_PARAM_CMT, PERF_PARAM_CMT);
REGISTER_CONSTANT_STR(VIR_DOMAIN_BANDWIDTH_IN_AVERAGE, BANDWIDTH_IN_AVERAGE);
REGISTER_CONSTANT_STR(VIR_DOMAIN_BANDWIDTH_IN_PEAK, BANDWIDTH_IN_PEAK);
@@ -8002,6 +8119,8 @@
REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_VCPUPIN, TUNABLE_CPU_VCPUPIN);
REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_VCPU_PERIOD, TUNABLE_CPU_VCPU_PERIOD);
REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_VCPU_QUOTA, TUNABLE_CPU_VCPU_QUOTA);
+ REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_GLOBAL_PERIOD, TUNABLE_CPU_GLOBAL_PERIOD);
+ REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_CPU_GLOBAL_QUOTA, TUNABLE_CPU_GLOBAL_QUOTA);
REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_DISK, TUNABLE_BLKDEV_DISK);
REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_READ_BYTES_SEC, TUNABLE_BLKDEV_READ_BYTES_SEC);
REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_READ_IOPS_SEC, TUNABLE_BLKDEV_READ_IOPS_SEC);
@@ -8291,6 +8410,7 @@
REGISTER_CONSTANT(VIR_FROM_ADMIN, FROM_ADMIN);
REGISTER_CONSTANT(VIR_FROM_LOGGING, FROM_LOGGING);
REGISTER_CONSTANT(VIR_FROM_XENXL, FROM_XENXL);
+ REGISTER_CONSTANT(VIR_FROM_PERF, FROM_PERF);
REGISTER_CONSTANT(VIR_ERR_OK, ERR_OK);
@@ -8387,4 +8507,6 @@
REGISTER_CONSTANT(VIR_ERR_CPU_INCOMPATIBLE, ERR_CPU_INCOMPATIBLE);
REGISTER_CONSTANT(VIR_ERR_XML_INVALID_SCHEMA, ERR_INVALID_SCHEMA);
REGISTER_CONSTANT(VIR_ERR_MIGRATE_FINISH_OK, ERR_MIGRATE_FINISH_OK);
+ REGISTER_CONSTANT(VIR_ERR_AUTH_UNAVAILABLE, ERR_AUTH_UNAVAILABLE);
+ REGISTER_CONSTANT(VIR_ERR_NO_SERVER, ERR_NO_SERVER);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.3.2/lib/Sys/Virt/Domain.pm new/Sys-Virt-1.3.3/lib/Sys/Virt/Domain.pm
--- old/Sys-Virt-1.3.2/lib/Sys/Virt/Domain.pm 2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/lib/Sys/Virt/Domain.pm 2016-04-07 18:56:33.000000000 +0200
@@ -360,6 +360,14 @@
The guest is paused as it is being started up.
+=item Sys::Virt::Domain::STATE_PAUSED_POSTCOPY
+
+The guest is paused as post-copy migration is taking place
+
+=item Sys::Virt::Domain::STATE_PAUSED_POSTCOPY_FAILED
+
+The guest is paused as post-copy migration failed
+
=item Sys::Virt::Domain::STATE_RUNNING_BOOTED
The guest is running after being booted
@@ -400,6 +408,10 @@
The guest was restarted after crashing
+=item Sys::Virt::Domain::STATE_RUNNING_POSTCOPY
+
+The guest is running but post-copy is taking place
+
=item Sys::Virt::Domain::STATE_BLOCKED_UNKNOWN
The guest is blocked for an unknown reason
@@ -800,6 +812,23 @@
parameter accepts one or more the CONFIG OPTION constants
documented later, and defaults to 0 if omitted.
+=item my $params = $dom->get_perf_events($flags=0)
+
+Return a hash reference containing the set of performance
+events that are available for the guest. The keys in the
+hash are one of the constants PERF EVENTS described later.
+The C<$flags> parameter accepts one or more the CONFIG
+OPTION constants documented later, and defaults to 0 if
+omitted.
+
+=item $dom->set_perf_events($params, $flags=0)
+
+Update the enabled state for performance events for the
+guest. The C<$params> should be a hash reference whose
+keys are one of the PERF EVENTS constants. The C<$flags>
+parameter accepts one or more the CONFIG OPTION constants
+documented later, and defaults to 0 if omitted.
+
=item $dom->block_resize($disk, $newsize, $flags=0)
Resize the disk C<$disk> to have new size C<$newsize> KB. If the disk
@@ -981,6 +1010,12 @@
untrusted users have the ability to connect to the virtualization
host, thus use of an explicit restricted listen address is recommended.
+=item C<Sys::Virt::Domain::MIGRATE_PARAM_DISK_PORT>
+
+Port that destination server should use for incoming disks migration. Type is
+VIR_TYPED_PARAM_INT. If set to 0 or omitted, libvirt will choose a suitable
+default. At the moment this is only supported by the QEMU driver.
+
=back
=item C<Sys::Virt::Domain::MIGRATE_PARAM_MIGRATE_DISKS>
@@ -1133,7 +1168,7 @@
}
-=item $dom->migrate_set_max_downtime($downtime, $flags)
+=item $dom->migrate_set_max_downtime($downtime, $flags=0)
Set the maximum allowed downtime during migration of the guest. A
longer downtime makes it more likely that migration will complete,
@@ -1141,30 +1176,36 @@
over point. The C<downtime> parameter is measured in milliseconds.
The C<$flags> parameter is currently unused and defaults to zero.
-=item $dom->migrate_set_max_speed($bandwidth, $flags)
+=item $dom->migrate_set_max_speed($bandwidth, $flags=0)
Set the maximum allowed bandwidth during migration of the guest.
The C<bandwidth> parameter is measured in MB/second.
The C<$flags> parameter is currently unused and defaults to zero.
-=item $bandwidth = $dom->migrate_get_max_speed($flag)
+=item $bandwidth = $dom->migrate_get_max_speed($flags=0)
Get the maximum allowed bandwidth during migration fo the guest.
The returned <bandwidth> value is measured in MB/second.
The C<$flags> parameter is currently unused and defaults to zero.
-=item $dom->migrate_set_compression_cache($cacheSize, $flags)
+=item $dom->migrate_set_compression_cache($cacheSize, $flags=0)
Set the maximum allowed compression cache size during migration of
the guest. The C<cacheSize> parameter is measured in bytes.
The C<$flags> parameter is currently unused and defaults to zero.
-=item $cacheSize = $dom->migrate_get_compression_cache($flag)
+=item $cacheSize = $dom->migrate_get_compression_cache($flags=0)
Get the maximum allowed compression cache size during migration of
the guest. The returned <bandwidth> value is measured in bytes.
The C<$flags> parameter is currently unused and defaults to zero.
+=item $dom->migrate_start_post_copy($flags=0)
+
+Switch the domain from pre-copy to post-copy mode. This requires
+that the original migrate command had the C<Sys::Virt::Domain::MIGRATE_POST_COPY>
+flag specified.
+
=item $dom->inject_nmi($flags)
Trigger an NMI in the guest virtual machine. The C<$flags> parameter
@@ -2257,6 +2298,10 @@
Pin memory for RDMA transfer
+=item Sys::Virt::Domain::MIGRATE_POSTCOPY
+
+Enable support for post-copy migration
+
=back
=head2 UNDEFINE CONSTANTS
@@ -2473,6 +2518,14 @@
The VCPU quota tunable
+=item Sys::Virt::Domain::SCHEDULER_GLOBAL_PERIOD
+
+The VM global period tunable
+
+=item Sys::Virt::Domain::SCHEDULER_GLOBAL_QUOTA
+
+The VM global quota tunable
+
=item Sys::Virt::Domain::SCHEDULER_WEIGHT
The VM weight tunable
@@ -2552,6 +2605,19 @@
=back
+=head2 PERF EVENTS
+
+The following constants defined performance events
+which can be monitored for a guest
+
+=over 4
+
+=item Sys::Virt::Domain::PERF_PARAM_CMT
+
+The CMT event counter
+
+=back
+
=head2 VCPU FLAGS
The following constants are useful when getting/setting the
@@ -2608,6 +2674,10 @@
The defined configuration is a rename of an existing configuration
+=item Sys::Virt::Domain::EVENT_DEFINED_FROM_SNAPSHOT
+
+The defined configuration was restored from a snapshot
+
=back
=item Sys::Virt::Domain::EVENT_RESUMED
@@ -2629,6 +2699,10 @@
The domain resumed because it was restored from a snapshot
+=item Sys::Virt::Domain::EVENT_RESUMED_POSTCOPY
+
+The domain resumed but post-copy is running in background
+
=back
=item Sys::Virt::Domain::EVENT_STARTED
@@ -2745,6 +2819,14 @@
The domain has been suspended due to an API error
+=item Sys::Virt::Domain::EVENT_SUSPENDED_POSTCOPY
+
+The domain has been suspended for post-copy migration
+
+=item Sys::Virt::Domain::EVENT_SUSPENDED_POSTCOPY_FAILED
+
+The domain has been suspended due post-copy migration failing
+
=back
=item Sys::Virt::Domain::EVENT_UNDEFINED
@@ -2921,6 +3003,13 @@
=back
+=item Sys::Virt::Domain::EVENT_ID_JOB_COMPLETED
+
+Domain background job completion notification. The callback
+provides a hash containing the job stats. The keyus in the
+hash are the same as those used with the C<Sys::Virt::Domain::get_job_stats()>
+method.
+
=back
=head2 IO ERROR EVENT CONSTANTS
@@ -3657,6 +3746,10 @@
Virtual CPU info
+=item Sys::Virt::Domain::STATS_PERF
+
+Performance event counter values
+
=back
=head2 PROCESS SIGNALS
@@ -3964,6 +4057,14 @@
VCPU thread quota
+=item Sys::Virt::Domain::TUNABLE_CPU_GLOBAL_PERIOD
+
+VM global period
+
+=item Sys::Virt::Domain::TUNABLE_CPU_GLOBAL_QUOTA
+
+VM global quota
+
=item Sys::Virt::Domain::TUNABLE_BLKDEV_DISK
The name of guest disks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.3.2/lib/Sys/Virt/Error.pm new/Sys-Virt-1.3.3/lib/Sys/Virt/Error.pm
--- old/Sys-Virt-1.3.2/lib/Sys/Virt/Error.pm 2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/lib/Sys/Virt/Error.pm 2016-04-07 18:56:33.000000000 +0200
@@ -394,6 +394,10 @@
The Xen XL driver
+=item Sys::Virt::Error::FROM_PERF
+
+The performance events subsystem
+
=back
=head2 ERROR CODE CONSTANTS
@@ -780,6 +784,14 @@
Migration finished but expected to return NULL domain.
+=item Sys::Virt::Error::ERR_AUTH_UNAVAILABLE
+
+Authentication services were not available
+
+=item Sys::Virt::Error::ERR_NO_SERVER
+
+Libvirt server was not found
+
=back
=head1 AUTHORS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.3.2/lib/Sys/Virt.pm new/Sys-Virt-1.3.3/lib/Sys/Virt.pm
--- old/Sys-Virt-1.3.2/lib/Sys/Virt.pm 2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/lib/Sys/Virt.pm 2016-04-07 18:56:33.000000000 +0200
@@ -78,7 +78,7 @@
use Sys::Virt::DomainSnapshot;
use Sys::Virt::Stream;
-our $VERSION = '1.3.2';
+our $VERSION = '1.3.3';
require XSLoader;
XSLoader::load('Sys::Virt', $VERSION);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.3.2/perl-Sys-Virt.spec new/Sys-Virt-1.3.3/perl-Sys-Virt.spec
--- old/Sys-Virt-1.3.2/perl-Sys-Virt.spec 2016-03-01 16:11:16.000000000 +0100
+++ new/Sys-Virt-1.3.3/perl-Sys-Virt.spec 2016-04-07 18:56:50.000000000 +0200
@@ -1,7 +1,7 @@
# Automatically generated by perl-Sys-Virt.spec.PL
Name: perl-Sys-Virt
-Version: 1.3.2
+Version: 1.3.3
Release: 1%{?dist}%{?extra_release}
Summary: Represent and manage a libvirt hypervisor connection
License: GPLv2+ or Artistic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.3.2/t/030-api-coverage.t new/Sys-Virt-1.3.3/t/030-api-coverage.t
--- old/Sys-Virt-1.3.2/t/030-api-coverage.t 2016-03-01 16:11:02.000000000 +0100
+++ new/Sys-Virt-1.3.3/t/030-api-coverage.t 2016-04-07 18:56:33.000000000 +0200
@@ -92,6 +92,7 @@
virConnectDomainEventTunableCallback
virConnectDomainEventAgentLifecycleCallback
virConnectDomainEventMigrationIterationCallback
+virConnectDomainEventJobCompletedCallback
virConnectNetworkEventLifecycleCallback
1
0
Hello community,
here is the log from the commit of package libvirt-python for openSUSE:Factory checked in at 2016-04-28 16:55:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libvirt-python (Old)
and /work/SRC/openSUSE:Factory/.libvirt-python.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libvirt-python"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libvirt-python/libvirt-python.changes 2016-03-08 10:18:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libvirt-python.new/libvirt-python.changes 2016-04-28 16:58:07.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Apr 12 23:48:41 UTC 2016 - jfehlig(a)suse.com
+
+- Update to 1.3.3
+ - Add all new APIs and constants in libvirt 1.3.3
+
+-------------------------------------------------------------------
Old:
----
libvirt-python-1.3.2.tar.gz
libvirt-python-1.3.2.tar.gz.asc
New:
----
libvirt-python-1.3.3.tar.gz
libvirt-python-1.3.3.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libvirt-python.spec ++++++
--- /var/tmp/diff_new_pack.DYAuM5/_old 2016-04-28 16:58:09.000000000 +0200
+++ /var/tmp/diff_new_pack.DYAuM5/_new 2016-04-28 16:58:09.000000000 +0200
@@ -18,7 +18,7 @@
Name: libvirt-python
Url: http://libvirt.org/
-Version: 1.3.2
+Version: 1.3.3
Release: 0
Summary: Library providing a simple virtualization API
License: LGPL-2.1+
++++++ libvirt-python-1.3.2.tar.gz -> libvirt-python-1.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.3.2/AUTHORS new/libvirt-python-1.3.3/AUTHORS
--- old/libvirt-python-1.3.2/AUTHORS 2016-03-01 05:47:10.000000000 +0100
+++ new/libvirt-python-1.3.3/AUTHORS 2016-04-06 09:29:58.000000000 +0200
@@ -61,6 +61,7 @@
Peter Krempa <pkrempa(a)redhat.com>
Philipp Hahn <hahn(a)univention.de>
Pradipta Kr. Banerjee <pradipta.banerjee(a)gmail.com>
+ Qiaowei Ren <qiaowei.ren(a)intel.com>
Richard W.M. Jones <rjones(a)redhat.com>
Robie Basak <robie.basak(a)canonical.com>
Serge E. Hallyn <serge.hallyn(a)canonical.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.3.2/ChangeLog new/libvirt-python-1.3.3/ChangeLog
--- old/libvirt-python-1.3.2/ChangeLog 2016-03-01 05:47:10.000000000 +0100
+++ new/libvirt-python-1.3.3/ChangeLog 2016-04-06 09:29:58.000000000 +0200
@@ -1,3 +1,16 @@
+2016-03-31 Qiaowei Ren <qiaowei.ren(a)intel.com>
+
+ python: add python binding for Perf API
+ This patch adds the python binding for virDomainSetPerfEvents and
+ virDomainSetPerfEvents API.
+
+
+
+2016-03-08 Jiri Denemark <jdenemar(a)redhat.com>
+
+ Add support for JOB_COMPLETED event
+
+
2016-02-23 Pavel Hrdina <phrdina(a)redhat.com>
libvirt-override: fix PyArg_ParseTuple for size_t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.3.2/PKG-INFO new/libvirt-python-1.3.3/PKG-INFO
--- old/libvirt-python-1.3.2/PKG-INFO 2016-03-01 05:47:10.000000000 +0100
+++ new/libvirt-python-1.3.3/PKG-INFO 2016-04-06 09:29:59.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: libvirt-python
-Version: 1.3.2
+Version: 1.3.3
Summary: The libvirt virtualization API
Home-page: http://www.libvirt.org
Author: Libvirt Maintainers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.3.2/examples/event-test.py new/libvirt-python-1.3.3/examples/event-test.py
--- old/libvirt-python-1.3.2/examples/event-test.py 2016-03-01 05:46:24.000000000 +0100
+++ new/libvirt-python-1.3.3/examples/event-test.py 2016-04-06 09:28:09.000000000 +0200
@@ -533,6 +533,8 @@
def myDomainEventMigrationIteration(conn, dom, iteration, opaque):
print("myDomainEventMigrationIteration: Domain %s(%s) started migration iteration %d" % (
dom.name(), dom.ID(), iteration))
+def myDomainEventJobCompletedCallback(conn, dom, params, opaque):
+ print("myDomainEventJobCompletedCallback: Domain %s(%s) %s" % (dom.name(), dom.ID(), params))
##########################################################################
# Network events
@@ -646,6 +648,7 @@
vc.domainEventRegisterAny(None, libvirt.VIR_DOMAIN_EVENT_ID_AGENT_LIFECYCLE, myDomainEventAgentLifecycleCallback, None)
vc.domainEventRegisterAny(None, libvirt.VIR_DOMAIN_EVENT_ID_DEVICE_ADDED, myDomainEventDeviceAddedCallback, None)
vc.domainEventRegisterAny(None, libvirt.VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION, myDomainEventMigrationIteration, None)
+ vc.domainEventRegisterAny(None, libvirt.VIR_DOMAIN_EVENT_ID_JOB_COMPLETED, myDomainEventJobCompletedCallback, None)
vc.networkEventRegisterAny(None, libvirt.VIR_NETWORK_EVENT_ID_LIFECYCLE, myNetworkEventLifecycleCallback, None)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.3.2/generator.py new/libvirt-python-1.3.3/generator.py
--- old/libvirt-python-1.3.2/generator.py 2015-11-04 04:07:40.000000000 +0100
+++ new/libvirt-python-1.3.3/generator.py 2016-04-06 09:28:09.000000000 +0200
@@ -488,6 +488,8 @@
'virNodeAllocPages',
'virDomainGetFSInfo',
'virDomainInterfaceAddresses',
+ 'virDomainGetPerfEvents',
+ 'virDomainSetPerfEvents',
)
lxc_skip_impl = (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.3.2/libvirt-override-api.xml new/libvirt-python-1.3.3/libvirt-override-api.xml
--- old/libvirt-python-1.3.2/libvirt-override-api.xml 2015-11-04 04:07:40.000000000 +0100
+++ new/libvirt-python-1.3.3/libvirt-override-api.xml 2016-04-06 09:28:09.000000000 +0200
@@ -344,6 +344,19 @@
<arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
<arg name='flags' type='int' info='an OR'ed set of virDomainModificationImpact'/>
</function>
+ <function name='virDomainGetPerfEvents' file='python'>
+ <info>Get all perf events setting.</info>
+ <return type='char *' info='returns a dictionary of params in case of success, None in case of error'/>
+ <arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
+ <arg name='flags' type='int' info='an OR'ed set of virDomainModificationImpact'/>
+ </function>
+ <function name='virDomainSetPerfEvents' file='python'>
+ <info>Enable or disable the particular list of perf events</info>
+ <return type='int' info='-1 in case of error, 0 in case of success.'/>
+ <arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
+ <arg name='params' type='virTypedParameterPtr' info='pointer to perf events parameter object'/>
+ <arg name='flags' type='int' info='an OR'ed set of virDomainModificationImpact'/>
+ </function>
<function name='virDomainSetInterfaceParameters' file='python'>
<info>Change the bandwidth tunables for a interface device</info>
<arg name='dom' type='virDomainPtr' info='pointer to the domain'/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.3.2/libvirt-override-virConnect.py new/libvirt-python-1.3.3/libvirt-override-virConnect.py
--- old/libvirt-python-1.3.2/libvirt-override-virConnect.py 2016-03-01 05:46:24.000000000 +0100
+++ new/libvirt-python-1.3.3/libvirt-override-virConnect.py 2016-04-06 09:28:09.000000000 +0200
@@ -225,6 +225,15 @@
cb(self, virDomain(self, _obj=dom), iteration, opaque)
return 0
+ def _dispatchDomainEventJobCompletedCallback(self, dom, params, cbData):
+ """Dispatches event to python user domain job completed callbacks
+ """
+ cb = cbData["cb"]
+ opaque = cbData["opaque"]
+
+ cb(self, virDomain(self, _obj=dom), params, opaque)
+ return 0
+
def domainEventDeregisterAny(self, callbackID):
"""Removes a Domain Event Callback. De-registering for a
domain callback will disable delivery of this event type """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.3.2/libvirt-override.c new/libvirt-python-1.3.3/libvirt-override.c
--- old/libvirt-python-1.3.2/libvirt-override.c 2016-03-01 05:46:24.000000000 +0100
+++ new/libvirt-python-1.3.3/libvirt-override.c 2016-04-06 09:28:09.000000000 +0200
@@ -6835,6 +6835,65 @@
}
#endif /* VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION */
+#ifdef VIR_DOMAIN_EVENT_ID_JOB_COMPLETED
+static int
+libvirt_virConnectDomainEventJobCompletedCallback(virConnectPtr conn ATTRIBUTE_UNUSED,
+ virDomainPtr dom,
+ virTypedParameterPtr params,
+ int nparams,
+ void *opaque)
+{
+ PyObject *pyobj_cbData = (PyObject*)opaque;
+ PyObject *pyobj_dom;
+ PyObject *pyobj_ret = NULL;
+ PyObject *pyobj_conn;
+ PyObject *dictKey;
+ PyObject *pyobj_dict = NULL;
+ int ret = -1;
+
+ LIBVIRT_ENSURE_THREAD_STATE;
+
+ pyobj_dict = getPyVirTypedParameter(params, nparams);
+ if (!pyobj_dict)
+ goto cleanup;
+
+ if (!(dictKey = libvirt_constcharPtrWrap("conn")))
+ goto cleanup;
+ pyobj_conn = PyDict_GetItem(pyobj_cbData, dictKey);
+ Py_DECREF(dictKey);
+
+ /* Create a python instance of this virDomainPtr */
+ virDomainRef(dom);
+ if (!(pyobj_dom = libvirt_virDomainPtrWrap(dom))) {
+ virDomainFree(dom);
+ goto cleanup;
+ }
+ Py_INCREF(pyobj_cbData);
+
+ /* Call the Callback Dispatcher */
+ pyobj_ret = PyObject_CallMethod(pyobj_conn,
+ (char*)"_dispatchDomainEventJobCompletedCallback",
+ (char*)"OOO",
+ pyobj_dom, pyobj_dict, pyobj_cbData);
+
+ Py_DECREF(pyobj_cbData);
+ Py_DECREF(pyobj_dom);
+
+ cleanup:
+ if (!pyobj_ret) {
+ DEBUG("%s - ret:%p\n", __FUNCTION__, pyobj_ret);
+ PyErr_Print();
+ Py_XDECREF(pyobj_dict);
+ } else {
+ Py_DECREF(pyobj_ret);
+ ret = 0;
+ }
+
+ LIBVIRT_RELEASE_THREAD_STATE;
+ return ret;
+}
+#endif /* VIR_DOMAIN_EVENT_ID_JOB_COMPLETED */
+
static PyObject *
libvirt_virConnectDomainEventRegisterAny(PyObject *self ATTRIBUTE_UNUSED,
PyObject *args)
@@ -6940,6 +6999,11 @@
cb = VIR_DOMAIN_EVENT_CALLBACK(libvirt_virConnectDomainEventMigrationIterationCallback);
break;
#endif /* VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION */
+#ifdef VIR_DOMAIN_EVENT_ID_JOB_COMPLETED
+ case VIR_DOMAIN_EVENT_ID_JOB_COMPLETED:
+ cb = VIR_DOMAIN_EVENT_CALLBACK(libvirt_virConnectDomainEventJobCompletedCallback);
+ break;
+#endif /* VIR_DOMAIN_EVENT_ID_JOB_COMPLETED */
case VIR_DOMAIN_EVENT_ID_LAST:
break;
}
@@ -8543,6 +8607,102 @@
#endif /* LIBVIR_CHECK_VERSION(1, 2, 11) */
+#if LIBVIR_CHECK_VERSION(1, 3, 3)
+static PyObject *
+libvirt_virDomainGetPerfEvents(PyObject *self ATTRIBUTE_UNUSED,
+ PyObject *args)
+{
+ PyObject *pyobj_domain;
+ virDomainPtr domain;
+ virTypedParameterPtr params = NULL;
+ int nparams = 0;
+ PyObject *dict = NULL;
+ unsigned int flags;
+ int rc;
+
+ if (!PyArg_ParseTuple(args, (char *) "OI:virDomainGetPerfEvents",
+ &pyobj_domain, &flags))
+ return NULL;
+ domain = (virDomainPtr) PyvirDomain_Get(pyobj_domain);
+
+ LIBVIRT_BEGIN_ALLOW_THREADS;
+ rc = virDomainGetPerfEvents(domain, ¶ms, &nparams, flags);
+ LIBVIRT_END_ALLOW_THREADS;
+ if (rc < 0)
+ return VIR_PY_NONE;
+
+ if (!(dict = getPyVirTypedParameter(params, nparams)))
+ goto cleanup;
+
+ cleanup:
+ virTypedParamsFree(params, nparams);
+ return dict;
+}
+
+static PyObject *
+libvirt_virDomainSetPerfEvents(PyObject *self ATTRIBUTE_UNUSED,
+ PyObject *args)
+{
+ virDomainPtr domain;
+ PyObject *pyobj_domain, *info;
+ PyObject *ret = NULL;
+ int i_retval;
+ int nparams = 0;
+ Py_ssize_t size = 0;
+ unsigned int flags;
+ virTypedParameterPtr params = NULL, new_params = NULL;
+
+ if (!PyArg_ParseTuple(args,
+ (char *)"OOI:virDomainSetPerfEvents",
+ &pyobj_domain, &info, &flags))
+ return NULL;
+ domain = (virDomainPtr) PyvirDomain_Get(pyobj_domain);
+
+ if ((size = PyDict_Size(info)) < 0)
+ return NULL;
+
+ if (size == 0) {
+ PyErr_Format(PyExc_LookupError,
+ "Need non-empty dictionary to set attributes");
+ return NULL;
+ }
+
+ LIBVIRT_BEGIN_ALLOW_THREADS;
+ i_retval = virDomainGetPerfEvents(domain, ¶ms, &nparams, flags);
+ LIBVIRT_END_ALLOW_THREADS;
+
+ if (i_retval < 0)
+ return VIR_PY_INT_FAIL;
+
+ if (nparams == 0) {
+ PyErr_Format(PyExc_LookupError,
+ "Domain has no settable attributes");
+ return NULL;
+ }
+
+ new_params = setPyVirTypedParameter(info, params, nparams);
+ if (!new_params)
+ goto cleanup;
+
+ LIBVIRT_BEGIN_ALLOW_THREADS;
+ i_retval = virDomainSetPerfEvents(domain, new_params, size, flags);
+ LIBVIRT_END_ALLOW_THREADS;
+
+ if (i_retval < 0) {
+ ret = VIR_PY_INT_FAIL;
+ goto cleanup;
+ }
+
+ ret = VIR_PY_INT_SUCCESS;
+
+ cleanup:
+ virTypedParamsFree(params, nparams);
+ virTypedParamsFree(new_params, size);
+ return ret;
+}
+#endif /* LIBVIR_CHECK_VERSION(1, 3, 3) */
+
+
/************************************************************************
* *
* The registration stuff *
@@ -8746,6 +8906,10 @@
#if LIBVIR_CHECK_VERSION(1, 2, 14)
{(char *) "virDomainInterfaceAddresses", libvirt_virDomainInterfaceAddresses, METH_VARARGS, NULL},
#endif /* LIBVIR_CHECK_VERSION(1, 2, 14) */
+#if LIBVIR_CHECK_VERSION(1, 3, 3)
+ {(char *) "virDomainGetPerfEvents", libvirt_virDomainGetPerfEvents, METH_VARARGS, NULL},
+ {(char *) "virDomainSetPerfEvents", libvirt_virDomainSetPerfEvents, METH_VARARGS, NULL},
+#endif /* LIBVIR_CHECK_VERSION(1, 3, 3) */
{NULL, NULL, 0, NULL}
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.3.2/libvirt-python.spec new/libvirt-python-1.3.3/libvirt-python.spec
--- old/libvirt-python-1.3.2/libvirt-python.spec 2016-03-01 05:47:10.000000000 +0100
+++ new/libvirt-python-1.3.3/libvirt-python.spec 2016-04-06 09:29:58.000000000 +0200
@@ -6,7 +6,7 @@
Summary: The libvirt virtualization API python2 binding
Name: libvirt-python
-Version: 1.3.2
+Version: 1.3.3
Release: 1%{?dist}%{?extra_release}
Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz
Url: http://libvirt.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.3.2/setup.py new/libvirt-python-1.3.3/setup.py
--- old/libvirt-python-1.3.2/setup.py 2016-03-01 05:46:24.000000000 +0100
+++ new/libvirt-python-1.3.3/setup.py 2016-04-06 09:29:53.000000000 +0200
@@ -305,7 +305,7 @@
_c_modules, _py_modules = get_module_lists()
setup(name = 'libvirt-python',
- version = '1.3.2',
+ version = '1.3.3',
url = 'http://www.libvirt.org',
maintainer = 'Libvirt Maintainers',
maintainer_email = 'libvir-list(a)redhat.com',
1
0
Hello community,
here is the log from the commit of package perl-Devel-Cover for openSUSE:Factory checked in at 2016-04-28 16:55:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Devel-Cover (Old)
and /work/SRC/openSUSE:Factory/.perl-Devel-Cover.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Devel-Cover"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Devel-Cover/perl-Devel-Cover.changes 2015-09-24 06:14:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Devel-Cover.new/perl-Devel-Cover.changes 2016-04-28 16:58:05.000000000 +0200
@@ -1,0 +2,11 @@
+Tue Apr 12 13:28:29 UTC 2016 - coolo(a)suse.com
+
+- updated to 1.22
+ see /usr/share/doc/packages/perl-Devel-Cover/Changes
+
+ Release 1.22 - 9 April 2016
+ - Test against 5.20.3, 5.21.1 - 5.21.9, 5.22.1.
+ - Improve uncoverable docs (Alex Balhatchet) (github 148).
+ - Improve cpancover.
+
+-------------------------------------------------------------------
Old:
----
Devel-Cover-1.21.tar.gz
New:
----
Devel-Cover-1.22.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Devel-Cover.spec ++++++
--- /var/tmp/diff_new_pack.EWtmXe/_old 2016-04-28 16:58:07.000000000 +0200
+++ /var/tmp/diff_new_pack.EWtmXe/_new 2016-04-28 16:58:07.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Devel-Cover
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-Devel-Cover
-Version: 1.21
+Version: 1.22
Release: 0
%define cpan_name Devel-Cover
Summary: Code coverage metrics for Perl
@@ -59,10 +59,9 @@
Statement, branch, condition, subroutine, and pod coverage information is
reported. Statement and subroutine coverage data should be accurate. Branch
and condition coverage data should be mostly accurate too, although not
-always what one might initially expect. Pod coverage comes from the
-Pod::Coverage manpage. If the Pod::Coverage::CountParents manpage is
-available it will be used instead. Coverage data for other criteria are not
-yet collected.
+always what one might initially expect. Pod coverage comes from
+Pod::Coverage. If Pod::Coverage::CountParents is available it will be used
+instead. Coverage data for other criteria are not yet collected.
The _cover_ program can be used to generate coverage reports. Devel::Cover
ships with a number of different reports including various types of HTML
@@ -84,21 +83,21 @@
count how many times the ops are executed. These data are then mapped back
to reality using the B compiler modules. There is also a statement
profiling facility which should not be relied on. For proper profiling use
-the Devel::NYTProf manpage. Previous versions of Devel::Cover collected
-coverage data by replacing perl's runops function. It is still possible to
-switch to that mode of operation, but this now gets little testing and will
-probably be removed soon. You probably don't care about any of this.
+Devel::NYTProf. Previous versions of Devel::Cover collected coverage data
+by replacing perl's runops function. It is still possible to switch to that
+mode of operation, but this now gets little testing and will probably be
+removed soon. You probably don't care about any of this.
The most appropriate mailing list on which to discuss this module would be
-perl-qa. See the http://lists.perl.org/list/perl-qa.html manpage.
+perl-qa. See http://lists.perl.org/list/perl-qa.html.
-The Devel::Cover repository can be found at the
-http://github.com/pjcj/Devel--Cover manpage. This is also where problems
-should be reported.
+The Devel::Cover repository can be found at
+http://github.com/pjcj/Devel--Cover. This is also where problems should be
+reported.
%prep
%setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
++++++ Devel-Cover-1.21.tar.gz -> Devel-Cover-1.22.tar.gz ++++++
++++ 6161 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package prboom-plus for openSUSE:Factory checked in at 2016-04-28 16:54:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/prboom-plus (Old)
and /work/SRC/openSUSE:Factory/.prboom-plus.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "prboom-plus"
Changes:
--------
--- /work/SRC/openSUSE:Factory/prboom-plus/prboom-plus.changes 2015-03-30 19:33:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.prboom-plus.new/prboom-plus.changes 2016-04-28 16:58:01.000000000 +0200
@@ -1,0 +2,12 @@
+Tue Mar 29 23:57:18 UTC 2016 - jengelh(a)inai.de
+
+- Update to version 2.5.1.4
+* Added "Allow Jump" and "Allow Vertical Aiming" option on
+ Prboom-plus 'bad' compatibility settings" page.
+* Added a "Backpack Changes Thresholds" option
+* "Use GL surface for software mode" mode now works much faster
+ if gl_finish is 0 in config.
+* Better support for Chex Quest,
+* Fixed the classic "Long Wall" rendering error.
+
+-------------------------------------------------------------------
Old:
----
prboom-plus-2.5.1.4~test4355.tar.xz
New:
----
prboom-plus-2.5.1.4+.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ prboom-plus.spec ++++++
--- /var/tmp/diff_new_pack.WXxcNX/_old 2016-04-28 16:58:05.000000000 +0200
+++ /var/tmp/diff_new_pack.WXxcNX/_new 2016-04-28 16:58:05.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package prboom-plus
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,17 @@
Name: prboom-plus
-Version: 2.5.1.4~test4355
+Version: 2.5.1.4
Release: 0
Summary: Open source port of the DOOM game engine
License: GPL-2.0+
Group: Amusements/Games/3D/Shoot
-Url: http://prboom-plus.sourceforge.net/
+Url: http://prboom-plus.sf.net/
#SVN-Clone: https://svn.prboom.org/repos/branches/prboom-plus-24/prboom2
-#DL-URL: http://downloads.sf.net/prboom-plus/prboom-plus-2.5.1.3.tar.gz
-Source: %name-%version.tar.xz
+#DL-URL: http://downloads.sf.net/prboom-plus/prboom-plus-2.5.1.4.tar.gz
+Source: %name-%version+.tar.xz
+Source2: clean_source.sh
Patch1: prboom-nodatetime.diff
Patch2: prboom-types1.diff
Patch3: prboom-types2.diff
@@ -34,17 +35,20 @@
Patch6: prboom-hbar-color.diff
Patch7: prboom-hbar-all.diff
Patch8: prboom-hbar-gradient.diff
-Source2: clean_source.sh
BuildRequires: Mesa-devel
BuildRequires: automake
BuildRequires: fluidsynth-devel
+BuildRequires: hicolor-icon-theme
BuildRequires: libSDL_image-devel
BuildRequires: libSDL_mixer-devel
BuildRequires: libSDL_net-devel
BuildRequires: libpng-devel
BuildRequires: libvorbis-devel
BuildRequires: pcre-devel
-BuildRequires: xz
+%if 0%{?suse_version} >= 1320
+BuildRequires: portmidi-devel
+%endif
+BuildRequires: update-desktop-files
Suggests: freedoom
Provides: prboom = 2.5.0plus
Obsoletes: prboom <= 2.5.0
@@ -52,52 +56,51 @@
%description
PrBoom+ is a Doom source port developed from the original PrBoom
-project.
-
-prboom is an open-source port of Doom, the classic 3D first-person
-shooter game. It totally outclassed any 3D world games that preceded
-it, with amazing speed, flexibility, and outstanding gameplay. The
-specs to the game were released, and thousands of extra levels were
-written by fans of the game; even today new levels are written for
-Doom faster then any one person could play them.
-
-The target of the prboom-plus project is to extend the original port
-with features that are necessary or useful to the developers and all
-those interested in their work. It is worth noting that all changes
-introduced in no way break PrBoom's compatibility with the original
-Doom/Doom2 engines, and it is possible to be confident this will
-never happen in the future since compatibility is as important.
+project, an open-source port of Doom, the classic 3D first-person
+shooter game which outclassed any 3D world games that preceded
+it, with amazing speed, flexibility, and outstanding gameplay.
+
+prboom(-plus) focuses heavily on retaining compatibility with the
+original Doom engines, which plays a big role in demo recording and
+playback.
%prep
-%setup -qn prboom2
+%setup -q
%patch -P 1 -P 2 -P 3 -P 5 -P 6 -P 7 -P 8 -p1
%build
-./bootstrap;
# rpm has its own optimizations, so turn off shipped defaults
-%configure --enable-gl --disable-cpu-opt --program-prefix='' \
- --with-waddir=%_datadir/doom --disable-dogs
+%configure --enable-gl --disable-cpu-opt --program-prefix="" \
+ --with-waddir="%_datadir/doom" --disable-dogs
make %{?_smp_mflags}
%install
-b="%buildroot";
-make install DESTDIR="$b";
-# Will manually package docs (see %%files)
-rm -Rf "$b/%_datadir/doc";
-mkdir -p "$b/%_bindir";
-mv "$b/%_prefix/games"/* "$b/%_bindir/";
-# Convenience symlink
-ln -s prboom-plus "$b/%_bindir/prboom";
+%make_install gamesdir="%_bindir"
+
+# convenience symlink
+ln -s prboom-plus "%buildroot/%_bindir/prboom"
+
+install -Dm0644 ICONS/prboom-plus.svg "%buildroot/%_datadir/icons/hicolor/scalable/apps/prboom-plus.svg"
+install -Dm0644 ICONS/prboom-plus.desktop "%buildroot/%_datadir/applications/prboom-plus.desktop"
+
+install -Dm0644 ICONS/prboom-plus.bash "%buildroot/%_datadir/bash-completion/completions/prboom-plus.bash"
%post
-echo "INFO: %name: The global IWAD directory is %_datadir/doom.";
+%desktop_database_post
+%icon_theme_cache_post
+
+%postun
+%desktop_database_postun
+%icon_theme_cache_postun
%files
%defattr(-,root,root)
-%doc NEWS AUTHORS README
-%doc doc/MBF.txt doc/MBFFAQ.txt doc/README.compat doc/README.demos doc/boom.txt
%_bindir/*
-%_datadir/doom
+%_datadir/doom/
+%_datadir/doc/%name-%version/
%_mandir/*/*
+%_datadir/applications/prboom-plus.desktop
+%_datadir/icons/hicolor/scalable/apps/prboom-plus.svg
+%_datadir/bash-completion/
%changelog
++++++ clean_source.sh ++++++
--- /var/tmp/diff_new_pack.WXxcNX/_old 2016-04-28 16:58:05.000000000 +0200
+++ /var/tmp/diff_new_pack.WXxcNX/_new 2016-04-28 16:58:05.000000000 +0200
@@ -1,19 +1,17 @@
#!/bin/sh -ex
-# Remove Wolfenstein dogs from source
+# Remove Wolfenstein dogs from source; they belong to another game
+# with incompatible licensing.
: ${DOOMWADDIR:=/usr/share/doom};
-version=$(perl -lne 'if(/^Version\s*:\s*(\S+)/){print$1;exit}' <prboom-plus.spec);
-tar -xf "prboom-plus-$version.tar.xz";
-pushd "prboom-plus-$version/data/";
-deutex -doom2 "$DOOMWADDIR" -extract prboom-plus.wad;
-touch lumps/{b,c}_{start,end}.lmp;
-grep -Ev '^DOG|^DSDG' <prboom.txt >wadinfo.txt;
-rm -f prboom-plus.wad;
-deutex -doom2 "$DOOMWADDIR" -create wadinfo.txt prboom-plus.wad;
-find . -mindepth 1 -type d -print0 | xargs -0 rm -Rf;
-mv wadinfo.txt prboom.txt;
-rm -f error.txt output.txt;
-popd;
+version=$(perl -lne 'if(/^Version\s*:\s*(\S+)/){print$1;exit}' <prboom-plus.spec)
+rm -Rf "prboom-plus-$version"
+tar -xf "prboom-plus-$version.tar.gz"
+pushd "prboom-plus-$version/"
+# retain files so automake won't complain
+for i in data/sounds/dsdg*.wav data/sprites/dogs*.ppm; do
+ >"$i"
+done
+popd
find "prboom-plus-$version" -print0 | sort -z | \
- tar -T- --null --use=xz -cvf "prboom-plus-$version+.tar.xz";
+ tar --no-r --null --use=xz -T- -cvf "prboom-plus-$version+.tar.xz"
++++++ prboom-enable-tessellation.diff ++++++
--- /var/tmp/diff_new_pack.WXxcNX/_old 2016-04-28 16:58:05.000000000 +0200
+++ /var/tmp/diff_new_pack.WXxcNX/_new 2016-04-28 16:58:05.000000000 +0200
@@ -11,17 +11,17 @@
src/gl_main.c | 3 +++
1 file changed, 3 insertions(+)
-Index: prboom-plus-2.5.1.3/src/gl_main.c
+Index: prboom-plus-2.5.1.4/src/gl_main.c
===================================================================
---- prboom-plus-2.5.1.3.orig/src/gl_main.c
-+++ prboom-plus-2.5.1.3/src/gl_main.c
-@@ -73,6 +73,9 @@
- #ifdef USE_CUSTOM_QSORT
- #include "qsort.h"
+--- prboom-plus-2.5.1.4.orig/src/gl_main.c
++++ prboom-plus-2.5.1.4/src/gl_main.c
+@@ -36,6 +36,9 @@
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
#endif
+#ifndef USE_GLU_TESS
+# define USE_GLU_TESS 1
+#endif
- // All OpenGL extentions will be disabled in gl_compatibility mode
- int gl_compatibility = 0;
+ #include "gl_opengl.h"
+
++++++ prboom-hbar-gradient.diff ++++++
--- /var/tmp/diff_new_pack.WXxcNX/_old 2016-04-28 16:58:05.000000000 +0200
+++ /var/tmp/diff_new_pack.WXxcNX/_new 2016-04-28 16:58:05.000000000 +0200
@@ -11,12 +11,12 @@
src/gl_main.c | 44 +++++++++++++++++---------------------------
3 files changed, 20 insertions(+), 30 deletions(-)
-Index: prboom2/src/gl_drawinfo.c
+Index: prboom-plus-2.5.1.4/src/gl_drawinfo.c
===================================================================
---- prboom2.orig/src/gl_drawinfo.c
-+++ prboom2/src/gl_drawinfo.c
-@@ -111,10 +111,10 @@ static void gld_AddDrawRange(int size)
- #define NEWSIZE (MAX(64 * 1024, itemsize))
+--- prboom-plus-2.5.1.4.orig/src/gl_drawinfo.c
++++ prboom-plus-2.5.1.4/src/gl_drawinfo.c
+@@ -112,10 +112,10 @@ static void gld_AddDrawRange(int size)
+ #define SIZEOF8(type) ((sizeof(type)+7)&~7)
void gld_AddDrawItem(GLDrawItemType itemtype, void *itemdata)
{
- int itemsize = 0;
@@ -26,13 +26,13 @@
- static int itemsizes[GLDIT_TYPES] = {
+ static const unsigned int itemsizes[GLDIT_TYPES] = {
0,
- sizeof(GLWall), sizeof(GLWall), sizeof(GLWall), sizeof(GLWall), sizeof(GLWall),
- sizeof(GLWall), sizeof(GLWall),
-Index: prboom2/src/gl_intern.h
+ SIZEOF8(GLWall), SIZEOF8(GLWall), SIZEOF8(GLWall), SIZEOF8(GLWall), SIZEOF8(GLWall),
+ SIZEOF8(GLWall), SIZEOF8(GLWall),
+Index: prboom-plus-2.5.1.4/src/gl_intern.h
===================================================================
---- prboom2.orig/src/gl_intern.h
-+++ prboom2/src/gl_intern.h
-@@ -220,7 +220,7 @@ typedef struct
+--- prboom-plus-2.5.1.4.orig/src/gl_intern.h
++++ prboom-plus-2.5.1.4/src/gl_intern.h
+@@ -218,7 +218,7 @@ typedef struct
typedef struct
{
@@ -41,11 +41,11 @@
float x1, x2, x3;
float z1, z2, z3;
-Index: prboom2/src/gl_main.c
+Index: prboom-plus-2.5.1.4/src/gl_main.c
===================================================================
---- prboom2.orig/src/gl_main.c
-+++ prboom2/src/gl_main.c
-@@ -2405,15 +2405,20 @@ static void gld_AddHealthBar(mobj_t* thi
+--- prboom-plus-2.5.1.4.orig/src/gl_main.c
++++ prboom-plus-2.5.1.4/src/gl_main.c
+@@ -2339,15 +2339,20 @@ static void gld_AddHealthBar(mobj_t* thi
GLHealthBar hbar;
int health_percent = thing->health * 100 / thing->info->spawnhealth;
@@ -74,7 +74,7 @@
{
float sx2 = (float)thing->radius / 2.0f / MAP_SCALE;
float sx1 = sx2 - (float)health_percent * (float)thing->radius / 100.0f / MAP_SCALE;
-@@ -2437,7 +2442,6 @@ static void gld_AddHealthBar(mobj_t* thi
+@@ -2371,7 +2376,6 @@ static void gld_AddHealthBar(mobj_t* thi
static void gld_DrawHealthBars(void)
{
int i, count;
@@ -82,7 +82,7 @@
count = gld_drawinfo.num_items[GLDIT_HBAR];
if (count > 0)
-@@ -2448,31 +2452,17 @@ static void gld_DrawHealthBars(void)
+@@ -2382,31 +2386,17 @@ static void gld_DrawHealthBars(void)
for (i = count - 1; i >= 0; i--)
{
GLHealthBar *hbar = gld_drawinfo.items[GLDIT_HBAR][i].item.hbar;
1
0
Hello community,
here is the log from the commit of package perl-DBD-XBase for openSUSE:Factory checked in at 2016-04-28 16:54:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DBD-XBase (Old)
and /work/SRC/openSUSE:Factory/.perl-DBD-XBase.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DBD-XBase"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DBD-XBase/perl-DBD-XBase.changes 2013-06-05 13:33:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-DBD-XBase.new/perl-DBD-XBase.changes 2016-04-28 16:57:58.000000000 +0200
@@ -1,0 +2,15 @@
+Thu Apr 7 09:11:50 UTC 2016 - coolo(a)suse.com
+
+- updated to 1.06
+ see /usr/share/doc/packages/perl-DBD-XBase/Changes
+
+ 1.06 Sun Mar 6 20:48:11 CET 2016
+ Add support for W column type (byte array by Visual FoxPro).
+
+ Fixed overload arg warning.
+
+ Restore the table_info functionality.
+
+ Fix for type B little endian issue, reported by Andres Thomas.
+
+-------------------------------------------------------------------
Old:
----
DBD-XBase-1.05.tar.gz
New:
----
DBD-XBase-1.06.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DBD-XBase.spec ++++++
--- /var/tmp/diff_new_pack.6VXxub/_old 2016-04-28 16:58:01.000000000 +0200
+++ /var/tmp/diff_new_pack.6VXxub/_new 2016-04-28 16:58:01.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-DBD-XBase
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,50 +17,55 @@
Name: perl-DBD-XBase
-BuildRequires: perl-DBI
-BuildRequires: perl-macros
-Version: 1.05
+Version: 1.06
Release: 0
-Obsoletes: dbdxbase
-Provides: dbdxbase
-Url: http://cpan.org/modules/by-module/DBD/
-Summary: Provides Access to XBase Files
-License: Artistic-1.0
+%define cpan_name DBD-XBase
+Summary: Reads and writes XBase (dbf) files, includes DBI support
+License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
-Source: http://www.cpan.org/authors/id/JANPAZ/DBD-XBase-%{version}.tar.gz
+Url: http://search.cpan.org/dist/DBD-XBase/
+Source0: http://www.cpan.org/authors/id/J/JA/JANPAZ/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
+BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: perl
+BuildRequires: perl-macros
%{perl_requires}
%description
-Module XBase provides access to XBase (dBase, Fox*) database files,
-namely dbf, dbt, fpt, ndx, ntx, mdx, idx and cdx.
+DBI compliant driver for module XBase. Please refer to DBI(3) documentation
+for how to actually use the module. In the *connect* call, specify the
+directory containing the dbf files (and other, memo, etc.) as the third
+part of the connect string. It defaults to the current directory.
+
+Note that with dbf, there is no database server that the driver would talk
+to. This DBD::XBase calls methods from XBase.pm module to read and write
+the files on the disk directly, so any limitations and features of XBase.pm
+apply to DBD::XBase as well. DBD::XBase basically adds SQL, DBI compliant
+interface to XBase.pm.
+
+The DBD::XBase doesn't make use of index files at the moment. If you really
+need indexed access, check XBase(3) for notes about support for variour
+index types.
%prep
-%setup -n DBD-XBase-%{version}
+%setup -q -n %{cpan_name}-%{version}
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
-perl Makefile.PL
-make %{?_smp_mflags}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
%check
-make test
+%{__make} test
%install
-rm -rf $RPM_BUILD_ROOT
%perl_make_install
%perl_process_packlist
+%perl_gen_filelist
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-,root,root)
-%doc Changes README ToDo
-%doc %{_mandir}/man?/*
-%{perl_vendorlib}/DBD
-%{perl_vendorlib}/XBase
-%{perl_vendorlib}/XBase.pm
-%{perl_vendorarch}/auto/XBase
-%{_bindir}/*
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc Changes driver_characteristics new-XBase README ToDo
%changelog
++++++ DBD-XBase-1.05.tar.gz -> DBD-XBase-1.06.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-XBase-1.05/Changes new/DBD-XBase-1.06/Changes
--- old/DBD-XBase-1.05/Changes 2013-04-24 19:37:43.000000000 +0200
+++ new/DBD-XBase-1.06/Changes 2016-03-06 20:56:56.000000000 +0100
@@ -1,6 +1,15 @@
Revision history for Perl extension XBase and DBD::XBase.
+1.06 Sun Mar 6 20:48:11 CET 2016
+ Add support for W column type (byte array by Visual FoxPro).
+
+ Fixed overload arg warning.
+
+ Restore the table_info functionality.
+
+ Fix for type B little endian issue, reported by Andres Thomas.
+
1.05 Wed Apr 24 19:37:09 CEST 2013
Fix for prepare_select_eq and empty MDX indexes, patch by Julian
Bridle.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-XBase-1.05/DBD-XBase-1.06/Changes new/DBD-XBase-1.06/DBD-XBase-1.06/Changes
--- old/DBD-XBase-1.05/DBD-XBase-1.06/Changes 1970-01-01 01:00:00.000000000 +0100
+++ new/DBD-XBase-1.06/DBD-XBase-1.06/Changes 2016-03-06 20:56:56.000000000 +0100
@@ -0,0 +1,662 @@
+
+Revision history for Perl extension XBase and DBD::XBase.
+
+1.06 Sun Mar 6 20:48:11 CET 2016
+ Add support for W column type (byte array by Visual FoxPro).
+
+ Fixed overload arg warning.
+
+ Restore the table_info functionality.
+
+ Fix for type B little endian issue, reported by Andres Thomas.
+
+1.05 Wed Apr 24 19:37:09 CEST 2013
+ Fix for prepare_select_eq and empty MDX indexes, patch by Julian
+ Bridle.
+
+1.04 Wed Apr 17 19:47:21 CEST 2013
+ Fix for handling MDX indexes, patch by Julian Bridle.
+
+1.03 Sun Mar 6 07:32:21 CET 2011
+ Fixing output of tests when DBI is not available.
+
+1.02 Thu Mar 3 20:40:54 CET 2011
+ Added the URL to the AVAILABLE FROM sections.
+
+1.01 Wed Feb 9 21:22:07 CET 2011
+ Updated the Changes file.
+
+1.00 Wed Feb 9 21:19:35 CET 2011
+ Changed the location of the distribution to
+ http://www.adelton.com/perl/DBD-XBase/
+
+ Changed author's email address.
+
+ Require perl 5.10 and use O_BINARY from Fcntl.
+
+ Updated the clean target to make distclean clean.
+
+ Updated URL of Erik's documentation.
+
+0.241 Thu Nov 20 21:12:56 MET 2003
+ XBase: codepage option to XBase->create added, suggested by
+ Chris Greenhill.
+
+0.240 Mon Aug 25 15:03:57 MEST 2003
+ XBase: delete_record/undelete_record now corrctly returns
+ false when the delete fails, problem reported by Boris Kocak.
+
+0.234 Mon Jul 7 20:41:14 CEST 2003
+ Added test to Makefile.PL and note to INSTALL about case
+ insensitive clash with Xbase.pm, suggested by Michael Higgins
+ and Jan from AS.
+
+ Added documentation / comments about datetime, suggested
+ by John Freed.
+
+ Xbase: Added the recompute_lastrecno parameter, suggested by
+ Kevin J. Rice. Added EOF to create, suggested by Ilya Sandler.
+
+0.232 Thu Apr 3 17:47:39 CEST 2003
+ XBase::SQL: Fieldname can contain the table name (silently
+ dropped), suggested by Michael Semich, and table name now
+ matches [^\(\s]+ to allow paren immediately following it,
+ problem reported by belg4mit.
+
+0.231 Thu Oct 31 17:48:19 MET 2002
+ t/9_dbd_create.t: patched a test failure on Windows platform,
+ path by Yves Orton.
+
+0.230 Wed Oct 9 11:05:28 MET DST 2002
+ DBD::XBase: added docs about xbase_ignorememo.
+
+ DBD::XBase: fixed dropping table so that the driver forgets
+ the table, patch by Mike P. Mikhailov.
+
+0.220 Mon Sep 2 12:26:34 MET DST 2002
+ XBase::Index::ntx: type option has higher priority than dbf.
+
+ XBase::read_header: fail if the header is not valid.
+
+ XBase::Memo::read_header: allow length 512 and 24.
+
+ XBase::FAQ: reformatted, slightly.
+
+ XBase, XBase::SQL: added support for type money (Y).
+
+ Code and indentation cleanup.
+
+0.210 Fri Dec 7 12:56:37 MET 2001
+ README and INSTALL made uptodate.
+ Fixed attributes (TYPE) handling, problem reported by Jacek
+ Ciolek.
+
+0.200 Sun Aug 19 13:48:27 MET DST 2001
+ Source code reformated to unified indentation.
+
+0.190 Sat Aug 18 18:02:04 MEST 2001
+ XBase::SDBM: documentation added.
+
+ DBD::XBase: order by with more fields supported.
+
+0.177 Thu May 10 17:19:07 MET DST 2001
+ XBase: retry with nolongchars if the char lengths do not match
+ the record length.
+
+ Memo field not written when empty, suggested by Sascha Knific.
+
+ XBase::Base::open: now allows option 'fh' to point to
+ IO::Scalar or generally any filehandle to be passed in.
+
+0.176 Thu Feb 8 13:19:16 MET 2001
+ DBD::XBase: select * with order by was failing, reported by
+ Filipe Luis Geschaeft
+
+0.173 Tue Feb 6 11:18:46 MET 2001
+ XBase: year encoding not correct in dbf header, reported
+ by Helmut Jarausch.
+
+0.172 Tue Feb 6 10:22:11 MET 2001
+ XBase::Memo: creating of fpt supported; bug pointed out by
+ Massimo Matteuzzi.
+
+0.170 Fri Jan 26 18:35:01 MET 2001
+ XBase::idx: create support and better reading support.
+
+ XBase: password protection explored
+
+0.165 Mon Jan 22 19:33:01 MET 2001
+ XBase: better sanity checks in dump_records.
+
+ XBase::SQL: added support for not in SQL command.
+
+0.162 Sun Jan 21 17:53:05 MET 2001
+ XBase::IndexCursor: error by one in last_fetched.
+
+ XBase: Y2K problem fixed, patch by Phillip Millman.
+
+ XBase::Index, XBase::SDBM: added support for SDBM index
+ files.
+
+ XBase, XBase::cdx: added support for type specification of cdx
+ files even when called via prepare_select_with_index, to
+ allow use even if we don't support expressions.
+
+ XBase::SQL: multiplication support added, patch by Thoren
+ Johne and Stuart Lemmen.
+
+0.161 Sat May 20 12:52:35 MET DST 2000
+ indexdump: had bug in option handling.
+
+ XBase::Index: minor tweaks, bug reporting fixed, support
+ for cdx dates added, reported by Dan Albertsson.
+
+ XBase: long numeric values weren't truncated correctly,
+ reported by Dan Albertsson.
+
+0.160 Sat Feb 12 20:03:56 MET 2000
+
+ XBase::Index: cdx now supports the delete, insert and
+ write_header methods for updating the index file. Handling
+ of negative integers fixed, as well as trailing nulls.
+
+ XBase: preliminary support for attach_index. Code for
+ making the module happy with _NULLFLAGS/0 type (we do not
+ interpret this at the moment, we just correctly ignore)
+ provided by Sebastien Nameche.
+
+ XBase::SQL: like operator now matches multiline strings as
+ well, problem reported by Petr Nalevka.
+
+ DBD::XBase: stump DBD::XBase::db::DESTROY added, to silence DBI,
+ patch by Gregory McCann.
+
+0.1551 Sat Jan 9 19:21:16 CET 2000
+
+ dbfdump: Accepts --SQL modifier to --info, prints structure
+ of the table as a create table SQL.
+
+0.155 Sun Nov 7 15:43:59 CET 1999
+
+ XBase::SQL and DBD::XBase: arbitraty arithmetic expression
+ possible in the select list. NAME attribute works fine for them.
+ SQL functions length, *trim, concat and substr supported. Fixed
+ bug in XBase::SQL causing bad division results. The DBD::XBase
+ documentation revised.
+
+ t/5_dbd_select* tests extended.
+
+0.147 Mon Aug 16 10:48:37 MET DST 1999
+
+ XBase::SQL and DBD::XBase: fixed broken handling of NAME
+ attribute, introduced in 0.145 by an attempt to support
+ arbitrary expressions in the selected part. So I rolled back
+ that change and it's (again) only possible to select * or
+ select list of field names -- problem reported by adelton,
+ William McKee and Martin Treusch.
+
+ XBase::Index: fixed handling of indexes with 32-bit record
+ number -- patch by Jon Bloom.
+
+ XBase::Base: fixed typo _unlockex, pointed by Mike Sanders.
+
+0.145 Mon Jun 21 12:49:19 MET DST 1999
+
+ DBD::XBase: updated TYPE_INFO for BOOLEAN and BLOB.
+
+ t/5_dbd_select.t: added tests for the named bind params.
+
+0.144 Fri May 14 07:50:23 CEST 1999
+
+ XBase::SQL, DBD::XBase: added support for named bind parameters;
+ added comments.
+
+0.141 Thu Apr 29 23:17:25 CEST 1999
+
+ XBase::Index: added code for multiple page cdx and fix for big
+ endian. Added code for negative ntx numeric values.
+
+0.140 Thu Apr 29 10:50:58 MET DST 1999
+
+ XBase: the -1 memo records handle the 4 byte fields as well,
+ patch by Zbigniew Malinowski.
+
+ XBase::Index: support for cdx files improved (numeric fields),
+ subindexes.
+
+ XBase::SQL: code properly commented.
+
+ DBD::XBase: added the time type, aptch by Nikolai Saoukh.
+
+0.132 Sun Apr 18 17:35:10 MET DST 1999
+
+ XBase::Base: dealing of openoptions fixed, problem spotted by
+ Zbigniew Malinowski.
+
+ XBase::SQL: added type numeric, patch by Nikolai Saoukh.
+
+ XBase::Index: added support for cdx (one page index so far),
+ added support for idx (untested).
+
+ DBD::XBase: added attributes PRECISION and SCALE, changed SQL
+ type for NUMERIC, patch by Nikolai Saoukh.
+
+ driver_characteristics now includes Tim's additions of Apr 4,
+ 1999.
+
+ Created new XBase::FAQ.pod.
+
+0.131 Sun Apr 18 8:47:12 MET DST 1999
+
+ XBase: memo records marked -1 are returned empty now,
+ spotted by Zbigniew Malinowski.
+
+ XBase::SQL: added possibility to have expression to the left
+ from the relational operator, suggested by Nikolai Saoukh.
+
+ DBD::XBase: fixed type_info to return array, bug spotted by
+ Alan Grover.
+
+0.130 Sat Feb 27 18:09:04 MET 1999
+
+ DBD::XBase: fixed handling of the rows method.
+
+ Added driver_characteristics.pod to list characteristics of
+ DBD::XBase according to the draft by Tim Bunce.
+
+0.129 Fri Feb 26 22:02:12 MET 1999
+
+ XBase.pm: added support for datetime fields T, testing data
+ provided by William McKee. Fix for ignorememo.
+
+ XBase::SQL: added time and datetime names to the SQL parser.
+
+ XBase::Memo and XBase.pm: added support for Apollo SMT memo
+ files, code based on that provided by Dirk Tostmann.
+
+ O_BINARY is only loaded on evil systems now.
+
+0.127 Mon Feb 22 10:56:23 MET 1999
+
+ XBase::Base: opening readonly files fixed, patch by Petr
+ Machacek.
+
+ _unlockex fixed to _unlock. locksh, lockex and unlock now
+ return true/false based on result.
+
+ DBD::XBase::disconnect now closes the tables, patch by Martin
+ Treusch von Buttlar. Fixed typo in delete code.
+
+ t/2_write.t: added $table->close before size check, patch by
+ Ilya Chelpanov.
+
+0.121 Thu Jan 21 20:07:04 MET 1999
+
+ XBase::Memo: fixed a typo in measuring the next_for_append,
+ pointed out by Dan Albertsson.
+
+ t/2_write.t: added afox5.dbf/FPT and a Fox* test.
+
+0.120 Wed Jan 13 13:24:15 MET 1999
+
+ XBase.pm: added XBase::Cursor::rewind, names,
+ prepare_select_nf. Added readonly option. Added option 'table'
+ for dump -- using Data::ShowTable.
+
+ XBase.pm, XBase::Base.pm: open method now accepts hash of
+ options.
+
+ XBase::Memo: we now reset next_for_append to point behind the
+ end of the file, problem pointed out by Artem Belevich.
+
+ dbfdump: option --table, --fields now handles intervals.
+
+ t/2_read.t: fixed problem with order of fields in hash, patch
+ by Andreas J. Koenig.
+
+ t/4_dbfdump.t: added quotes for Win* systems, patch by Randy
+ Kobes.
+
+0.115 Wed Jan 6 17:02:28 MET 1999
+
+ XBase::Memo: tries to find out which format (\x1a versus
+ \x1a\x1a) to use for dBaseIII memo files. It also writes back
+ this separator.
+
+0.110 Sun Dec 20 21:29:05 MET 1998
+
+ XBase::SQL: added LIKE clause to WHERE part of SQL commands.
+
+0.105 Sun Dec 20 17:09:43 MET 1998
+
+ XBase::Base: added workaround for systems that not only write
+ to files something else than they are told to, but also damage
+ the files by merely opening it.
+
+ XBase::Memo: fixed problem with fpt files -- thanks to Dan
+ Albertsson for providing many test files.
+
+ XBase::SQL: fix of handling of double quoted strings.
+
+ dbfdump: memosep and memofile options fixed.
+
+ t/4_dbfdump.t: avoided using cat.
+
+ t/*_dbd_*.t: forcing use of DBI version at least 1.0.
+
+0.100 Mon Dec 7 11:00:23 MET 1998
+
+ DBD::XBase: capitalized AND/OR in SQL commands now work,
+ method rows implemented, reported by cybertoast. Updated to
+ use _set_fbav. Unpolished support to *info* methods.
+
+ XBase::SQL: fixed the primary key/key parsing problem, patch
+ by Bill Brinkley & Joe Johnston. A quick fix to avoid bug in
+ Perl with long blobs.
+
+ XBase::Memo: fixed appending record to dBaseIV memo used to
+ corrupt the data -- reported by Dan Albertsson.
+
+0.0696 Mon Oct 26 11:57:01 MET 1998
+
+ DBD::XBase: added bug reporting by INSERT command and fixed
+ example in man page, spotted by Dmitry Dorofeev. Added DESC
+ part of ORDER BY clause, requested by Dmitry Dorofeev. Fixed
+ number of fields returned with ORDER BY clause, patch by
+ Paul Lindner. If the directory is not specified in call to
+ connect, it now defaults to current directory, not to root.
+ Fixed the fetch method -- it doesn't deadlock anymore, problem
+ reported by Ken Yamaguchi.
+
+ XBase::Index: added some MDX code.
+
+ XBase::Memo: header_len is now set to block_size, not 512,
+ patch by Fergus Lee.
+
+ XBase.pm: The type B is Fox double, not memo, spotted by
+ George F. Frazier. Added support for Fox* 4 byte memo fields,
+ data provided by William McKee.
+
+ All of the reads/tells rewritten to allow stream-lined processing,
+ suggested by Sergey Lukashevich. Use with caution, however.
+
+ Added autoflush to each opened file, so it's safe to read the
+ table with other process before closing the table in the first
+ one, spotted by Thomas Hahn.
+
+0.0694 Tue Aug 25 23:24:35 MET DST 1998
+
+ XBase::Memo: Fixed error by 8 in dBaseIV reading/writing
+ code, bug reported by Kendal Van Dyke.
+
+ t/5_dbd_select.t changed to be non-unique-key in sort
+ independent, reported by Larry W. Virden.
+
+0.0693 Tue Aug 25 10:25:20 MET DST 1998
+
+ DBD::XBase: Fixed handling ORDER BY with WHERE clauses,
+ reported by Kendal Van Dyke.
+
+ XBase: added nolongchars -- omitted from 0.068.
+
+ XBase::Index: added ro support for Clipper's ntx, the whole
+ module reworked. Thanks to Frans van Loon for providing
+ example ntx files and code that helped me to understand the
+ format. Also thanks to Robert Geer for his C code that also
+ helps me to check the expected results.
+
+ XBase::Base: last_record can be -1, meaning unknown --
+ disables checks.
+
+ Added t/3_ntx.t and added ORDER BY test to t/5_dbd_select.t.
+
+ Some documentation improvements.
+
+0.068 Thu Aug 20 18:43:17 MET DST 1998
+
+ DBD::XBase: added support for ORDER BY, defined using substh.
+
+ Fixed error by 1 in deleting all records.
+
+ Added support for NULLABLE, NUM_OF_PARAMS and TYPE in FETCH.
+
+ Defined data_sources to dbi:XBase:.; disconnect_all returns 1;
+ defined tables, disconnect and DESTROY; quote adds support for
+ NULL.
+
+ XBase: create now marks presence of a dbt file in dbf.
+
+ Added attribute nolongchars to disable character fields longer
+ than 255.
+
+ Erik Bachmann's homepage moved.
+
+ XBase::Memo: added suport for memosep attribute, default
+ \x1a\x1a. Correct header is now written for dBaseIV memo
+ files.
+
+ Fix of handling dBaseIV memo records, patch by Barry Fishman.
+
+ XBase::SQL: added ORDER BY support, recognizes VARCHAR.
+
+ In dbit/40blobs.t we only try blob size 64 -- fix for bug in
+ Perl regexp engine. Change in dbit/40bindparam.t, quick fix
+ for missing NULL chars. In dbit/50chopblanks.t swapped
+ $$ref[1] and $name.
+
+0.065 Sun Jun 7 15:18:57 MET DST 1998
+
+ Added table specific ChopBlanks. Added fetch_hashref to
+ XBase::Cursor.
+
+ Docs updated.
+
+0.064 Sun May 31 18:56:26 MET DST 1998 (*****)
+
+ Major rewrite of the DBD and SQL part. New features:
+ support for bind parameters in where, insert and update.
+ Support for NULL and IS NULL tests. The XBase::SQL is faster
+ and hopefully clearer. The DBD::XBase supports (among others)
+ bind_col. The DBD driver now passes 98.39 % of the standard
+ DBD tests.
+
+ Added support for data type 'I' for Fox* into XBase.pm.
+
+0.0632 Wed May 27 12:27:04 MET DST 1998
+
+ Added --nomemo option to dbfdump. The list of entires is made
+ longer in any non-leaf page in ndx. Added check for the magic
+ "FFFF0800" tag in dBaseIV dbt file when reading it.
+
+0.0631 Fri May 22 22:24:02 CEST 1998
+
+ Fixed handling big endian in numeric fields in ndx, fixe
+ problem with key/record length.
+
+0.063 Sun May 17 21:46:08 CEST 1998
+
+ Added first support for ndx index files. From XBase module
+ it's available using prepare_select_with_index. It's very
+ alpha but it seems to handle character and numeric (not date
+ yet) types. And yes, it's read only.
+
+ Added FETCH('NAME') and _ListTables to DBD::XBase, added drop
+ table, integer type and dummy not null to XBase::SQL. The
+ generic DBI test suite now goes well up until bind params, put
+ on ToDo list.
+
+0.062 Thu May 14 15:11:32 MET DST 1998
+
+ Field and table names in XBase::SQL now accept digits and
+ underscores, in XBase::Memo, we check for
+ ($dbf_version & 15), patches by Jens Quade.
+
+ Fixed handling of Fox* fpt files and a problem with memo
+ files that have record length different than 512, patches
+ by Thomas Grueter.
+
+0.061 Tue Apr 7 21:52:07 MET DST 1998
+
+ Fixed writing undefined values in numeric fields.
+ Fixed dealing with uppercase extensions.
+
+ XBase::SQL fixed to support int, found by Chris Winters.
+
+ Offset in the record headers in dbf now set properly, patch by
+ Dave Frascone.
+
+ Added ignorememo option to new XBase call. Use this if you
+ have a memo field in dbt but do not have the memo file.
+ Otherwise you will get an error, request by Martin Jost.
+ Other fixes by Martin Jost included.
+
+0.060 Fri Mar 20 10:20:45 MET 1998
+
+ Added method prepare_select and XBase::Cursor to implement
+ long selects. Method dump_records now prints directly,
+ doesn't use get_all_records.
+
+ Added parameter --info into the script dbfdump to print the
+ header info.
+
+ Changed way of determining the type of the dbt file after
+ discussion with Sergey Lukashevich.
+
+0.0599 Wed Mar 11 22:58:45 MET 1998
+
+ Option to specify the memo file in call to XBase::new added.
+
+ Dump_records made customizable.
+
+0.0598 Tue Mar 10 22:40:00 MET 1998
+
+ Fixed bug when finding a name for the memo file in XBase; in
+ dBaseIII memo field we will only check for one \x1a to allow
+ as many formats possible, we still write two of them; typo in
+ init_memo fixed -- patches by Martin Jost.
+
+0.0597 Tue Mar 3 23:40:56 MET 1998 (*****)
+
+ Major code revision and check:
+
+ Error handling fixed, locking added. Rewritten process_* to
+ rproc and wproc arrays.
+
+ Added read_all_records. Minor typos and bugs fixed.
+
+ Test suite extended.
+
+0.0584 Mon Mar 2 10:04:00 MET 1998
+
+ Fix of XBase::Memo::dBaseIV::read_record for memo fields
+ longer than record length by Jochen Friedrich.
+
+0.0583 Thu Feb 12 00:08:07 MET 1998
+
+ Bug fix for floating fields, patch by Carlos Augusto de
+ Almeida.
+
+0.058 Mon Feb 9 19:15:03 MET 1998 (*****)
+
+ XBase::SQL rewritten, DBD::XBase now supports select, delete,
+ insert, update and create table. Documentation for DBD::XBase
+ extended. DBD::XBase is still alpha but rather stable.
+
+ Added support for fpt memo files.
+
+ Fixed bug with dBase IV memo files, the block length is stored
+ somewhere else, patch by James LewisMoss. Fixed bug with field
+ names in newer dbf files, terminated by zero byte, patch by Petr
+ Olsak. Added binmode for the OSes that write to disk something
+ else that they are told to, reported by Robert Bauer. Removed
+ the test that caused read to fail on read-only files, reported
+ by Stewart Russell.
+
+ The error handling reviewed, most of the error messages are
+ now local to the object ($table->errstr()).
+
+0.039 Wed Dec 17 19:53:49 MET 1997 (*****)
+
+ DBD::XBase supports select where and delete where.
+
+0.0352 Mon Dec 15 11:29:46 MET 1997
+
+ Fixed bug with long memo fields, reported by Tejinderpal
+ Singh.
+
+0.0345 Mon Dec 8 13:02:46 MET 1997
+
+ Fixed bug with "\0" at the end of field names in header,
+ spotted by Roberto Congiu.
+
+0.0343 Thu Dec 4 10:52:41 MET 1997
+
+ Column names are converted to uppercase. SQL parsing moved to
+ XBase::SQL module. Added require XBase::Memo when creating new
+ Memo file. Added test for create and drop.
+
+0.0342 Fri Nov 28 18:30:31 MET 1997
+
+ Fixed bug when creating new file, spotted by Roberto Congiu.
+ $XBase::errstr depreciated, using XBase->errstr instead. Minor
+ changes in the documentation.
+
+0.03301 Thu Nov 20 17:32:53 MET 1997
+
+ Handling null numeric fields (John D Groenveld). Changed
+ "look for error" test in header.t to be OS portable. Fixed bug
+ in decode_version_info (dbtflag). Fixed bug with field length
+ in XBase::create, spotted by Risto Wichman.
+
+0.032 Thu Nov 6 16:27:10 MET 1997
+
+ Fixed bugs: test on "\r" in read_header; check of record
+ number in delete and undelete (spotted by Frans van Loon).
+ Added methods field_lengths and field_decimals and changed
+ *_on_read in [NF] section (spotted by John D Groenveld).
+
+0.031 Thu Oct 30 19:47:37 MET 1997
+
+ Fixed bug in docs about write_record. Changed format of
+ get_field_info to include field number. Fixed bug with decimals.
+
+0.03 Mon Oct 27 23:23:17 MET 1997 (*****)
+
+ Minor bug fixes. XBase::create added. Tests extended. Module
+ released on CPAN.
+
+0.029 Fri Oct 24 19:34:32 MET DST 1997
+
+ Bug fixes. Added methods for writing dbt files.
+
+ The writing methods are now set_record, set_record_hash and
+ update_record.
+
+0.024 Mon Oct 20 22:17:44 MET DST 1997
+
+ The original release. Includes XBase that reads dbf and dbt
+ and writes dbf (but not dbt). Put on CPAN mainly for other
+ people to test and comment.
+
+---
+
+Note: Versions tagged (*****) were major updates and code changes.
+
+I have been using the Xbase(3) module by Pratap Pereira for quite
+a time to read the dbf files, but it had no writing capabilities, it
+was not use strict clean and the author did not support the module
+behind the version 1.07. So I started to make my own patches and
+thought it would be nice if other people could make use of them.
+I thought about taking over the development of the original Xbase
+package, but the interface seemed rather complicated to me.
+
+So with the help of article XBase File Format Description by Erik
+Bachmann on URL
+
+ http://www.clicketyclick.dk/databases/xbase/format/
+ formerly http://www.e-bachmann.dk/docs/xbase.htm
+
+I have written a new module. It doesn't use any code from Xbase-1.07
+and you are free to use and distribute it under the same terms as Perl
+itself.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-XBase-1.05/README new/DBD-XBase-1.06/README
--- old/DBD-XBase-1.05/README 2011-02-09 21:14:24.000000000 +0100
+++ new/DBD-XBase-1.06/README 2016-03-06 20:56:56.000000000 +0100
@@ -100,7 +100,7 @@
Contact the author at jpx dash perl at adelton dot com.
-Copyright: (c) 1997--2011 Jan Pazdziora.
+Copyright: (c) 1997--2016 Jan Pazdziora.
All rights reserved. This package is free software; you can
redistribute it and/or modify it under the same terms as Perl
itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-XBase-1.05/lib/DBD/XBase.pm new/DBD-XBase-1.06/lib/DBD/XBase.pm
--- old/DBD-XBase-1.05/lib/DBD/XBase.pm 2013-04-24 19:35:43.000000000 +0200
+++ new/DBD-XBase-1.06/lib/DBD/XBase.pm 2016-03-06 20:56:56.000000000 +0100
@@ -19,7 +19,7 @@
use vars qw( $VERSION @ISA @EXPORT $err $errstr $drh $sqlstate );
# a couple of global variables that may come handy
-$VERSION = '1.05';
+$VERSION = '1.06';
$err = 0;
$errstr = '';
@@ -284,9 +284,7 @@
# binded parameters
my $bind_values = $sth->{'xbase_bind_values'};
- ### the following code seems to somehow protect those "fixed"
- ### statements but I do not understand it at the moment
- ### if (defined $sth->{'xbase_lines'}) { return -1; }
+ if (defined $sth->{'xbase_lines'}) { return -1; }
# cancel the count of rows done in the previous run, this is a
# new execute
@@ -764,7 +762,7 @@
=head1 VERSION
-1.05
+1.06
=head1 AVAILABLE FROM
@@ -772,7 +770,7 @@
=head1 AUTHOR
-(c) 1997--2013 Jan Pazdziora.
+(c) 1997--2016 Jan Pazdziora.
Contact the author at jpx dash perl at adelton dot com.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-XBase-1.05/lib/XBase/SQL.pm new/DBD-XBase-1.06/lib/XBase/SQL.pm
--- old/DBD-XBase-1.05/lib/XBase/SQL.pm 2003-04-04 18:08:47.000000000 +0200
+++ new/DBD-XBase-1.06/lib/XBase/SQL.pm 2016-03-06 20:55:24.000000000 +0100
@@ -8,7 +8,7 @@
use strict;
use vars qw( $VERSION %COMMANDS );
-$VERSION = '0.233';
+$VERSION = '1.06';
# #################################
# Type conversions for create table
@@ -658,7 +658,7 @@
'""' => sub { ref shift; },
'.' => sub { XBase::SQL::Expr->string($_[0]->value . $_[1]->value); },
'*' => sub { XBase::SQL::Expr->number($_[0]->value * $_[1]->value);},
- 'not' => sub { not $_[0]->value },
+ '!' => sub { not $_[0]->value },
;
sub new { bless {}, shift; }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-XBase-1.05/lib/XBase.pm new/DBD-XBase-1.06/lib/XBase.pm
--- old/DBD-XBase-1.05/lib/XBase.pm 2011-03-03 20:38:22.000000000 +0100
+++ new/DBD-XBase-1.06/lib/XBase.pm 2016-03-06 20:56:56.000000000 +0100
@@ -20,7 +20,7 @@
use vars qw( $VERSION $errstr $CLEARNULLS @ISA );
@ISA = qw( XBase::Base );
-$VERSION = '1.02';
+$VERSION = '1.06';
$CLEARNULLS = 1; # Cut off white spaces from ends of char fields
*errstr = \$XBase::Base::errstr;
@@ -137,10 +137,15 @@
$wproc = sub { pack 'V', shift; };
}
elsif ($type eq 'B') { # Fox double
- $rproc = sub { unpack 'd', reverse scalar shift; };
- $wproc = sub { reverse scalar pack 'd', shift; };
+ if (pack("L", 1) eq pack("V", 1)) {
+ $rproc = sub { unpack 'd', scalar shift; };
+ $wproc = sub { scalar pack 'd', shift; };
+ } else {
+ $rproc = sub { unpack 'd', reverse scalar shift; };
+ $wproc = sub { reverse scalar pack 'd', shift; };
+ }
}
- elsif ($type =~ /^[MGP]$/) { # memo fields
+ elsif ($type =~ /^[WMGP]$/) { # memo fields
my $memo = $self->{'memo'};
if (not defined $memo and not $self->{'openoptions'}{'ignorememo'}) {
$memo = $self->{'memo'} = $self->init_memo_field() or return;
@@ -1397,7 +1402,7 @@
=head1 VERSION
-1.02
+1.06
=head1 AVAILABLE FROM
@@ -1405,7 +1410,7 @@
=head1 AUTHOR
-(c) 1997--2011 Jan Pazdziora.
+(c) 1997--2016 Jan Pazdziora.
All rights reserved. This package is free software; you can
redistribute it and/or modify it under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBD-XBase-1.05/t/9_dbd_create.t new/DBD-XBase-1.06/t/9_dbd_create.t
--- old/DBD-XBase-1.05/t/9_dbd_create.t 2011-03-06 07:31:28.000000000 +0100
+++ new/DBD-XBase-1.06/t/9_dbd_create.t 2015-05-02 11:55:00.000000000 +0200
@@ -11,7 +11,7 @@
print "Error returned from eval was:\n", $@;
exit;
}
- print "1..12\n";
+ print "1..16\n";
print "DBI loaded\n";
}
@@ -118,6 +118,26 @@
}
print "ok 12\n";
+my $table_info_sth = $dbh->table_info();
+if (defined $table_info_sth) {
+ print "ok 13\n";
+ my $table_info_data = $table_info_sth->fetchall_arrayref;
+ if (defined $table_info_data) {
+ print "ok 14\n";
+ if (scalar @$table_info_data != 12) {
+ print 'not ';
+ }
+ print "ok 15\n";
+ my @tables = sort map { $_->[2] } grep { not defined $_->[0] and not defined $_->[1] and $_->[3] eq 'TABLE' } @$table_info_data;
+ my $expected_tables = 'afox5 ndx-char ndx-date ndx-num ntx-char rooms rooms1 test tstidx types write write1';
+ if ("@tables" ne $expected_tables) {
+ print STDERR "Expected table_info: [$expected_tables]\nGot table_info: [@tables]\n";
+ print 'not ';
+ }
+ print "ok 16\n";
+ }
+}
+
$dbh->disconnect();
1;
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
1
0
Hello community,
here is the log from the commit of package aws-cli for openSUSE:Factory checked in at 2016-04-28 16:54:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aws-cli (Old)
and /work/SRC/openSUSE:Factory/.aws-cli.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aws-cli"
Changes:
--------
--- /work/SRC/openSUSE:Factory/aws-cli/aws-cli.changes 2015-12-21 12:04:58.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.aws-cli.new/aws-cli.changes 2016-04-28 16:57:55.000000000 +0200
@@ -1,0 +2,212 @@
+Mon Apr 11 20:17:20 UTC 2016 - rjschwei(a)suse.com
+
+- Update to version 1.10.19 (bsc#974993)
+ + forward port hide_py_pckgmgmt.patch
+ + feature:lambda: Added support for setting the function runtime as
+ nodejs4.3, as well as updating function configuration to set the runtime.
+ + feature:ds: Added support for Directory Service Conditional Forwarder APIs.
+ + feature:elasticbeanstalk: Adds support for three additional elements in
+ AWS Elasticbeanstalk's DescribeInstancesHealthResponse: Deployment,
+ AvailabilityZone, and InstanceType. Additionally adds support for
+ increased EnvironmentName length from 23 to 40.
+ + bugfix:Paginator: Allow non-specified input tokens in old starting token
+ format.
+- From 1.10.18
+ + feature:apigateway: Added support for API Import
+ + feature:route53: Added support for metric-based health checks and
+ regional health checks.
+ + feature:sts: Added support for GetCallerIdentity, which returns details
+ about the credentials used to make the API call. The details include name
+ and account, as well as the type of entity making the call, such as an
+ IAM user vs. federated user.
+ + feature:s3api: Added support for VersionId in PutObjectAcl (issue 856)
+ + bugfix:s3api: Add validation to enforce S3 metadata only contains ASCII.
+ (issue 861)
+ + bugfix:Exceptions: Consistently parse errors with no body (issue 859)
+ + bugfix:Config: Handle case where S3 config key is not a dict (issue 858)
+- From 1.10.17
+ + feature:acm: Update command to latest version
+ + feature:cloudformation: Update command to latest version
+ + feature:codedeploy: Update command to latest version
+ + feature:dms: Update command to latest version
+ + feature:elasticache: Update command to latest version
+ + feature:elasticbeanstalk: Update command to latest version
+ + feature:redshift: Update command to latest version
+ + feature:waf: Update command to latest version
+ + bugfix:Pagintor: Fix regression when providing a starting token for a
+ paginated command (botocore issue 849)
+ + bugfix:Response Parsing: Handle case when generic HTML error response
+ is received (botocore issue 850)
+ + bugfix:Request serialization: Handle case when non str values are
+ provided for header values when using signature version 4
+ (botocore issue 852)
+ + bugfix:Retry: Retry HTTP responses with status code 502
+ (botocore issue 853)
+ + bugfix:ec2 run-instances: Fix issue when providing
+ --secondary-private-ip-address-count argument (issue 1874)
+- From 1.10.16
+ + feature:elasticache: Update command to latest version
+ + feature:rds: Update command to latest version
+ + feature:storagegateway: Update command to latest version
+- from 1.10.15
+ + feature:aws devicefarm: Add support to pay a flat monthly fee for
+ unlimited testing of your Android and iOS apps with AWS Device Farm
+ device slots
+ + feature:aws rds: Add support for customizing the order in which Aurora
+ Replicas are promoted to primary instance during a failover
+- From 1.10.14
+ + feature:meteringmarketplace: The AWS Marketplace Metering Service
+ enables sellers to price their products along new pricing dimensions.
+ After a integrating their product with the AWS Marketplace Metering
+ Service, that product will emit an hourly record capturing the usage of
+ any single pricing dimension. Buyers can easily subscribe to software
+ priced by this new dimension on the AWS Marketplace website and only
+ pay for what they use.
+ + feature:s3api: Added support for delete marker and abort multipart
+ upload lifecycle configuration.
+ + feature:iot: Added support for Amazon Elasticsearch Service and
+ Amazon Cloudwatch actions for the AWS IoT rules engine.
+ + feature:cloudhsm: Added support for tagging resources.
+- From 1.10.13
+ + feature:DMS: Added support for AWS Database Migration Service
+ + feature:SES: Added support for white-labeling
+ + feature:CodeDeploy: Added support for BatchGetDeploymentGroups
+ + feature:endpoints: Updated endpoints to latest version
+ + bugfix:groff: Fix groff command which was causing issues on some systems
+ + bugfix:shorthand: Allow # in keys in the shorthand parser
+- From 1.10.12
+ + feature:gamelift: Update command to latest version
+ + feature:iam: Update command to latest version
+ + feature:redshift: Update command to latest version
+- From 1.10.11
+ + feature:acm: Update acm command to latest version
+ + feature:codecommit: Update codecommit model to latest version
+ + feature:config: Update config command to latest version
+ + feature:devicefarm: Update devicefarm command to latest version
+ + feature:directconnect: Update directconnect command to latest version
+ + feature:events: Update events command to latest version
+ + bugfix:aws s3 cp: Add error checking when attempting recursive copies
+ or syncs with streaming output (issue 1771)
+- From 1.10.10
+ + feature:aws ec2: Add support for VPC peering with security groups.
+ + feature:aws ds: Add support for SNS event notifications.
+ + bugfix:aws s3 rb: Fix issue where bucket is still attempted to be
+ removed when the preceding delete requests failed. (issue 1827)
+ + bugfix:aws storagegateway: Fix issue in aliasing required args.
+ (issue 1790)
+- From 1.10.9
+ + bugfix:aws s3: Avoid MD5 checksumming if unavailable. (issue 1812)
+ + feature:aws dynamodb: Add support for describing limits.
+ + feature:aws apigateway: Add support for testing invoke authorizers
+ and flushing stage authorizers cache.
+ + feature:aws cloudsearchdomain: Add support for new stat fields.
+- From 1.10.8
+ + bugfix:aws s3: Disable use of MD5 when SHA256 checksum is already
+ calculated for the body (botocore issue 804)
+ + bugfix:FIPS: Handle case where MD5 cipher is not available on FIPS
+ compliant systems (botocore issue 807)
+ + feature:aws cloudformation: Update AWS CloudFormation command to the
+ latest version
+ + feature:aws logs: Update Amazon CloudWatch Logs command to the latest
+ version
+ + feature:aws ses: Update Amazon SES to the latest version
+ + feature:aws autoscaling: Update Auto Scaling to the latest version
+- From 1.10.7
+ + bug:aws configure set: Fix issue when adding entries to an empty
+ profile section (issue 1806)
+ + feature:aws route53: Add suport for SNI health checks
+- From 1.10.6
+ + feature:aws storagegateway: Added support for user-supplied barcodes.
+ + feature:aws codedeploy: Added support for setting up triggers for a
+ deployment group.
+ + bugfix:aws emr: Fix missing dns name issue with private clusters.
+ (issue 1749)
+ + bugfix:aws emr: Fix issue where impala args were not joined with commas.
+ (issue 1802)
+- From 1.10.5
+ + feature:aws rds: Added support for Cross-account Encrypted (KMS) snapshot
+ sharing.
+ + feature:aws emr: Added support for adding EBS storage to EMR instances.
+ + bugfix:pagination: Fixed a bug that was causing non-string service
+ tokens to fail on serialization
+- From 1.10.4
+ + feature:aws lambda: Add support for accessing resources in your VPC.
+ + feature:aws apigateway: Add support for custom request authorizers.
+- From 1.10.3
+ + feature:aws cloudfront: Add support for new ACMCertificateARN parameter
+ + feature:aws marketplacecommerceanalytics generate-data-set: Add support
+ for --customer-defined-values parameter
+- From 1.10.2
+ + feature:aws gamelift: Add support for AWS GameLift
+ + bugfix:Assume Role: Fix issue where temporary credentials from assuming
+ a role were not being properly cached (issue 1684)
+- From 1.10.1
+ + feature:aws waf: Add support for blocking, allowing, or monitoring
+ (count) requests based on the content in HTTP request bodies.
+ + bugfix:aws ssm: Remove constraint on Amazon EC2 instance id's.
+ (issue 1729)
+- From 1.10.0
+ + feature:aws acm: adds support for AWS Certificate Manager
+ + feature:aws cloudfront: adds support for AWS Certificate Manager
+ certificates
+ + feature:aws cloudfront create-distribution: Adds support for
+ --origin-domain-name and --default-root-object
+ + feature:aws cloudfront update-distribution: Adds support for
+ --default-root-object
+ + feature:aws iot: adds support for topic rules
+ + feature:aws cloudformation: adds suport for ContinueUpdateRollback
+- From 1.9.21
+ + feature:aws sts: now returns RegionDisabledException instead of
+ AccessDenied when a user sends an API request to an STS regional
+ endpoint that is not activated for that AWS account. This enables
+ customers to more easily decide how to respond, such as by trying to
+ call a different region instead of simply failing the call.
+ + feature:aws opsworks: adds support for new enums.
+ + feature:aws devicefarm: adds support running Appium tests written in
+ Python against your native, hybrid and browser-based apps on AWS Device
+ Farm.
+- From 1.9.20
+ + bugfix:aws cloudfront: Fix regression in waiters.
+- From 1.9.19
+ + feature:aws events: Initial support for Amazon CloudWatch Events.
+ CloudWatch Events allows you to track changes to your AWS resources
+ with less overhead and greater efficiency.
+ + feature:aws ec2: Adds support for purchasing reserved capacity for
+ specific blocks of time on a one-time of recurring basis.
+ + feature:aws cloudfront: Adds support for HTTPS-only connections, and
+ control of edge-to-origin request headers.
+ + bugfix:aws s3: Gracefully handle encoding errors when printing S3
+ keys (issue 1719)
+- From 1.9.18
+ + feature:aws ec2: Enables support for DNS resolution of public hostnames
+ to private IP addresses when queried over ClassicLink. Additionally, you
+ can now access private hosted zones associated with your VPC from a
+ linked EC2-Classic instance. ClassicLink DNS support makes it easier
+ for EC2-Classic instances to communicate with VPC resources using public
+ DNS hostnames.
+ + feature:aws ec2: Add support for the new 63-bit EC2 Instance and
+ Reservation IDs.
+- From 1.9.17
+ + bugfix:aws ssm: Documentation update.
+- From 1.9.16
+ + feature:aws ec2: Add new EC2 instance type: t2.nano
+ + feature:aws datapipeline list-runs: Add support for output format
+- From 1.9.15
+ + feature:aws ecr: Add aws ecr commands
+ + feature:aws emr: Update aws emr create-cluster to accept Amazon EC2
+ security group
++++ 15 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/aws-cli/aws-cli.changes
++++ and /work/SRC/openSUSE:Factory/.aws-cli.new/aws-cli.changes
Old:
----
aws-cli-1.9.12.tar.gz
New:
----
aws-cli-1.10.19.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ aws-cli.spec ++++++
--- /var/tmp/diff_new_pack.PVpjeD/_old 2016-04-28 16:57:57.000000000 +0200
+++ /var/tmp/diff_new_pack.PVpjeD/_new 2016-04-28 16:57:57.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package aws-cli
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: aws-cli
-Version: 1.9.12
+Version: 1.10.19
Release: 0
Summary: Amazon Web Services Command Line Interface
License: Apache-2.0
@@ -29,14 +29,13 @@
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
Requires: python-argparse >= 1.1
%endif
-Requires: python-bcdoc >= 0.14.0
-Requires: python-bcdoc < 0.15.0
-Requires: python-botocore >= 1.3.12
+Requires: python-botocore >= 1.4.10
Requires: python-colorama <= 0.3.3
Requires: python-colorama >= 0.2.5
Requires: python-docutils >= 0.10
+Requires: python-rsa <= 3.3.0
Requires: python-rsa >= 3.1.2
-Requires: python-rsa <= 3.1.4
+Requires: python-s3transfer >= 0.0.1
BuildRequires: python
BuildRequires: python-devel
BuildRequires: python-setuptools
@@ -52,7 +51,7 @@
%prep
%setup -q
-%patch0 -p1
+%patch0
%build
python setup.py build
++++++ aws-cli-1.9.12.tar.gz -> aws-cli-1.10.19.tar.gz ++++++
++++ 18715 lines of diff (skipped)
++++++ hide_py_pckgmgmt.patch ++++++
--- /var/tmp/diff_new_pack.PVpjeD/_old 2016-04-28 16:57:57.000000000 +0200
+++ /var/tmp/diff_new_pack.PVpjeD/_new 2016-04-28 16:57:57.000000000 +0200
@@ -1,19 +1,19 @@
-Index: aws-cli-1.8.12/setup.py
-===================================================================
---- aws-cli-1.8.12.orig/setup.py
-+++ aws-cli-1.8.12/setup.py
-@@ -6,16 +6,16 @@ from setuptools import setup, find_packa
+--- setup.py.orig
++++ setup.py
+@@ -6,17 +6,17 @@ from setuptools import setup, find_packa
import awscli
--requires = ['botocore==1.3.12',
+-requires = ['botocore==1.4.10',
- 'colorama>=0.2.5,<=0.3.3',
- 'docutils>=0.10',
-- 'rsa>=3.1.2,<=3.3.0']
-+#requires = ['botocore==1.3.12',
+- 'rsa>=3.1.2,<=3.3.0',
+- 's3transfer==0.0.1']
++#requires = ['botocore==1.4.10',
+# 'colorama>=0.2.5,<=0.3.3',
+# 'docutils>=0.10',
-+# 'rsa>=3.1.2,<=3.3.0']
++# 'rsa>=3.1.2,<=3.3.0',
++# 's3transfer==0.0.1']
-if sys.version_info[:2] == (2, 6):
@@ -25,7 +25,7 @@
setup_options = dict(
-@@ -31,12 +31,12 @@ setup_options = dict(
+@@ -33,12 +33,12 @@ setup_options = dict(
package_data={'awscli': ['data/*.json', 'examples/*/*.rst',
'examples/*/*/*.rst', 'topics/*.rst',
'topics/*.json']},
1
0