Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zstd-jni for openSUSE:Factory 
checked in at 2026-09-12 21:15:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zstd-jni (Old)
 and      /work/SRC/openSUSE:Factory/.zstd-jni.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zstd-jni"

Sat Sep 12 21:15:12 2026 rev:4 rq:1377020 version:1.5.7.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/zstd-jni/zstd-jni.changes        2026-06-30 
15:11:26.395992124 +0200
+++ /work/SRC/openSUSE:Factory/.zstd-jni.new.1265/zstd-jni.changes      
2026-09-12 21:15:23.009557611 +0200
@@ -1,0 +2,17 @@
+Thu Sep 10 17:21:20 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Update to v1.5.7.16
+  * Security fixes:
+    + bsc#1279953 (CVE-2026-87823), bsc#1279954 (CVE-2026-87877),
+      bsc#1279955 (CVE-2026-87825), bsc#1279956 (CVE-2026-87824)
+  * no structured changelog provided by upstream
+- Added patch:
+  * no-lvm-linker.patch
+    + Upstream CMakeList.txt specifies "-fuse-ld=lld", but we don't
+      want to depend on LVM linker
+- Modified patches:
+  * 00-load-system-library.patch
+  * max-page-size.patch
+    + rebase
+
+-------------------------------------------------------------------

Old:
----
  v1.5.7-11.tar.gz
  zstd-jni-1.5.7-11.pom

New:
----
  no-lvm-linker.patch
  v1.5.7-16.tar.gz
  zstd-jni-1.5.7-16.pom

----------(New B)----------
  New:- Added patch:
  * no-lvm-linker.patch
    + Upstream CMakeList.txt specifies "-fuse-ld=lld", but we don't
----------(New E)----------

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

Other differences:
------------------
++++++ zstd-jni.spec ++++++
--- /var/tmp/diff_new_pack.JbSQXd/_old  2026-09-12 21:15:23.598582107 +0200
+++ /var/tmp/diff_new_pack.JbSQXd/_new  2026-09-12 21:15:23.599582149 +0200
@@ -17,7 +17,7 @@
 
 
 %global ver 1.5.7
-%global rev 11
+%global rev 16
 %global uver %{ver}-%{rev}
 Name:           zstd-jni
 Version:        %{ver}.%{rev}
@@ -30,12 +30,14 @@
 Source1:        
https://repo1.maven.org/maven2/com/github/luben/%{name}/%{uver}/%{name}-%{uver}.pom
 Source100:      %{name}-build.xml
 Patch0:         00-load-system-library.patch
-Patch1:         max-page-size.patch
+Patch1:         no-lvm-linker.patch
+Patch2:         max-page-size.patch
 BuildRequires:  ant
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  javapackages-local >= 6
+BuildRequires:  jetbrains-annotations
 
 %description
 JNI bindings for Zstd native library that provides fast and high compression
@@ -56,8 +58,9 @@
 %prep
 %setup -q -n %{name}-%{uver}
 %patch -P 0 -p1
-%ifarch ppc64le
 %patch -P 1 -p1
+%ifarch ppc64le
+%patch -P 2 -p1
 %endif
 cp %{SOURCE100} build.xml
 
@@ -74,6 +77,8 @@
        src/main/java/com/github/luben/zstd/util/Native.java
 
 %build
+mkdir -p lib
+build-jar-repository -s lib jetbrains-annotations
 ant jar javadoc
 
 %cmake

