Skip to content

Commit

Permalink
syslog-ng: 3.6.2 -> 3.9.1
Browse files Browse the repository at this point in the history
This should fix: #20153
  • Loading branch information
basvandijk committed Feb 14, 2017
1 parent dd91720 commit 020fb2c
Showing 1 changed file with 31 additions and 8 deletions.
39 changes: 31 additions & 8 deletions pkgs/tools/system/syslog-ng/default.nix
@@ -1,17 +1,40 @@
{ stdenv, fetchurl, eventlog, pkgconfig, glib, python, systemd, perl
, riemann_c_client, protobufc, pcre, yacc }:
{ stdenv, fetchgit, autoconf, autoconf-archive, automake, libtool, flex, openssl
, eventlog, pkgconfig, glib, python, systemd, perl
, riemann_c_client, protobufc, pcre, yacc, which }:

stdenv.mkDerivation rec {
name = "syslog-ng-${version}";
version = "3.9.1";

version = "3.6.2";

src = fetchurl {
url = "http://www.balabit.com/downloads/files?path=/syslog-ng/sources/${version}/source/syslog-ng_${version}.tar.gz";
sha256 = "0qc21mwajk6xrra3gqy2nvaza5gq62psamq4ayphj7lqabdglizg";
src = fetchgit {
url = "https://github.com/balabit/syslog-ng.git";
rev = "59aa4e5d9396d293aae021746214b97d7fe0a8ee"; # tag: syslog-ng-3.9.1
sha256 = "15lalqf6dmpm4nr1pp0f2p0a6wbckkrh1k83vhp9ws0by5m8m66r";
};

buildInputs = [ eventlog pkgconfig glib python systemd perl riemann_c_client protobufc yacc pcre ];
buildInputs = [
autoconf
autoconf-archive
automake
libtool
which
flex
openssl
eventlog
pkgconfig
glib
python
systemd
perl
riemann_c_client
protobufc
yacc
pcre
];

preConfigure = ''
./autogen.sh
'';

configureFlags = [
"--enable-dynamic-linking"
Expand Down

0 comments on commit 020fb2c

Please sign in to comment.