Commit Graph

17 Commits

Author SHA1 Message Date
Philip Potter
66726acfae sysklogd: fix compile error (#18133)
sysklogd was failing to build because it didn't know the size of the
`union wait` type.

Running `git bisect` showed 9744c7768d,
which bumped glibc from 2.23 to 2.24, as the likely suspect.  This is
corroborated by evidence such as this email:
https://lists.debian.org/debian-glibc/2016/08/msg00069.html

Linux from scratch recommends changing `union wait` to `int`:
http://www.linuxfromscratch.org/lfs/view/development/chapter06/sysklogd.html

Therefore, that's what this commit does.
2016-08-31 00:05:07 +02:00
Franz Pletz
f75ab31234
sysklogd: fix broken build caused by new glibc version 2016-08-26 15:03:19 +02:00
Eelco Dolstra
2ed5c2bd6b Set some meta.platforms
Also fix meta.platform -> meta.platforms in a few places.
2015-03-20 20:04:42 +01:00
Rob Vermaas
c4ab4ce59b sysklogd: update from 1.5 to 1.5.1, potentially fixes CVE-2014-3634, CVE-2014-3683 2014-11-04 10:18:52 +01:00
Eelco Dolstra
e083d32d22 sysklogd: Don't remove /dev/log when syslogd exits
This messes up systemd-journald.
2013-05-09 16:28:36 +02:00
Eelco Dolstra
bfc2de46d1 sysklogd: Support systemd socket-based activation
Syslogd cannot open /dev/log directly but must receive syslog messages
from systemd (http://www.freedesktop.org/wiki/Software/systemd/syslog).
The patch adds support for that.
2012-07-19 12:46:39 -04:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Yury G. Kudryashov
b2149510df sysklogd: upgraded to 1.5
svn path=/nixpkgs/branches/stdenv-updates/; revision=9819
2007-12-01 20:04:44 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Eelco Dolstra
023e2003df * Install into $out/sbin, not $out/usr/sbin.
svn path=/nixpkgs/trunk/; revision=6962
2006-11-06 22:16:10 +00:00
Armijn Hemel
825adc16b6 patch patch, to avoid that "install" wants to set owner and group
svn path=/nixpkgs/trunk/; revision=5216
2006-04-25 17:47:46 +00:00
Armijn Hemel
920ff11c96 fix the impurity error. However, this introduces another error. Apparently
there is some difference between "install" on my FC3 machine and "install"
in coreutils in Nix:

building install_man
install -o root -g root -m 644 sysklogd.8 /nix/store/x03w5xpzcya04b4ax47lic2ahnf479nz-sysklogd-1.4.1/usr/share/man/man8/sysklogd.8
install: cannot change ownership of `/nix/store/x03w5xpzcya04b4ax47lic2ahnf479nz-sysklogd-1.4.1/usr/share/man/man8/sysklogd.8': Operation not permitted
make: *** [install_man] Error 1


svn path=/nixpkgs/trunk/; revision=5035
2006-03-14 15:30:00 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Armijn Hemel
4ffb194541 delete old unnecessary (and confusing!) cruft
svn path=/nixpkgs/trunk/; revision=3954
2005-09-28 14:07:26 +00:00
Armijn Hemel
b9a0811148 add fix for braindead module.h, so it can compile with our glibc kernel headers
svn path=/nixpkgs/trunk/; revision=3953
2005-09-28 14:06:10 +00:00
Armijn Hemel
c712f37636 add ugly builder to ensure some paths are set. This should actually be fixed in the Makefile...ah, laziness...
svn path=/nixpkgs/trunk/; revision=3794
2005-09-07 16:21:23 +00:00
Armijn Hemel
059d1d391b 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
2005-09-06 22:39:03 +00:00