Hello community,

here is the log from the commit of package openwsman for openSUSE:Factory 
checked in at 2013-12-13 12:00:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openwsman (Old)
 and      /work/SRC/openSUSE:Factory/.openwsman.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openwsman"

Changes:
--------
--- /work/SRC/openSUSE:Factory/openwsman/openwsman.changes      2013-10-21 
15:13:00.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.openwsman.new/openwsman.changes 2013-12-13 
12:00:04.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Dec 10 09:27:58 UTC 2013 - [email protected]
+
+- Update to 2.4.3
+  - Fix bindings for Java 1.5
+  - Raise exception if client creation fails (bindings)
+
+-------------------------------------------------------------------

Old:
----
  openwsman-2.4.2.tar.bz2

New:
----
  openwsman-2.4.3.tar.bz2

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

Other differences:
------------------
++++++ openwsman.spec ++++++
--- /var/tmp/diff_new_pack.ikYn2g/_old  2013-12-13 12:00:05.000000000 +0100
+++ /var/tmp/diff_new_pack.ikYn2g/_new  2013-12-13 12:00:05.000000000 +0100
@@ -55,7 +55,7 @@
 BuildRequires:  ruby
 
 # RHEL6 is missing ruby-devel in OBS
-%if 0%{?rhel_version} != 600
+%if 0%{?rhel_version} != 700
 BuildRequires:  ruby-devel
 %if 0%{?fedora} == 0
 BuildRequires:  ruby-rdoc
@@ -114,7 +114,7 @@
 %endif
 
 Requires(pre):  sed coreutils grep /bin/hostname
-Version:        2.4.2
+Version:        2.4.3
 Release:        0
 # Mandriva:
 # Release %mkrel 1
@@ -187,13 +187,8 @@
 Requires(pre):  sed coreutils grep diffutils /bin/hostname
 %if 0%{?suse_version}
 Requires(pre):  fillup
-%ifarch x86_64
-Requires:       pam_pwcheck.so()(64bit)
-Requires:       pam_unix2.so()(64bit)
-%else
-Requires:       pam_pwcheck.so()
-Requires:       pam_unix2.so()
-%endif
+# for pam_unix2 and pam_pwcheck
+Requires:       pam-modules
 %endif
 Summary:        Openwsman Server and service libraries
 Group:          System/Management
@@ -311,6 +306,7 @@
 %endif
 # SLES 10 needs explicit java bytecode target
 %if 0%{?suse_version} == 1010 || 0%{?suse_version} == 1110 
+export EXPLICIT_SOURCE=1.5
 export EXPLICIT_TARGET=1.5
 %endif
 
@@ -324,6 +320,7 @@
   -DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \
   -DCMAKE_SKIP_RPATH=1 \
   -DPACKAGE_ARCHITECTURE=`uname -m` \
+  -DEXPLICIT_SOURCE="$EXPLICIT_SOURCE" \
   -DEXPLICIT_TARGET="$EXPLICIT_TARGET" \
   -DLIB=%{_lib} \
   -DBUILD_RUBY_GEM=no \
