Hello community, here is the log from the commit of package libvirt-cim for openSUSE:Factory checked in at 2014-02-02 22:20:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libvirt-cim (Old) and /work/SRC/openSUSE:Factory/.libvirt-cim.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libvirt-cim" Changes: -------- --- /work/SRC/openSUSE:Factory/libvirt-cim/libvirt-cim.changes 2013-02-11 15:05:01.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libvirt-cim.new/libvirt-cim.changes 2014-02-02 22:20:49.000000000 +0100 @@ -1,0 +2,83 @@ +Thu Jul 25 09:23:57 UTC 2013 - kkaempf@suse.com + +- Update to 0.6.3 + Improvements: + - Add shareable property to disk (Xu Wang) + - Update GPL (John Ferlan) + - Improve support of nested KVM (Xu Wang) + - make lldptool command and support output configurable (Xu Wang) + - add an config option to disable KVM acceleration. (Xu Wang) + - Update spec file with changes coming from Fedora (Daniel Veillard) + + Bug fixes: + - Resolve Coverity complaint (John Ferlan) + - CSI: Address two Coverity isssues (John Ferlan) + - Fix kvm support check logic (Xu Wang) + - Coverity: Resolve ARRAY_VS_SINGLETON - get_dev_paths() and callers + (John Ferlan) + - Coverity: Resolve USE_AFTER_FREE - lifecycle_thread_native() (John + Ferlan) + - Coverity: Resolve UNUSED_VALUE - system_xml() && mem_xml() (John + Ferlan) + - Coverity: Resolve UNINIT - vsss_delete_snapshot() (John Ferlan) + - Coverity: Resolve REVERSE_INULL - lifecycle_thread_native() (John + Ferlan) + - Coverity: Resolve REVERSE_INULL - doms_to_xml() (John Ferlan) + - Coverity: Resolve RESOURCE_LEAK - parse_os() (John Ferlan) + - Coverity: Resolve NO_EFFECT - _set_fv_prop() (John Ferlan) + - Coverity: Resolve NO_EFFECT - set_proc_rasd_params() (John Ferlan) + - Coverity: Resolve DEADCODE - octets_from_ip() (John Ferlan) + - Coverity: Resolve DEADCODE - get_hypervisor_enabled() (John Ferlan) + - Coverity: Resolve DEADCODE - do_parse() (John Ferlan) + - Coverity: Resolve CHECKED_RETURN - return_enum_rasds() (John Ferlan) + - Coverity: Resolve CHECKED_RETURN - mem_rasd_to_vdev() (John Ferlan) + - Coverity: Resolve CHECKED_RETURN - get_pools() (John Ferlan) + - Coverity: Resolve CHECKED_RETURN - get_dev_from_pool (John Ferlan) + - Coverity: Resolve CHECKED_RETURN - filter_by_pool() (John Ferlan) + - Coverity: Resolve CHECKED_RETURN - _generic_infostore_open() (John + Ferlan) + - Coverity: Resolve BAD_COMPARE - ActivateFilter() (John Ferlan) + - VSMS: tip error for invalid disk resource (Xu Wang) + +- Fix license identification +- Add conditional restarting of the sfcb into %post and %postun, + after proper registration/deregistration of the provider + +------------------------------------------------------------------- +Mon Apr 15 10:30:28 UTC 2013 - kkaempf@suse.com + +- Update to 0.6.2 + * libxkutil: set domain->dype to unknown by default (Wenchao Xia) + * register: Adjust the chatter output (John Ferlan) + * DevicePool: Use the virConnectListAll interfaces (John Ferlan) + * libxkutil: Use virConnectListAllDomains() to fetch domains (John Ferlan) + * xmlgen: Only support script on bridge for xen domains (John Ferlan) + * Remove empty newline at bottom (John Ferlan) + * libvirt-cim.spec: Use systemctl for tog-pegasus restart (John Ferlan) + * Makefile.am: Remove the $(top_srcdir) from subst command (John Ferlan) + * migration: allow ssh based migration with non root's key file (Wenchao Xia) + * misc_util: better way to read config (Wenchao Xia) + * VSSD: report success if not all VS fail in enum (Wenchao Xia) + * CSI: Move native CSI code together (Wenchao Xia) + * CSI Discard libvirt event by default (Wenchao Xia) + * device parsing, add debug print (Wenchao Xia) + * DevicePool, reimplement get_diskpool_config with libvirt (Wenchao Xia) + * CSI, add lock to protect shared data in lifecycle_thread (Wenchao Xia) + * CSI, DevicePool, RASDIndication: fix debug print crash (Wenchao Xia) + * do not deregister virt classes in yum upgrade (Wenchao Xia) + * SDC: use property BootDevices instead of BootDevice (Wenchao Xia) + * SDC: Fix spelling for property IsFullVirt (Wenchao Xia) + * Remove property CreationClassName in some instance (Wenchao Xia) + * fix id parsing with white space (Wenchao Xia) + * Fix an incomplete substitution in Makefile (Klaus Kaempf) + * distinguish running or inactive state (Wenchao Xia) + * Fix possible memory leaks (Eduardo Lima (Etrunko)) + * Pool Refresh Patch2 (Gareth S. Bestor) + * CSI: Only execute callback if indications are enabled (Eduardo Lima + (Etrunko)) + * CSI: Fix log messages (Eduardo Lima (Etrunko)) + * CSI: Cleanup code (Eduardo Lima (Etrunko)) + * Plan9fs (aka 9pfs, VirtFS) support for QEMU/KVM environment (Deepak C + Shetty) + +------------------------------------------------------------------- @@ -11,0 +95,5 @@ +Thu Nov 29 13:25:56 UTC 2012 - kkaempf@suse.com + +- adapt to systemd usage in sblim-sfcb + +------------------------------------------------------------------- @@ -20,0 +109,73 @@ +------------------------------------------------------------------- +Thu Feb 9 15:10:37 UTC 2012 - kkaempf@suse.com + +- Update to 0.6.1 + * ACL: Use linked list helper for filter refs (Eduardo Lima (Etrunko)) + * CSI: Use list helper implementation (Eduardo Lima (Etrunko)) + * libxkutil: Linked list helper (Eduardo Lima (Etrunko)) + * FilterEntry: Accept protocol id string values (Eduardo Lima (Etrunko)) + * FilterEntry: Update action property (Eduardo Lima (Etrunko)) + * FilterList: Add 'Priority' property (Eduardo Lima (Etrunko)) + * FilterEntry: Change 'Priority' property type (Eduardo Lima (Etrunko)) + * Fix AppliedFilterList creation and deletion (Chip Vincent) + * autoconfiscate.sh: Use proper command for revision count (Eduardo Lima (Etrunko)) + * libxkutil: Fix possible NULL dereferences (Eduardo Lima (Etrunko)) + * Fix possible use of unitialized variables (Eduardo Lima /Etrunko)) + * xml_parse_test: Fix invalid dereference (Eduardo Lima (Etrunko)) + * Fix possible memory leaks (Eduardo Lima (Etrunko)) + * Fix a problem with multi-arch (Daniel Veillard) + * Remove compilation warnings (Eduardo Lima (Etrunko)) + * VirtualSystemManagementService: Remove dead code (Eduardo Lima (Etrunko)) + +- Update to 0.6.0 + * ComputerSystemIndication: Support libvirt domain events (Eduardo Lima (Etrunko)) + * Network QoS Patch2 (Gareth S. Bestor) + * cpu cgroup patch 2 (Gareth S. Bestor) + * Build: Make 'make distcheck' happy (Eduardo Lima (Etrunko)) + * Build: Remove tests subdirs from source (Eduardo Lima (Etrunko) + +- Update to 0.5.15 + * Fix include path (Eduardo Lima (Etrunko)) + * xmlgen: Avoid double-free (Eduardo Lima (Etrunko)) + * Fix possible use of uninitialized variables (Eduardo Lima (Etrunko)) + * Fix misuse of signed variables (Eduardo Lima (Etrunko)) + * Avoid NULL dereferences in various providers (Eduardo Lima (Etrunko)) + * ACL: Plug leaks (Eduardo Lima (Etrunko)) + * device_parsing: Avoid NULL dereferences (Eduardo Lima (Etrunko)) + * pool_parsing: Avoid NULL dereferences (Eduardo Lima (Etrunko)) + * acl_parsing: Avoid NULL dereference (Eduardo Lima (Etrunko)) + * Avoid connection to libvirt if previous attempt fails (Eduardo Lima (Etrunko)) + * Fix qos bug in primordial Network/0 pool (Gareth S. Bestor) + * Rename .hgignore -> .gitignore (Chip Vincent) + * Update autoconfiscate.sh to use git (Chip Vincent) + * Add network qos (bandwidth) support for KVM guests (Gareth Bestor) + * /dev/null should not be passed as source dev for cdrom device. (Sharad Mishra) + * Add support for libvirt CPU cgroup for active KVM guests (Gareth S. Bestor) + * FilterEntry: Set HdrProtocolID8021 property (Eduardo Lima (Etrunko)) + * FilterEntry: Fix behavior of convert_ip_rule_to_instance (Eduardo Lima (Etrunko)) + * FilterEntry: Support for mask in CIDR notation (Eduardo Lima (Etrunko)) + * FilterEntry: Should be using srcipaddr instead of srcmacaddr (Eduardo Lima (Etrunko)) + * acl_parsing: Share code for icmp and icmp rule types (Eduardo Lima (Etrunko)) + * Pool names with space do not get parsed properly. (Sharad Mishra) + * VirtualSystemManagementService: Avoid extra connection to libvirt (Eduardo Lima (Etrunko)) + * (#2) Fix the problem that libvirt-cim can't find cdrom device that do not have disk (Wayne Xia) + * device_parsing: Small code cleanup (Eduardo Lima (Etrunko)) + * device_parsing: Use default values for vnc graphics device (Eduardo Lima (Etrunko)) + * ACL: Add KVM_FilterEntry class (Eduardo Lima (Etrunko)) + * Fix MOF download location - URL permanently changed (Chip Vincent) + * Redirect stdout & stderr when run as out-of-process provider (Chip Vincent) + * (#2) Return migration job status in CIM_ConcreteJob.ErrorCode (Sharad Mishra) + * ACL: Add 'Action' property to KVM_{IPHeaders,Hdr8021}Filter (Eduardo Lima (Etrunko)) + * (#2) Workaround to fix race condition around libvirt init. (Sharad Mishra) + * VirtualSystemManagementService: Fix yet another possible leak (Eduardo Lima (Etrunko)) + * VirtualSystemManagementService: Fixing potential null dereferences (Eduardo Lima (Etrunko)) + * device_parsing: Fixing potential leaks (Eduardo Lima (Etrunko)) + * Patches for Virt_SettingsDefineCapabilities: incorrect Default Value... (Gareth S. Bestor) + * (#5) add sdl frame buffer support. (Wayne Xia) + * (#5) made the graphic structure as union (Wayne Xia) + * acl_parsing: Fixing potential leaks (Eduardo Lima (Etrunko)) + * Check to see if stream is non-null before closing. (Sharad Mishra) + * Return object paths for newly created filter associations. (Chip Vincent) + * New entry "poolid" was not getting DUPed. (Sharad Mishra) + * Fix connection leak introduced in patch 1119. (Sharad Mishra) + Old: ---- libvirt-cim-0.5.14.tar.bz2 New: ---- libvirt-cim-0.6.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libvirt-cim.spec ++++++ --- /var/tmp/diff_new_pack.51TPMW/_old 2014-02-02 22:20:50.000000000 +0100 +++ /var/tmp/diff_new_pack.51TPMW/_new 2014-02-02 22:20:50.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package libvirt-cim +# spec file for package libvirt-cim (Version 0.5.14) # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,37 +15,58 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# norootforbuild + +%if 0%{?suse_version} > 1140 || 0%{?fedora_version} > 14 +%define has_systemd 1 +%else +%define has_systemd 0 +%endif Name: libvirt-cim +BuildRequires: automake +BuildRequires: autoconf BuildRequires: e2fsprogs-devel BuildRequires: libcmpiutil-devel > 0.5.4 BuildRequires: libtool +%if 0%{?rhel_version} == 0 && 0%{?sles_version} != 10 +BuildRequires: libuuid-devel +%endif BuildRequires: libvirt-devel >= 0.3.2 BuildRequires: libxml2-devel BuildRequires: sblim-cmpi-devel BuildRequires: sblim-sfcb +%if 0%{?has_systemd} +BuildRequires: systemd +%{?systemd_requires} +%endif %ifarch %ix86 x86_64 BuildRequires: xen-devel %endif -%if 0%{?rhel_version} == 0 && 0%{?sles_version} != 10 -BuildRequires: libuuid-devel -%endif + Url: http://libvirt.org/CIM/ -Version: 0.5.14 -Release: 0.<RELEASE2> -Summary: CMPI-based CIM provider implementing DMTF SVPC model License: LGPL-2.1+ Group: System/Management +AutoReqProv: yes +Version: 0.6.3 +Release: 0.<RELEASE2> +Summary: CMPI-based CIM provider implementing DMTF SVPC model Source: %{name}-%{version}.tar.bz2 Source1: libvirt-cim-rpmlintrc Patch0: provider-reg.patch Patch1: automake.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: cim-schema >= 2.17 -Requires: cim-server -Requires: libvirt >= 0.3.2 +# the %pre/%post scripts are sfcb specific currently +Requires: sblim-sfcb Requires: libxml2 >= 2.6.0 +Requires: libvirt >= 0.3.2 +Requires: cim-schema >= 2.17 Requires: unzip +%if 0%{?suse_version} >= 1140 +%if 0%{?has_systemd} == 0 +Requires: sysvinit-tools +%endif +%endif Provides: xen-cim-cmpi = 0.2.0 Obsoletes: xen-cim-cmpi < 0.2.0 @@ -78,7 +99,7 @@ %build autoreconf -i -f export CFLAGS="$RPM_OPT_FLAGS" -%configure --disable-werror +%configure --disable-werror --disable-static make DOCS_DIR=%{_docdir}/%{name} HTML_DIR=%{_docdir}/%{name} %install @@ -90,6 +111,11 @@ %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/cmpi/*.{a,la} %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libxkutil.so +#%{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{name} +#%{__rm} -f $RPM_BUILD_ROOT%{_datadir}/%{name}/install_base_schema.sh +#%{__rm} -f $RPM_BUILD_ROOT%{_datadir}/%{name}/cimv216-interop_mof +#%{__rm} -f $RPM_BUILD_ROOT%{_datadir}/%{name}/cimv216Experimental-MOFs.zip +#%{__rm} -f $RPM_BUILD_ROOT%{_datadir}/%{name}/fix_schema.patch mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/libvirt/cim %clean @@ -105,7 +131,7 @@ %post /sbin/ldconfig %{_datadir}/%{name}/install_base_schema.sh %{_datadir}/%{name} -%restart_on_update sfcb +# Register libvirt-cim on the sfcb's providers list %{_datadir}/%{name}/provider-register.sh -t sfcb \ -n root/virt \ -r %{REGISTRATION} -m %{SCHEMA} >/dev/null 2>&1 || true @@ -118,13 +144,30 @@ %{_datadir}/%{name}/provider-register.sh -t sfcb \ -n root/cimv2\ -r %{CIMV2_REG} -m %{CIMV2_MOF} -v >/dev/null 2>&1 || true +# Restart the sfcb to update its providers list +if test -x /usr/sbin/sfcbd ; then +%if 0%{?has_systemd} + systemctl try-restart sfcbd.service >/dev/null 2>&1 || : +%else + /etc/init.d/sfcb restart +%endif +fi %preun %{_datadir}/%{name}/provider-register.sh -d -t sfcb \ -n root/virt \ -r %{REGISTRATION} -m %{SCHEMA} >/dev/null 2>&1 || true -%postun -p /sbin/ldconfig +%postun +/sbin/ldconfig +# Restart the sfcb to update its providers list +if test -x /usr/sbin/sfcbd ; then +%if 0%{?has_systemd} + systemctl try-restart sfcbd.service >/dev/null 2>&1 || : +%else + /etc/init.d/sfcb restart +%endif +fi %files %defattr(-, root, root) ++++++ libvirt-cim-0.5.14.tar.bz2 -> libvirt-cim-0.6.3.tar.bz2 ++++++ ++++ 45018 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org