Merge pull request #194655 from rnhmjoj/libreswan

libreswan: 4.7 -> 4.8

authored by Michele Guerini Rocco and committed by GitHub 598f83eb 4204d2aa

+7 -5
+7 -5
pkgs/tools/networking/libreswan/default.nix
··· 30 , docbook_xml_dtd_412 31 , docbook_xsl 32 , findXMLCatalogs 33 }: 34 35 let ··· 43 44 stdenv.mkDerivation rec { 45 pname = "libreswan"; 46 - version = "4.7"; 47 48 src = fetchurl { 49 url = "https://download.libreswan.org/${pname}-${version}.tar.gz"; 50 - sha256 = "0i7wyfgkaq6kcfhh1yshb1v7q42n3zvdkhq10f3ks1h075xk7mnx"; 51 }; 52 53 strictDeps = true; ··· 77 -e 's|/bin/bash|${runtimeShell}|g' \ 78 -i initsystems/systemd/ipsec.service.in \ 79 programs/barf/barf.in \ 80 - programs/verify/verify.in 81 sed -e 's|\([[:blank:]]\)\(ip6\?tables\(-save\)\? -\)|\1${iptables}/bin/\2|' \ 82 - -i programs/verify/verify.in 83 84 # Prevent the makefile from trying to 85 # reload the systemd daemon or create tmpfiles ··· 92 93 # Fix python script to use the correct python 94 sed -e 's/^\(\W*\)installstartcheck()/\1sscmd = "ss"\n\0/' \ 95 - -i programs/verify/verify.in 96 97 # Replace wget with curl to save a dependency 98 curlArgs='-s --remote-name-all --output-dir' ··· 113 "UNITDIR=$(out)/etc/systemd/system/" 114 "TMPFILESDIR=$(out)/lib/tmpfiles.d/" 115 "LINUX_VARIANT=nixos" 116 ]; 117 118 # Hack to make install work
··· 30 , docbook_xml_dtd_412 31 , docbook_xsl 32 , findXMLCatalogs 33 + , dns-root-data 34 }: 35 36 let ··· 44 45 stdenv.mkDerivation rec { 46 pname = "libreswan"; 47 + version = "4.8"; 48 49 src = fetchurl { 50 url = "https://download.libreswan.org/${pname}-${version}.tar.gz"; 51 + sha256 = "sha256-gEy5EX1/tBGYE7FVrJF+NFZY41ehOBim9t/Oikch4gs="; 52 }; 53 54 strictDeps = true; ··· 78 -e 's|/bin/bash|${runtimeShell}|g' \ 79 -i initsystems/systemd/ipsec.service.in \ 80 programs/barf/barf.in \ 81 + programs/verify.linux/verify.in 82 sed -e 's|\([[:blank:]]\)\(ip6\?tables\(-save\)\? -\)|\1${iptables}/bin/\2|' \ 83 + -i programs/verify.linux/verify.in 84 85 # Prevent the makefile from trying to 86 # reload the systemd daemon or create tmpfiles ··· 93 94 # Fix python script to use the correct python 95 sed -e 's/^\(\W*\)installstartcheck()/\1sscmd = "ss"\n\0/' \ 96 + -i programs/verify.linux/verify.in 97 98 # Replace wget with curl to save a dependency 99 curlArgs='-s --remote-name-all --output-dir' ··· 114 "UNITDIR=$(out)/etc/systemd/system/" 115 "TMPFILESDIR=$(out)/lib/tmpfiles.d/" 116 "LINUX_VARIANT=nixos" 117 + "DEFAULT_DNSSEC_ROOTKEY_FILE=${dns-root-data}/root.key" 118 ]; 119 120 # Hack to make install work