2021-01-11 07:54:33 +00:00
|
|
|
{lib, stdenv, fetchurl, pam, openssl, db}:
|
2010-08-06 08:50:58 +00:00
|
|
|
|
2019-11-16 00:41:23 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2010-08-06 08:50:58 +00:00
|
|
|
name = "pam_ccreds-10";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-11-16 00:41:23 +00:00
|
|
|
url = "https://www.padl.com/download/${name}.tar.gz";
|
2010-08-06 08:50:58 +00:00
|
|
|
sha256 = "1h7zyg1b1h69civyvrj95w22dg0y7lgw3hq4gqkdcg35w1y76fhz";
|
|
|
|
};
|
|
|
|
patchPhase = ''
|
|
|
|
sed 's/-o root -g root//' -i Makefile.in
|
|
|
|
'';
|
|
|
|
|
2018-08-30 19:40:20 +00:00
|
|
|
buildInputs = [ pam openssl db ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.padl.com/OSS/pam_ccreds.html";
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "PAM module to locally authenticate using an enterprise identity when the network is unavailable";
|
2018-08-30 19:40:20 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2010-08-06 08:50:58 +00:00
|
|
|
};
|
|
|
|
}
|