mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
tika: apply patch for CVE-2025-54988
https://www.openwall.com/lists/oss-security/2025/08/20/3
(cherry picked from commit f707d8b65e)
This commit is contained in:
committed by
github-actions[bot]
parent
3261432fe3
commit
dfbd1caeca
@@ -5,6 +5,7 @@
|
|||||||
jdk17,
|
jdk17,
|
||||||
jre17_minimal,
|
jre17_minimal,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
mvnDepsHash ? null,
|
mvnDepsHash ? null,
|
||||||
enableGui ? true,
|
enableGui ? true,
|
||||||
@@ -49,6 +50,14 @@ maven.buildMavenPackage rec {
|
|||||||
hash = "sha256-nuiE+MWJNA4PLprAC0vDBadk34TFsVEDBcCZct1XRxo=";
|
hash = "sha256-nuiE+MWJNA4PLprAC0vDBadk34TFsVEDBcCZct1XRxo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2025-54988.patch";
|
||||||
|
url = "https://github.com/apache/tika/commit/bfee6d5569fe9197c4ea947a96e212825184ca33.patch";
|
||||||
|
hash = "sha256-LHM2SafZ85f53mWWSbA4ZQ/QSiDeiwNnzAbLGqGQqPM=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildOffline = true;
|
buildOffline = true;
|
||||||
|
|
||||||
manualMvnArtifacts = [
|
manualMvnArtifacts = [
|
||||||
|
|||||||
Reference in New Issue
Block a user