opensmtpd: 5.4.4p1 -> 5.4.5p1

This commit is contained in:
William A. Kennington III 2015-04-22 15:37:51 -07:00
parent cebe937b1e
commit 02cda2133f

View File

@ -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 { stdenv.mkDerivation rec {
name = "opensmtpd-${version}"; 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 { src = fetchurl {
url = "http://www.opensmtpd.org/archives/${name}.tar.gz"; url = "http://www.opensmtpd.org/archives/${name}.tar.gz";
sha256 = "1gcfdmpkk892wnnhwc2nb559bwl3k892w7saj4q8m6jfll53660i"; sha256 = "15sicrpqsgg72igdckkwpmbgrapcjbfjsdrvm0zl8z13kgp6r4ks";
}; };
configureFlags = [ configureFlags = [
"--sysconfdir=/etc"
"--localstatedir=/var"
"--with-mantype=doc" "--with-mantype=doc"
"--with-pam" "--with-pam"
"--without-bsd-auth" "--without-bsd-auth"
@ -21,6 +26,11 @@ stdenv.mkDerivation rec {
"--with-ca-file=/etc/ssl/certs/ca-bundle.crt" "--with-ca-file=/etc/ssl/certs/ca-bundle.crt"
]; ];
installFlags = [
"sysconfdir=\${out}/etc"
"localstatedir=\${TMPDIR}"
];
meta = { meta = {
homepage = https://www.opensmtpd.org/; homepage = https://www.opensmtpd.org/;
description = '' description = ''