Added syslog-ng (and the eventlog library that it depends on).

svn path=/nixpkgs/trunk/; revision=13988
This commit is contained in:
Peter Simons 2009-02-05 16:50:45 +00:00
parent b3ff9f5275
commit ecddd8b472
3 changed files with 45 additions and 5 deletions

View File

@ -0,0 +1,15 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "eventlog-0.2.9";
src = fetchurl {
url = "http://www.balabit.com/downloads/files/eventlog/0.2/eventlog_0.2.9.tar.gz";
sha256 = "1cairmv47b66blrxwrgf4qwabfflak9b1dwkiyxnc9rj5svnq50m";
};
meta = {
description = "A new API to format and send structured log messages.";
homepage = "http://www.balabit.com/support/community/products/";
license = "BSD";
};
}

View File

@ -0,0 +1,16 @@
{stdenv, fetchurl, eventlog, pkgconfig, glib}:
stdenv.mkDerivation rec {
name = "syslog-ng-2.1.3";
meta = {
homepage = "http://www.balabit.com/network-security/syslog-ng/";
description = "Next-generation syslogd with advanced networking and filtering capabilities.";
license = "GPLv2";
};
src = fetchurl {
url = "http://www.balabit.com/downloads/files/syslog-ng/sources/2.1/src/${name}.tar.gz";
sha256 = "1m6djxhmihmg09a90gg6mp1ghgk2zm8rcp04shh458433rbzfjb0";
};
buildInputs = [eventlog pkgconfig glib];
configureFlags = "--enable-dynamic-linking";
}

View File

@ -525,6 +525,11 @@ let
inherit fetchurl stdenv perl;
};
syslogng = import ../tools/misc/syslog-ng {
inherit fetchurl stdenv eventlog pkgconfig;
inherit (gtkLibs) glib;
};
asciidoc = import ../tools/typesetting/asciidoc {
inherit fetchurl stdenv bash python;
};
@ -2863,6 +2868,10 @@ let
inherit fetchurl stdenv;
};
eventlog = import ../development/libraries/eventlog {
inherit fetchurl stdenv;
};
facile = import ../development/libraries/facile {
inherit fetchurl stdenv;
# Actually, we don't need this version but we need native-code compilation