pam_u2f: 1.0.8 -> 1.1.0 (#100046)
This release switches to libfido2 and libcrypto instead of libu2f-host and libu2f-server.
This commit is contained in:
parent
3a520ad45c
commit
aba04eb8af
|
@ -1,19 +1,16 @@
|
|||
{ stdenv, fetchurl, pkgconfig, libu2f-host, libu2f-server, pam }:
|
||||
{ stdenv, fetchurl, pkgconfig, libfido2, pam, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pam_u2f";
|
||||
version = "1.0.8";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://developers.yubico.com/pam-u2f/Releases/${pname}-${version}.tar.gz";
|
||||
sha256 = "16awjzx348imjz141fzzldy00qpdmw2g37rnq430w5mnzak078jj";
|
||||
sha256 = "01fwbrfnjkv93vvqm54jywdcxa1p7d4r32azicwnx75nxfbbzhqd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libu2f-host libu2f-server pam ];
|
||||
|
||||
# Fix the broken include in 1.0.1
|
||||
CFLAGS = "-I${libu2f-host}/include/u2f-host";
|
||||
buildInputs = [ libfido2 pam openssl ];
|
||||
|
||||
preConfigure = ''
|
||||
configureFlagsArray+=("--with-pam-dir=$out/lib/security")
|
||||
|
|
Loading…
Reference in a new issue