2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl, pam, openssl, db}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pam_ccreds-10";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.padl.com/download/${name}.tar.gz";
|
|
|
|
sha256 = "1h7zyg1b1h69civyvrj95w22dg0y7lgw3hq4gqkdcg35w1y76fhz";
|
|
|
|
};
|
|
|
|
patchPhase = ''
|
|
|
|
sed 's/-o root -g root//' -i Makefile.in
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ pam openssl db ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.padl.com/OSS/pam_ccreds.html";
|
|
|
|
description = "PAM module to locally authenticate using an enterprise identity when the network is unavailable";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|