mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
New package: opensmtpd, an SMTP server from the OpenBSD project.
This commit is contained in:
parent
93ff42ae9c
commit
0dc36983e9
33
pkgs/servers/mail/opensmtpd/default.nix
Normal file
33
pkgs/servers/mail/opensmtpd/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchurl, libevent, zlib, openssl, db4, bison, pam }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opensmtpd-${version}";
|
||||
version = "201306271531p1";
|
||||
|
||||
buildInputs = [ libevent zlib openssl db4 bison pam ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.opensmtpd.org/archives/${name}.tar.gz";
|
||||
sha256 = "0b06vzv566nai9j506rl3cwkk5favqxg23hsn08490ynn23im0sc";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -5926,6 +5926,8 @@ let
|
||||
|
||||
nginx = callPackage ../servers/http/nginx { };
|
||||
|
||||
opensmtpd = callPackage ../servers/mail/opensmtpd { };
|
||||
|
||||
petidomo = callPackage ../servers/mail/petidomo { };
|
||||
|
||||
popa3d = callPackage ../servers/mail/popa3d { };
|
||||
|
Loading…
Reference in New Issue
Block a user