Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package opennlp for openSUSE:Factory checked in at 2026-11-19 17:20:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opennlp (Old) and /work/SRC/openSUSE:Factory/.opennlp.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opennlp" Thu Nov 19 17:20:13 2026 rev:7 rq:1398725 version:2.5.13 Changes: -------- --- /work/SRC/openSUSE:Factory/opennlp/opennlp.changes 2026-07-24 22:07:58.811235070 +0200 +++ /work/SRC/openSUSE:Factory/.opennlp.new.1251/opennlp.changes 2026-11-19 17:20:14.460672975 +0100 @@ -1,0 +2,70 @@ +Thu Nov 19 13:19:21 UTC 2026 - Fridrich Strba <[email protected]> + +- Upgrade to version 2.5.13 + * Security fixes: + + ReDoS in coordinate name finder regex patterns + (CVE-2026-120404) + + Untrusted Java deserialization in SvmDoccatModel + (bsc#1270446, CVE-2026-43825, OPENNLP-1823) + + ReDoS / stack exhaustion in RegexNameFinderFactory built-in + EMAIL and URL patterns (bsc#1280293, CVE-2026-82617, + OPENNLP-1922) + + Arbitrary Class Instantiation via XML Feature Generator + Descriptor and Format Name (bsc#1272520, CVE-2026-63317, + OPENNLP-1890, OPENNLP-1891) + * Changes of version 2.5.13 + + Thread safety: TokenizerME no longer changes the shared + WhitespaceTokenizer.INSTANCE, and MorfologikTagDictionary, + AbstractModel and AbstractClassPathModelFinder.findModels can + be shared between threads. + + Deep learning: SentenceVectorsDL runs on a GPU, + DocumentCategorizerDL computes a numerically stable softmax, + invalid document split options are rejected instead of looping + forever, and close() can be called more than once. + + Model downloads: DownloadUtil uses a local copy of the model + index when the model host cannot be reached and verifies cached + models against their SHA-512 checksum. + + Format readers and data: the AD readers no longer hang at end + of file or fail on the FlorestaVirgem corpus, the bundled + Spanish head rules match tags with escaped dots, and + MarkableFileInputStream and the Leipzig reader release their + file handles. + + BaseModel loads on Android, and StringUtil.toUpperCase maps + supplementary-plane letters. + + Release artifacts: the binary distribution LICENSE covers all + bundled third-party code. + * Summary of changes since 1.9.5: + + Changes of 2.5.x: + - Thread-safe implementations of key components (sentence + detector, tokenizer, POS-tagger, probabilistic ME classes) + - Classpath loading of pre-trained models (opennlp-models) + - Support for Roberta-based models + - Support for custom abbreviation dictionaries + - Verification of cached models against SHA-512 checksums + - Dropped Brat Annotator component to sandbox (removes Jackson + and Jersey dependencies) + + Changes of 2.4.0: + - New module to load pre-trained OpenNLP models from JARs on + the classpath + + Changes of 2.3.x: + - Raise minimum Java version to 17 + - Split opennlp-dl into CPU and GPU variants + - Address memory issue with String interning in large + dictionaries (OPENNLP-421) + - Abbreviation dictionaries for multiple languages + + Changes of 2.2.0: + - Introduce SLF4J logging to replace System.out + - ONNX Runtime support for sentence-transformers + + Changes of 2.1.x: + - Optional GPU inference in ONNX Runtime configuration + - Unlimited text length in document classification with ONNX + + Changes of 2.0.0: + - Raise minimum Java requirement to Java 11 + - Support model inference using ONNX Runtime (opennlp-dl) + - Download pre-trained models from within Apache OpenNLP + - Support for MASC corpus format +- Removed patch: + * opennlp-CVE-2026-63317.patch + + not needed with this version + +------------------------------------------------------------------- Old: ---- apache-opennlp-1.9.5-src.tar.gz opennlp-CVE-2026-63317.patch New: ---- apache-opennlp-2.5.13-src.tar.gz ----------(Old B)---------- Old:- Removed patch: * opennlp-CVE-2026-63317.patch + not needed with this version ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opennlp.spec ++++++ --- /var/tmp/diff_new_pack.T3L2BN/_old 2026-11-19 17:20:16.109742849 +0100 +++ /var/tmp/diff_new_pack.T3L2BN/_new 2026-11-19 17:20:16.112742977 +0100 @@ -17,23 +17,21 @@ Name: opennlp -Version: 1.9.5 +Version: 2.5.13 Release: 0 Summary: A machine learning based toolkit for the processing of natural language text License: Apache-2.0 +Group: Development/Libraries/Java URL: https://opennlp.apache.org/ Source0: https://archive.apache.org/dist/opennlp/%{name}-%{version}/apache-%{name}-%{version}-src.tar.gz -Patch0: opennlp-CVE-2026-63317.patch BuildRequires: fdupes -BuildRequires: java-devel >= 1.8 +BuildRequires: java-devel >= 17 BuildRequires: maven-local -BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.uima:uimaj-core) BuildRequires: mvn(org.apache:apache:pom:) BuildRequires: mvn(org.carrot2:morfologik-stemming) BuildRequires: mvn(org.carrot2:morfologik-tools) -BuildRequires: mvn(org.osgi:osgi.cmpn) -BuildRequires: mvn(org.osgi:osgi.core) +BuildRequires: mvn(org.slf4j:slf4j-api) BuildArch: noarch %description @@ -48,26 +46,28 @@ %package tools Summary: Apache OpenNLP Tools -Provides: %{name}-maxent = %{version} -Obsoletes: %{name}-maxent < %{version} +Group: Development/Libraries/Java %description tools This package provides Apache OpenNLP Tools. %package morfologik-addon Summary: Apache OpenNLP Morfologik Addon +Group: Development/Libraries/Java %description morfologik-addon This package provides Apache OpenNLP Morfologik Addon. %package uima Summary: Apache OpenNLP UIMA Annotators +Group: Development/Libraries/Java %description uima This package provides Apache OpenNLP UIMA Annotators. %package javadoc Summary: Javadoc for %{name} +Group: Documentation/HTML %description javadoc This package contains javadoc for %{name}. @@ -78,39 +78,36 @@ find . -name '*.jar' -print -delete find . -name '*.bat' -print -delete find . -name '*.class' -print -delete -# Patches -%patch -P 0 -p1 - -# use latest OSGi implementation -%pom_change_dep -r :org.osgi.core org.osgi:osgi.core -%pom_change_dep -r :org.osgi.compendium org.osgi:osgi.cmpn %pom_remove_plugin -r :apache-rat-plugin %pom_remove_plugin -r :maven-dependency-plugin %pom_remove_plugin -r :maven-eclipse-plugin -%pom_remove_plugin -r :maven-source-plugin +%pom_remove_plugin -r :license-maven-plugin %pom_remove_plugin -r :maven-javadoc-plugin %pom_remove_plugin -r :maven-enforcer-plugin %pom_remove_plugin -r :forbiddenapis %pom_remove_plugin -r :maven-checkstyle-plugin +%pom_remove_plugin -r :maven-failsafe-plugin %pom_xpath_set pom:addClasspath false opennlp-tools -%pom_disable_module opennlp-brat-annotator +%pom_disable_module opennlp-dl +%pom_disable_module opennlp-dl-gpu %pom_disable_module opennlp-distr %pom_disable_module opennlp-docs +%pom_disable_module opennlp-tools-models %build -%{mvn_build} -f -j -s +%{mvn_build} -f -s %install %mvn_install %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles-%{name} -%doc KEYS README.md +%doc README.md %license LICENSE NOTICE %files tools -f .mfiles-%{name}-tools @@ -120,3 +117,6 @@ %files uima -f .mfiles-%{name}-uima +%files javadoc -f .mfiles-javadoc +%license LICENSE NOTICE + ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.T3L2BN/_old 2026-11-19 17:20:16.197746578 +0100 +++ /var/tmp/diff_new_pack.T3L2BN/_new 2026-11-19 17:20:16.204746875 +0100 @@ -1,6 +1,6 @@ -mtime: 1784904848 -commit: 4f250b3ecad70439da69846bd12f01f4788cac2c612da6ccb562dc74d7c5e8b3 +mtime: 1795095790 +commit: 4f8c6682cf7632f304b76b0a2e31e6c4881a3b64f87042da312031b059d61cbc url: https://src.opensuse.org/java-packages/opennlp -revision: 4f250b3ecad70439da69846bd12f01f4788cac2c612da6ccb562dc74d7c5e8b3 +revision: 4f8c6682cf7632f304b76b0a2e31e6c4881a3b64f87042da312031b059d61cbc projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj ++++++ apache-opennlp-1.9.5-src.tar.gz -> apache-opennlp-2.5.13-src.tar.gz ++++++ ++++ 215973 lines of diff (skipped) ++++++ 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-11-19 14:43:10.000000000 +0100 @@ -0,0 +1 @@ +.osc
