Revisions of sblim-cim-client2

buildservice-autocommit accepted request 1149162 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 61)
baserev update by copy to link target
Michael Vetter's avatar Michael Vetter (jubalh) committed (revision 60)
- Use %patch -P N instead of deprecated %patchN.
buildservice-autocommit accepted request 1123500 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 59)
baserev update by copy to link target
Michael Vetter's avatar Michael Vetter (jubalh) accepted request 1123310 from Fridrich Strba's avatar Fridrich Strba (fstrba) (revision 58)
Do not hardcode java 11 for build
buildservice-autocommit accepted request 990871 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 57)
baserev update by copy to link target
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 56)
- Fix build, stay with Java 11
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 55)
limit java to 11 or lower
buildservice-autocommit accepted request 554790 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 54)
baserev update by copy to link target
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 53)
- Fix build with openjdk9: sblim-cim-client2-2.2.5-src.patch
--This line, and those below, will be ignored--

A    sblim-cim-client2-2.2.5-src.patch
M    sblim-cim-client2.changes
M    sblim-cim-client2.spec

Diff for working copy: .
Index: sblim-cim-client2.changes
===================================================================

--- sblim-cim-client2.changes	(revision cbb87c6e6d974af4a5cce9fc7b05012a)
+++ sblim-cim-client2.changes	(working copy)
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Wed Nov 29 12:27:48 UTC 2017 - kkaempf@suse.com
+
+- Fix build with openjdk9: sblim-cim-client2-2.2.5-src.patch
+
 -------------------------------------------------------------------
 Thu Jun 25 13:10:52 UTC 2015 - mvetter@suse.com
 

Index: sblim-cim-client2.spec
===================================================================

--- sblim-cim-client2.spec	(revision cbb87c6e6d974af4a5cce9fc7b05012a)
+++ sblim-cim-client2.spec	(working copy)
@@ -27,6 +27,7 @@
 Url:            http://sourceforge.net/projects/sblim/
 Source:         http://downloads.sourceforge.net/project/sblim/%{name}/%{version}/%{name}-%{version}-src.zip
 Source1:        http://downloads.sourceforge.net/project/sblim/%{name}/%{version}/%{name}-%{version}-doc.zip
+Patch1:         sblim-cim-client2-2.2.5-src.patch
 BuildRequires:  ant >= 1.6
 BuildRequires:  dos2unix
 BuildRequires:  java-devel
@@ -76,7 +77,10 @@
 %setup -q -n %{project_folder}
 dos2unix COPYING NEWS README ChangeLog sblim-cim-client2.properties sblim-slp-client2.properties
 find -type f \( -name "*.java" \) -exec dos2unix {} +
-
+%if 0%{?suse_version} > 1200
+# openjdk9 needs source and target 1.6 or larger
+%patch1 -p1
+%endif
 # -----------------------------------------------------------------------------
 
 %build

