forked from mirrors/nixpkgs
Merge pull request #101543 from iblech/patch-21
This commit is contained in:
commit
6180ee5243
|
@ -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 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue