2005-09-07 02:39:03 +04:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-11-04 12:18:52 +03:00
|
|
|
name = "sysklogd-1.5.1";
|
2012-07-19 20:46:39 +04:00
|
|
|
|
2005-09-07 02:39:03 +04:00
|
|
|
src = fetchurl {
|
2014-11-04 12:18:52 +03:00
|
|
|
url = http://www.infodrom.org/projects/sysklogd/download/sysklogd-1.5.1.tar.gz;
|
|
|
|
sha256 = "00f2wy6f0qng7qzga4iicyzl9j8b7mp6mrpfky5jxj93ms2w2rji";
|
2005-09-07 02:39:03 +04:00
|
|
|
};
|
2012-07-19 20:46:39 +04:00
|
|
|
|
2016-08-31 01:05:07 +03:00
|
|
|
patches = [ ./systemd.patch ./union-wait.patch ];
|
2012-07-19 20:46:39 +04:00
|
|
|
|
2016-08-26 15:13:03 +03:00
|
|
|
NIX_CFLAGS_COMPILE = "-DSYSV";
|
|
|
|
|
2012-07-19 20:46:39 +04:00
|
|
|
installFlags = "BINDIR=$(out)/sbin MANDIR=$(out)/share/man INSTALL=install";
|
|
|
|
|
|
|
|
preConfigure =
|
|
|
|
''
|
|
|
|
sed -e 's@-o \''${MAN_USER} -g \''${MAN_GROUP} -m \''${MAN_PERMS} @@' -i Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = "mkdir -p $out/share/man/man5/ $out/share/man/man8/ $out/sbin";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A system logging daemon";
|
2015-03-20 18:52:02 +03:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-07-19 20:46:39 +04:00
|
|
|
};
|
2005-09-07 02:39:03 +04:00
|
|
|
}
|