2010-08-06 09:50:58 +01:00
|
|
|
{stdenv, fetchurl, pam, openssl, db}:
|
|
|
|
|
2019-11-16 00:41:23 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2010-08-06 09:50:58 +01: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 09:50:58 +01:00
|
|
|
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; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.padl.com/OSS/pam_ccreds.html";
|
2013-10-06 10:49:53 +01:00
|
|
|
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;
|
2010-08-06 09:50:58 +01:00
|
|
|
};
|
|
|
|
}
|