2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, openssl, autoreconfHook, nettle }:
|
2017-09-22 13:08:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-07-29 20:17:04 +00:00
|
|
|
pname = "radsecproxy";
|
2020-08-11 12:18:35 +00:00
|
|
|
version = "1.8.2";
|
2017-09-22 13:08:19 +00:00
|
|
|
|
2019-07-29 20:17:04 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-08-11 12:18:35 +00:00
|
|
|
sha256 = "1g7q128cip1dac9jad58rd96afx4xz7x7vsiv0af8iyq2ivqvs2m";
|
2017-09-22 13:08:19 +00:00
|
|
|
};
|
|
|
|
|
2019-07-29 20:17:04 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ openssl nettle ];
|
2017-09-22 13:08:19 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-ssl=${openssl.dev}"
|
|
|
|
"--sysconfdir=/etc"
|
|
|
|
"--localstatedir=/var"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://software.nordu.net/radsecproxy/";
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "A generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports";
|
2017-09-23 13:37:28 +00:00
|
|
|
license = licenses.bsd3;
|
2017-09-22 13:08:19 +00:00
|
|
|
maintainers = with maintainers; [ sargon ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|