mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
tacacsplus: disable libwrap
This commit is contained in:
parent
3fcbdcfc70
commit
bdce3dcf61
1 changed files with 14 additions and 5 deletions
|
@ -2,11 +2,13 @@
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
tcp_wrappers,
|
|
||||||
flex,
|
flex,
|
||||||
bison,
|
bison,
|
||||||
perl,
|
perl,
|
||||||
libnsl,
|
libnsl,
|
||||||
|
# --with-libwrap=yes is currently broken, TODO unbreak
|
||||||
|
withLibWrap ? false,
|
||||||
|
tcp_wrappers,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -22,10 +24,17 @@ stdenv.mkDerivation rec {
|
||||||
flex
|
flex
|
||||||
bison
|
bison
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
tcp_wrappers
|
[
|
||||||
perl
|
perl
|
||||||
libnsl
|
libnsl
|
||||||
|
]
|
||||||
|
++ lib.optionals withLibWrap [
|
||||||
|
tcp_wrappers
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags = lib.optionals (!withLibWrap) [
|
||||||
|
"--with-libwrap=no"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue