1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

syslog-ng: enable SMTP destination

This commit is contained in:
Ryan Trinkle 2018-03-22 14:54:22 -04:00 committed by dbornside
parent c90c6bb2de
commit 998a19e854
3 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,12 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "libESMTP-${version}";
version = "1.0.6";
src = fetchurl {
url = "http://brianstafford.info/libesmtp/libesmtp-1.0.6.tar.bz2";
sha256 = "02zbniyz7qys1jmx3ghx21kxmns1wc3hmv80gp7ag7yra9f1m9nh";
};
}

View file

@ -1,7 +1,9 @@
{ stdenv, fetchurl, openssl, libcap, curl, which
, eventlog, pkgconfig, glib, python, systemd, perl
, riemann_c_client, protobufc, pcre, libnet
, json_c, libuuid, libivykis, mongoc, rabbitmq-c }:
, json_c, libuuid, libivykis, mongoc, rabbitmq-c
, libesmtp
}:
let
pname = "syslog-ng";
@ -36,12 +38,14 @@ stdenv.mkDerivation rec {
libivykis
mongoc
rabbitmq-c
libesmtp
];
configureFlags = [
"--enable-manpages"
"--enable-dynamic-linking"
"--enable-systemd"
"--enable-smtp"
"--with-ivykis=system"
"--with-librabbitmq-client=system"
"--with-mongoc=system"

View file

@ -8683,6 +8683,8 @@ with pkgs;
esdl = callPackage ../development/libraries/esdl { };
libesmtp = callPackage ../development/libraries/libesmtp { };
exiv2 = callPackage ../development/libraries/exiv2 { };
expat = callPackage ../development/libraries/expat { };