Merge pull request #22752 from LumiGuide/syslog-ng-3.9.1
syslog-ng: 3.6.2 -> 3.9.1
This commit is contained in:
commit
eda8ee2830
@ -3,11 +3,11 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libivykis-${version}";
|
name = "libivykis-${version}";
|
||||||
|
|
||||||
version = "0.40";
|
version = "0.41";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/libivykis/${version}/ivykis-${version}.tar.gz";
|
url = "mirror://sourceforge/libivykis/${version}/ivykis-${version}.tar.gz";
|
||||||
sha256 = "1rn32dijv0pn9y2mbdg1n7al4h4i5pwwhhihr9pyakwyb6qgmqxj";
|
sha256 = "1igk3svf36i5xgb6ipc507xpj6zjm4xi9j1j2cdqaachllwlb4rc";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
|
@ -1,25 +1,25 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, syslogng
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, syslogng
|
||||||
, eventlog, perl, python, yacc, riemann_c_client, libivykis, protobufc
|
, eventlog, perl, python, yacc, protobufc, libivykis
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "syslog-ng-incubator-${version}";
|
name = "syslog-ng-incubator-${version}";
|
||||||
version = "141106-54179c5";
|
version = "0.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "balabit";
|
owner = "balabit";
|
||||||
repo = "syslog-ng-incubator";
|
repo = "syslog-ng-incubator";
|
||||||
rev = "54179c5f733487fe97ee856bc27130d0b09f3d5a";
|
rev = name;
|
||||||
sha256 = "1y099f7pdan1441ycycd67igcwbla2m2cgnxjfvdw76llvi35sam";
|
sha256 = "00j123ya0xfj1jicaqnk1liffx07mhhf0r406pabxjjj97gy8nlk";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig autoreconfHook yacc ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
autoreconfHook pkgconfig glib syslogng eventlog perl python
|
glib syslogng eventlog perl python protobufc libivykis
|
||||||
yacc riemann_c_client libivykis protobufc
|
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--without-ivykis"
|
|
||||||
"--with-module-dir=$(out)/lib/syslog-ng"
|
"--with-module-dir=$(out)/lib/syslog-ng"
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -29,5 +29,6 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [ maintainers.rickynils ];
|
maintainers = [ maintainers.rickynils ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
broken = true; # does not work with our new syslog-ng version yet
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,29 +1,62 @@
|
|||||||
{ stdenv, fetchurl, eventlog, pkgconfig, glib, python, systemd, perl
|
{ stdenv, fetchurl, openssl, libcap, curl, which
|
||||||
, riemann_c_client, protobufc, pcre, yacc }:
|
, eventlog, pkgconfig, glib, python, systemd, perl
|
||||||
|
, riemann_c_client, protobufc, pcre, libnet
|
||||||
|
, json_c, libuuid, libivykis, mongoc, rabbitmq-c }:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "syslog-ng";
|
||||||
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "syslog-ng-${version}";
|
name = "${pname}-${version}";
|
||||||
|
version = "3.9.1";
|
||||||
version = "3.6.2";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.balabit.com/downloads/files?path=/syslog-ng/sources/${version}/source/syslog-ng_${version}.tar.gz";
|
url = "https://github.com/balabit/${pname}/releases/download/${name}/${name}.tar.gz";
|
||||||
sha256 = "0qc21mwajk6xrra3gqy2nvaza5gq62psamq4ayphj7lqabdglizg";
|
sha256 = "05qaqw115py5iz55vmc0j1xcwcpr8wa9vpmbixhr1rqaamm8ay2n";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ eventlog pkgconfig glib python systemd perl riemann_c_client protobufc yacc pcre ];
|
nativeBuildInputs = [ pkgconfig which ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libcap
|
||||||
|
curl
|
||||||
|
openssl
|
||||||
|
eventlog
|
||||||
|
glib
|
||||||
|
perl
|
||||||
|
python
|
||||||
|
systemd
|
||||||
|
riemann_c_client
|
||||||
|
protobufc
|
||||||
|
pcre
|
||||||
|
libnet
|
||||||
|
json_c
|
||||||
|
libuuid
|
||||||
|
libivykis
|
||||||
|
mongoc
|
||||||
|
rabbitmq-c
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
"--enable-manpages"
|
||||||
"--enable-dynamic-linking"
|
"--enable-dynamic-linking"
|
||||||
"--enable-systemd"
|
"--enable-systemd"
|
||||||
|
"--with-ivykis=system"
|
||||||
|
"--with-librabbitmq-client=system"
|
||||||
|
"--with-mongoc=system"
|
||||||
|
"--with-jsonc=system"
|
||||||
|
"--with-systemd-journal=system"
|
||||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://www.balabit.com/network-security/syslog-ng/";
|
homepage = "http://www.balabit.com/network-security/syslog-ng/";
|
||||||
description = "Next-generation syslogd with advanced networking and filtering capabilities";
|
description = "Next-generation syslogd with advanced networking and filtering capabilities";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [ maintainers.rickynils ];
|
maintainers = with maintainers; [ rickynils fpletz ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user