mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
3948891112
This functionality was initially introduced in
3644f9124a
to fix
https://github.com/NixOS/nixos/pull/52, but was broken in the update from 0.9.5
to 0.10.3. The original patch does not cleanly apply due to reformatting and
parameter changes upstream, but the adaptations of the patch to the new version
are not too severe.
28 lines
743 B
Nix
28 lines
743 B
Nix
{ stdenv, fetchurl, pam, openssl, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pam_ssh_agent_auth-0.10.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/pamsshagentauth/${name}.tar.bz2";
|
|
sha256 = "0qx78x7nvqdscyp04hfijl4rgyf64xy03prr28hipvgasrcd6lrw";
|
|
};
|
|
|
|
patches =
|
|
[ # Allow multiple colon-separated authorized keys files to be
|
|
# specified in the file= option.
|
|
./multiple-key-files.patch
|
|
];
|
|
|
|
buildInputs = [ pam openssl perl ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
homepage = http://pamsshagentauth.sourceforge.net/;
|
|
description = "PAM module for authentication through the SSH agent";
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|