fetchmail_7: unstable-2022-05-26 -> 7.0.0-alpha11

Fixes CVE-2025-61962.
This commit is contained in:
Thomas Gerbet
2025-10-04 17:39:16 +02:00
parent 49314339f5
commit 3886232a1c
+15 -9
View File
@@ -1,32 +1,38 @@
{
lib,
stdenv,
pkgs,
fetchFromGitLab,
openssl,
python3,
autoreconfHook,
pkg-config,
bison,
flex,
}:
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "fetchmail";
version = "unstable-2022-05-26";
version = "7.0.0-alpha11";
src = pkgs.fetchFromGitLab {
src = fetchFromGitLab {
owner = "fetchmail";
repo = "fetchmail";
rev = "30b368fb8660d8fec08be1cdf2606c160b4bcb80";
tag = finalAttrs.version;
hash = "sha256-83D2YlFCODK2YD+oLICdim2NtNkkJU67S3YLi8Q6ga8=";
};
buildInputs = with pkgs; [
buildInputs = [
openssl
python3
];
nativeBuildInputs = with pkgs; [
nativeBuildInputs = [
autoreconfHook
pkg-config
bison
flex
];
configureFlags = [ "--with-ssl=${pkgs.openssl.dev}" ];
configureFlags = [ "--with-ssl=${openssl.dev}" ];
postInstall = ''
cp -a contrib/. $out/share/fetchmail-contrib
@@ -46,4 +52,4 @@ stdenv.mkDerivation {
platforms = platforms.unix;
license = licenses.gpl2Plus;
};
}
})