Index: sblim-cim-client2-2.2.5-src.patch
===================================================================
--- sblim-cim-client2-2.2.5-src.patch	(revision 0)
+++ sblim-cim-client2-2.2.5-src.patch	(revision 0)
@@ -0,0 +1,39 @@
+diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-sblim-cim-client2-2.2.5-src/build.xml ./build.xml
+--- ../orig-sblim-cim-client2-2.2.5-src/build.xml	2013-12-13 04:51:22.000000000 +0100
++++ ./build.xml	2017-11-29 13:25:19.277890176 +0100
+@@ -91,7 +91,7 @@
+         <delete dir="${Directory.build.core}" failonerror="false"/>
+         <mkdir dir="${Directory.build.base}"/>
+         <mkdir dir="${Directory.build.core}"/>
+-        <javac srcdir="${Directory.source.core}" destdir="${Directory.build.core}" debug="on" encoding="utf-8" source="1.5" target="1.5" includeantruntime="false">
++        <javac srcdir="${Directory.source.core}" destdir="${Directory.build.core}" debug="on" encoding="utf-8" source="1.6" target="1.6" includeantruntime="false">
+             <classpath>
+             	<pathelement path="${java.class.path}/"/>
+             </classpath>
+@@ -122,7 +122,7 @@
+ 	    <delete dir="${Directory.build.unittest}" failonerror="false"/>
+         <mkdir dir="${Directory.build.base}"/>
+ 	    <mkdir dir="${Directory.build.unittest}"/>
+-	    <javac srcdir="${Directory.source.unittest}" destdir="${Directory.build.unittest}" debug="on" encoding="utf-8" source="1.5" target="1.5" includeantruntime="false">
++	    <javac srcdir="${Directory.source.unittest}" destdir="${Directory.build.unittest}" debug="on" encoding="utf-8" source="1.6" target="1.6" includeantruntime="false">
+ 			<classpath>
+ 		    	<pathelement path="${Directory.build.unittest}/"/>
+ 		    	<pathelement path="${Directory.build.core}/"/>
+@@ -141,7 +141,7 @@
+ 	    <delete dir="${Directory.build.samples}" failonerror="false"/>
+         <mkdir dir="${Directory.build.base}"/>
+ 	    <mkdir dir="${Directory.build.samples}"/>
+-	    <javac srcdir="${Directory.source.samples}" destdir="${Directory.build.samples}" debug="on" encoding="utf-8" source="1.5" target="1.5" includeantruntime="false">
++	    <javac srcdir="${Directory.source.samples}" destdir="${Directory.build.samples}" debug="on" encoding="utf-8" source="1.6" target="1.6" includeantruntime="false">
+ 			<classpath>
+ 		    	<pathelement path="${Directory.build.samples}/"/>
+ 		    	<pathelement path="${Directory.build.core}/"/>
+@@ -190,7 +190,7 @@
+                  charset="utf-8"
+         	     encoding="utf-8"
+                  docencoding="utf-8"
+-                 source ="1.5"
++                 source ="1.6"
+                  additionalparam="-quiet"
+                  overview="${Directory.source.core}/overview.html"
+                  windowtitle="SBLIM CIM Client for Java - ${Manifest.version} - Public API Specification"
buildservice-autocommit accepted request 313804 from Klaus Kämpf's avatar Klaus Kämpf (kwk) (revision 52)
baserev update by copy to link target
Klaus Kämpf's avatar Klaus Kämpf (kwk) accepted request 313679 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 51)
- Update URL
buildservice-autocommit accepted request 313255 from Klaus Kämpf's avatar Klaus Kämpf (kwk) (revision 50)
baserev update by copy to link target
Klaus Kämpf's avatar Klaus Kämpf (kwk) accepted request 313208 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 49)
- Remove self-made dos2unix and replace by standard one
  Convert .java files too.

- Clean up spec file
- Remove java conditionals, when the java version is set correctly
  there wont be an issue
