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