Skip to content

Commit

Permalink
syslog-ng: enable SMTP destination
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Trinkle authored and danbornside committed Mar 22, 2018
1 parent 456be5f commit 45d62a4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
12 changes: 12 additions & 0 deletions pkgs/development/libraries/libesmtp/default.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

6 changes: 5 additions & 1 deletion pkgs/tools/system/syslog-ng/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7950,6 +7950,8 @@ with pkgs;

esdl = callPackage ../development/libraries/esdl { };

libesmtp = callPackage ../development/libraries/libesmtp { };

exiv2 = callPackage ../development/libraries/exiv2 { };

expat = callPackage ../development/libraries/expat { };
Expand Down

0 comments on commit 45d62a4

Please sign in to comment.