Merge pull request #6325 from k0ral/opensmtpd

opensmtpd: 5.4.2p1 -> 5.4.4p1
This commit is contained in:
Pascal Wittmann 2015-02-13 13:28:04 +00:00
commit d7b01c8526
3 changed files with 29 additions and 7 deletions

View File

@ -0,0 +1,20 @@
{ stdenv, fetchurl, libevent, openssl }:
stdenv.mkDerivation rec {
name = "libasr-${version}";
version= "1.0.1";
src = fetchurl {
url = "https://www.opensmtpd.org/archives/${name}.tar.gz";
sha256 = "10h1c9b58msbggns8k2m0857zmbldb0x8ghk3aay88yn2bip2916";
};
buildInputs = [ libevent openssl ];
meta = with stdenv.lib; {
homepage = https://github.com/OpenSMTPD/libasr;
description = "Free, simple and portable asynchronous resolver library.";
license = licenses.isc;
maintainers = [ maintainers.koral ];
};
}

View File

@ -1,17 +1,17 @@
{ stdenv, fetchurl, libevent, zlib, openssl, db, bison, pam }: { stdenv, fetchurl, libasr, libevent, zlib, openssl, db, bison, pam }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "opensmtpd-${version}"; name = "opensmtpd-${version}";
version = "5.4.2p1"; version = "5.4.4p1";
buildInputs = [ libevent zlib openssl db bison pam ]; buildInputs = [ libasr libevent zlib openssl db bison pam ];
src = fetchurl { src = fetchurl {
url = "http://www.opensmtpd.org/archives/${name}.tar.gz"; url = "http://www.opensmtpd.org/archives/${name}.tar.gz";
sha256 = "18nrzfjhv9znb5dbhc5k3fi31a3vr1r8j36q3fzghkh47n6z9yjg"; sha256 = "1gcfdmpkk892wnnhwc2nb559bwl3k892w7saj4q8m6jfll53660i";
}; };
configureFlags = [ configureFlags = [
"--with-mantype=doc" "--with-mantype=doc"
"--with-pam" "--with-pam"
"--without-bsd-auth" "--without-bsd-auth"
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
"--with-privsep-user=smtpd" "--with-privsep-user=smtpd"
"--with-queue-user=smtpq" "--with-queue-user=smtpq"
"--with-ca-file=/etc/ssl/certs/ca-bundle.crt" "--with-ca-file=/etc/ssl/certs/ca-bundle.crt"
]; ];
meta = { meta = {
homepage = https://www.opensmtpd.org/; homepage = https://www.opensmtpd.org/;

View File

@ -5966,6 +5966,8 @@ let
libarchive = callPackage ../development/libraries/libarchive { }; libarchive = callPackage ../development/libraries/libarchive { };
libasr = callPackage ../development/libraries/libasr { };
libass = callPackage ../development/libraries/libass { }; libass = callPackage ../development/libraries/libass { };
libassuan1 = callPackage ../development/libraries/libassuan1 { }; libassuan1 = callPackage ../development/libraries/libassuan1 { };