da1eb254b0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/syslog-ng/versions. These checks were done: - built on NixOS - ran ‘/nix/store/dwmr0h5zbh22ijcwcsg74m301hg8hab9-syslog-ng-3.15.1/bin/loggen -h’ got 0 exit code - ran ‘/nix/store/dwmr0h5zbh22ijcwcsg74m301hg8hab9-syslog-ng-3.15.1/bin/loggen --help’ got 0 exit code - ran ‘/nix/store/dwmr0h5zbh22ijcwcsg74m301hg8hab9-syslog-ng-3.15.1/bin/loggen -V’ and found version 3.15.1 - ran ‘/nix/store/dwmr0h5zbh22ijcwcsg74m301hg8hab9-syslog-ng-3.15.1/bin/loggen --version’ and found version 3.15.1 - ran ‘/nix/store/dwmr0h5zbh22ijcwcsg74m301hg8hab9-syslog-ng-3.15.1/bin/syslog-ng -h’ got 0 exit code - ran ‘/nix/store/dwmr0h5zbh22ijcwcsg74m301hg8hab9-syslog-ng-3.15.1/bin/syslog-ng --help’ got 0 exit code - ran ‘/nix/store/dwmr0h5zbh22ijcwcsg74m301hg8hab9-syslog-ng-3.15.1/bin/syslog-ng-ctl --help’ got 0 exit code - ran ‘/nix/store/dwmr0h5zbh22ijcwcsg74m301hg8hab9-syslog-ng-3.15.1/bin/syslog-ng-debun -h’ got 0 exit code - ran ‘/nix/store/dwmr0h5zbh22ijcwcsg74m301hg8hab9-syslog-ng-3.15.1/bin/syslog-ng-debun help’ got 0 exit code - found 3.15.1 with grep in /nix/store/dwmr0h5zbh22ijcwcsg74m301hg8hab9-syslog-ng-3.15.1 - directory tree listing: https://gist.github.com/e99978b52b48e592a7c12121b246128c
67 lines
1.4 KiB
Nix
67 lines
1.4 KiB
Nix
{ stdenv, fetchurl, openssl, libcap, curl, which
|
|
, eventlog, pkgconfig, glib, python, systemd, perl
|
|
, riemann_c_client, protobufc, pcre, libnet
|
|
, json_c, libuuid, libivykis, mongoc, rabbitmq-c
|
|
, libesmtp
|
|
}:
|
|
|
|
let
|
|
pname = "syslog-ng";
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
version = "3.15.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/balabit/${pname}/releases/download/${name}/${name}.tar.gz";
|
|
sha256 = "1vzrg6s30wc2as2s42h7a1qvyxqx26nq895r9y75aasfcwlbvnm2";
|
|
};
|
|
|
|
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
|
|
libesmtp
|
|
];
|
|
|
|
configureFlags = [
|
|
"--enable-manpages"
|
|
"--enable-dynamic-linking"
|
|
"--enable-systemd"
|
|
"--enable-smtp"
|
|
"--with-ivykis=system"
|
|
"--with-librabbitmq-client=system"
|
|
"--with-mongoc=system"
|
|
"--with-jsonc=system"
|
|
"--with-systemd-journal=system"
|
|
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
|
];
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.balabit.com/network-security/syslog-ng/;
|
|
description = "Next-generation syslogd with advanced networking and filtering capabilities";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ rickynils fpletz ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|