diff options
author | William A. Kennington III <william@wkennington.com> | 2015-04-22 15:37:51 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-04-22 15:37:51 -0700 |
commit | 02cda2133fc8bb6330853acdaf39f3e50747af62 (patch) | |
tree | 5dde140f6a12531c8f45aec0bc72a5ea017f0a63 /pkgs/servers/mail/opensmtpd | |
parent | cebe937b1e58625cc69e6c17463badcc3d353524 (diff) | |
download | nixpkgs-02cda2133fc8bb6330853acdaf39f3e50747af62.tar nixpkgs-02cda2133fc8bb6330853acdaf39f3e50747af62.tar.gz nixpkgs-02cda2133fc8bb6330853acdaf39f3e50747af62.tar.bz2 nixpkgs-02cda2133fc8bb6330853acdaf39f3e50747af62.tar.lz nixpkgs-02cda2133fc8bb6330853acdaf39f3e50747af62.tar.xz nixpkgs-02cda2133fc8bb6330853acdaf39f3e50747af62.tar.zst nixpkgs-02cda2133fc8bb6330853acdaf39f3e50747af62.zip |
opensmtpd: 5.4.4p1 -> 5.4.5p1
Diffstat (limited to 'pkgs/servers/mail/opensmtpd')
-rw-r--r-- | pkgs/servers/mail/opensmtpd/default.nix | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/pkgs/servers/mail/opensmtpd/default.nix b/pkgs/servers/mail/opensmtpd/default.nix index d2c19a2a00b..b796e12e9f4 100644 --- a/pkgs/servers/mail/opensmtpd/default.nix +++ b/pkgs/servers/mail/opensmtpd/default.nix @@ -1,17 +1,22 @@ -{ stdenv, fetchurl, libasr, libevent, zlib, openssl, db, bison, pam }: +{ stdenv, fetchurl, autoconf, automake, libtool, bison +, libasr, libevent, zlib, openssl, db, pam +}: stdenv.mkDerivation rec { name = "opensmtpd-${version}"; - version = "5.4.4p1"; + version = "5.4.5p1"; - buildInputs = [ libasr libevent zlib openssl db bison pam ]; + nativeBuildInputs = [ autoconf automake libtool bison ]; + buildInputs = [ libasr libevent zlib openssl db pam ]; src = fetchurl { url = "http://www.opensmtpd.org/archives/${name}.tar.gz"; - sha256 = "1gcfdmpkk892wnnhwc2nb559bwl3k892w7saj4q8m6jfll53660i"; + sha256 = "15sicrpqsgg72igdckkwpmbgrapcjbfjsdrvm0zl8z13kgp6r4ks"; }; configureFlags = [ + "--sysconfdir=/etc" + "--localstatedir=/var" "--with-mantype=doc" "--with-pam" "--without-bsd-auth" @@ -21,6 +26,11 @@ stdenv.mkDerivation rec { "--with-ca-file=/etc/ssl/certs/ca-bundle.crt" ]; + installFlags = [ + "sysconfdir=\${out}/etc" + "localstatedir=\${TMPDIR}" + ]; + meta = { homepage = https://www.opensmtpd.org/; description = '' |