2006-12-09 00:53:07 +01:00
|
|
|
{stdenv, fetchurl, pam}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-02-18 12:40:32 +01:00
|
|
|
name = "pam_login-3.35";
|
2006-12-09 00:53:07 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-02-18 12:40:32 +01:00
|
|
|
url = ftp://ftp.suse.com/pub/people/kukuk/pam/pam_login/pam_login-3.35.tar.bz2;
|
|
|
|
sha256 = "1w2hpwjhmwjhf8rg789xpl0hibahqlr3ccivfy3m4kgrm5gf04kv";
|
2006-12-09 00:53:07 +01:00
|
|
|
};
|
|
|
|
|
2010-04-27 11:43:26 +02:00
|
|
|
patches = [ ./sys-stat-h.patch ];
|
|
|
|
|
2009-12-26 12:18:59 +01:00
|
|
|
# To overcome a gcc 4.4 warning:
|
|
|
|
# "#ident is a deprecated GCC extension"
|
2010-04-28 14:37:06 +02:00
|
|
|
postPatch = ''
|
2009-12-26 12:18:59 +01:00
|
|
|
sed -i s/-Werror// configure
|
|
|
|
'';
|
|
|
|
|
2006-12-09 00:53:07 +01:00
|
|
|
buildInputs = [pam];
|
|
|
|
}
|