mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #13877 from sheenobu/freeradius/init
freeradius: init at 3.0.11
This commit is contained in:
commit
1c9b2ccdec
39
pkgs/servers/freeradius/default.nix
Normal file
39
pkgs/servers/freeradius/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, talloc, openssl ? null }:
|
||||
|
||||
## TODO: include ldap optionally
|
||||
## TODO: include sqlite optionally
|
||||
## TODO: include mysql optionally
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freeradius-${version}";
|
||||
version = "3.0.11";
|
||||
|
||||
buildInputs = [
|
||||
autoreconfHook
|
||||
talloc
|
||||
openssl
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
];
|
||||
|
||||
installFlags = [
|
||||
"sysconfdir=\${out}/etc"
|
||||
"localstatedir=\${TMPDIR}"
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${version}.tar.gz";
|
||||
sha256 = "0naxw9b060rbp4409904j6nr2zwl6wbjrbq1839xrwhmaf8p4yxr";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://freeradius.org/;
|
||||
description = "A modular, high performance free RADIUS suite";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -9639,6 +9639,8 @@ let
|
||||
|
||||
freepops = callPackage ../servers/mail/freepops { };
|
||||
|
||||
freeradius = callPackage ../servers/freeradius { };
|
||||
|
||||
freeswitch = callPackage ../servers/sip/freeswitch { };
|
||||
|
||||
gatling = callPackage ../servers/http/gatling { };
|
||||
|
Loading…
Reference in New Issue
Block a user