2013-07-15 13:05:03 +00:00
|
|
|
{ stdenv, fetchurl, libevent, zlib, openssl, db4, bison, pam }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "opensmtpd-${version}";
|
2013-07-19 11:07:42 +00:00
|
|
|
version = "201307151923p1";
|
2013-07-15 13:05:03 +00:00
|
|
|
|
|
|
|
buildInputs = [ libevent zlib openssl db4 bison pam ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.opensmtpd.org/archives/${name}.tar.gz";
|
2013-07-19 11:07:42 +00:00
|
|
|
sha256 = "0cggq60zzz5mgj093pmgwjp4bm6znnhyv6ibp1vhkba7cxjavr4g";
|
2013-07-15 13:05:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-mantype=doc"
|
|
|
|
"--with-pam"
|
|
|
|
"--without-bsd-auth"
|
|
|
|
"--with-sock-dir=/run"
|
|
|
|
"--with-privsep-user=smtpd"
|
|
|
|
"--with-queue-user=smtpq"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.postfix.org/";
|
|
|
|
description = ''
|
|
|
|
A free implementation of the server-side SMTP protocol as defined by
|
|
|
|
RFC 5321, with some additional standard extensions.
|
|
|
|
'';
|
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
};
|
|
|
|
}
|