freeradius: 3.0.21 -> 3.0.25
https://freeradius.org/release_notes/?s=3.0.25
This commit is contained in:
parent
978bcc6012
commit
95df3ea176
|
@ -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"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue