pam: build with userdb support

This commit is contained in:
Nikolay Amiantov 2018-04-16 15:11:01 +03:00
parent 4b0638394d
commit 8460769e88

View file

@ -1,4 +1,4 @@
{ stdenv, buildPackages, hostPlatform, fetchurl, fetchpatch, flex, cracklib }:
{ stdenv, buildPackages, hostPlatform, fetchurl, fetchpatch, flex, cracklib, db4 }:
stdenv.mkDerivation rec {
name = "linux-pam-${version}";
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ flex ];
buildInputs = [ cracklib ];
buildInputs = [ cracklib db4 ];
enableParallelBuilding = true;
@ -72,9 +72,10 @@ stdenv.mkDerivation rec {
doCheck = false; # fails
meta = {
homepage = http://ftp.kernel.org/pub/linux/libs/pam/;
meta = with stdenv.lib; {
homepage = http://www.linux-pam.org/;
description = "Pluggable Authentication Modules, a flexible mechanism for authenticating user";
platforms = stdenv.lib.platforms.linux;
platforms = platforms.linux;
license = licenses.bsd3;
};
}