add default Nix expression and patch for sysklogd. The patch allows sysklogd to

be compiled against kernel headers for the Linux 2.6 kernel. As it turns out
many, if not all, distributions use 2.4 kernel headers for glibc. From my
Fedora Core 3 system:

$ rpm -qf /usr/include/linux/time.h
glibc-kernheaders-2.4-9.1.87

The thing is that compilation now barfs, because some constants are needed
that are defined in <linux/autoconf.h> which is empty the way we generate
the kernel headers currently in nixpkgs. The source tree needs to be
configured. Another challenge to solve :)


svn path=/nixpkgs/trunk/; revision=3784
This commit is contained in:
Armijn Hemel
2005-09-06 22:39:03 +00:00
parent 7e75cb7cc4
commit 059d1d391b
2 changed files with 910 additions and 0 deletions
@@ -0,0 +1,10 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "sysklogd-1.4.1";
src = fetchurl {
url = http://www.infodrom.org/projects/sysklogd/download/sysklogd-1.4.1.tar.gz;
md5 = "d214aa40beabf7bdb0c9b3c64432c774";
};
patches = [./sysklogd-1.4.1-cvs-20050525.diff];
}