Merge pull request #51999 from r-ryantm/auto-update/stunnel

stunnel: 5.49 -> 5.50
This commit is contained in:
Jörg Thalheim 2018-12-14 08:20:26 +00:00 committed by GitHub
commit a29d0ca423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "stunnel-${version}";
version = "5.49";
version = "5.50";
src = fetchurl {
url = "https://www.stunnel.org/downloads/${name}.tar.gz";
sha256 = "0plmdnwmhjjganhprsw9a8w3h5w43hyirpizy8cmq5w278hl2rix";
sha256 = "0j811iakljjxw39qchmqf235jdkwixb0i4xxjyi55f08558947cm";
# please use the contents of "https://www.stunnel.org/downloads/${name}.tar.gz.sha256",
# not the output of `nix-prefetch-url`
};
@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
"--localstatedir=/var"
];
postInstall = ''
# remove legacy compatibility-wrapper that would require perl
rm $out/bin/stunnel3
'';
installFlags = [
"sysconfdir=\${out}/etc"
"localstatedir=\${TMPDIR}"