cadaver: fix build against newer versions of openssl

Apply patch from Arch Linux.

See https://hydra.nixos.org/build/33258957/nixlog/1/raw

+13 -4
+13 -4
pkgs/tools/networking/cadaver/default.nix
··· 1 - { stdenv, fetchurl, openssl }: 1 + { stdenv, fetchurl, fetchpatch, openssl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "cadaver-0.23.3"; ··· 8 8 sha256 = "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"; 9 9 }; 10 10 11 - buildInputs = [openssl]; 12 - configureFlags = ["--with-ssl"]; 11 + patches = [ 12 + (fetchpatch { 13 + url = https://projects.archlinux.org/svntogit/community.git/plain/trunk/disable-sslv2.patch?h=packages/cadaver; 14 + name = "disable-sslv2.patch"; 15 + sha256 = "1qx65hv584wdarks51yhd3y38g54affkphm5wz27xiz4nhmbssrr"; 16 + }) 17 + ]; 18 + 19 + configureFlags = "--with-ssl"; 20 + 21 + buildInputs = [ openssl ]; 13 22 14 23 meta = with stdenv.lib; { 15 - description = "A command-line WebDAV client for Unix"; 24 + description = "A command-line WebDAV client"; 16 25 homepage = http://www.webdav.org/cadaver; 17 26 maintainers = with maintainers; [ ianwookim ]; 18 27 license = licenses.gpl2;