summary refs log tree commit diff
path: root/pkgs/servers/mail
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-08 15:08:17 +0100
committerFlorian Klink <flokli@flokli.de>2019-11-08 15:09:26 +0100
commit96588508bb91b457d823229291582a7df5e2dcd3 (patch)
treec9f52a7b18fe6b12f86b23fe80b3888ce00ecb9b /pkgs/servers/mail
parente349b6e0fe2f385fbbf765e025937a6da7d27e2b (diff)
downloadnixpkgs-96588508bb91b457d823229291582a7df5e2dcd3.tar
nixpkgs-96588508bb91b457d823229291582a7df5e2dcd3.tar.gz
nixpkgs-96588508bb91b457d823229291582a7df5e2dcd3.tar.bz2
nixpkgs-96588508bb91b457d823229291582a7df5e2dcd3.tar.lz
nixpkgs-96588508bb91b457d823229291582a7df5e2dcd3.tar.xz
nixpkgs-96588508bb91b457d823229291582a7df5e2dcd3.tar.zst
nixpkgs-96588508bb91b457d823229291582a7df5e2dcd3.zip
opensmtpd: 6.4.2p1 -> 6.6.1p1
The substitition in smtpd/parse.y isn't necessary anymore.
The hardcoded /usr/libexec/ has been replaced by a PATH_LIBEXEC #define,
which will be set properly by the build system.
Diffstat (limited to 'pkgs/servers/mail')
-rw-r--r--pkgs/servers/mail/opensmtpd/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/servers/mail/opensmtpd/default.nix b/pkgs/servers/mail/opensmtpd/default.nix
index fdc2b3fd2c4..5a768178ee7 100644
--- a/pkgs/servers/mail/opensmtpd/default.nix
+++ b/pkgs/servers/mail/opensmtpd/default.nix
@@ -4,14 +4,14 @@
 
 stdenv.mkDerivation rec {
   pname = "opensmtpd";
-  version = "6.4.2p1";
+  version = "6.6.1p1";
 
   nativeBuildInputs = [ autoconf automake libtool bison ];
   buildInputs = [ libasr libevent zlib libressl db pam ];
 
   src = fetchurl {
     url = "https://www.opensmtpd.org/archives/${pname}-${version}.tar.gz";
-    sha256 = "0pgv080ai7d98l9340jadp9wjiaqj2qvgpqhilcz0kps2mdiawbd";
+    sha256 = "1ngil8j13m2rq07g94j4yjr6zmaimzy8wbfr17shi7rxnazys6zb";
   };
 
   patches = [
@@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
   # See https://github.com/OpenSMTPD/OpenSMTPD/issues/885 for the `sh bootstrap`
   # requirement
   postPatch = ''
-    substituteInPlace smtpd/parse.y \
-      --replace "/usr/libexec/" "$out/libexec/opensmtpd/"
     substituteInPlace mk/smtpctl/Makefile.am --replace "chgrp" "true"
     substituteInPlace mk/smtpctl/Makefile.am --replace "chmod 2555" "chmod 0555"
     sh bootstrap