1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 23:24:35 +00:00
Commit graph

109 commits

Author SHA1 Message Date
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
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
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 56ff659e5d)
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 1b36f489b6)
2015-11-04 12:43:13 +01: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
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
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