2005-09-06 23:39:03 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-11-04 09:18:52 +00:00
|
|
|
name = "sysklogd-1.5.1";
|
2012-07-19 17:46:39 +01:00
|
|
|
|
2005-09-06 23:39:03 +01:00
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://www.infodrom.org/projects/sysklogd/download/sysklogd-1.5.1.tar.gz";
|
2014-11-04 09:18:52 +00:00
|
|
|
sha256 = "00f2wy6f0qng7qzga4iicyzl9j8b7mp6mrpfky5jxj93ms2w2rji";
|
2005-09-06 23:39:03 +01:00
|
|
|
};
|
2012-07-19 17:46:39 +01:00
|
|
|
|
2016-08-30 23:05:07 +01:00
|
|
|
patches = [ ./systemd.patch ./union-wait.patch ];
|
2012-07-19 17:46:39 +01:00
|
|
|
|
2016-08-26 13:13:03 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-DSYSV";
|
|
|
|
|
2019-11-05 01:10:31 +00:00
|
|
|
installFlags = [ "BINDIR=$(out)/sbin" "MANDIR=$(out)/share/man" "INSTALL=install" ];
|
2012-07-19 17:46:39 +01:00
|
|
|
|
|
|
|
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";
|
|
|
|
|
2020-06-30 20:29:37 +01:00
|
|
|
meta = with stdenv.lib; {
|
2012-07-19 17:46:39 +01:00
|
|
|
description = "A system logging daemon";
|
2020-06-30 20:29:37 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
2012-07-19 17:46:39 +01:00
|
|
|
};
|
2005-09-06 23:39:03 +01:00
|
|
|
}
|