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