-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22752 from LumiGuide/syslog-ng-3.9.1
syslog-ng: 3.6.2 -> 3.9.1
- Loading branch information
Showing
3 changed files
with
52 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,62 @@ | ||
{ stdenv, fetchurl, eventlog, pkgconfig, glib, python, systemd, perl | ||
, riemann_c_client, protobufc, pcre, yacc }: | ||
{ 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 }: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "syslog-ng-${version}"; | ||
let | ||
pname = "syslog-ng"; | ||
in | ||
|
||
version = "3.6.2"; | ||
stdenv.mkDerivation rec { | ||
name = "${pname}-${version}"; | ||
version = "3.9.1"; | ||
|
||
src = fetchurl { | ||
url = "http://www.balabit.com/downloads/files?path=/syslog-ng/sources/${version}/source/syslog-ng_${version}.tar.gz"; | ||
sha256 = "0qc21mwajk6xrra3gqy2nvaza5gq62psamq4ayphj7lqabdglizg"; | ||
url = "https://github.com/balabit/${pname}/releases/download/${name}/${name}.tar.gz"; | ||
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 = [ | ||
"--enable-manpages" | ||
"--enable-dynamic-linking" | ||
"--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" | ||
]; | ||
|
||
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 = [ maintainers.rickynils ]; | ||
maintainers = with maintainers; [ rickynils fpletz ]; | ||
platforms = platforms.linux; | ||
}; | ||
} |