2014-11-06 12:47:02 -08:00
|
|
|
{ stdenv, fetchurl, eventlog, pkgconfig, glib, python, systemd, perl
|
2016-01-27 05:33:50 -08:00
|
|
|
, riemann_c_client, protobufc, pcre, yacc }:
|
2009-02-05 08:50:45 -08:00
|
|
|
|
2014-08-06 03:10:07 -07:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "syslog-ng-${version}";
|
|
|
|
|
2015-03-10 18:07:43 -07:00
|
|
|
version = "3.6.2";
|
2010-09-08 06:28:05 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-06 03:10:07 -07:00
|
|
|
url = "http://www.balabit.com/downloads/files?path=/syslog-ng/sources/${version}/source/syslog-ng_${version}.tar.gz";
|
2015-03-10 18:07:43 -07:00
|
|
|
sha256 = "0qc21mwajk6xrra3gqy2nvaza5gq62psamq4ayphj7lqabdglizg";
|
2010-09-08 06:28:05 -07:00
|
|
|
};
|
|
|
|
|
2016-01-27 05:33:50 -08:00
|
|
|
buildInputs = [ eventlog pkgconfig glib python systemd perl riemann_c_client protobufc yacc pcre ];
|
2014-06-24 14:52:54 -07:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-dynamic-linking"
|
|
|
|
"--enable-systemd"
|
|
|
|
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
|
|
|
];
|
2010-09-08 06:28:05 -07:00
|
|
|
|
2014-08-06 03:10:07 -07:00
|
|
|
meta = with stdenv.lib; {
|
2009-02-05 08:50:45 -08:00
|
|
|
homepage = "http://www.balabit.com/network-security/syslog-ng/";
|
2013-10-06 02:49:53 -07:00
|
|
|
description = "Next-generation syslogd with advanced networking and filtering capabilities";
|
2014-08-06 03:10:07 -07:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.rickynils ];
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = platforms.linux;
|
2009-02-05 08:50:45 -08:00
|
|
|
};
|
|
|
|
}
|