Files
odfstudio/external/nss
Caolán McNamara f4de60d1b7 skip nspr's test programs on windows and macOS too
nss has had its own NSS_DISABLE_NSPR_TESTS switch since 2024,
https://bugzilla.mozilla.org/show_bug.cgi?id=1904404, so pass that
instead of patching the line out for iOS and Android and skip
the test programs universally.

On windows that skips 161 of nspr's 253 compiled objects and 159 linked test
executables.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I743c3827e33a927961156ee2b3b0f24e5c625b36
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/12846
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 5d38d32be65951c2f4cc59df68e2a96c0bac4b61)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211108
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-18 16:16:09 +02:00
..
…
2026-03-02 19:10:58 +01:00
2026-05-18 20:22:23 +02:00
2026-09-14 16:07:38 +02:00
…

Contains the Network Security Services (NSS) libraries from Mozilla

== ESR versions ==

Upstream releases both regular and "ESR" versions, the latter go into Firefox
ESR and Thunderbird.

There is a new ESR version about once a year, and a ESR version gets micro
updates only when there are security issues to fix, and it's not always obvious
from the release notes of a regular release if there are security issues that
are relevant to LibreOffice, hence it's probably best to bundle only the ESR
versions and upgrade for every micro release (as recommended by upstream).

== Fips 140 and signed libraries ==

Fips 140 mode is not supported. That is, the *.chk files containing the
checksums for the cryptographic module are not delivered into instdir and will
not be part of the OOo installation sets.

Signing has been turned off because
- we change the rpath (install names)  after signing which breaks the signatures
(Mac)
- sqlite conflicts with the system sqlite when signing which breaks the build

See also
[https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Tech_Notes/nss_tech_note6]

== libsqlite3 ==

With all supported macOS SDK we use
NSS_USE_SYSTEM_SQLITE=1
to build using the system sqlite.