Upgrade rsyslog to latest (v7) stable release. Added liblogging (new dependency of rsyslog).
This commit is contained in:
parent
51dc75b769
commit
83e1ff846c
18
pkgs/development/libraries/liblogging/default.nix
Normal file
18
pkgs/development/libraries/liblogging/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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"
|
||||
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user