Merge pull request #88098 from mmilata/libreswan-3.32

libreswan: 3.31 -> 3.32
This commit is contained in:
Daniël de Kok 2020-06-21 14:49:32 +02:00 committed by GitHub
commit fd7f6062a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 10 deletions

View File

@ -5,9 +5,6 @@
}: }:
let let
optional = stdenv.lib.optional;
version = "3.31";
name = "libreswan-${version}";
binPath = stdenv.lib.makeBinPath [ binPath = stdenv.lib.makeBinPath [
bash iproute iptables procps coreutils gnused gawk nss.tools which python bash iproute iptables procps coreutils gnused gawk nss.tools which python
]; ];
@ -16,13 +13,13 @@ in
assert docs -> xmlto != null; assert docs -> xmlto != null;
assert stdenv.isLinux -> libselinux != null; assert stdenv.isLinux -> libselinux != null;
stdenv.mkDerivation { stdenv.mkDerivation rec {
inherit name; pname = "libreswan";
inherit version; version = "3.32";
src = fetchurl { src = fetchurl {
url = "https://download.libreswan.org/${name}.tar.gz"; url = "https://download.libreswan.org/${pname}-${version}.tar.gz";
sha256 = "1wxqsv11nqgfj5and5xzfgh6ayqvl47midcghd5ryynh60mp7naa"; sha256 = "0bj3g6qwd3ir3gk6hdl9npy3k44shf56vcgjahn30qpmx3z5fsr3";
}; };
# These flags were added to compile v3.18. Try to lift them when updating. # These flags were added to compile v3.18. Try to lift them when updating.
@ -37,8 +34,8 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper pkgconfig ]; nativeBuildInputs = [ makeWrapper pkgconfig ];
buildInputs = [ bash iproute iptables systemd coreutils gnused gawk gmp unbound bison flex pam libevent buildInputs = [ bash iproute iptables systemd coreutils gnused gawk gmp unbound bison flex pam libevent
libcap_ng curl nspr nss python ldns ] libcap_ng curl nspr nss python ldns ]
++ optional docs xmlto ++ stdenv.lib.optional docs xmlto
++ optional stdenv.isLinux libselinux; ++ stdenv.lib.optional stdenv.isLinux libselinux;
prePatch = '' prePatch = ''
# Correct bash path # Correct bash path