Commit Graph

60 Commits

Author SHA1 Message Date
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Matthew Bauer
d0677e6d45 treewide: add warning comment to “boot” packages
This adds a warning to the top of each “boot” package that reads:

  Note: this package is used for bootstrapping fetchurl, and thus cannot
  use fetchpatch! All mutable patches (generated by GitHub or cgit) that
  are needed here should be included directly in Nixpkgs as files.

This makes it clear to maintainer that they may need to treat this
package a little differently than others. Importantly, we can’t use
fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale
hashes, we need to include patches that are subject to changing
overtime (for instance, gitweb’s patches contain a version number at
the bottom).
2020-07-31 08:56:53 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Luka Blaskovic
820a197b5f gnum4: fix build with glibc>=2.28 2020-01-14 08:26:59 +00:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Matthew Bauer
2ecc1d1599 stdenv/darwin: move secure-format patch to gnum4
This is the only derivation that needs it anymore.
2019-04-26 21:54:47 -04:00
c0bw3b
0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
volth
31beea9818
gnum4: set platforms=unix++windows 2018-11-11 01:42:40 +00:00
volth
a538d9982a
gnum4: set platforms=all; it works on Windows 2018-11-11 01:17:56 +00:00
John Ericson
0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
John Ericson
db965063b3 treewide: Make configureFlags lists 2018-08-03 17:06:03 -04:00
John Ericson
e5567bae2d treewide: Do not limit hardenging because gcc 4.9 in bootstrap
Bootstrap tools has since been bumped
2017-09-14 10:27:13 -04:00
Dan Peebles
0419452113 Fix Darwin stdenv to work on 10.13
The main changes are in libSystem, which lost the coretls component in 10.13
and some hardening changes that quietly crash any program that uses %n in
a non-constant format string, so we've needed to patch a lot of programs that
use gnulib.
2017-07-11 21:56:38 -04:00
Lancelot SIX
293551a162 gnum4: 1.4.17 -> 1.4.18
See http://lists.gnu.org/archive/html/info-gnu/2016-12/msg00015.html
for release announcement.
2017-01-03 14:45:55 +01:00
Robin Gloster
1b979d8384 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-03 13:34:44 +00:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Franz Pletz
f8d481754c
Merge remote-tracking branch 'origin/master' into hardened-stdenv 2016-05-18 17:10:02 +02:00
Allen Nelson
bb9fa90dca gnum4: disable tests 2016-04-25 11:48:47 -05:00
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
Robin Gloster
402d57ee8e bootstrap env: disable stackprotector hardening until gcc >=4.9 2016-02-22 18:32:53 +00:00
janus
c01dbc4932 FreeBSD patches for GNU m4, stdenv, miniupnpc 2016-01-01 17:01:13 +00:00
Eelco Dolstra
6310a9a3be gnum4: Fix impurity in shell handling
If gnum4 is built outside of a chroot, it will decide to use
/run/current-system/sw/bin/sh as the shell for "syscmd". (It gets this
path via "getconf PATH". Maybe our Glibc shouldn't return that path,
at least not during Nix builds...) If such a build of gnum4 is
subsequently used *inside* a chroot, it won't work because
/run/current-system doesn't exist. So specify an explicit path to the
shell.
2015-07-31 04:13:08 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Peter Simons
e4f6e4b15d gnum4: drop obsolete patches 2013-09-22 16:35:54 +02:00
Peter Simons
ee3dc2d0c9 gnum4: fix download URL 2013-09-22 16:32:26 +02:00
Peter Simons
8d6b23a60a gnum4: update to version 1.4.17 2013-09-22 16:27:44 +02:00
Eelco Dolstra
fcc18aad0a Fix some packages that referred to gets()
Glibc no longer defines gets() if _GNU_SOURCE is defined.
2012-09-18 14:05:23 -04:00
Ludovic Courtès
18a9c46a46 GNU M4: Disable tests on Solaris. 2012-06-28 15:50:03 +02:00
Ludovic Courtès
472a9d6e3d GNU M4: Disable tests on Cygwin.
svn path=/nixpkgs/trunk/; revision=34277
2012-05-29 16:37:28 +00:00
Ludovic Courtès
383baf8794 GNU M4: Have a test work around flaws in newer Linux versions.
svn path=/nixpkgs/branches/stdenv-updates/; revision=29856
2011-10-15 23:25:12 +00:00
Ludovic Courtès
18962bfe66 GNU M4 1.4.16.
svn path=/nixpkgs/branches/stdenv-updates/; revision=29588
2011-10-02 20:35:49 +00:00
Ludovic Courtès
f93e0b7517 GNU M4 1.4.15.
svn path=/nixpkgs/branches/stdenv-updates/; revision=24161
2010-10-07 22:29:15 +00:00
Lluís Batlle i Rossell
ff0b54e26e Patching the latest gnum4 so it builds with glibc 2.12.1
svn path=/nixpkgs/branches/stdenv-updates/; revision=23306
2010-08-21 13:03:36 +00:00
Ludovic Courtès
99d51d0e92 Assorted GNU updates.
svn path=/nixpkgs/branches/stdenv-updates/; revision=21047
2010-04-13 08:37:54 +00:00
Ludovic Courtès
4b663632ed GNU M4 1.4.13.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14834
2009-04-02 12:33:27 +00:00
Eelco Dolstra
e8358099f5 * Doh.
svn path=/nixpkgs/branches/stdenv-updates/; revision=13959
2009-02-02 15:41:13 +00:00
Eelco Dolstra
a68773a3ea * GNU m4: `make check' fails on Darwin:
===
Checking ./219.improved_f
Checking ./stackovf.test
Stack soft limit set to 300K
Failure - m4 aborted unexpectedly
Output from m4:
m4: internal error detected; please report this bug to <bug-m4@gnu.org>: Bus error

Skipped checks were:
  ./116.changeword ./117.changeword ./118.changeword ./119.changeword ./120.changeword ./121.changeword
Failed checks were:
  ./stackovf.test
make[2]: *** [check] Error 1
make[1]: *** [check-recursive] Error 1
===

  So disable the check on Darwin for now.

svn path=/nixpkgs/branches/stdenv-updates/; revision=13958
2009-02-02 15:34:59 +00:00
Eelco Dolstra
c1579d2e78 * stdenv branch: synced with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=13785
2009-01-16 10:59:27 +00:00
Ludovic Courtès
c4df2f80d5 GNU M4 1.4.12.
Untested!

svn path=/nixpkgs/branches/stdenv-updates/; revision=13142
2008-10-29 08:58:48 +00:00
Eelco Dolstra
0d62334693 * 1.4.11.nix -> default.nix.
svn path=/nixpkgs/branches/stdenv-updates/; revision=12997
2008-10-08 08:47:20 +00:00
Eelco Dolstra
51aa939b21 * GNU M4 1.4.11.
svn path=/nixpkgs/branches/stdenv-updates/; revision=12993
2008-10-07 17:34:00 +00:00
Ludovic Courtès
7a1735a705 Add GNU M4 1.4.11, with test suite and all.
Can't replace 1.4.9 right now since it's part of stdenv.

svn path=/nixpkgs/trunk/; revision=12238
2008-07-01 19:50:34 +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
056209410d * GNU M4 updated to 1.4.9 (NIXPKGS-51).
svn path=/nixpkgs/trunk/; revision=8748
2007-05-24 13:42:28 +00:00
Armijn Hemel
d2d3dc33dd update to 1.4.8
svn path=/nixpkgs/trunk/; revision=7484
2006-12-25 21:23:09 +00:00
Eelco Dolstra
ef9b025dbe * Remove a bunch of unused Nix expressions.
svn path=/nixpkgs/trunk/; revision=6716
2006-10-12 15:43:01 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Armijn Hemel
2b0b1e93a6 bump to latest version
svn path=/nixpkgs/trunk/; revision=6645
2006-10-02 21:33:37 +00:00
Armijn Hemel
6b04c4a65e new m4
svn path=/nixpkgs/trunk/; revision=6644
2006-10-02 21:30:54 +00:00
Armijn Hemel
39eb66f644 set default to 1.4.6 (was 1.4.3)
svn path=/nixpkgs/trunk/; revision=6378
2006-08-30 17:05:47 +00:00