buildservice-autocommit accepted request 210821 from Pawel Wieczorkiewicz's avatar Pawel Wieczorkiewicz (pwieczorkiewicz) (revision 48)
baserev update by copy to link target
Pawel Wieczorkiewicz's avatar Pawel Wieczorkiewicz (pwieczorkiewicz) committed (revision 47)
- Update to version 2.2.5
  New features
  * Two new Java properties - sblim.wbem.sslClientProtocol and 
    sblim.wbem.sslListenerProtocol - can be used to set the protocol
    used for SSLContext.getInstance(String protocol) by a client or
    listener. (#2647)
  * One new Java property -
    sblim.wbem.cimxmlParser.allowEmptyLocalNameSpacePath - can be
    used to have the client allow LOCALNAMESPACEPATH elements without
    NAMESPACE child elements in incoming responses. (#2711)
  Version 2.2.5 also contains five changes that might affect
  existing applications:
  * Three internal APIs - CIMXMLParserImpl.parseNAMESPACE, 
    parseClassName and parseCLASSNAME - now throw the
    CIMXMLParseException. (#2670)
  * The internal API CIMXMLBuilderImpl.createMETHODCALL now only has 
    three parameters, pParamtype is not needed. (#2689)
  * Two internal APIs - Node.getParamType and
    CIMObjectFactory.getType - now throw the SAXException. (#2693)
  * One internal API - PropertyNode.childValueNodeParsed - now throws
    the SAXException. (#2700)
  * One internal API - PropertyArrayNode.childValueNodeParsed - now 
    throws the SAXException. (#2701)
  Issues closed
   2717 Update detailed release history HTML for 2.2.5
   2716 Sync up javax.* javadoc with JSR48 1.0.0 Final V
   2719 TCK: CIM APIs should not generate NullPointerException
   2594 CR28: Support CIMErrorDescription HTTP field
   2718 Bad CIMStatusCode generates NumberFormatException
   2538 CR14: Support new CORRELATOR element
buildservice-autocommit accepted request 200806 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 46)
baserev update by copy to link target
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 45)
- Update to version 2.2.4
  New features
  * Two new Java properties - sblim.wbem.sslClientProtocol and
    sblim.wbem.sslListenerProtocol - can be used to set the protocol
    used for SSLContext.getInstance(String protocol) by a client
    or listener. (#2647)
  * One new Java property - sblim.wbem.socketIdleTimeout - can be
    used to automatically reset (close, then reopen) a socket if
    it is idle for too long. (#2654)
  * One new Java property - sblim.wbem.enableGzipEncoding - can be
    used to enable support for gzip decompression of CIM-XML
    responses, identified by "Content-Encoding: gzip" header. (#2151)
  Version 2.2.4 also contains two changes that might affect
  existing applications:
  * The internal API LogAndTraceBroker.setXmlTraceStream no longer
    closes the previous XML trace stream. (#2652)
  * The JSR48 API CIMObjectPath.equalsModelPath now compares only
    the model path - this may produce different results from
    previous releases. (#2660)
  Issues closed
   2661 Update detailed release history HTML for 2.2.4
   2662 Need the specific SSLHandshakeException during the cim call
   2660 CIMObjectPath.equalsModelPath same as equals
   2657 Potential null pointer exception in handleConnection
   2151 gzip compression not supported
   2655 Content-length must be ignored when Transfer-encoding present
   2651 IOException when tracing the cimxml
   2654 Check jcc idle time with CIMOM keepalive timeout to avoid EOF
   2653 FVT: java.lang.ExceptionInInitializerError during static init
   2652 LogAndTraceBroker.setXmlTraceStream should not close previous stream
buildservice-autocommit accepted request 177116 from Klaus Kämpf's avatar Klaus Kämpf (kwk) (revision 44)
baserev update by copy to link target
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 43)
- Update to version 2.2.3
  New features
  * A new Java property - sblim.wbem.listenerMaxQueuedEvents - can
    be used to set the maximum number of queued events awaiting
    dispatch to a listener. (#2628)
  * Two new Java properties - sblim.wbem.listenerHttpHeaderTimeout
    and sblim.wbem.listenerHttpMaxAllowedTimeouts - can be used to
    help prevent Denial of Service attacks on an indication listener
    via the slowloris approach (#2635)
  * Two new private APIs - WBEMListenerSBLIM.getBlockedIPs and
    setBlockedIPs can be used to control the IPs of incoming
    connections that are to be ignored by an indication
    listener (#2635)
  * Two new Java properties - sblim.wbem.sslClientCipherSuitesToDisable
    and sblim.wbem.sslListenerCipherSuitesToDisable - can be used
    to disable a list of cipher suites when connecting via an SSL
    socket as either a client or listener. (#2642)
  Version 2.2.3 also contains several changes that might affect
  existing applications:
  * The internal ChunkedInputStream constructors now require a
    second parameter, a String representing the names of the trailer
    fields (from HTTP Trailer header). (#2621)
  * The internal MessageReader constructor now requires a second
    parameter, a long representing the HTTP header timeout (#2635)
  * The internal HttpConnectionHandler constructor now requires
    a second parameter, a WBEMConfiguration representing the
    configuration properties (#2635)
  * The Java property sblim.wbem.sslCipherSuitesToDisable has
    been deleted, use sblim.wbem.sslClientCipherSuitesToDisable
    and/or sblim.wbem.sslListenerCipherSuitesToDisable instead (#2642)
buildservice-autocommit accepted request 160868 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 42)
baserev update by copy to link target
Displaying revisions 1 - 20 of 61
openSUSE Build Service is sponsored by