nixpkgs/pkgs/os-specific/linux/pam_ssh_agent_auth/default.nix
Alexander Kirchhoff 3948891112 pam_ssh_agent_auth: Re-allow multiple authorized keys files
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.
2017-03-03 01:11:53 -08:00

27 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;
};
}