Commit Graph

25 Commits

Author SHA1 Message Date
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Robin Gloster
d020caa5b2 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-18 13:49:22 +00: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
6be9164b97 checkinstall: turn off fortify 2016-02-09 01:03:24 +00:00
Vladimír Čunát
3b9ef2c71b fix "libc}/lib" and similar references
Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
2015-05-05 11:52:08 +02:00
Eelco Dolstra
9073d554a5 checkinstall: Fix RPM builds
https://bugzilla.novell.com/show_bug.cgi?id=561317
2014-11-13 13:57:33 +01:00
Vladimír Čunát
28d992bf6d checkinstall: fix build with glibc-2.19 2014-02-26 15:56:06 +01:00
Domen Kozar
96b193a7b1 typos 2013-06-03 00:31:43 +02:00
Eelco Dolstra
233aca358f checkinstall: Fix build on i686-linux
http://hydra.nixos.org/build/4844549
2013-05-03 13:43:47 +02:00
Eelco Dolstra
82dc43c28b checkinstall: Make installwatch.so work with old Glibcs 2013-03-15 14:04:32 +01:00
Eelco Dolstra
4c67972e9b checkinstall: Support Glibc >= 2.16 2013-03-15 14:04:32 +01:00
Eelco Dolstra
38615a16e9 * Fix the checkinstall build on Glibc 2.13.
svn path=/nixpkgs/trunk/; revision=32831
2012-03-06 19:06:33 +00:00
Eelco Dolstra
10cb305f11 * Urgh.
svn path=/nixpkgs/trunk/; revision=20339
2010-03-02 16:33:35 +00:00
Eelco Dolstra
42d9c2e92a svn path=/nixpkgs/trunk/; revision=20338 2010-03-02 16:33:17 +00:00
Eelco Dolstra
8b5d0c8de5 * Updated checkinstall 1.6.2, and added a patch to make it compile on
Glibc 2.11.

svn path=/nixpkgs/trunk/; revision=19868
2010-02-08 15:39:51 +00:00
Eelco Dolstra
a727aa8d8b * Fix the broken Glibc version check.
svn path=/nixpkgs/trunk/; revision=17251
2009-09-18 15:02:19 +00:00
Eelco Dolstra
fd6de46f40 svn path=/nixpkgs/branches/stdenv-updates/; revision=15259 2009-04-22 23:08:25 +00:00
Eelco Dolstra
6a18dcab44 * checkinstall: don't include directories in the Debian `conffiles'
file.  This caused the Nix Debian build to fail (because it installs
  a file /etc/profile.d/nix.sh).

svn path=/nixpkgs/trunk/; revision=15038
2009-04-14 14:57:31 +00:00
Eelco Dolstra
3c381aa734 * Also handle the __open_2() function, which is needed on x86_64.
* Renamed to patch, because these aren't syscalls but Glibc functions.

svn path=/nixpkgs/trunk/; revision=14742
2009-03-27 21:49:46 +00:00
Eelco Dolstra
96392cc45f * Added a patch that implements the getxattr(), lgetxattr() and
__open64_2() functions.  The latter in particular is needed to make
  operations like `mkdir -p /usr/foo/bar' work on Ubuntu 8.10 (Glibc
  2.8).

svn path=/nixpkgs/trunk/; revision=14741
2009-03-27 17:49:19 +00:00
Eelco Dolstra
b741451a17 * Checkinstall only works on Linux.
svn path=/nixpkgs/trunk/; revision=14740
2009-03-27 14:25:00 +00:00
Eelco Dolstra
7a0f6b1a40 * Patched checkinstall to include empty directory in packages.
svn path=/nixpkgs/trunk/; revision=14736
2009-03-27 14:13:23 +00:00
Eelco Dolstra
8fffed2ba1 * Use the latest checkinstall from git. This fixes /usr/bin/ld and
other paths incorrectly ending up in generated Deb files.

svn path=/nixpkgs/trunk/; revision=14735
2009-03-27 12:13:11 +00:00
Eelco Dolstra
d25aa3c8a5 * checkinstall: build properly on x86_64.
* checkinstall: get rid of the RUNPATH in the LD_PRELOAD library so
  that it works with native Glibc (e.g. in VM builds).
* debBuild: use our own checkinstall.  In particular this allows us to
  build Debs on x86_64.

svn path=/nixpkgs/trunk/; revision=13608
2008-12-10 17:12:19 +00:00
Eelco Dolstra
c90bd0756c * Automatically build Debian packages using checkinstall, as suggested
by Pjotr Prins a while back.  This could also be used to generate
  RPMs for packages that don't have a spec-file.

* Added checkinstall to Nixpkgs.  However we don't use our own build
  yet because with it "make install" segfaults in a Debian VM, while
  the pre-built binary does work.

svn path=/nixpkgs/trunk/; revision=13400
2008-11-25 02:20:41 +00:00