2010-09-27 14:49:13 +01:00
|
|
|
{stdenv, pam, libcap}:
|
|
|
|
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-07-19 15:25:56 +01:00
|
|
|
name = "libcap-pam-${libcap.version}";
|
2010-09-27 14:49:13 +01:00
|
|
|
|
|
|
|
inherit (libcap) src;
|
|
|
|
|
|
|
|
buildInputs = [ libcap pam ];
|
|
|
|
|
|
|
|
preConfigure = "cd pam_cap";
|
|
|
|
|
|
|
|
makeFlags = "${libcap.makeFlags} PAM_CAP=yes";
|
|
|
|
|
|
|
|
postInstall = libcap.postinst name;
|
|
|
|
}
|