Merge pull request #37674 from obsidiansystems/syslogng-smtp
syslog-ng: enable SMTP destination
This commit is contained in:
commit
b4eeafd82a
18
pkgs/development/libraries/libesmtp/default.nix
Normal file
18
pkgs/development/libraries/libesmtp/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ 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";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://brianstafford.info/libesmtp/index.html;
|
||||
description = "A Library for Posting Electronic Mail";
|
||||
license = licenses.lgpl21;
|
||||
};
|
||||
}
|
||||
|
@ -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"
|
||||
|
@ -8717,6 +8717,8 @@ with pkgs;
|
||||
|
||||
esdl = callPackage ../development/libraries/esdl { };
|
||||
|
||||
libesmtp = callPackage ../development/libraries/libesmtp { };
|
||||
|
||||
exiv2 = callPackage ../development/libraries/exiv2 { };
|
||||
|
||||
expat = callPackage ../development/libraries/expat { };
|
||||
|
Loading…
Reference in New Issue
Block a user