Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

openvpn: fix pkcs11 helper

(cherry picked from commit acc3eec8da6427da2e879923db6efee8f765a685)

lassulus 0f7dead9 72649d3b

+8 -1
+8 -1
pkgs/tools/networking/openvpn/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig 2 , iproute, lzo, openssl, pam 3 , useSystemd ? stdenv.isLinux, systemd ? null, utillinux ? null 4 , pkcs11Support ? false, pkcs11helper ? null, ··· 32 ++ optionals stdenv.isLinux [ pam iproute ] 33 ++ optional useSystemd systemd 34 ++ optional pkcs11Support pkcs11helper; 35 36 configureFlags = optionals stdenv.isLinux [ 37 "--enable-iproute2"
··· 1 + { stdenv, fetchurl, fetchpatch, pkgconfig 2 , iproute, lzo, openssl, pam 3 , useSystemd ? stdenv.isLinux, systemd ? null, utillinux ? null 4 , pkcs11Support ? false, pkcs11helper ? null, ··· 32 ++ optionals stdenv.isLinux [ pam iproute ] 33 ++ optional useSystemd systemd 34 ++ optional pkcs11Support pkcs11helper; 35 + 36 + patches = [ 37 + ( fetchpatch { 38 + url = "https://sources.debian.org/data/main/o/openvpn/2.4.7-1/debian/patches/fix-pkcs11-helper-hang.patch"; 39 + sha256 = "0c8jzbfsmb0mm9f7kkjxac1hk8q6igm267s687vx3mdqs1wys6bm"; 40 + }) 41 + ]; 42 43 configureFlags = optionals stdenv.isLinux [ 44 "--enable-iproute2"