3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #101543 from iblech/patch-21

This commit is contained in:
Sandro 2020-12-25 13:02:17 +01:00 committed by GitHub
commit 6180ee5243
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,10 @@ stdenv.mkDerivation rec {
"-Wno-error=format-truncation" "-Wno-error=format-truncation"
"-Wno-error=pointer-compare" "-Wno-error=pointer-compare"
"-Wno-error=stringop-truncation" "-Wno-error=stringop-truncation"
# The following flag allows libreswan v3.32 to work with NSS 3.22, see
# https://github.com/libreswan/libreswan/issues/334.
# This flag should not be needed for libreswan v3.33 (which is not yet released).
"-DNSS_PKCS11_2_0_COMPAT=1"
]; ];
nativeBuildInputs = [ makeWrapper pkgconfig ]; nativeBuildInputs = [ makeWrapper pkgconfig ];
@ -82,7 +86,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://libreswan.org"; homepage = "https://libreswan.org";
description = "A free software implementation of the VPN protocol based on IPSec and the Internet Key Exchange"; description = "A free software implementation of the VPN protocol based on IPSec and the Internet Key Exchange";
platforms = platforms.linux ++ platforms.darwin ++ platforms.freebsd; platforms = platforms.linux ++ platforms.freebsd;
license = licenses.gpl2; license = licenses.gpl2;
maintainers = [ maintainers.afranchuk ]; maintainers = [ maintainers.afranchuk ];
}; };