summary refs log tree commit diff
path: root/pkgs/os-specific/linux/pam
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2018-04-16 15:11:01 +0300
committerNikolay Amiantov <ab@fmap.me>2018-04-26 13:56:17 +0300
commit8460769e88eb2807ecfc89ffc67ed9857a2ebe4e (patch)
treea4845ebe6bc22b7c1cd40b038cdf0888deb62b06 /pkgs/os-specific/linux/pam
parent4b0638394d9fb0c4ce505b1187cc4ff3c5f54a10 (diff)
downloadnixpkgs-8460769e88eb2807ecfc89ffc67ed9857a2ebe4e.tar
nixpkgs-8460769e88eb2807ecfc89ffc67ed9857a2ebe4e.tar.gz
nixpkgs-8460769e88eb2807ecfc89ffc67ed9857a2ebe4e.tar.bz2
nixpkgs-8460769e88eb2807ecfc89ffc67ed9857a2ebe4e.tar.lz
nixpkgs-8460769e88eb2807ecfc89ffc67ed9857a2ebe4e.tar.xz
nixpkgs-8460769e88eb2807ecfc89ffc67ed9857a2ebe4e.tar.zst
nixpkgs-8460769e88eb2807ecfc89ffc67ed9857a2ebe4e.zip
pam: build with userdb support
Diffstat (limited to 'pkgs/os-specific/linux/pam')
-rw-r--r--pkgs/os-specific/linux/pam/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/pam/default.nix b/pkgs/os-specific/linux/pam/default.nix
index 1d380063f88..1db1a493ae2 100644
--- a/pkgs/os-specific/linux/pam/default.nix
+++ b/pkgs/os-specific/linux/pam/default.nix
@@ -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;
   };
 }