2014-11-01 21:39:42 +01:00
|
|
|
{ stdenv, fetchurl, eventlog, pkgconfig, glib, python, systemd, perl }:
|
2009-02-05 17:50:45 +01:00
|
|
|
|
2014-08-06 12:10:07 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "syslog-ng-${version}";
|
|
|
|
|
2014-11-01 21:39:42 +01:00
|
|
|
version = "3.5.6";
|
2010-09-08 15:28:05 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-06 12:10:07 +02:00
|
|
|
url = "http://www.balabit.com/downloads/files?path=/syslog-ng/sources/${version}/source/syslog-ng_${version}.tar.gz";
|
2014-11-01 21:39:42 +01:00
|
|
|
sha256 = "19i1idklpgn6mz0mg7194by5fjgvvh5n4v2a0rr1z0778l2038kc";
|
2010-09-08 15:28:05 +02:00
|
|
|
};
|
|
|
|
|
2014-11-01 21:39:42 +01:00
|
|
|
buildInputs = [ eventlog pkgconfig glib python systemd perl ];
|
2014-06-24 23:52:54 +02:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-dynamic-linking"
|
|
|
|
"--enable-systemd"
|
|
|
|
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
|
|
|
];
|
2010-09-08 15:28:05 +02:00
|
|
|
|
2014-08-06 12:10:07 +02:00
|
|
|
meta = with stdenv.lib; {
|
2009-02-05 17:50:45 +01:00
|
|
|
homepage = "http://www.balabit.com/network-security/syslog-ng/";
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Next-generation syslogd with advanced networking and filtering capabilities";
|
2014-08-06 12:10:07 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.rickynils ];
|
2009-02-05 17:50:45 +01:00
|
|
|
};
|
|
|
|
}
|