summary refs log tree commit diff
path: root/pkgs/os-specific/linux/sysklogd/default.nix
diff options
context:
space:
mode:
authorArmijn Hemel <armijn@gpl-violations.org>2005-09-06 22:39:03 +0000
committerArmijn Hemel <armijn@gpl-violations.org>2005-09-06 22:39:03 +0000
commit059d1d391b86b42a3fe2c899c0054c9e28a341fb (patch)
treefe8a540390648ed49e10b6f5369a7a2e98b9369e /pkgs/os-specific/linux/sysklogd/default.nix
parent7e75cb7cc452cf305a252329af4ed44531689553 (diff)
downloadnixpkgs-059d1d391b86b42a3fe2c899c0054c9e28a341fb.tar
nixpkgs-059d1d391b86b42a3fe2c899c0054c9e28a341fb.tar.gz
nixpkgs-059d1d391b86b42a3fe2c899c0054c9e28a341fb.tar.bz2
nixpkgs-059d1d391b86b42a3fe2c899c0054c9e28a341fb.tar.lz
nixpkgs-059d1d391b86b42a3fe2c899c0054c9e28a341fb.tar.xz
nixpkgs-059d1d391b86b42a3fe2c899c0054c9e28a341fb.tar.zst
nixpkgs-059d1d391b86b42a3fe2c899c0054c9e28a341fb.zip
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
Diffstat (limited to 'pkgs/os-specific/linux/sysklogd/default.nix')
-rw-r--r--pkgs/os-specific/linux/sysklogd/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/sysklogd/default.nix b/pkgs/os-specific/linux/sysklogd/default.nix
new file mode 100644
index 00000000000..a80cc0c8051
--- /dev/null
+++ b/pkgs/os-specific/linux/sysklogd/default.nix
@@ -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];
+}