2017-02-13 17:46:05 +01:00
|
|
|
{ stdenv, fetchgit, autoconf, autoconf-archive, automake, libtool, flex, openssl
|
|
|
|
, eventlog, pkgconfig, glib, python, systemd, perl
|
|
|
|
, riemann_c_client, protobufc, pcre, yacc, which }:
|
2009-02-05 17:50:45 +01:00
|
|
|
|
2014-08-06 12:10:07 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "syslog-ng-${version}";
|
2017-02-13 17:46:05 +01:00
|
|
|
version = "3.9.1";
|
2014-08-06 12:10:07 +02:00
|
|
|
|
2017-02-13 17:46:05 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/balabit/syslog-ng.git";
|
|
|
|
rev = "59aa4e5d9396d293aae021746214b97d7fe0a8ee"; # tag: syslog-ng-3.9.1
|
|
|
|
sha256 = "15lalqf6dmpm4nr1pp0f2p0a6wbckkrh1k83vhp9ws0by5m8m66r";
|
2010-09-08 15:28:05 +02:00
|
|
|
};
|
|
|
|
|
2017-02-13 17:46:05 +01:00
|
|
|
buildInputs = [
|
|
|
|
autoconf
|
|
|
|
autoconf-archive
|
|
|
|
automake
|
|
|
|
libtool
|
|
|
|
which
|
|
|
|
flex
|
|
|
|
openssl
|
|
|
|
eventlog
|
|
|
|
pkgconfig
|
|
|
|
glib
|
|
|
|
python
|
|
|
|
systemd
|
|
|
|
perl
|
|
|
|
riemann_c_client
|
|
|
|
protobufc
|
|
|
|
yacc
|
|
|
|
pcre
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
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 ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = platforms.linux;
|
2009-02-05 17:50:45 +01:00
|
|
|
};
|
|
|
|
}
|