++++++ 00-load-system-library.patch ++++++
--- /var/tmp/diff_new_pack.JbSQXd/_old  2026-09-12 21:15:23.616582856 +0200
+++ /var/tmp/diff_new_pack.JbSQXd/_new  2026-09-12 21:15:23.624583189 +0200
@@ -1,7 +1,6 @@
-diff -up 
zstd-jni-1.5.4-2/src/main/java/com/github/luben/zstd/util/Native.java.p00 
zstd-jni-1.5.4-2/src/main/java/com/github/luben/zstd/util/Native.java
---- zstd-jni-1.5.4-2/src/main/java/com/github/luben/zstd/util/Native.java.p00  
2023-03-06 16:19:40.169173840 +0300
-+++ zstd-jni-1.5.4-2/src/main/java/com/github/luben/zstd/util/Native.java      
2023-03-06 16:46:47.400276199 +0300
-@@ -100,95 +100,11 @@ public enum Native {
+--- a/src/main/java/com/github/luben/zstd/util/Native.java
++++ b/src/main/java/com/github/luben/zstd/util/Native.java
+@@ -103,79 +103,11 @@ public enum Native {
          String resourceName = resourceName();
  
          String overridePath = System.getProperty(nativePathOverride);
@@ -13,9 +12,9 @@
 -            return;
 -        }
 -
--        // try to load the shared library directly from the JAR
+-        // try to load the shared library directly from the JAR or system path
 -        try {
--            loadLibrary(libname);
+-            loadLibrary(libnameShort);
 -            loaded.set(true);
 -            return;
 -        } catch (Throwable e) {
@@ -24,17 +23,8 @@
 -
 -        InputStream is = Native.class.getResourceAsStream(resourceName);
 -        if (is == null) {
--            // fallback to loading the zstd-jni from the system library path.
--            // It also covers loading on Android.
--            try {
--                loadLibrary(libnameShort);
--                loaded.set(true);
--                return;
--            } catch (UnsatisfiedLinkError e) {
--                UnsatisfiedLinkError err = new 
UnsatisfiedLinkError(e.getMessage() + "\n" + errorMsg);
--                err.setStackTrace(e.getStackTrace());
--                throw err;
--            }
+-            UnsatisfiedLinkError err = new UnsatisfiedLinkError("Failed to 
open resource " + resourceName + " as stream:\n" + errorMsg);
+-            throw err;
 -        }
 -        File tempLib = null;
 -        FileOutputStream out = null;
@@ -62,19 +52,12 @@
 -            try {
 -                loadLibraryFile(tempLib.getAbsolutePath());
 -            } catch (UnsatisfiedLinkError e) {
--                // fall-back to loading the zstd-jni from the system library 
path
--                try {
--                    loadLibrary(libnameShort);
--                } catch (UnsatisfiedLinkError e1) {
--                    // display error in case problem with loading from temp 
folder
--                    // and from system library path - concatenate both 
messages
--                    UnsatisfiedLinkError err = new UnsatisfiedLinkError(
--                            e.getMessage() + "\n" +
--                            e1.getMessage() + "\n"+
--                            errorMsg);
--                    err.setStackTrace(e1.getStackTrace());
--                    throw err;
--                }
+-                // display error in case problem with loading from temp folder
+-                UnsatisfiedLinkError err = new UnsatisfiedLinkError(
+-                        e.getMessage() + "\n" +
+-                        errorMsg);
+-                err.setStackTrace(e.getStackTrace());
+-                throw err;
 -            }
 -            loaded.set(true);
 -        } catch (IOException e) {

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.JbSQXd/_old  2026-09-12 21:15:23.648584187 +0200
+++ /var/tmp/diff_new_pack.JbSQXd/_new  2026-09-12 21:15:23.651584312 +0200
@@ -1,6 +1,6 @@
-mtime: 1782718058
-commit: 50ffab342ae85aab2313ccd183c9ab7b848b7a02bfb6fce922b646fb1c78cd13
+mtime: 1789061495
+commit: f33ffa00a8d1e515ab19ce04c847990ddacb24f260e02769b390582d274edd95
 url: https://src.opensuse.org/java-packages/zstd-jni
-revision: 50ffab342ae85aab2313ccd183c9ab7b848b7a02bfb6fce922b646fb1c78cd13
+revision: f33ffa00a8d1e515ab19ce04c847990ddacb24f260e02769b390582d274edd95
 projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-09-10 19:31:35.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ max-page-size.patch ++++++
--- /var/tmp/diff_new_pack.JbSQXd/_old  2026-09-12 21:15:23.775589469 +0200
+++ /var/tmp/diff_new_pack.JbSQXd/_new  2026-09-12 21:15:23.778589594 +0200
@@ -1,9 +1,9 @@
---- zstd-jni-1.5.7-11/CMakeLists.txt   2026-06-29 09:22:05.629578999 +0200
-+++ zstd-jni-1.5.7-11/CMakeLists.txt   2026-06-29 09:22:20.832112300 +0200
-@@ -15,4 +15,4 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -17,4 +17,4 @@ CHECK_C_COMPILER_FLAG(-Oz COMPILER_SUPPORTS_OZ)
  if(COMPILER_SUPPORTS_OZ)
      add_definitions("-Oz")
  endif()
--set (CMAKE_SHARED_LINKER_FLAGS "-Wl,-z,max-page-size=16384")
-+set (CMAKE_SHARED_LINKER_FLAGS "-Wl,-z,max-page-size=65536")
+-set (CMAKE_SHARED_LINKER_FLAGS 
"-Wl,-z,max-page-size=16384,-z,common-page-size=16384,-z,relro,-z,now")
++set (CMAKE_SHARED_LINKER_FLAGS 
"-Wl,-z,max-page-size=65536,-z,common-page-size=65536,-z,relro,-z,now")
 

++++++ no-lvm-linker.patch ++++++
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,4 +17,4 @@ CHECK_C_COMPILER_FLAG(-Oz COMPILER_SUPPORTS_OZ)
 if(COMPILER_SUPPORTS_OZ)
     add_definitions("-Oz")
 endif()
-set (CMAKE_SHARED_LINKER_FLAGS "-fuse-ld=lld 
-Wl,-z,max-page-size=16384,-z,common-page-size=16384,-z,relro,-z,now")
+set (CMAKE_SHARED_LINKER_FLAGS 
"-Wl,-z,max-page-size=16384,-z,common-page-size=16384,-z,relro,-z,now")

++++++ v1.5.7-11.tar.gz -> v1.5.7-16.tar.gz ++++++
/work/SRC/openSUSE:Factory/zstd-jni/v1.5.7-11.tar.gz 
/work/SRC/openSUSE:Factory/.zstd-jni.new.1265/v1.5.7-16.tar.gz differ: char 13, 
line 1

++++++ zstd-jni-1.5.7-11.pom -> zstd-jni-1.5.7-16.pom ++++++
--- /work/SRC/openSUSE:Factory/zstd-jni/zstd-jni-1.5.7-11.pom   2026-06-19 
17:23:35.218640440 +0200
+++ /work/SRC/openSUSE:Factory/.zstd-jni.new.1265/zstd-jni-1.5.7-16.pom 
2026-09-12 21:15:22.985556613 +0200
@@ -5,7 +5,7 @@
     <artifactId>zstd-jni</artifactId>
     <packaging>jar</packaging>
     <description>JNI bindings for Zstd native library that provides fast and 
high compression lossless algorithm for Java and all JVM 
languages.</description>
-    <version>1.5.7-11</version>
+    <version>1.5.7-16</version>
     <licenses>
         <license>
             <name>BSD 2-Clause License</name>
@@ -36,6 +36,12 @@
     </properties>
     <dependencies>
         <dependency>
+            <groupId>org.jetbrains</groupId>
+            <artifactId>annotations</artifactId>
+            <version>24.1.0</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
             <groupId>org.scalatest</groupId>
             <artifactId>scalatest_2.13</artifactId>
             <version>3.2.17</version>

++++++ zstd-jni-build.xml ++++++
--- /var/tmp/diff_new_pack.JbSQXd/_old  2026-09-12 21:15:23.840592172 +0200
+++ /var/tmp/diff_new_pack.JbSQXd/_new  2026-09-12 21:15:23.843592297 +0200
@@ -8,8 +8,8 @@
 
   <property name="project.artifactId" value="zstd-jni"/>
   <property name="project.groupId" value="com.github.luben"/>
-  <property name="project.version" value="1.5.7-11"/>
-  <property name="bundle.version" value="1.5.7.11"/>
+  <property name="project.version" value="1.5.7-16"/>
+  <property name="bundle.version" value="1.5.7.16"/>
 
   <property name="compiler.release" value="8"/>
   <property name="compiler.source" value="1.${compiler.release}"/>
@@ -23,6 +23,16 @@
   <property name="reporting.outputDirectory" value="${build.dir}/site"/>
 
   <!-- ====================================================================== 
-->
+  <!-- Defining classpaths                                                    
-->
+  <!-- ====================================================================== 
-->
+
+  <path id="build.classpath">
+    <fileset dir="lib">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+
+  <!-- ====================================================================== 
-->
   <!-- Cleaning up target                                                     
-->
   <!-- ====================================================================== 
-->
 
@@ -49,6 +59,7 @@
       <src>
         <pathelement location="${build.srcDir}"/>
       </src>
+      <classpath refid="build.classpath"/>
     </javac>
   </target>
 
@@ -76,7 +87,9 @@
              serialwarn="false"
              charset="ISO-8859-1"
              linksource="false"
-             breakiterator="false"/>
+             breakiterator="false">
+      <classpath refid="build.classpath"/>
+    </javadoc>
   </target>
 
   <!-- ====================================================================== 
-->

Reply via email to