2005-09-07 00:39:03 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-12-01 21:04:44 +01:00
|
|
|
name = "sysklogd-1.5";
|
2012-07-19 18:46:39 +02:00
|
|
|
|
2005-09-07 00:39:03 +02:00
|
|
|
src = fetchurl {
|
2007-12-01 21:04:44 +01:00
|
|
|
url = http://www.infodrom.org/projects/sysklogd/download/sysklogd-1.5.tar.gz;
|
|
|
|
sha256 = "0wxpkrznqwz4dy11k90s2sqszwp7d4mlc0ag8288wa193plvhsb1";
|
2005-09-07 00:39:03 +02:00
|
|
|
};
|
2012-07-19 18:46:39 +02:00
|
|
|
|
|
|
|
patches = [ ./systemd.patch ];
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
2005-09-07 00:39:03 +02:00
|
|
|
}
|