3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/pam_ccreds/default.nix

23 lines
615 B
Nix
Raw Normal View History

{stdenv, fetchurl, pam, openssl, db}:
stdenv.mkDerivation {
name = "pam_ccreds-10";
src = fetchurl {
url = "http://www.padl.com/download/pam_ccreds.tgz";
sha256 = "1h7zyg1b1h69civyvrj95w22dg0y7lgw3hq4gqkdcg35w1y76fhz";
};
patchPhase = ''
sed 's/-o root -g root//' -i Makefile.in
'';
2018-08-30 20:40:20 +01:00
buildInputs = [ pam openssl db ];
meta = with stdenv.lib; {
homepage = http://www.padl.com/OSS/pam_ccreds.html;
description = "PAM module to locally authenticate using an enterprise identity when the network is unavailable";
2018-08-30 20:40:20 +01:00
license = licenses.gpl2;
platforms = platforms.linux;
};
}