Upgrade rsyslog to latest (v7) stable release. Added liblogging (new dependency of rsyslog).

This commit is contained in:
Rob Vermaas 2014-07-07 16:23:54 +02:00
parent 51dc75b769
commit 83e1ff846c
3 changed files with 25 additions and 5 deletions

View File

@ -0,0 +1,18 @@
{ stdenv, fetchurl, pkgconfig, systemd }:
stdenv.mkDerivation rec {
name = "liblogging-1.0.4";
src = fetchurl {
url = "http://download.rsyslog.com/liblogging/${name}.tar.gz";
sha256 = "075q6zjqpdlmaxhahd1ynr6nasqpyjnzj1zlcvzp3ixxm0m5vsxc";
};
buildInputs = [ pkgconfig systemd ];
meta = {
description = "Lightweight signal-safe logging library";
license = stdenv.lib.licenses.bsd2;
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -1,14 +1,14 @@
{stdenv, fetchurl, eventlog, pkgconfig, libestr, libee, json_c, libuuid, zlib, gnutls, libgcrypt, systemd}:
{stdenv, fetchurl, eventlog, pkgconfig, libestr, libee, json_c, libuuid, zlib, gnutls, libgcrypt, systemd, liblogging}:
stdenv.mkDerivation {
name = "rsyslog-7.4.7";
name = "rsyslog-7.6.3";
src = fetchurl {
url = http://www.rsyslog.com/files/download/rsyslog/rsyslog-7.4.7.tar.gz;
sha256 = "5fc7f930fa748bb6a9d86a3fc831eb1a14107db81b67d79ba8f113cf2776fa21";
url = http://www.rsyslog.com/files/download/rsyslog/rsyslog-7.6.3.tar.gz;
sha256 = "1v7mi2jjyn3awrfxqvd3mg64m5r027dgpbzd511mlvlbbw1mjcq1";
};
buildInputs = [pkgconfig libestr libee json_c libuuid zlib gnutls libgcrypt systemd];
buildInputs = [pkgconfig libestr libee json_c libuuid zlib gnutls libgcrypt systemd liblogging];
preConfigure = ''
export configureFlags="$configureFlags --enable-gnutls --enable-cached-man-pages --enable-imjournal --with-systemdsystemunitdir=$out/etc/systemd/system"

View File

@ -5207,6 +5207,8 @@ let
liblockfile = callPackage ../development/libraries/liblockfile { };
liblogging = callPackage ../development/libraries/liblogging { };
libmcrypt = callPackage ../development/libraries/libmcrypt {};
libmhash = callPackage ../development/libraries/libmhash {};