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