mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
libiec61850: 1.6.1 -> 1.6.2
Fixes https://github.com/NixOS/nixpkgs/issues/545309
Fixes CVE-2026-49035
Fixes CVE-2026-50039
Fixes CVE-2026-50032
Fixes CVE-2026-50103
https://github.com/mz-automation/libiec61850/releases/tag/v1.6.2
(cherry picked from commit 71987224cc)
This commit is contained in:
committed by
github-actions[bot]
parent
f6691b463c
commit
978e7c7caa
@@ -10,17 +10,22 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libiec61850";
|
||||
version = "1.6.1";
|
||||
version = "1.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mz-automation";
|
||||
repo = "libiec61850";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-9UPXuZkAxr3SSjPN3VZRr6Hsz0GyDVJLUZEM+zZruik=";
|
||||
hash = "sha256-KqgQxy/4vwFDkr9tVCVWDmbNuGivN6knf7rNHS+DTxc=";
|
||||
};
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
substituteInPlace src/CMakeLists.txt --replace-fail "-lrt" ""
|
||||
substituteInPlace hal/CMakeLists.txt --replace-fail "-lrt" ""
|
||||
'';
|
||||
|
||||
cmakeFlags = lib.optionals withTls [
|
||||
"-DCONFIG_USE_EXTERNAL_MBEDTLS_DYNLIB=ON"
|
||||
"-DCONFIG_EXTERNAL_MBEDTLS_DYNLIB_PATH=${mbedtls}/lib"
|
||||
|
||||
Reference in New Issue
Block a user