diff --git a/pkgs/tools/networking/radsecproxy/default.nix b/pkgs/tools/networking/radsecproxy/default.nix new file mode 100644 index 000000000000..9b1890110bbf --- /dev/null +++ b/pkgs/tools/networking/radsecproxy/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchurl, openssl }: + +stdenv.mkDerivation rec { + + name = "radsecproxy-${version}"; + version = "1.6.9"; + + src = fetchurl { + url = "https://software.nordu.net/radsecproxy/radsecproxy-${version}.tar.xz"; + sha256 = "6f2c7030236c222782c9ac2c52778baa63540a1865b75a7a6d8c1280ce6ad816"; + }; + + buildInputs = [ openssl ]; + + configureFlags = [ + "--with-ssl=${openssl.dev}" + "--sysconfdir=/etc" + "--localstatedir=/var" + ]; + + meta = with stdenv.lib; { + homepage = https://software.nordu.net/radsecproxy/; + description = "A generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports."; + license = licenses.bsd; + maintainers = with maintainers; [ sargon ]; + platforms = with platforms; linux; + }; + +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 924a5e8d7e0d..49e128595eed 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4058,6 +4058,8 @@ with pkgs; radeon-profile = libsForQt5.callPackage ../tools/misc/radeon-profile { }; + radsecproxy = callPackage ../tools/networking/radsecproxy { }; + radvd = callPackage ../tools/networking/radvd { }; rainbowstream = pythonPackages.rainbowstream;