libreswan: 4.12 -> 4.15

https://download.libreswan.org/CHANGES

fixes CVE-2024-2357, CVE-2024-3652
This commit is contained in:
Leona Maroni 2024-04-19 10:09:30 +02:00
parent 3610489cd2
commit eee733a88d
No known key found for this signature in database
GPG Key ID: D5B08ADFC75E3605

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, nixosTests
, pkg-config
, systemd
@ -46,11 +45,11 @@ in
stdenv.mkDerivation rec {
pname = "libreswan";
version = "4.12";
version = "4.15";
src = fetchurl {
url = "https://download.libreswan.org/${pname}-${version}.tar.gz";
hash = "sha256-roWr5BX3vs9LaiuYl+FxLyflqsnDXfvd28zgrX39mfc=";
hash = "sha256-/mDX2zmMjuIlBV2zZeyWiiSuvLxcNQYRMfz/2tG+BK8=";
};
strictDeps = true;
@ -115,14 +114,6 @@ stdenv.mkDerivation rec {
-i configs/Makefile
'';
patches = [
(fetchpatch {
name = "ignoring-return-value.patch";
url = "https://github.com/libreswan/libreswan/commit/ba5bad09f55959872022fa506d5ac06eafe3a314.diff";
hash = "sha256-xJ8rZWoRtJixamGY8sjOS+63Lw3RX7620HlRWYfvSxc=";
})
];
makeFlags = [
"PREFIX=$(out)"
"INITSYSTEM=systemd"