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
Robin Gloster
acb408646e
remove local pic flags, now set by hardened stdenv
2016-01-30 16:36:57 +00:00
janus
55aa9163cc
FreeBSD: minor fixes, add notes and make stdenv more robust
2016-01-01 17:01:13 +00:00
janus
f351aaaf85
FreeBSD: use own stdenv, do not run libtiff tests, use PIC for zlib
2016-01-01 17:01:13 +00:00
Jude Taylor
fa9c81f694
pure darwin stdenv
2015-06-18 12:37:41 -07:00
Florian Friesdorf
d2da94cc0b
cygwin: zlib - we do not --disable-shared
2015-05-28 10:53:36 +02:00
William A. Kennington III
21fea99191
Fix some meta
2015-05-01 15:06:39 -07:00
Michael Raskin
4bbfa27e5c
Make the Darwin fix in zlib keep Linux hash
2015-01-07 18:23:18 +03:00
John Wiegley
f8bd5bb401
zlib: on darwin, correctly set the RPATH for libzlib
2015-01-06 14:52:58 -06:00
Bjørn Forsman
b5cd66487a
zlib: add description and license info
2014-06-23 13:28:58 +02:00
John Wiegley
195800e881
Do not use static-libgcc flag on Darwin
2014-06-16 14:26:40 -07:00
aszlig
625d7b9043
Merge pull request #1928 from 'cross-win-osx'.
...
This includes a lot of fixes for cross-building to Windows and Mac OS X
and could possibly fix things even for non-cross-builds, like for
example OpenSSL on Windows.
The main reason for merging this in 14.04 already is that we already
have runInWindowsVM in master and it doesn't work until we actually
cross-build Cygwin's setup binary as the upstream version is a fast
moving target which gets _overwritten_ on every new release.
Conflicts:
pkgs/top-level/all-packages.nix
2014-04-21 10:00:35 +02:00
aszlig
33acfbe917
minizip: New package based on zlib derivation.
...
This is needed by Chromium and is part of the zlib source tree in
contrib/, so let's propagate the version of zlib and use the same source
tree.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-04-19 03:58:40 +02:00
aszlig
8c053312b5
zlib/cross: Fix build for Darwin.
...
Provide the correct cross ranlib, because native ranlib will fail.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:47 +01:00
Vladimír Čunát
3e3f70713f
zlib: minor update 1.2.7 -> 1.2.8
2013-04-30 09:15:15 +02:00
Eelco Dolstra
88b11196c1
Clean up redundant "if condition then true else false"
2012-12-28 19:57:47 +01:00
Eelco Dolstra
b5fa2175db
* Zlib updated to 1.2.7.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=34009
2012-05-07 20:10:50 +00:00
Yury G. Kudryashov
3fa0cbb011
zlib_latest == zlib, so remove zlib/latest.nix
...
svn path=/nixpkgs/trunk/; revision=32828
2012-03-06 14:35:37 +00:00
Eelco Dolstra
a753c4a170
* GCC 4.6.3 and 4.5.3.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=32734
2012-03-01 23:15:21 +00:00
Eelco Dolstra
11d1104a88
* Sync with the trunk.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=32731
2012-03-01 22:22:24 +00:00
Yury G. Kudryashov
0210e20b5a
svn merge ^/nixpkgs/trunk
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=32713
2012-03-01 07:04:39 +00:00
Lluís Batlle i Rossell
cb5bbe00fe
Adding the latest zlib, otherwise vlc does not build.
...
This also could be used for a newer cmake, or some trouble there was with libxml2.
svn path=/nixpkgs/trunk/; revision=32598
2012-02-26 20:06:01 +00:00
Eelco Dolstra
d575666a12
* Fix building zlib on Cygwin.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=32358
2012-02-17 17:02:18 +00:00
Yury G. Kudryashov
0de0994bc4
zlib: largefile_source problem fixed upstream
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=32135
2012-02-08 05:05:46 +00:00
Lluís Batlle i Rossell
1f3f0e6b65
Updating zlib. The zlib.net site is down, but I could pick the file from a gentoo distfiles mirror.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=32133
2012-02-07 21:51:03 +00:00
Eelco Dolstra
ef7b97bade
* Fix the zlib build (the patch didn't apply).
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=30847
2011-12-12 13:45:24 +00:00
Lluís Batlle i Rossell
32b3de1f96
Updating the zlib patch to the patch proposed in the zlib-devel list regarding this issue.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=30349
2011-11-08 22:51:11 +00:00
Eelco Dolstra
0880b96a3d
* Apply the zlib/cmake updates from the trunk.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=30309
2011-11-07 22:54:45 +00:00
Eelco Dolstra
bb889c3605
* Revert both r30278 (cmake upgrade) and r30307 (zlib fix to get cmake
...
to build). These are more appropriate to the stdenv branch. I'll
apply them there.
svn path=/nixpkgs/trunk/; revision=30308
2011-11-07 22:05:46 +00:00
David Guibert
f5a2998c03
fix _LARGEFILE64_SOURCE in zlib
...
svn path=/nixpkgs/trunk/; revision=30307
2011-11-07 21:33:37 +00:00
Lluís Batlle i Rossell
706b80c282
I wrote bad my attempt at -static-libgcc. Retrying.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=30024
2011-10-25 18:52:32 +00:00
Lluís Batlle i Rossell
3fa51ac56a
Trying to disable the references to the bootstrap-tools libgcc
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=30022
2011-10-25 18:35:17 +00:00
Yury G. Kudryashov
0bfc84b0aa
Cross-compile zlib for Windows
...
svn path=/nixpkgs/trunk/; revision=26928
2011-04-23 06:59:04 +00:00
Eelco Dolstra
3c57f1fd8a
* Fix zlib 1.2.5 on Cygwin. (The Makefile doesn't support building
...
just a static library.)
svn path=/nixpkgs/trunk/; revision=22748
2010-07-27 11:37:29 +00:00
Eelco Dolstra
b7324318cf
* zlib updated to 1.2.5.
...
svn path=/nixpkgs/branches/x-updates/; revision=22637
2010-07-18 21:52:39 +00:00
Michael Raskin
aadb898a0b
Implementing a fix allowing deepOverride without changing dependency-tree-leaf packages
...
svn path=/nixpkgs/trunk/; revision=22533
2010-07-08 15:31:59 +00:00
Michael Raskin
ccc497f80d
Make WebKit use libsoup 2.31.2 via deepOverride. Edit a few packages that were overridable but did not allow extra arguments. Remove a catch with deepOverride that pkgs.lib had this attribute in a different sense.
...
svn path=/nixpkgs/trunk/; revision=22529
2010-07-08 13:25:52 +00:00
Lluís Batlle i Rossell
12e960f592
Adding dropbear, a small implementation of ssh2 client and server.
...
I made it statically build by default
I had to fix the zlib static cross-build, because the native stripping corrupted the target
static library. It is not the first time I see this.
I add drobear to the cross-built packages for hydra.
svn path=/nixpkgs/trunk/; revision=20518
2010-03-09 23:11:12 +00:00
Lluís Batlle i Rossell
ca5d91aa60
Made more libraries cross compile. fontconfig, libxcb, bzip2, libdrm, zlib...
...
I was trying to cross compile SDL. Many dependencies work, but I ended seeing
libX11 not ready for cross compilation. Other xorg libraries cross-compile
well. libX11 may need a small patch. The problem is the usual "configure test
cannot be run in cross compilation", so the configure script halts.
I made the pkgconfig expression always return buildDrv, as I think it rarely
will be needed as buildInput. So to avoid rewriting all its mentions to use
it as buildNativeInput, I prefered this small change.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18500
2009-11-21 10:44:22 +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
659023aa97
* Hack for building zlib on Cygwin (NIXPKGS-28).
...
svn path=/nixpkgs/trunk/; revision=8768
2007-05-24 16:05:40 +00:00
Armijn Hemel
55e322ca6c
variability, add a static variant, default is to use shared libraries
...
svn path=/nixpkgs/trunk/; revision=5932
2006-07-25 08:24:22 +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
Eelco Dolstra
c9ac877503
* ZLib updated to 1.2.3.
...
svn path=/nixpkgs/trunk/; revision=3415
2005-07-23 21:00:06 +00:00
Eelco Dolstra
7775caaa35
* Evacuate tarballs.
...
svn path=/nixpkgs/trunk/; revision=2527
2005-04-11 13:09:01 +00:00
Eelco Dolstra
67140c410f
* Zlib updated to 1.2.2.
...
svn path=/nixpkgs/trunk/; revision=2517
2005-04-11 08:53:48 +00:00
Eelco Dolstra
e42507d182
* Move tarballs to catamaran so that we are no longer dependent on a
...
gazillion different servers. Resurrected some 25 missing files.
svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Eelco Dolstra
a801ea32a8
* Merge zlib mac patch.
...
svn path=/nixpkgs/trunk/; revision=1445
2004-09-18 17:58:42 +00:00
Eelco Dolstra
68327c3a9d
* Fix brokenness due to automatic transformations.
...
svn path=/nixpkgs/trunk/; revision=879
2004-03-30 12:40:55 +00:00