Hello community,

here is the log from the commit of package openwsman for openSUSE:Factory
checked in at Thu Sep 15 14:02:55 CEST 2011.



--------
--- openwsman/openwsman.changes 2010-03-11 09:11:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/openwsman/openwsman.changes    2011-09-14 
22:02:28.000000000 +0200
@@ -1,0 +2,100 @@
+Fri Sep  9 12:38:34 UTC 2011 - kkae...@suse.com
+
+- Update to 2.2.7
+  - Features
+    - Rename openwsman-client to libwsman_clientpp since it only
+      includes C++ bindings. Split off libwsman_clientpp-devel.
+      Move openwsman_client.conf to libwsman1.
+    - Performance improvements for Enum (optimized) and Pull requests
+      (Srinivas Thirumalaa)
+  - Bindings
+    - Fix all tests
+    - Enhance client function documentation
+    - Add max_elements, max_envelope_size, fragment, and timeout
+      to Options
+    - Use optimized enumeration in tests
+  - Bugfix (all by Matthias Bolte)
+    - Fix memory leaks in wsmc_action_enumerate_and_pull and wsmc_release
+    - Fix possible corruption in ws_serializer_free_mem
+  - Developer
+    - Enable client tests
+    - Improve Windows build (Matthias Bolte)
+    - Reduce libu exposure in the public API (Matthias Bolte)
+
+-------------------------------------------------------------------
+Wed Apr 20 11:30:35 UTC 2011 - kkae...@novell.com
+
+- Update to 2.2.6
+  - Features
+    - Add array support for indications (Suresh Sundriyal)
+    - Add indication_baseclass_namespace (Till Steinbach, Suresh Sundriyal)
+  - Bugfixes
+    - Correctly prefix /etc when CMAKE_INSTALL_PREFIX is not /usr (Chris 
Poblete)
+
+-------------------------------------------------------------------
+Mon Feb 14 14:28:02 UTC 2011 - kkae...@novell.com
+
+- Disable SSL callback on Fedora (curl-Bugs-1924441)
+
+-------------------------------------------------------------------
+Mon Jan  3 15:56:42 UTC 2011 - kkae...@novell.com
+
+- Update to 2.2.5
+  - Restrict use of wsman:MaxElements to wsman:OptimizeEnumeration
+  - Fix owsmangencert.sh pathes
+  - Improve CMake variable handling
+
+-------------------------------------------------------------------
+Wed Sep 29 12:27:19 UTC 2010 - kkae...@novell.com
+
+- Update to 2.2.4
+  - Build with cmake
+  - add -java subpackage (not for SLES10)
+  - enforce manual creation of certificate (to get sufficient
+    entropy for randomness) (Praveen Paladugu)
+
+-------------------------------------------------------------------
+Fri Sep 10 12:56:22 UTC 2010 - kkae...@novell.com
+
+- fix pam config on RHEL/Fedora
+
+-------------------------------------------------------------------
+Wed Jun  9 09:36:34 UTC 2010 - kkae...@novell.com
+
+- 2.2.3.9 Bugfix release:
+  - bindings (kkaempf)
+    - make all constants uppercase
+    - pass code, code_detail, and message to WsmanStatus()
+      constructor optionally
+    - Pass XmlDoc to Fault() constructor
+    - Fix exceptions for Perl and Python
+    - Ruby: Alias XmlDoc.foo to XmlDoc.body.foo
+    - Ruby: Create bindings documentation
+    - Java: Enable and fix for JDK 1.6 (kkaempf + jblunck)
+  - Fix Fedora/RH build (kkaempf)
+  - Use floor() instead of round() (Suresh Sundriyal)
+  - Reuse username/password if auth_request_func is not set (Arun
+    Venkatachalam)
+  - Catch invalid reference parameters (report bad EPR values)
+    (kkaempf)
+  - fix Windows build (Trevor Witten)
+  - fix ssl (certificate thumbprint) callback check (Arun
+    Venkatachalam)
+
+-------------------------------------------------------------------
+Mon Apr 26 13:39:41 UTC 2010 - kkae...@novell.com
+
+- Fix segfault on invalid reference parameters to method calls.
+  bnc#599658
+
+-------------------------------------------------------------------
+Wed Apr 21 10:04:54 UTC 2010 - kkae...@novell.com
+
+- Check rc.msg pointer before accessing it through CMGetPointer
+
+-------------------------------------------------------------------
+Mon Apr 19 13:32:59 UTC 2010 - kkae...@novell.com
+
+- Fix dynamic loading of ssl lib (bnc#574684)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  0001-Fix-ssl-certificate-thumbprint-callback-issue.patch
  openwsman-2.2.3.tar.bz2

New:
----
  openwsman-2.2.7.tar.bz2
  openwsman-initscript.patch
  openwsman.pam.rh

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

Other differences:
------------------
++++++ openwsman.spec ++++++
--- /var/tmp/diff_new_pack.fwBsk1/_old  2011-09-15 14:02:47.000000000 +0200
+++ /var/tmp/diff_new_pack.fwBsk1/_new  2011-09-15 14:02:47.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package openwsman (Version 2.2.3)
+# spec file for package openwsman
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -21,15 +21,16 @@
 Name:           openwsman
 BuildRequires:  gcc-c++ swig >= 1.3.30
 BuildRequires:  libxml2-devel pam-devel sblim-sfcc-devel
+BuildRequires:  cmake
 
-BuildRequires:  perl python-devel
+BuildRequires:  java-devel perl python-devel
 
 %if 0%{?rhel_version} > 0
 BuildRequires:  -vim
 %endif
 
 %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 
0%{?fedora} || 0%{?rhel}
-BuildRequires:  curl-devel openssl-devel pkgconfig ruby ruby-devel
+BuildRequires:  curl-devel openssl-devel pkgconfig ruby ruby-devel ruby-rdoc
 %if 0%{?fedora} > 0
 BuildRequires:  perl-devel
 %endif
@@ -37,29 +38,35 @@
 
 %if 0%{?suse_version} > 0
 
-BuildRequires:  libcurl-devel
-%if 0%{?suse_version} > 1020
-BuildRequires:  fdupes libopenssl-devel
-%endif
+# No jni_md.h on SLE10 :-/
+#%if 0%{?suse_version} < 1100
+#BuildRequires:  java-1_5_0-ibm-devel
+#BuildRequires:  libgcj-devel
+#BuildRequires:  update-alternatives
+#%endif
 
+%if 0%{?suse_version} > 1010
+BuildRequires:  fdupes libopenssl-devel
+BuildRequires:  libcurl-devel
+%else
 # SLE10
-%if 0%{?suse_version} < 1020
 BuildRequires:  libidn-devel openssl-devel
+BuildRequires:  curl-devel
 %endif
 
-# SLE9
-%if 0%{?suse_version} < 920
-BuildRequires:  pkgconfig ruby
-%else
+%if 0%{?suse_version} > 910
 BuildRequires:  ruby-devel
 BuildRequires:  pkg-config
+%else
+# SLE9
+BuildRequires:  pkgconfig ruby
 %endif
 
 %endif
 
-PreReq:         sed coreutils grep /bin/hostname
-Version:        2.2.3
-Release:        2
+Requires(pre):  sed coreutils grep /bin/hostname
+Version:        2.2.7
+Release:        1
 # Mandriva:
 # Release %mkrel 1
 Url:            http://www.openwsman.org/
@@ -68,10 +75,14 @@
 Summary:        Opensource Implementation of WS-Management
 Source:         %{name}-%{version}.tar.bz2
 Source1:        %{name}.rpmlintrc
+%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 
0%{?fedora} || 0%{?rhel}
+Source2:        %{name}.pam.rh
+Patch1:         openwsman-initscript.patch
+%else
 Source2:        %{name}.pam
+%endif
 Source3:        %{name}.SuSEfirewall2
 Patch0:         %{name}-pam-auth.patch
-Patch1:         0001-Fix-ssl-certificate-thumbprint-callback-issue.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -111,13 +122,7 @@
 Obsoletes:      openwsman-devel < %{version}
 Requires:       libwsman1 = %{version}
 Requires:       %{name}-server = %{version}
-Requires:       %{name}-client = %{version}
 Requires:       sblim-sfcc-devel libxml2-devel pam-devel
-%if 0%{?suse_version} > 0
-Requires:       libcurl-devel
-%else
-Requires:       curl-devel
-%endif
 
 %description -n libwsman-devel
 Opensource Implementation of WS-Management
@@ -130,13 +135,33 @@
     Vadim Revyakin <vadim.revya...@intel.com>
     Denis Sadykov <denis.sady...@intel.com>
 
-%package client
+%package -n libwsman_clientpp1
+License:        BSD3c(or similar)
+Group:          System/Management
+Summary:        C++ bindings to Openwsman Client libraries
+Provides:       openwsman-client = %{version}
+Obsoletes:      openwsman-client < %{version}
+
+%description -n libwsman_clientpp1
+An implementation of the WsmanClient interface using C++
+
+
+
+Authors:
+--------
+    Anas Nashif <anas.nas...@intel.com>
+    Vadim Revyakin <vadim.revya...@intel.com>
+    Denis Sadykov <denis.sady...@intel.com>
+
+%package -n libwsman_clientpp-devel
 License:        BSD3c(or similar)
 Group:          System/Management
-Summary:        Openwsman Client libraries
+Summary:        C++ bindings to Openwsman Client libraries
+Requires:       libwsman_clientpp1 = %{version}
+Requires:       libwsman-devel = %{version}
 
-%description client
-Openwsman Client libraries
+%description -n libwsman_clientpp-devel
+Development files for C++ interface to OpenWSMAN client library.
 
 
 
@@ -149,9 +174,9 @@
 %package server
 License:        BSD3c(or similar)
 Group:          System/Management
-PreReq:         sed coreutils grep diffutils /bin/hostname
+Requires(pre):  sed coreutils grep diffutils /bin/hostname
 %if 0%{?suse_version}
-PreReq:         fillup
+Requires(pre):  fillup
 %endif
 Summary:        Openwsman Server and service libraries
 
@@ -184,9 +209,7 @@
 
 Authors:
 --------
-    Anas Nashif <anas.nas...@intel.com>
-    Vadim Revyakin <vadim.revya...@intel.com>
-    Denis Sadykov <denis.sady...@intel.com>
+    Klaus Kaempf <kkae...@suse.de>
 
 %package ruby
 License:        BSD3c(or similar)
@@ -211,9 +234,7 @@
 
 Authors:
 --------
-    Anas Nashif <anas.nas...@intel.com>
-    Vadim Revyakin <vadim.revya...@intel.com>
-    Denis Sadykov <denis.sady...@intel.com>
+    Klaus Kaempf <kkae...@suse.de>
 
 %package perl
 License:        BSD3c(or similar)
@@ -232,44 +253,74 @@
 
 Authors:
 --------
-    Anas Nashif <anas.nas...@intel.com>
-    Vadim Revyakin <vadim.revya...@intel.com>
-    Denis Sadykov <denis.sady...@intel.com>
+    Klaus Kaempf <kkae...@suse.de>
+
+%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1100
+
+%package java
+License:        BSD3c(or similar)
+Group:          System/Management
+Requires:       java
+Requires:       libwsman1 = %{version}
+Summary:        Java bindings for openwsman client API
+
+%description java
+This package provides Java bindings to access the openwsman client API.
+
+
+
+Authors:
+--------
+    Klaus Kaempf <kkae...@suse.de>
+%endif
 
 %prep
 %setup -q
 %patch0
+%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 
0%{?fedora} || 0%{?rhel}
 %patch1 -p1
+%endif
 
 %build
-sh autoconfiscate.sh
-mkdir -p m4
-%configure \
-    --disable-more-warnings \
-    --disable-static \
-    --enable-python \
-    --enable-ruby \
-    --enable-perl \
-    --enable-ipv6
-make clean
+rm -rf build
+mkdir build
 %if 0%{?fedora}
-export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DFEDORA"
-%endif
-make CFLAGS="$RPM_OPT_FLAGS" %{?jobs:-j%jobs}
+# [ curl-Bugs-1924441 ] SSL callback option with NSS-linked libcurl
+# CURLOPT_SSL_CTX_FUNCTION is defined, but does not work on e.g. Fedora
+export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DNO_SSL_CALLBACK"
+%endif
+export SSL_LIB=`readlink %{_libdir}/libssl.so`
+cd build
+cmake \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -DCMAKE_VERBOSE_MAKEFILE=TRUE \
+  -DCMAKE_BUILD_TYPE=Release \
+  -DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS -fno-strict-aliasing" \
+  -DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \
+  -DCMAKE_SKIP_RPATH=1 \
+  -DPACKAGE_ARCHITECTURE=`uname -m` \
+  -DLIB=%{_lib} \
+  ..
+
+make CFLAGS="-DSSL_LIB='\"$SSL_LIB\"'"
 
 %install
+cd build
 make DESTDIR=$RPM_BUILD_ROOT install
+cd ..
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 rm -f $RPM_BUILD_ROOT%{_libdir}/openwsman/plugins/*.la
 rm -f $RPM_BUILD_ROOT%{_libdir}/openwsman/authenticators/*.la
+[ -d $RPM_BUILD_ROOT%{ruby_sitelib} ] && rm -f 
$RPM_BUILD_ROOT%{ruby_sitelib}/openwsmanplugin.rb
+[ -d $RPM_BUILD_ROOT%{ruby_vendorlib} ] && rm -f 
$RPM_BUILD_ROOT%{ruby_vendorlib}/openwsmanplugin.rb
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d
 install -m 644 etc/openwsman.conf $RPM_BUILD_ROOT%{_sysconfdir}/openwsman
 install -m 644 etc/openwsman_client.conf 
$RPM_BUILD_ROOT%{_sysconfdir}/openwsman
-install -m 755 etc/init/openwsmand.sh 
$RPM_BUILD_ROOT%{_sysconfdir}/init.d/openwsmand
+install -m 755 build/etc/init/openwsmand.sh 
$RPM_BUILD_ROOT%{_sysconfdir}/init.d/openwsmand
 install -m 644 etc/ssleay.cnf $RPM_BUILD_ROOT%{_sysconfdir}/openwsman
 install -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/openwsman
 ln -sf %{_sysconfdir}/init.d/openwsmand $RPM_BUILD_ROOT%{_sbindir}/rcopenwsmand
-%if 0%{?suse_version}
+%if 0%{?suse_version} > 1010
 install -D -m 644 %{S:3} 
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/openwsman
 %endif
 
@@ -285,28 +336,29 @@
 %if 0%{?suse_version}
 %{fillup_and_insserv openwsmand}
 %else
-# FIXME: chkconfig ?!
+# FIXME: chkconfig?!
 %endif
 
 %preun server
 %if 0%{?suse_version}
 %{stop_on_removal openwsmand}
 %else
-# FIXME: chkconfig ?!
+# FIXME: chkconfig?!
 %endif
 
 %postun server
 %if 0%{?suse_version}
+%{restart_on_update openwsmand}
 %{insserv_cleanup openwsmand}
 %else
-# FIXME: chkconfig ?!
+# FIXME: chkconfig?!
 %endif
 rm -f /var/log/wsmand.log
 /sbin/ldconfig
 
-%post client -p /sbin/ldconfig
+%post -n libwsman_clientpp1 -p /sbin/ldconfig
 
-%postun client -p /sbin/ldconfig
+%postun -n libwsman_clientpp1 -p /sbin/ldconfig
 
 %files -n libwsman1
 %defattr(-,root,root)
@@ -314,6 +366,7 @@
 %{_libdir}/libwsman.so.*
 %{_libdir}/libwsman_client.so.*
 %{_libdir}/libwsman_curl_client_transport.so.*
+%config(noreplace) %{_sysconfdir}/openwsman/openwsman_client.conf
 
 %files -n libwsman-devel
 %defattr(-,root,root)
@@ -324,7 +377,7 @@
 %files python
 %defattr(-,root,root)
 %{python_sitearch}/*.so
-%{python_sitelib}/*.py
+%{python_sitearch}/*.py
 
 %files ruby
 %defattr(-,root,root)
@@ -349,6 +402,13 @@
 %{perl_vendorarch}/openwsman.so
 %{perl_vendorlib}/openwsman.pm
 
+%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1100
+
+%files java
+%defattr(-,root,root)
+%{_javadir}/*jar
+%endif
+
 %files server
 %defattr(-,root,root)
 %dir %{_sysconfdir}/openwsman
@@ -356,7 +416,7 @@
 %config(noreplace) %{_sysconfdir}/openwsman/ssleay.cnf
 %attr(0755,root,root) %{_sysconfdir}/openwsman/owsmangencert.sh
 %config %{_sysconfdir}/pam.d/openwsman
-%if 0%{?suse_version} > 0
+%if 0%{?suse_version} > 1010
 %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/openwsman
 %endif
 %attr(0755,root,root) %{_sysconfdir}/init.d/openwsmand
@@ -371,9 +431,14 @@
 %{_sbindir}/rcopenwsmand
 %{_libdir}/libwsman_server.so.*
 
-%files client
+%files -n libwsman_clientpp1
 %defattr(-,root,root)
 %{_libdir}/libwsman_clientpp.so.*
-%config(noreplace) %{_sysconfdir}/openwsman/openwsman_client.conf
+
+%files -n libwsman_clientpp-devel
+%defattr(-,root,root)
+%{_libdir}/libwsman_clientpp.so
+%dir %{_includedir}/openwsman/cpp
+%{_includedir}/openwsman/cpp/*.h
 
 %changelog

++++++ openwsman-2.2.3.tar.bz2 -> openwsman-2.2.7.tar.bz2 ++++++
++++ 79335 lines of diff (skipped)

++++++ openwsman-initscript.patch ++++++
diff -up openwsman-2.2.3/etc/init/openwsmand.sh.cmake.orig 
openwsman-2.2.3/etc/init/openwsmand.sh.in
--- openwsman-2.2.3/etc/init/openwsmand.sh.cmake.orig   2010-04-22 
09:36:29.186800378 -0500
+++ openwsman-2.2.3/etc/init/openwsmand.sh.cmake        2010-04-22 
09:38:15.507820659 -0500
@@ -4,15 +4,15 @@
 # Provides: openwsmand
 # Required-Start: $remote_fs
 # Required-Stop: $network
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6 
+# Default-Start:
+# Default-Stop:
 # Short-Description: Openwsman Daemon
 # Description: openwsmand
 #       Start/Stop the Openwsman Daemon
 ### END INIT INFO
 #
 #
-# chkconfig: 2345 36 64
+# chkconfig: - 36 64
 # description: Openwsman Daemon
 # processname: openwsmand
 
++++++ openwsman-pam-auth.patch ++++++
--- /var/tmp/diff_new_pack.fwBsk1/_old  2011-09-15 14:02:47.000000000 +0200
+++ /var/tmp/diff_new_pack.fwBsk1/_new  2011-09-15 14:02:47.000000000 +0200
@@ -1,7 +1,8 @@
-diff -wruN ../orig-openwsman-2.2.1/etc/openwsman.conf ./etc/openwsman.conf
---- ../orig-openwsman-2.2.1/etc/openwsman.conf 2009-11-17 21:32:51.000000000 
+0100
-+++ ./etc/openwsman.conf       2009-11-20 08:19:33.000000000 +0100
-@@ -9,7 +9,7 @@
+Index: openwsman.conf
+===================================================================
+--- etc/openwsman.conf (revision 3221)
++++ etc/openwsman.conf (working copy)
+@@ -4,7 +4,7 @@
  ssl_cert_file = /etc/openwsman/servercert.pem
  ssl_key_file = /etc/openwsman/serverkey.pem
  digest_password_file = /etc/openwsman/digest_auth.passwd
@@ -10,7 +11,7 @@
  
  min_threads = 4
  max_threads = 0
-@@ -22,8 +22,8 @@
+@@ -15,8 +15,8 @@
  # Authentication backend for BASIC authentication. Default is to read a 
configuration file defined with 'basic_password_file'
  #
  

++++++ openwsman.pam.rh ++++++
#%PAM-1.0
auth       required     pam_unix.so     nullok
auth       required     pam_nologin.so
account    required     pam_unix.so
password   required     pam_pwcheck.so  nullok
password   required     pam_unix.so     nullok use_first_pass use_authtok
session    required     pam_unix.so     none

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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to