mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
Added syslog-ng (and the eventlog library that it depends on).
svn path=/nixpkgs/trunk/; revision=13988
This commit is contained in:
parent
b3ff9f5275
commit
ecddd8b472
15
pkgs/development/libraries/eventlog/default.nix
Normal file
15
pkgs/development/libraries/eventlog/default.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
16
pkgs/tools/misc/syslog-ng/default.nix
Normal file
16
pkgs/tools/misc/syslog-ng/default.nix
Normal 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";
|
||||||
|
}
|
@ -474,7 +474,7 @@ let
|
|||||||
done < graph
|
done < graph
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
### TOOLS
|
### TOOLS
|
||||||
|
|
||||||
|
|
||||||
@ -525,6 +525,11 @@ let
|
|||||||
inherit fetchurl stdenv perl;
|
inherit fetchurl stdenv perl;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
syslogng = import ../tools/misc/syslog-ng {
|
||||||
|
inherit fetchurl stdenv eventlog pkgconfig;
|
||||||
|
inherit (gtkLibs) glib;
|
||||||
|
};
|
||||||
|
|
||||||
asciidoc = import ../tools/typesetting/asciidoc {
|
asciidoc = import ../tools/typesetting/asciidoc {
|
||||||
inherit fetchurl stdenv bash python;
|
inherit fetchurl stdenv bash python;
|
||||||
};
|
};
|
||||||
@ -2142,8 +2147,8 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
# new python and lib proposal
|
# new python and lib proposal
|
||||||
# - adding a python lib to buildinputs should be enough
|
# - adding a python lib to buildinputs should be enough
|
||||||
# (handles .pth files by patching site.py
|
# (handles .pth files by patching site.py
|
||||||
# while introducing NIX_PYTHON_SITES describing list of modules)
|
# while introducing NIX_PYTHON_SITES describing list of modules)
|
||||||
# - adding pyCheck = "import foo" test scripts to ensure libraries can be imported
|
# - adding pyCheck = "import foo" test scripts to ensure libraries can be imported
|
||||||
# - providing pythonWrapper so that you can run python and import the selected libraries
|
# - providing pythonWrapper so that you can run python and import the selected libraries
|
||||||
@ -2863,6 +2868,10 @@ let
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
eventlog = import ../development/libraries/eventlog {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
facile = import ../development/libraries/facile {
|
facile = import ../development/libraries/facile {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
# Actually, we don't need this version but we need native-code compilation
|
# Actually, we don't need this version but we need native-code compilation
|
||||||
@ -5573,7 +5582,7 @@ let
|
|||||||
url = mirror://cpan/authors/id/M/MS/MSERGEANT/XML-Parser-2.36.tar.gz;
|
url = mirror://cpan/authors/id/M/MS/MSERGEANT/XML-Parser-2.36.tar.gz;
|
||||||
sha256 = "0gyp5qfbflhkin1zv8l6wlkjwfjvsf45a3py4vc6ni82fj32kmcz";
|
sha256 = "0gyp5qfbflhkin1zv8l6wlkjwfjvsf45a3py4vc6ni82fj32kmcz";
|
||||||
};
|
};
|
||||||
makeMakerFlags = "EXPATLIBPATH=${expat}/lib EXPATINCPATH=${expat}/include";
|
makeMakerFlags = "EXPATLIBPATH=${expat}/lib EXPATINCPATH=${expat}/include";
|
||||||
};
|
};
|
||||||
|
|
||||||
perlXMLRegExp = buildPerlPackage {
|
perlXMLRegExp = buildPerlPackage {
|
||||||
@ -8524,7 +8533,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
xboard = builderDefsPackage (import ../games/xboard) {
|
xboard = builderDefsPackage (import ../games/xboard) {
|
||||||
inherit (xlibs) libX11 xproto libXt libXaw libSM
|
inherit (xlibs) libX11 xproto libXt libXaw libSM
|
||||||
libICE libXmu libXext;
|
libICE libXmu libXext;
|
||||||
inherit gnuchess;
|
inherit gnuchess;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user