Franz Pletz
aff1f4ab94
Use general hardening flag toggle lists
...
The following parameters are now available:
* hardeningDisable
To disable specific hardening flags
* hardeningEnable
To enable specific hardening flags
Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.
cc-wrapper supports the following flags:
* fortify
* stackprotector
* pie (disabled by default)
* pic
* strictoverflow
* format
* relro
* bindnow
2016-03-05 18:55:26 +01:00
Franz Pletz
a2e449e43e
coreutils: Skip some tests (filenames too long)
2016-03-05 18:55:26 +01:00
Robin Gloster
3477e662e6
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-02-27 00:08:08 +00:00
Robin Gloster
402d57ee8e
bootstrap env: disable stackprotector hardening until gcc >=4.9
2016-02-22 18:32:53 +00:00
Tuomas Tynkkynen
8bfc5d7e72
coreutils: Remove ARM patch (coreutils-tail-inotify-race.patch)
...
The patch no longer applies as it's applied in the 8.25 release.
While at it don't use FORCE_UNSAFE_CONFIGURE on ARM as I don't see why
it's needed and it works for me without it.
Build-tested GNU hello on ARMv7 and verified that this affect its hash
on i686.
2016-02-20 19:36:21 +02:00
Eelco Dolstra
854c27c69c
coreutils: 8.24 -> 8.25
2016-02-18 21:59:11 +01:00
Luca Bruno
5b0352a6a4
Merge branch 'master' into closure-size
2015-12-11 18:31:00 +01:00
Vladimír Čunát
263fd55d4b
Merge recent staging built on Hydra
...
http://hydra.nixos.org/eval/1231884
Only Darwin jobs seem to be queued now,
but we can't afford to wait for that single build slave.
2015-12-05 11:11:51 +01:00
Burke Libbey
211c9ab28b
Add coreutils-prefixed to install coreutils as gls, ggrep, etc.
...
Close #11421 . Amended by vcunat not to cause a stdenv rebuild.
2015-12-03 20:08:37 +01:00
Danny Wilson
e3a036225d
Fix: remove trailing ;
2015-11-22 13:41:22 +01:00
Vladimír Čunát
333d69a5f0
Merge staging into closure-size
...
The most complex problems were from dealing with switches reverted in
the meantime (gcc5, gmp6, ncurses6).
It's likely that darwin is (still) broken nontrivially.
2015-11-20 14:32:58 +01:00
Danny Wilson
590eec7945
Simplify FORCE_UNSAFE_CONFIGURE by making it an optional string.
...
postInstall references ${self} and requires self to be a derivation.
2015-11-17 18:29:54 +01:00
Danny Wilson
caaded3713
Disable inotify support on SunOS: it’s Linux-specific.
...
This amazingly fixes the coreutils build on SmartOS.
2015-11-16 17:20:15 +01:00
Danny Wilson
340375f421
Make sure optionalAttrs are set before actually building a derivation.
2015-11-16 17:20:15 +01:00
Lluís Batlle i Rossell
9819303647
Fixing the logic in coreutils to avoid stdenv rebuild.
...
It was using 'null' instead of '[]' in case of no patches. So I change
it to provide 'null'.
(cherry picked from commit 56ff659e5d1fffd371786a3b8237129ee365ca5c)
2015-11-04 12:43:14 +01:00
Lluís Batlle i Rossell
00aeb53bc0
coreutils 8.24 have a bug exhibited in a test in the Pi2. Patching.
...
I pick the patch from upstream, and I apply only for ARM to avoid rebuilding
stdenv.
(cherry picked from commit 1b36f489b6fb2bde3b241d2763abfaa860a4fe55)
2015-11-04 12:43:13 +01:00
Vladimír Čunát
5227fb1dd5
Merge commit staging+systemd into closure-size
...
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
William A. Kennington III
d253b3d875
coreutils: Skip sparse cp test as it fails reliably with btrfs on ubuntu 14.04
2015-07-13 13:48:59 -07:00
William A. Kennington III
6aa4714dba
coreutils: 8.23 -> 8.24
2015-07-06 17:37:18 -07:00
William A. Kennington III
c96d269ad7
coreutils: Fix gmp in cross build
2015-06-19 11:23:43 -07:00
Rok Garbas
a84e6336bd
cygwin: make coreutils build on cygwin
2015-06-05 00:39:38 +02:00
Marko Durkovic
221b5a5be5
cygwin: findutils fpending and coreutils patch
2015-05-28 10:53:35 +02:00
Vladimír Čunát
bf414c9d4f
Merge 'staging' into closure-size
...
- there were many easy merge conflicts
- cc-wrapper needed nontrivial changes
Many other problems might've been created by interaction of the branches,
but stdenv and a few other packages build fine now.
2015-04-18 11:22:20 +02:00
Eric Seidel
68647a4de5
coreutils: don't use bare sed
on darwin
...
it will be BSD sed instead of GNU sed
2015-03-21 09:14:35 -07: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
Vladimír Čunát
e73933da9c
coreutils: skip dd/sparse test ( fixes #6306 )
...
It's not done very nicely, as the main build log still prints as if the
test ran and succeeded, but I'm lazy to dig deeper into the framework.
2015-03-18 20:20:18 +01:00
John Wiegley
28b6fb61e6
Change occurrences of gcc to the more general cc
...
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Eelco Dolstra
7456ae4f5c
coreutils: Update to 8.23
2014-10-06 20:40:11 +02:00
Vladimír Čunát
030af0a803
fix .xz in stdenv bootstrap
...
Presumably needed due to the last staging merge.
There was some stdenv stage refactoring within, IIRC.
2014-08-30 15:48:17 +02:00
Vladimír Čunát
a70180ba73
mutiout: make it builtin
2014-08-30 08:27:43 +02:00
Vladimír Čunát
fb59f27a43
WIP: getting good
2014-08-27 01:14:09 +02:00
Mateusz Kowalczyk
7a45996233
Turn some license strings into lib.licenses values
2014-07-28 11:31:14 +02:00
Eelco Dolstra
a0bbe58a19
coreutils: Disable parallel building
2014-02-14 19:17:23 +01:00
Vladimír Čunát
34a7256820
coreutils: fix build (race condition)
2013-12-27 20:53:53 +01:00
Peter Simons
9407832de4
Merge remote-tracking branch 'origin/master' into stdenv-updates.
...
Conflicts:
pkgs/development/libraries/gettext/default.nix
2013-09-23 10:59:44 +02:00
Vladimír Čunát
961c2fe7c3
coreutils,gettext: don't change hash except for darwin
...
Also some style cleanup.
Note that defining an empty-string variable *does* change the hash.
I would like to change this behaviour one day
(clean up attrs when compiling the derivation).
2013-09-14 14:56:10 +02:00
Danie Roux
055e646bfc
coreutils: Guard against compiler not supporting __builtin_stpncpy_chk
...
From https://lists.macosforge.org/pipermail/macports-dev/2011-July/015263.html :
5) Building with a compiler that doesn't support newer __builtins
If your port uses MacPorts compilers rather than the default compiler,
you may run into trouble with string functions. You'll see errors at
link time about undefined __builtin_* functions. If this happens, you
may want to compile with -D_FORTIFY_SOURCE=0 to tell the headers to
use unfortified versions which do not use compiler builtins.
2013-09-14 14:45:07 +02:00
Danie Roux
123ab78ee0
coreutils: Remove 8.19 reference
2013-09-14 14:45:07 +02:00
Danie Roux
c183c7b3ec
coreutils: Make it build on OSX 10.0.8
...
Take patch from: https://lists.gnu.org/archive/html/bug-coreutils/2013-01/msg00119.html
2013-09-14 14:45:06 +02:00
Peter Simons
0d7118814b
Merge branch 'origin/master' into stdenv.
2013-08-17 10:00:16 +02:00
Ludovic Courtès
2e937c437a
unmaintain several packages
2013-08-16 23:45:01 +02:00
Peter Simons
4914e63a89
Merge changes from branch 'master' into stdenv-updates.
...
Conflicts:
pkgs/development/libraries/icu/default.nix
pkgs/tools/misc/coreutils/default.nix
2013-04-19 11:48:11 +02:00
Lluís Batlle i Rossell
91a94932d9
coreutils: fixing cross-build
...
coreutils can't generate the man pages cross-building. I do a trick
to get them from a non-cross-built coreutils.
2013-04-10 15:56:14 +02:00
Eelco Dolstra
92656e5f52
coreutils: Update to 8.21
...
Now "df" finally hides bind mounts and rootfs!
2013-03-06 14:10:54 +01:00
Danny Wilson
15e865ac09
GCC 4.7.2 + updated libraries compiles on Illumos/SmartOS!
...
- Add solaris native ld support to GCC build wrapper
- Add solaris ld wrapper that fixes -L argument order
2013-02-28 20:04:02 +01:00
Danny Wilson
bcaea92a12
Attempt at getting GCC 4.7 compiled on Illumos...
...
No success yet :-(
2013-02-28 20:04:01 +01:00
Danny Wilson
cf42601f92
Coreutils update and Illumos compatibility fixes.
...
- GNU Coreutils 8.21
- Add is64Bit checks to stdenv for Solaris.
- Fix OpenSSL Illumos build.
2013-02-28 20:04:01 +01:00
Lluís Batlle i Rossell
472499ccd8
coreutils: I forgot a file in the prev commit
2013-01-02 20:04:08 +01:00
Lluís Batlle i Rossell
09d12cc9db
coreutils: update to 8.20. They didn't build in i686 here.
...
Here is the error:
set-mode-acl.c: In function 'qset_acl':
set-mode-acl.c:72:6: error: #error Must have acl_delete_def_file (see POSIX 1003.1e draft 17).
2013-01-02 19:26:11 +01:00
Eelco Dolstra
ab3eeabfed
Rename buildNativeInputs -> nativeBuildInputs
...
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Eelco Dolstra
5be0a9acd7
Rename hostDrv -> crossDrv, buildDrv -> nativeDrv
...
This is for consistency with terminology in stdenv (and the terms
"hostDrv" and "buildDrv" are not very intuitive, even if they're
consistent with GNU terminology).
2012-12-28 19:08:19 +01:00
Eelco Dolstra
0ecd1f62c7
Revert "coreutils: Update to 8.20"
...
This reverts commit 1620307488
.
8.20 doesn't build on x86_64-darwin.
http://hydra.nixos.org/build/3435174
2012-12-12 17:00:32 +01:00
Eelco Dolstra
1620307488
coreutils: Update to 8.20
2012-11-23 17:29:06 +01:00
Eelco Dolstra
db5c495d98
coreutils: Update to 8.19
2012-09-18 14:48:48 -04:00
Ludovic Courtès
77fdc7bb35
GNU Coreutils: Allow builds with newer versions of glibc.
2012-06-28 15:30:02 +02:00
Eelco Dolstra
d4d7931a62
* Cleanup: remove obsolete references to ‘xz’, which is in stdenv now.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=31678
2012-01-18 20:53:01 +00:00
Eelco Dolstra
f7159c195a
* coreutils 8.15.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=31643
2012-01-18 20:09:26 +00:00
Peter Simons
61c4b72f0e
coreutils: added missing xz build input
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=30028
2011-10-26 09:58:19 +00:00
Ludovic Courtès
5d5b893223
GNU Coreutils 8.14.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=29848
2011-10-14 21:56:16 +00:00
Shea Levy
8715ac105b
GNU Coreutils 8.13
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=29191
2011-09-11 18:58:24 +00:00
Shea Levy
4d70ba6cc9
Merge from trunk up through r28790
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=28792
2011-08-24 19:16:43 +00:00
Evgeny Egorochkin
ac951a6469
coreutils: add SELinux support
...
svn path=/nixpkgs/trunk/; revision=26543
2011-03-27 04:46:25 +00:00
Ludovic Courtès
99a303b0dc
GNU Coreutils 8.10.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=26117
2011-02-25 15:28:22 +00:00
Ludovic Courtès
e7739d9407
GNU Coreutils 8.7.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=25092
2010-12-12 23:35:22 +00:00
Ludovic Courtès
96da0397a9
GNU Coreutils 8.5.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=23279
2010-08-20 15:26:31 +00:00
Peter Simons
70240d36ac
Enable parallel building of gcc, glibc, gmp, mpfr, coreutils, perl, git, and qt4.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=22400
2010-06-23 14:35:18 +00:00
Lluís Batlle i Rossell
85e1bc7d34
Fixing coreutils - I did not merge that well enough
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=21976
2010-05-25 20:41:53 +00:00
Lluís Batlle i Rossell
fa1a414aee
Merging from trunk - I had to resolve conflicts on coreutils; I hope I resolved that
...
well
svn path=/nixpkgs/branches/stdenv-updates/; revision=21975
2010-05-25 20:38:18 +00:00
Ludovic Courtès
0b2906ca28
Add cross Coreutils.
...
svn path=/nixpkgs/trunk/; revision=21935
2010-05-21 13:46:54 +00:00
Lluís Batlle i Rossell
19b9811012
Making a bunch of basic programs cross-buildable.
...
After this, the 'bootstrap-tools' can be cross-built.
svn path=/nixpkgs/branches/stdenv-updates/; revision=20945
2010-04-04 18:10:42 +00:00
Lluís Batlle i Rossell
6f9a783232
Trying to get coreutils cross-built with uclibc.
...
This involved fixing some buildInputs/buildNativeInputs in acl/attr,
and adding a libiconv in some places.
svn path=/nixpkgs/branches/stdenv-updates/; revision=20510
2010-03-09 18:05:38 +00:00
Ludovic Courtès
bf1ffcc595
coreutils: Disable tests on non-GNU platforms.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=19521
2010-01-18 14:54:42 +00:00
Ludovic Courtès
951ec3ce51
GNU Coreutils 8.4.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=19429
2010-01-14 10:09:39 +00:00
Ludovic Courtès
792eeca654
GNU Coreutils 8.3.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=19314
2010-01-08 21:22:10 +00:00
Ludovic Courtès
ef0cd29eb0
GNU Coreutils 8.2.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=18906
2009-12-11 20:05:54 +00:00
Lluís Batlle i Rossell
7cae967c7c
Removing the coreutils-7.5, which were needed in armv5tel in contrast to
...
coreutils 7.6, which did not build well. The newer coreutils 8.1 work perfectly,
and we don't need to rely in older versions.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18836
2009-12-08 10:04:43 +00:00
Lluís Batlle i Rossell
6fadcfbd03
Building coreutils with gmp, only because it is possible to do so.
...
I don't know the advantage, though.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18770
2009-12-02 19:34:34 +00:00
Ludovic Courtès
3548887c27
GNU Coreutils: Comment on test failures.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=18512
2009-11-22 00:22:42 +00:00
Lluís Batlle i Rossell
b27cf66ee2
argh. Bad commenting style and a commit too blind.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=18496
2009-11-20 20:29:32 +00:00
Lluís Batlle i Rossell
7748e9e964
Disabling the coreutils tests
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=18495
2009-11-20 20:28:43 +00:00
Lluís Batlle i Rossell
9effdda93b
Updating the dependencies of the new coreutils: they need perl.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=18494
2009-11-20 20:26:36 +00:00
Ludovic Courtès
40e564c87c
GNU Coreutils 8.1.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=18476
2009-11-19 22:46:45 +00:00
Lluís Batlle i Rossell
4b27d28701
Porting changes from stdenv-updates into this branch.
...
This comes from:
svn diff ^/nixpkgs/trunk/@18255 ^/nixpkgs/branches/stdenv-updates/ > diff
patch -p0 < diff
and then adding into svn all files new from the patch.
trunk@18255 comes from the last time I updated stdenv-updates from trunk.
svn path=/nixpkgs/stdenv-updates2/; revision=18272
2009-11-08 00:32:12 +00:00
Ludovic Courtès
f48dfa1e25
GNU Coreutils 7.2.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=14833
2009-04-02 12:33:03 +00:00
Ludovic Courtès
f0c728ba53
GNU Coreutils 7.1.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=14196
2009-02-22 23:04:15 +00:00
Eelco Dolstra
88c502217b
* coreutils 7.0 already has the backwards compatibility patch for old
...
Linux kernels.
svn path=/nixpkgs/branches/stdenv-updates/; revision=13875
2009-01-27 10:51:54 +00:00
Ludovic Courtès
6927ec314e
GNU Coreutils 7.0.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=13829
2009-01-24 19:05:35 +00:00
Eelco Dolstra
387cbc1c92
* Enable the backwards compatibility patch (I guess it doesn't hurt on
...
new kernels).
svn path=/nixpkgs/branches/stdenv-updates/; revision=12989
2008-10-07 16:55:58 +00:00
Pjotr Prins
bdc54592c7
Adding (disabled) time compatibility patch for coreutils - this allows
...
the compilation of older Linux kernels against newer headers (not a recommended
practise!)
svn path=/nixpkgs/trunk/; revision=12944
2008-10-05 08:41:54 +00:00
Eelco Dolstra
cd60dc0ede
* Various updates.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=12051
2008-06-12 09:49:40 +00:00
Eelco Dolstra
1d6f0ab989
* On Linux, build coreutils with ACL support.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=11848
2008-05-19 15:12:03 +00:00
Eelco Dolstra
a218b9b2e7
* Updated coreutils and findutils.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=11685
2008-04-22 13:12:45 +00:00
Eelco Dolstra
8cd1b893cf
* coreutils-6.10, findutils-4.2.32.
...
* Added some meta attributes.
svn path=/nixpkgs/branches/stdenv-updates/; revision=10511
2008-02-06 13:18:50 +00:00
Michael Raskin
77a46300fa
Added patch from Gentoo for glibc 2.6 compatibility. It just randomly renames an inner function, so glibc 2.5-safe.
...
svn path=/nixpkgs/trunk/; revision=9441
2007-10-11 03:41:29 +00:00
Eelco Dolstra
544cb9cb83
* Rewrite all URLs to GNU mirrors to mirror://gnu/.
...
svn path=/nixpkgs/trunk/; revision=9201
2007-08-27 13:42:00 +00:00
Eelco Dolstra
1e371a927e
* coreutils updated to 6.9 (NIXPKGS-50).
...
svn path=/nixpkgs/trunk/; revision=8749
2007-05-24 13:48:47 +00:00
Armijn Hemel
7e41b751cb
new versions of various very important tools to keep the buildfarm busy.
...
svn path=/nixpkgs/trunk/; revision=7485
2006-12-25 23:28:35 +00:00
Eelco Dolstra
f86c11815f
* Use coreutils 6.4; the dietlibc patch has been merged.
...
svn path=/nixpkgs/trunk/; revision=6835
2006-10-24 22:49:08 +00:00
Eelco Dolstra
ce22859f8a
* Bash on dietlibc.
...
* Pass -D_BSD_SOURCE=1 by default in the dietlibc stdenv.
svn path=/nixpkgs/trunk/; revision=6768
2006-10-18 16:16:07 +00:00
Eelco Dolstra
efc2b12da5
* A better patch.
...
svn path=/nixpkgs/trunk/; revision=6766
2006-10-18 15:26:48 +00:00