Commit Graph

228 Commits

Author SHA1 Message Date
Theodore Ni
86ec07079f
nss: accidentally patching same file twice 2023-08-12 12:55:23 -07:00
ajs124
dd005d7fad nss_latest: 3.91 -> 3.92
https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/oNYCNPU21k0/m/rM3q7pM3BAAJ
2023-07-27 16:56:22 +02:00
Jan Tojnar
2819e547d3 Merge branch 'staging-next' into staging
; Conflicts:
;	pkgs/development/libraries/nss/generic.nix

- bb53634671 removed the conditionals since firefox-esr-91 and nss <3.69 has been dropped a while ago.
- cb3762857d updated the conditionals to always partition the tests based on the nss_latest version. Chosen that since it will remain future proof.
2023-07-05 02:22:26 +02:00
Martin Weinelt
cb3762857d
nss: update passthru tests for firefox-esr-115
Ties the logic to the version of the nss_latest attribute, so we get a
stable relationship.
2023-07-04 16:07:26 +02:00
Jan Tojnar
ff15350944 Merge branch 'staging-next' into staging
; Conflicts:
;	pkgs/development/libraries/nss/generic.nix

fa93045a5b adds `< 3.91` conjunct for the `remove-c25519-support.patch` condition
bb53634671 removes the ≥ 3.90 condition for the `remove-c25519-support.patch` since nss < 3.90 is no longer provided
2023-07-01 20:11:04 +02:00
Martin Weinelt
fa93045a5b
nss_latest: 3.90 -> 3.91
https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/i-wiqdBIjMI
2023-06-30 12:27:09 +02:00
ajs124
bb53634671 nss: drop now-unused patches and conditions 2023-06-23 14:43:50 +02:00
ajs124
37b323d6fd nss_esr: 3.79.4 -> 3.90
this is the new esr release
see nss latest updates for changelogs
2023-06-23 14:20:23 +02:00
Martin Weinelt
2e5b94de00
nss_latest: remove curve25519 support
Was enabled unconditionally, but causes SIGILL on machines that do not
support the Intel ADX instruction extensions.
2023-06-20 15:46:07 +02:00
ajs124
871fd1b210 nss: 3.89.1 -> 3.90
https://github.com/nss-dev/nss/blob/NSS_3_90_BRANCH/doc/rst/releases/nss_3_90.rst
2023-06-06 14:21:57 +02:00
Sergei Trofimovich
e10c33986c nss_esr: backport gcc-13 fix
Without the change `nss` build on `gcc-13 `fails as:

    ../../cpputil/databuffer.h:20:20: error: 'uint8_t' does not name a type
       20 |   DataBuffer(const uint8_t* d, size_t l) : data_(nullptr), len_(0) {
          |                    ^~~~~~~
    ../../cpputil/databuffer.h:14:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
       13 | #include <iostream>
      +++ |+#include <cstdint>
       14 |
2023-05-29 21:31:13 +01:00
Martin Weinelt
c4ee685dd1
nss_latest: 3.89 -> 3.89.1
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_89_1.rst
2023-05-06 02:16:40 +02:00
Martin Weinelt
40a752167a
nss_latest: 3.88.1 -> 3.89
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_89.rst
2023-03-10 20:00:56 +01:00
Alyssa Ross
52c286ee5b
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/pmdk/default.nix
2023-02-23 13:51:34 +00:00
Artturin
6b2a05e190 treewide: manual fixups for
treewide: use toString on list NIX_CFLAGS_COMPILE
treewide: move NIX_CFLAGS_COMPILE to the env attrset
2023-02-22 21:23:04 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Martin Weinelt
cd77731b1a
Merge pull request #216163 from helsinki-systems/fix/nss-parallel-build
nss: fix build parallelism
2023-02-15 10:07:53 +00:00
ajs124
f4e9ffe7cb nss: fix build parallelism
NIX_BUILD_CORES was not honored before
Closes #216035
2023-02-13 14:21:56 +01:00
Martin Weinelt
af976a9d56
Merge pull request #215683 from helsinki-systems/upd/nss_esr
nss_esr: 3.79.3 -> 3.79.4
2023-02-11 01:23:47 +00:00
ajs124
bc8cfa181b nss_esr: 3.79.3 -> 3.79.4
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_79_4.rst
2023-02-10 14:13:46 +01:00
ajs124
05bbf5e583 nss_latest: 3.87 -> 3.88.1
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_88.rst
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_88_1.rst
2023-02-10 14:10:50 +01:00
ajs124
3a41f834f0 nss_esr: 3.79.2 -> 3.79.3
2d83f13617/doc/rst/releases/nss_3_79_3.rst
2023-01-11 01:52:31 +01:00
Adam Joseph
eeb450e20f nss: convert NIX_CFLAGS_COMPILE to a list
Nss has a lot of dependers, so subtle whitespace changes can cause
mass rebuilds, like I did here:

  https://github.com/NixOS/nixpkgs/pull/208698#issuecomment-1368600990

Let's use a list instead of concatenating individual strings in
order to be more robust.  This will cause a lot of rebuilds, but
will prevent rebuilds in the future.  Sending it this cleanup to
staging because of that.
2023-01-11 01:50:40 +01:00
ajs124
dda22045e7 nss_latest: 3.86 -> 3.87
https://firefox-source-docs.mozilla.org/security/nss/releases/nss_3_87.html
2023-01-06 15:57:52 +01:00
Adam Joseph
c0a40bee00 nss: set -DNS_PTR_LE_32=1 if isILP32
A comment in RNG_RandomUpdate() (drdbg.c) says to add the
-DNS_PTR_LE_32=1 flag on ILP32 platforms.

Without this PR, pkgsCross.mips64el-linux-gnuabin32.nss fails to
build.  With this PR, it succeeds.
2023-01-02 20:53:12 -08:00
ajs124
c13ed541db nss_latest: 3.85 -> 3.86
https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/NqCkaX216zY/m/QAUPTaBWCgAJ
2022-12-09 00:22:17 +01:00
ajs124
9930d35129 nss_latest: 3.84 -> 3.85
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_85.rst
2022-11-11 23:45:10 +01:00
Martin Weinelt
be990edc4a
nss: 3.79.1 -> 3.79.2
https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/dbVxfMyXEyE
2022-10-26 01:51:36 +02:00
Martin Weinelt
989e8d8568
nss: 3.83 -> 3.84
https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/uV-FYp6SUr8/m/M5TvBj0eAQAJ
2022-10-13 18:21:29 +02:00
Martin Weinelt
5d4267b0f2 Merge remote-tracking branch 'origin/master' into staging-next 2022-09-20 12:25:19 +02:00
Martin Weinelt
61b5db3336
nss_latest: 3.82 -> 3.83
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_83.rst
2022-09-15 21:31:38 +02:00
Martin Weinelt
d1e2a371f0
nss: 3.68.4 -> 3.79.1
The 3.68.4 release was the last of the 3.68 ESR series and 3.79 is the
new ESR series.

https://firefox-source-docs.mozilla.org/security/nss/releases/nss_3_79.html
https://firefox-source-docs.mozilla.org/security/nss/releases/nss_3_79_1.html
2022-09-03 12:49:09 +02:00
Martin Weinelt
0badc2389a
nss: migrate manual patching into postPatch 2022-08-19 15:16:13 +02:00
Martin Weinelt
df214678dc
nss: Drop ckpem patch
It's usefulness is not clear to us maintainers.
2022-08-19 01:34:40 +02:00
Martin Weinelt
7f01443ef1
nss: Drop nss-pem patchset
The patch url went 404 and other distros¹ have discarded it as well in
favor of packaging nss-pem²

[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-libs/nss?id=5eca3e02c87163b3c541cdee893830d201abfb86
[2] https://github.com/kdudka/nss-pem
2022-08-19 01:34:37 +02:00
Martin Weinelt
1393dba610
nss_latest: 3.81 -> 3.82
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_82.rst
2022-08-18 17:04:23 +02:00
Martin Weinelt
24ae5203be
nss: test individual firefox versions in passthru 2022-08-06 11:36:36 +02:00
ajs124
20ada9a6c7 nss_latest: 3.80 -> 3.81
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_81.rst
2022-07-21 16:03:03 +02:00
ajs124
0bd02d1963 nss_latest: 3.79 -> 3.80
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_80.rst
2022-06-24 00:41:32 +02:00
Martin Weinelt
0af7e9c407 Revert "nss: 3.68.4 -> 3.79"
This reverts commit 1c76a270d2.

This breaks the Firefox 91esr build, which is apparently not compatible
with this NSS version.

/build/firefox-91.10.0/security/certverifier/OCSPVerificationTrustDomain.cpp:63:11: error: unknown type name 'SignedDigest'

Will revisit this upgrade, when we drop 91esr in favor of 102esr soon.
2022-06-12 01:24:12 +02:00
ajs124
1c76a270d2 nss: 3.68.4 -> 3.79
This ESR branch has reached EOL:
https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/-z6f6dOWx9A/m/Bpl8VWd_FwAJ
2022-06-08 22:27:15 +02:00
ajs124
309bfdf2e2 nss: sha256 -> hash 2022-06-01 12:47:36 +02:00
ajs124
ae1f1709b7 nss_latest: 3.78 -> 3.79
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_79.rst
2022-06-01 12:47:31 +02:00
ajs124
bf5c00fc75 nss_esr: 3.68.3 -> 3.68.4
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_68_4.rst
2022-06-01 12:47:23 +02:00
Martin Weinelt
2473837984
nss_latest: 3.77 -> 3.78
https://firefox-source-docs.mozilla.org/security/nss/releases/nss_3_78.html

Fixes the ordering of the security load patchset to save us rebuilds.
2022-05-03 15:36:13 +02:00
Martin Weinelt
c773303215
Revert "Revert "nss_latest: 3.76.1 -> 3.77""
This reverts commit 79a5b548cc.
2022-05-03 15:36:13 +02:00
Martin Weinelt
79a5b548cc Revert "nss_latest: 3.76.1 -> 3.77"
This reverts commit eb9c616c79.

Breaks the Firefox build and needs further investigation.

In file included from Unified_cpp_certverifier0.cpp:47:
/build/firefox-99.0/security/certverifier/OCSPVerificationTrustDomain.cpp:63:11: error: unknown type name 'SignedDigest'
    const SignedDigest& aSignedDigest, Input aSubjectPublicKeyInfo) {
          ^
/build/firefox-99.0/security/certverifier/OCSPVerificationTrustDomain.cpp:74:11: error: unknown type name 'SignedDigest'
    const SignedDigest& aSignedDigest, Input aSubjectPublicKeyInfo) {
          ^

https://github.com/NixOS/nixpkgs/pull/164511#issuecomment-1089496003
2022-04-06 18:09:45 +02:00
ajs124
eb9c616c79 nss_latest: 3.76.1 -> 3.77 2022-04-03 13:14:08 +01:00
ajs124
faee35ce35 nss_latest: 3.76 -> 3.76.1 2022-04-03 13:14:08 +01:00