Artturin
f9fdf2d402
treewide: move NIX_CFLAGS_COMPILE to the env attrset
...
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Luke Granger-Brown
9094826af8
Merge remote-tracking branch 'upstream/staging-next' into staging-fix
2021-09-07 16:23:11 +00:00
Rick van Schijndel
780956e7cf
sysklogd: support cross-compilation
2021-09-05 10:47:17 +02:00
Felix Buehler
540499bf10
os-specific/linux: replace name with pname&version
2021-08-29 11:28:34 +02:00
Peter Woodman
cba38a2f42
sysklogd: add explainer for musl patch
2021-01-20 14:27:30 -05:00
Peter Woodman
a47a55e433
sysklogd: fix building against musl
...
taking guidance from alpine linux's patch[1], removed a few ifdefs and
fixed up some includes.
[1]: https://git.alpinelinux.org/aports/tree/main/sysklogd/fix-includes.patch
2021-01-18 23:29:12 -05:00
Profpatsch
4a7f99d55d
treewide: with stdenv.lib; in meta -> with lib;
...
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Markus Kowalewski
a61b50f79b
sysklogd: add license
2020-06-30 21:57:50 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
2020-04-10 17:54:53 +01:00
Robin Gloster
2157dcd141
treewide: installFlags is a list
2019-12-30 13:22:43 +01:00
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