pam: build with userdb support
This commit is contained in:
parent
4b0638394d
commit
8460769e88
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPackages, hostPlatform, fetchurl, fetchpatch, flex, cracklib }:
|
{ stdenv, buildPackages, hostPlatform, fetchurl, fetchpatch, flex, cracklib, db4 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "linux-pam-${version}";
|
name = "linux-pam-${version}";
|
||||||
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
nativeBuildInputs = [ flex ];
|
nativeBuildInputs = [ flex ];
|
||||||
|
|
||||||
buildInputs = [ cracklib ];
|
buildInputs = [ cracklib db4 ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -72,9 +72,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = false; # fails
|
doCheck = false; # fails
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://ftp.kernel.org/pub/linux/libs/pam/;
|
homepage = http://www.linux-pam.org/;
|
||||||
description = "Pluggable Authentication Modules, a flexible mechanism for authenticating user";
|
description = "Pluggable Authentication Modules, a flexible mechanism for authenticating user";
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
license = licenses.bsd3;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user