Hello community,

here is the log from the commit of package cimple for openSUSE:Factory checked 
in at 2012-11-20 20:12:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cimple (Old)
 and      /work/SRC/openSUSE:Factory/.cimple.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cimple", Maintainer is "bwhite...@novell.com"

Changes:
--------
New Changes file:

--- /dev/null   2012-10-22 00:44:18.403455820 +0200
+++ /work/SRC/openSUSE:Factory/.cimple.new/cimple.changes       2012-11-20 
20:12:52.000000000 +0100
@@ -0,0 +1,76 @@
+-------------------------------------------------------------------
+Mon Nov 12 17:43:11 UTC 2012 - cfarr...@suse.com
+
+- license update: MIT
+  Use SPDX syntax for License line in spec file
+  (http://www.spdx.org/licenses)
+
+-------------------------------------------------------------------
+Fri Nov  9 13:13:13 UTC 2012 - kkae...@suse.com
+
+- Clean up behind spec-cleaner, %make_install is SUSE-specific
+
+-------------------------------------------------------------------
+Fri Nov  9 09:23:10 UTC 2012 - a...@suse.de
+
+- Run through spec-cleaner.
+
+-------------------------------------------------------------------
+Mon Nov  5 15:15:59 UTC 2012 - kkae...@suse.com
+
+- Update to 2.0.24
+  This is a minor release issued correct an error found in the
+  association operation with the PegasusAdapter and an error introduced
+  in 2.0.22 in genmod. The genmod error would be evidenced by a users in
+  inability to register providers with regmod to OpenPegasus. It is
+  recommended that vesion 2.0.22 users upgrade to this verison of
+  SimpleWbem. Note that version 2.0.22 introduced a new configuration
+  parameter that allows users to control use of the macros that generate
+  log entries
+
+-------------------------------------------------------------------
+Mon Nov  5 15:15:29 UTC 2012 - kkae...@suse.com
+
+- Update to 2.0.22
+  This is a minor release issued to extend error handling of the log
+  file and provide diagnostic information if the provider has problems
+  configuring and creating logs. 
+
+-------------------------------------------------------------------
+Mon Nov  5 15:14:25 UTC 2012 - kkae...@suse.com
+
+- Update to 2.0.17
+  This is a minor release primarily to fix some issues with adapters and
+  implement extensions to the logging functions. This minor version
+  added functionality to allow better control of logging and to
+  implement APIs so that the provider can dynamically control some
+  configuration capabilities (class CimpleConfig). This logging
+  extension was at user request since the CIMPLE users want to utilize
+  the logging capability in production as well as development. NOTE:
+  Please consider CimpleConfig experimental for this release since this
+  the first time it will be used generally. We will freeze in the next
+  release. Notable changes:
+
+  * Added capability to limit size of log files and backup logs files
+  * Added conditional trace for adapters. Implemented for Pegasus adapter
+  * Added compile config parameter to control adapter trace
+    (--enable-adapter-trace)
+  * Added compile config parameter to disable logging (--disable_log_macros)
+  * Added runtime config parameter to set max log file
+    size(MAX_LOG_FILE_SIZE=(integer)
+  * Added runtime config parameter to set max number of backup log
+    files(MAX_LOG_BACKUP_FILES=(integer)
+  * Added runtime config parameter to disable all
+    logging(ENABLE_LOGGING=false)
+  * Fixed issues with Pegasus adapter and possible excess memory use
+  * Extended unit and test provider tests
+  * Added general option to all gen... utilities (-F) to get classlist
+    from file
+  * Minor performance enhancements
+  * Continued improvement of documentation with changes to header files,
+    additional readme files and more examples in test providers(/li>
+
+-------------------------------------------------------------------
+Wed May  4 13:49:07 UTC 2011 - kkae...@novell.com
+
+- Cimple version 2.0.16

New:
----
  cimple-2.0.24-gcc.patch
  cimple-2.0.24-ow-adapter.dif
  cimple-2.0.24.tar.bz2
  cimple.changes
  cimple.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cimple.spec ++++++
#
# spec file for package cimple (Version 2.0.16)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           cimple

Version:        2.0.24
Release:        0
License:        MIT
Summary:        CIMPLE is an embeddable CIM provider engine
Url:            http://cimple.org
Group:          System/Management
Source0:        %{name}-%{version}.tar.bz2
Patch1:         %{name}-%{version}-ow-adapter.dif
Patch2:         %{name}-%{version}-gcc.patch
BuildRequires:  gcc-c++
BuildRequires:  konkretcmpi
BuildRequires:  sblim-cmpi-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
CIMPLE is an embeddable CIM provider engine. It is used to (1) build
providers that will work with a variety of CIM servers and (2) provide
a foundation for implementing CIM-based standards such as WBEM, SMASH,
WSDM, and WS Management.

%package devel
Summary:        Header files for CIMPLE : an embeddable CIM provider engine
Group:          System/Management
Requires:       %{name} = %{version}
Requires:       gcc-c++

%description devel
Header files for CIMPLE : an embeddable CIM provider engine. It is used
to (1) build providers that will work with a variety of CIM servers and
(2) provide a foundation for implementing CIM-based standards such as
WBEM, SMASH, WSDM, and WS Management.

%if 0
%package pegasus-adapter
Summary:        Pegasus Adapter for CIMPLE providers
Group:          System/Management
Requires:       %{name} = %{version}

%description pegasus-adapter
The Pegasus Adapter for CIMPLE is a bridge between the native Pegasus
C++ provider interface and CIMPLE providers.  Using this adapter,
CIMPLE providers can run under Pegasus without using the CMPI layer.

%endif

%if 0
%package openwbem-adapter
Summary:        OpenWBEM Adapter for CIMPLE providers
Group:          System/Management
Requires:       %{name} = %{version}

%description openwbem-adapter
The OpenWBEM Adapter for CIMPLE is a bridge between the native OpenWBEM
C++ provider interface and CIMPLE providers.  Using this adapter,
CIMPLE providers can run under OpenWBEM without using the CMPI layer.

%package openwbem-devel
Summary:        Header file for CIMPLE providers using the OpenWBEM Adapter
Group:          System/Management
Requires:       %{name} = %{version}
Requires:       %{name}-devel = %{version}
Requires:       %{name}-openwbem-adapter = %{version}
Requires:       openwbem-devel

%description openwbem-devel
Header file for building CIMPLE providers that will use the
cimple-openwbem-adapter. This header is only needed by the
module.cpp file (part of a CIMPLE provider).

%package pegasus-devel
Summary:        Static library for CIMPLE providers using the Pegasus Adapter
Group:          System/Management
Requires:       %{name} = %{version}
Requires:       %{name}-devel = %{version}
Requires:       %{name}-pegasus-adapter = %{version}
Requires:       pegasus-devel

%description pegasus-devel
Static library for building CIMPLE providers that
will use the cimple-pegasus-adapter.

%endif

%prep
%setup -q
%patch1 -p0
%patch2 -p1

%build
export CIMPLE_DEBUG=1
./configure \
        --libdir=%{_libdir}  \
        --prefix=%{_prefix}  \
        --with-cmpi=/usr/include/cmpi

#        --with-pegasus=/usr  \
#        --with-openwbem=/usr

make  FLAGS="%{optflags} -fno-strict-aliasing -fPIC" %{?_smp_mflags}

%install
rm -rf %{buildroot}
mkdir %{buildroot}
%if 0%{?suse_version}
%make_install
%else
DESTDIR=%{buildroot} make install
%endif
rm -r %{buildroot}/%{_prefix}/share

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%{_bindir}/*
#%{_libdir}/libbrevity.so
%{_libdir}/libcimple.so*
%{_libdir}/libcimplecmpiadap.so*
# skip libcimpleowadap.so*
# skip libcimplepegadap.so*

%files devel
%defattr(-, root, root)
%dir %{_includedir}/%{name}
#%{_includedir}/brevity
%{_includedir}/%{name}/[a-z]*
%{_includedir}/%{name}/[A-N]*
# skip OpenWBEM_Adapter.h
%{_includedir}/%{name}/Ops.h
%{_includedir}/%{name}/[P-Z]*
#%{_libdir}/libcimple_s.a
#%{_libdir}/libcimple[a-n]*_s.a
# skip %{_prefix}/lib/libcimpleowadap_s.a
# skip %{_prefix}/lib/libcimplepegadap_s.a
#%{_libdir}/libcimple[q-z]*_s.a

#%files openwbem-adapter
#%defattr(-, root, root)
#%{_libdir}/libcimpleowadap.so*

#%files openwbem-devel
#%defattr(-, root, root)
##%{_libdir}/libcimpleowadap_s.a
#%{_includedir}/%{name}/OpenWBEM_Adapter.h

#%files pegasus-adapter
#%defattr(-, root, root)
#%{_libdir}/libcimplepegadap.so*

%if 0
%files pegasus-devel
%defattr(-, root, root)
#%{_libdir}/libcimplepegadap_s.a
%endif

%changelog -n cimple
* Wed May 21 2008 - npax...@novell.com
- Modify spec to build with sblim-cmpi-devel for cmpi headers
-  not building peg or ow adapters currently
* Thu Feb 21 2008 - m...@suse.de
- Updated to cimple 1.2.0
- Enabled build of pegasus-adapter package
* Mon Nov 5 2007 - m...@suse.de
- Updated to cimple-1.1.0, added ow adapter patch (untested)
* Wed Feb 14 2007 - bwhite...@suse.de
- use RPM_OPT_FLAGS -fno-strict-aliasing -fPIC in more places
* Wed Feb 14 2007 - meiss...@suse.de
- use RPM_OPT_FLAGS -fno-strict-aliasing -fPIC
* Tue Feb 13 2007 - bwhite...@suse.de
- Pulled CMPI headers into cimple package to eliminate dependency
  on tog-pegasus
* Thu Feb 01 2007 - bwhite...@suse.de
- Added OpenWBEM provider adapter.
- Update to CVS head to get IA64 port
* Tue Oct 10 2006 - bwhite...@suse.de
- Initial package
++++++ cimple-2.0.24-gcc.patch ++++++
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x 
autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in 
../orig-cimple-2.0.24/src/cimple/FileSystem.cpp ./src/cimple/FileSystem.cpp
--- ../orig-cimple-2.0.24/src/cimple/FileSystem.cpp     2011-11-07 
22:00:07.000000000 +0100
+++ ./src/cimple/FileSystem.cpp 2012-11-05 16:29:49.009183611 +0100
@@ -30,6 +30,7 @@
 
 #include <cassert>
 #include <cstdlib>
+#include <unistd.h>
 #include <sys/stat.h>
 #include <fstream>
 #include "FileSystem.h"
++++++ cimple-2.0.24-ow-adapter.dif ++++++
--- src/openwbem/adapter/Converter.cpp
+++ src/openwbem/adapter/Converter.cpp  2007/11/02 12:28:09
@@ -114,7 +114,7 @@ static void _to_openwbem_scalar(
 
         case CHAR16:
             //value.set(Pegasus::Char16(*((char16*)field)));
-            value.set(CIMValue(OpenWBEM::String((*((char16*)field))))); 
+            
value.set(CIMValue(OpenWBEM::Char16(UInt16((*((char16*)field)).code())).toString()));
 
             break;
 
         case STRING:
--- src/openwbem/adapter/OpenWBEM_Adapter.cpp
+++ src/openwbem/adapter/OpenWBEM_Adapter.cpp   2007/11/02 12:07:26
@@ -393,6 +393,10 @@ void OpenWBEM_Adapter::modifyInstance(
 
     Ref<Instance> ci_d(ci); 
 
+    // Create model.
+    Instance* model = clone(ci);
+    Ref<Instance> model_d(model);
+
     // marks propertied mentioned in property list as non-null. 
     if (Converter::de_nullify_properties(propertyList, ci) != 0)
     {
@@ -400,7 +404,7 @@ void OpenWBEM_Adapter::modifyInstance(
     }
 
     // Invoke the provider
-    Modify_Instance_Status status = _provider->modify_instance(ci); 
+    Modify_Instance_Status status = _provider->modify_instance(model, ci); 
     _check(status); 
 }
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to