_389-ds-base: 3.1.3 -> 3.3.0 (#537507)

This commit is contained in:
Jo
2026-08-07 14:04:10 +00:00
committed by GitHub

View File

@@ -41,29 +41,17 @@
stdenv.mkDerivation (finalAttrs: {
pname = "389-ds-base";
version = "3.1.3";
version = "3.3.0";
src = fetchFromGitHub {
owner = "389ds";
repo = "389-ds-base";
rev = "389-ds-base-${finalAttrs.version}";
hash = "sha256-hRTK9xBu8v8+SGa/3IB8Alh/aGUiRRn2LmYOvXy0Yd4=";
hash = "sha256-N/+fTTgkqs25ToR/OH9BaBHxheVDZWR4RANFtC71rBg=";
};
patches = [
(fetchpatch {
# https://github.com/389ds/389-ds-base/pull/6930
name = "389-ds-base-rustc-1_89.patch";
url = "https://github.com/389ds/389-ds-base/commit/1701419551c246e9dc21778b118220eeb2258125.patch";
hash = "sha256-trzY/fDH3rs66DWbWI+PY46tIC9ShuVqspMHqEEKZYA=";
})
./0001-remove-hard-coded-vendor-paths.patch
(fetchpatch {
# https://github.com/389ds/389-ds-base/security/advisories/GHSA-4qwg-c5j2-q4hp
name = "CVE-2025-14905.patch";
url = "https://github.com/389ds/389-ds-base/commit/2e424110def2e3998f6045e136fb0d43f47b7f5a.patch";
hash = "sha256-ItxG0bnuNPWLClL677rChTDvDWXxJ2L6ygx4VY2v80w=";
})
];
cargoRoot = "src";
@@ -71,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) src cargoRoot;
name = "389-ds-base-${finalAttrs.version}";
hash = "sha256-pNzMQjeBpmzFg6oWCxhLDmKGUKIW6jGmZQWai5Yunjc=";
hash = "sha256-1qCH2Onb69Jcqqs3JfDJslavzMrHO6//OtYtDq2iCgY=";
};
nativeBuildInputs = [