@@ -434,9 +431,6 @@
 %{python_sitearch}/*.so
 %{python_sitearch}/*.py*
 
-# RHEL6 is missing ruby-devel in OBS
-%if 0%{?rhel_version} != 600
-
 %files ruby
 %defattr(-,root,root)
 %if 0%{?mandriva_version}
@@ -451,8 +445,6 @@
 %{ruby_sitelib}/openwsman/*.rb
 %endif
 
-%endif
-
 %files ruby-docs
 %defattr(-,root,root)
 %dir %{_docdir}/openwsman-ruby-docs

++++++ openwsman-2.4.2.tar.bz2 -> openwsman-2.4.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwsman-2.4.2/ChangeLog 
new/openwsman-2.4.3/ChangeLog
--- old/openwsman-2.4.2/ChangeLog       2013-09-23 11:31:43.000000000 +0200
+++ new/openwsman-2.4.3/ChangeLog       2013-12-10 10:25:49.000000000 +0100
@@ -1,4 +1,13 @@
+2.4.3
+- Bugfixes
+  - Fix bindings for Java 1.5
+  - Raise exception if client creation fails (bindings)
+
 2.4.2
+- Standards compliance
+  - Honor WS-Management 1.1.1 standard (line 739)
+    Disable multiple MessageID checks
+- Bugfixes
   - Fix crash in redirect module (typo)
 
 2.4.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwsman-2.4.2/VERSION.cmake 
new/openwsman-2.4.3/VERSION.cmake
--- old/openwsman-2.4.2/VERSION.cmake   2013-09-23 11:31:13.000000000 +0200
+++ new/openwsman-2.4.3/VERSION.cmake   2013-12-10 10:21:44.000000000 +0100
@@ -44,10 +44,10 @@
 #    set COMPATMINOR to MINOR. (binary incompatible change)
 #
 
-# Package version 2.4.2
+# Package version 2.4.3
 SET(OPENWSMAN_MAJOR "2")
 SET(OPENWSMAN_MINOR "4")
-SET(OPENWSMAN_PATCH "2")
+SET(OPENWSMAN_PATCH "3")
 
 # Plugin API 2.2
 SET(OPENWSMAN_PLUGIN_API_MAJOR "2")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwsman-2.4.2/bindings/java/CMakeLists.txt 
new/openwsman-2.4.3/bindings/java/CMakeLists.txt
--- old/openwsman-2.4.2/bindings/java/CMakeLists.txt    2013-08-05 
11:47:23.000000000 +0200
+++ new/openwsman-2.4.3/bindings/java/CMakeLists.txt    2013-12-10 
10:20:54.000000000 +0100
@@ -30,11 +30,15 @@
   SET( java_TARGET "-target")
 ENDIF(EXPLICIT_TARGET)
   
+IF(EXPLICIT_SOURCE)
+  SET( java_SOURCE "-source")
+ENDIF(EXPLICIT_SOURCE)
+  
 ADD_CUSTOM_COMMAND (
    OUTPUT ${jar_NAME}
    POST_BUILD
    COMMAND ${CMAKE_COMMAND} -E echo_append "Compiling Java files ..."
-   COMMAND ${JAVA_COMPILE} ${java_TARGET} ${EXPLICIT_TARGET} -d . *.java
+   COMMAND ${JAVA_COMPILE} ${java_SOURCE} ${EXPLICIT_SOURCE} ${java_TARGET} 
${EXPLICIT_TARGET} -d . *.java
    COMMAND ${CMAKE_COMMAND} -E echo_append "Creating JAR ..."
    COMMAND ${JAVA_ARCHIVE} cvf ${jar_NAME} *.so org/*
    DEPENDS ${SWIG_OUTPUT}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openwsman-2.4.2/bindings/ruby/tests/win32_services.rb 
new/openwsman-2.4.3/bindings/ruby/tests/win32_services.rb
--- old/openwsman-2.4.2/bindings/ruby/tests/win32_services.rb   2012-02-06 
12:36:44.000000000 +0100
+++ new/openwsman-2.4.3/bindings/ruby/tests/win32_services.rb   2013-12-10 
10:20:54.000000000 +0100
@@ -18,6 +18,7 @@
     assert client
     options = Openwsman::ClientOptions.new
     assert options
+    options.timeout = 30
 #    options.set_dump_request
 
 #
@@ -59,10 +60,12 @@
 #    state = node.child( 0, uri, "State" ).text;
 
     node = result.body.find( 
"http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_Service";, 
"Win32_Service" )
+#    puts node.to_xml
     name = node.find( 
"http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_Service";, 
"Name" )
+    caption = node.find( 
"http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_Service";, 
"Caption" )
     state = node.find( 
"http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_Service";, 
"State" )
 
-    puts "#{name} is #{state}"
+    puts "#{name} (#{caption}) is #{state}"
 end
 
     client.release( options, uri, context ) if context
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwsman-2.4.2/bindings/ruby/tests/winrs.rb 
new/openwsman-2.4.3/bindings/ruby/tests/winrs.rb
--- old/openwsman-2.4.2/bindings/ruby/tests/winrs.rb    2013-08-30 
11:38:43.000000000 +0200
+++ new/openwsman-2.4.3/bindings/ruby/tests/winrs.rb    2013-12-10 
10:20:54.000000000 +0100
@@ -60,7 +60,7 @@
            [ "-s", "--scheme", GetoptLong::REQUIRED_ARGUMENT ]
   )
 
-  options = {}
+  options = { :port => 5985, :scheme => "http" }
   url = nil
   opts.each do |opt,arg|
     case opt
@@ -93,7 +93,7 @@
   elsif options.empty?
     usage
   else
-    Openwsman::Client.new(options[:host], options[:port]||5985, "wsman", 
options[:scheme]||"http", options[:user], options[:password])
+    Openwsman::Client.new(options[:host], options[:port], "wsman", 
options[:scheme], options[:user], options[:password])
   end
 
   #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwsman-2.4.2/bindings/wsman-client.i 
new/openwsman-2.4.3/bindings/wsman-client.i
--- old/openwsman-2.4.2/bindings/wsman-client.i 2013-09-20 09:24:42.000000000 
+0200
+++ new/openwsman-2.4.3/bindings/wsman-client.i 2013-12-10 10:20:54.000000000 
+0100
@@ -34,7 +34,13 @@
    *
    */
   _WsManClient( const char *uri ) {
-    return wsmc_create_from_uri( uri );
+    struct _WsManClient *client = wsmc_create_from_uri( uri );
+    if (client == NULL)
+      SWIG_exception( SWIG_ValueError, "Can't create Openwsman::Client from 
given URI" );
+#if defined(SWIGPYTHON) || defined(SWIGPERL) || defined(SWIGJAVA)
+    fail:
+#endif
+    return client;
   }
 
   /*
@@ -45,7 +51,13 @@
               const char *scheme,
               const char *username,
               const char *password) {
-    return wsmc_create( hostname, port, path, scheme, username, password );
+    struct _WsManClient *client = wsmc_create( hostname, port, path, scheme, 
username, password );
+    if (client == NULL)
+      SWIG_exception( SWIG_ValueError, "Can't create Openwsman::Client from 
given values" );
+#if defined(SWIGPYTHON) || defined(SWIGPERL) || defined(SWIGJAVA)
+    fail:
+#endif
+    return client;
   }
 
   /* destructor */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwsman-2.4.2/etc/openwsman.conf 
new/openwsman-2.4.3/etc/openwsman.conf
--- old/openwsman-2.4.2/etc/openwsman.conf      2013-08-05 11:47:23.000000000 
+0200
+++ new/openwsman-2.4.3/etc/openwsman.conf      2013-09-24 08:50:34.000000000 
+0200
@@ -4,6 +4,7 @@
 #
 ##################################
 [server]
+# port to accept http requests
 port = 5985
 
 #
@@ -26,10 +27,18 @@
 ipv4 = yes
 ipv6 = yes
 
+# port to accept https requests
 #ssl_port = 5986
+
+# the openwsman server certificate file, in .pem format
 ssl_cert_file = /etc/openwsman/servercert.pem
+# the openwsman server private key, in .pem format
 ssl_key_file = /etc/openwsman/serverkey.pem
+
+# set these to enable digest authentication against a local datbase
 #digest_password_file = /etc/openwsman/digest_auth.passwd
+
+# set these to enable basic authentication against a local datbase
 #basic_password_file = /etc/openwsman/simple_auth.passwd
 
 min_threads = 4
@@ -101,3 +110,7 @@
 
 # boolean
 # omit_schema_optional = 0
+
+# Redirect module, see redirect.conf for details
+#[redirect]
+#include='/etc/openwsman/redirect.conf'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwsman-2.4.2/etc/redirect.conf 
new/openwsman-2.4.3/etc/redirect.conf
--- old/openwsman-2.4.2/etc/redirect.conf       1970-01-01 01:00:00.000000000 
+0100
+++ new/openwsman-2.4.3/etc/redirect.conf       2013-09-24 08:48:29.000000000 
+0200
@@ -0,0 +1,53 @@
+##################################
+#
+# settings for the Redirect plugin
+# (WS-Management forwarding)
+#
+# This module can proxy/forward/redirect requests to another WS-Management 
server
+# A typical scenario is Dell's "Integrated Dell Remote Access Controller" 
(iDRAC)
+# which acts as a baseboard management controller (out of band management) but 
has
+# it's own network configuration.
+#
+# The redirect plugin allows the host to forward WS-Management request to this
+# controller. For the client, in-band (talking to host) and out of band 
(talking
+# to iDrac) only differs in the resource URI.
+##################################
+
+# server to redirect to
+server='hostname-or-ip'
+# port for server
+port=443
+
+# resource URI prefix, must be different from known prefixes
+resource='http://schemas.dell.com/wbem/wscim/1/cim-schema/2'
+
+# credentials for the remote server
+username='user'
+password='pass'
+authentication_method='basic'
+
+# path for SOAP requests
+url_path='/wsman'
+
+cim_namespace='root/cimv2'
+
+# empty: http, non-empty: https
+#
+# Pass a string naming a file holding one or more certificates to verify the 
peer with.
+# This makes sense only when used in combination with the noverifypeer=0 option
+# If noverifypeer=1, cacert need not even indicate an accessible file.
+cacert='dummy.pem'
+
+# if certificates need to be verified
+noverifypeer=1
+noverifyhost=1
+
+# File of the private key, in .pem format
+sslkey=
+
+# File of your certificate, in .pem format
+# With NSS or Secure Transport, this can also be the nickname of the 
certificate you wish
+# to authenticate with as it is named in the security database.
+# If you want to use a file from the current directory, please precede it with 
"./" prefix,
+# in order to avoid confusion with a nickname.
+cl_cert=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwsman-2.4.2/package/openwsman.spec.in 
new/openwsman-2.4.3/package/openwsman.spec.in
--- old/openwsman-2.4.2/package/openwsman.spec.in       2013-09-23 
10:45:46.000000000 +0200
+++ new/openwsman-2.4.3/package/openwsman.spec.in       2013-12-10 
10:20:54.000000000 +0100
@@ -187,13 +187,8 @@
 Requires(pre):  sed coreutils grep diffutils /bin/hostname
 %if 0%{?suse_version}
 Requires(pre):  fillup
-%ifarch x86_64
-Requires:       pam_pwcheck.so()(64bit)
-Requires:       pam_unix2.so()(64bit)
-%else
-Requires:       pam_pwcheck.so()
-Requires:       pam_unix2.so()
-%endif
+# for pam_unix2 and pam_pwcheck
+Requires:       pam-modules
 %endif
 Summary:        Openwsman Server and service libraries
 Group:          System/Management
@@ -311,6 +306,7 @@
 %endif
 # SLES 10 needs explicit java bytecode target
 %if 0%{?suse_version} == 1010 || 0%{?suse_version} == 1110 
+export EXPLICIT_SOURCE=1.5
 export EXPLICIT_TARGET=1.5
 %endif
 
@@ -324,6 +320,7 @@
   -DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \
   -DCMAKE_SKIP_RPATH=1 \
   -DPACKAGE_ARCHITECTURE=`uname -m` \
+  -DEXPLICIT_SOURCE="$EXPLICIT_SOURCE" \
   -DEXPLICIT_TARGET="$EXPLICIT_TARGET" \
   -DLIB=%{_lib} \
   -DBUILD_RUBY_GEM=no \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwsman-2.4.2/src/lib/CMakeLists.txt 
new/openwsman-2.4.3/src/lib/CMakeLists.txt
--- old/openwsman-2.4.2/src/lib/CMakeLists.txt  2013-08-05 11:47:23.000000000 
+0200
+++ new/openwsman-2.4.3/src/lib/CMakeLists.txt  2013-09-23 15:49:12.000000000 
+0200
@@ -10,7 +10,7 @@
 
 ADD_DEFINITIONS( -DPACKAGE_PLUGIN_DIR="\\\"${PACKAGE_PLUGIN_DIR}\\\"" )
 
-SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${XML_CFLAGS} -g" )
+SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${XML_CFLAGS} -g -DIGNORE_DUPLICATE_ID" )
 
 
 ########### wsman ###############

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to