Commit Graph

120 Commits

Author SHA1 Message Date
Gaelan Steele
b14d997778 nss: fix building for aarch32 on aarch64
There are two ways to build a package for aarch32 on an aarch64 machine:
either by cross compiling as normal, or by adding armv6l/armv7l to
extraPlatforms and doing a non-cross compile.

Previously, NSS failed to build with both methods: when using
extraPlatforms, things failed because NSS includes an armv8-specific
file (presumably based on the result of uname); when cross compiling,
NSS's build system expects to receive an architecture name of arm (not
armv6l or whatever), so was failing to include some arch-specific code
and failed with a linker error.

This commit fixes those things by a) always passing the arch, even when
not cross-compiling, and b) special-casing aarch32 to always pass in an
arch of arm.
2020-05-14 09:26:09 -07:00
Andreas Rammhold
bce5268a21
niss: 3.51 -> 3.52 2020-05-04 01:39:35 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Konrad Borowski
60c646c031 nss: 3.49.2 -> 3.51 2020-03-10 14:36:52 +01:00
Andreas Rammhold
92f660e254 nss: 3.48 -> 3.49.2 2020-02-11 07:51:22 +01:00
Andreas Rammhold
6da3b5e8b7 nss: 3.47.1 -> 3.48.1 2020-01-08 14:48:30 +01:00
Robin Gloster
a085e9c061
nss: *Flags are lists 2019-12-30 11:13:40 +01:00
Andreas Rammhold
1c0b2785b4
nss: 3.46.1 -> 3.47.1 2019-11-27 21:08:19 +01:00
Andreas Rammhold
b4f278a07c nss: 3.46 -> 3.46.1 2019-10-21 21:58:37 +02:00
Andreas Rammhold
7b504b49b0 nss: 3.44.1 -> 3.46 2019-09-02 16:13:19 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
taku0
442fd85db6
nss: 3.44 -> 3.44.1 2019-07-15 09:38:15 +02:00
Matthew Bauer
fc04ec9274
Merge pull request #58063 from illegalprime/nss-cross
nss: cross compile support
2019-06-10 21:33:19 -04:00
Will Dietz
979970a4cd
nss: 3.43 -> 3.44 2019-05-15 17:03:35 -05:00
Will Dietz
354ccb2052
nss: 3.42.1 -> 3.43
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.43_release_notes
2019-05-15 17:03:15 -05:00
Michael Eden
6261601b00 nss: move CPU_ARCH and OS_TEST to cross comp 2019-03-26 22:07:10 -04:00
Michael Eden
8f4dcedbb0 nss: cross compile support 2019-03-25 13:30:53 -04:00
Tim Steinbach
e27fa435f7
nss: 3.42 -> 3.42.1 2019-02-13 08:10:13 -05:00
Andreas Rammhold
604bd482d1 nss: 3.41 -> 3.42 2019-01-29 20:30:42 +01:00
Alyssa Ross
fdc6caf144
nss: 3.40.1 -> 3.41 2018-12-16 14:22:54 +00:00
Will Dietz
e1adb093b7 nss: 3.40 -> 3.40.1 2018-12-02 00:00:10 -06:00
Will Dietz
011c890a62 nss: generate url from version (doesn't change derivation hash)
Makes future upgrades easier...
2018-12-02 00:00:09 -06:00
Andreas Rammhold
376f4b9f05
nss: 3.39 -> 3.40 2018-11-15 00:28:11 +01:00
Andreas Rammhold
8a9b6bc607
nss: 3.38 -> 3.39 2018-10-23 10:15:44 +02:00
Vladimír Čunát
153a19df05
Merge branch 'master' into staging-next
Hydra: ?compare=1474536
2018-08-20 09:15:33 +02:00
Markus Kowalewski
73eede0543
nss: add license 2018-08-17 23:55:36 +02:00
Jan Malakhovski
f3057114fb nss: disable tests 2018-08-11 09:35:38 +00:00
Vladimír Čunát
2f4001f41a
Merge #42729: firefox-61 and related updates (security)
(cherry picked from commit 8ad921dc94)
Fast-forwarded to get to master sooner.
2018-06-29 20:58:13 +02:00
taku0
4927422609 nss: 3.36.4 -> 3.38 2018-06-28 23:52:54 +09:00
taku0
288d0885b3 nss: 3.36.1 -> 3.36.4 2018-06-07 21:33:13 +09:00
Andreas Rammhold
4320c1151d nss: removed aarch64 patch
With the update to 3.36 the patch introduced with e96473b is no longer
required.
2018-05-12 20:03:31 +09:00
Jörg Thalheim
2adc297e52 nss: 3.35 -> 3.36.1 2018-04-15 21:35:46 +01:00
Tuomas Tynkkynen
8254d2cfb0 nss: Fix aarch64 build 2018-03-19 05:11:01 +02:00
taku0
16ee6b5ed9 nss: 3.34.1 -> 3.35; cacert.certdata2pem: 20160104 -> 20170717 2018-03-16 03:42:09 +00:00
Väinö Järvelä
aacd3e5267 nss: link libraries with absolute paths on Darwin 2018-02-21 07:33:11 +02:00
Andreas Rammhold
e524549536
nss: 3.33 -> 3.34.1 2018-01-31 01:51:28 +01:00
John Wiegley
e8caa47b35 nss: Omit an extraneous definition; fix other problems on Darwin 2018-01-03 15:18:00 -08:00
taku0
b5f2a090de nss: 3.32.1 -> 3.33 2017-11-13 23:01:02 +09:00
Robin Gloster
034c168aa2
nss: fix includedir for pkgconfig 2017-10-09 20:49:36 +02:00
taku0
6e2744ab0f nss: 3.31 -> 3.32.1 2017-10-04 21:12:12 +09:00
taku0
0ed1aead70 nss: 3.30 -> 3.31 2017-06-14 21:50:02 +09:00
Vladimír Čunát
8eab29e26f
nss: 3.28.3 -> 3.30 (close #24508) 2017-04-01 13:31:05 +02:00
Nikolay Amiantov
1715e3643b nss: propagate nspr 2017-03-23 00:03:32 +03:00
Alexey Shmalko
cb670556c5
nss: 3.28.1 -> 3.28.3
This should fix firefox build, which fails due to nss being too old.
2017-03-08 13:27:16 +02:00
aszlig
ca7923f111
nss: Provide a more stable URL for pkgconfig patch
Since 2bf0f84f1f, the patch isn't in our
repository anymore but being fetched from its origin.

However, the origin URL is always pointing to the latest master version
of Gentoo. This has the downside that whenever Gentoo changes the patch,
our build of NSS will be broken.

Also, I'm providing a comment here indicating what the patch does.

As to the reason *why* the patch is there, I vaguely remeber seeing a
few libraries/applications that depend on NSS relying that there's a
pkgconfig file.

After checking a few distros, they all seem to have it:

https://anonscm.debian.org/cgit/pkg-mozilla/nss.git/tree/debian?id=5306c4192d6bc0a2685842e9fd533196e7302297
https://apps.fedoraproject.org/packages/nss-devel/
https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/nss&id=3f7f54b357e23b7ac1cec849693334ad29be07d2

The issue is already reported upstream but hasn't been fixed yet:

https://bugzilla.mozilla.org/show_bug.cgi?id=530672

Tested by building nss on x86_64-linux (the hash didn't change anyway,
but just to be sure).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2017-01-25 16:25:00 +01:00
Vladimír Čunát
30a94deac5
nss: remove parameter that just got unused 2017-01-24 15:56:36 +01:00
Vladimír Čunát
f8e39ec13c
nss: fetchpatch -> fetchurl
This isn't a dynamically generated patch, so it's not required,
and the hash was for unmodified patch anyway.
2017-01-24 15:43:53 +01:00
Eelco Dolstra
2bf0f84f1f
nss: 3.27.2 -> 3.28.1 2017-01-24 14:49:46 +01:00
Eelco Dolstra
b221fc137c
nss: 3.27.1 -> 3.27.2 2016-12-01 13:02:35 +01:00
Eelco Dolstra
1624f7f174
nss: 3.26 -> 3.27.1 2016-11-15 16:58:45 +01:00