freeradius: 3.0.11 -> 3.0.12
This commit is contained in:
parent
ceea7adfbb
commit
6821a038b7
@ -2,9 +2,9 @@
|
||||
, openssl
|
||||
, linkOpenssl? true
|
||||
, openldap
|
||||
, withLdap ? false
|
||||
, withLdap ? true
|
||||
, sqlite
|
||||
, withSqlite ? false
|
||||
, withSqlite ? true
|
||||
, libpcap
|
||||
, withPcap ? true
|
||||
, libcap
|
||||
@ -40,9 +40,16 @@ assert withCollectd -> collectd != null;
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freeradius-${version}";
|
||||
version = "3.0.11";
|
||||
version = "3.0.12";
|
||||
|
||||
buildInputs = [ autoreconfHook openssl talloc finger_bsd perl ]
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${version}.tar.gz";
|
||||
sha256 = "182xnb9pdsivlyfm471l90m37q9i04h7jadhkgm0ivvzrzpzcnja";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
buildInputs = [ openssl talloc finger_bsd perl ]
|
||||
++ optional withLdap openldap
|
||||
++ optional withSqlite sqlite
|
||||
++ optional withPcap libpcap
|
||||
@ -54,8 +61,6 @@ stdenv.mkDerivation rec {
|
||||
++ optional withYubikey libyubikey
|
||||
++ optional withCollectd collectd;
|
||||
|
||||
# NOTE: are the --with-{lib}-lib-dir and --with-{lib}-include-dir necessary with buildInputs ?
|
||||
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
@ -70,11 +75,6 @@ stdenv.mkDerivation rec {
|
||||
"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";
|
||||
|
Loading…
Reference in New Issue
Block a user