From 95df3ea176d480268874f6f5a1ba7c094c63de29 Mon Sep 17 00:00:00 2001 From: Ember 'n0emis' Keske Date: Wed, 9 Feb 2022 19:01:35 +0100 Subject: [PATCH] freeradius: 3.0.21 -> 3.0.25 https://freeradius.org/release_notes/?s=3.0.25 --- pkgs/servers/freeradius/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/servers/freeradius/default.nix b/pkgs/servers/freeradius/default.nix index 06ce536b18d1..a3cdec3fec8a 100644 --- a/pkgs/servers/freeradius/default.nix +++ b/pkgs/servers/freeradius/default.nix @@ -43,11 +43,11 @@ assert withRest -> curl != null && withJson; with lib; stdenv.mkDerivation rec { pname = "freeradius"; - version = "3.0.21"; + version = "3.0.25"; src = fetchurl { url = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${version}.tar.gz"; - sha256 = "1bij07angf6ll6bq8lccd4fx1a1clf7k13kh5vbryh6lf7a19y9b"; + sha256 = "SIOmi7PO5GAlNZqXwWkc5lXour/W3DwCHQDhCaL/TBA="; }; nativeBuildInputs = [ autoreconfHook ]; @@ -71,12 +71,6 @@ stdenv.mkDerivation rec { "--localstatedir=/var" ] ++ optional (!linkOpenssl) "--with-openssl=no"; - patches = lib.optional withRest (fetchpatch { - # Fix HTTP/2 in rest - url = "https://github.com/FreeRADIUS/freeradius-server/commit/6286520698a3cc4053b4d49eb0a61d9ba77632aa.patch"; - sha256 = "1ycvr3ql1mfkvzydnn4aiygnidicv2hgllppv37nb1p2pk02159g"; - }); - postPatch = '' substituteInPlace src/main/checkrad.in --replace "/usr/bin/finger" "${finger_bsd}/bin/finger" '';