2012-06-06 17:18:46 -05:00
|
|
|
Contains the security libraries which are also part of [[moz]]. However nss is meant to be more current.
|
2012-02-09 01:51:10 -06:00
|
|
|
|
|
|
|
== Relation between nss, moz, moz_prebuilt ==
|
|
|
|
|
2012-06-06 17:18:46 -05:00
|
|
|
nss contains the security libraries which are also part of moz. However nss is
|
2009-11-30 06:50:49 -06:00
|
|
|
meant to be more current, that is it to be updated more often. This should be
|
2012-02-09 01:51:10 -06:00
|
|
|
easier than doing this with moz.
|
2009-11-30 06:50:49 -06:00
|
|
|
|
2012-12-03 20:35:14 -06:00
|
|
|
If nss is built depends on an environment variable (SYSTEM_NSS=NO) which
|
2009-11-30 06:50:49 -06:00
|
|
|
is per default set to YES. In this case nss is build before moz. The nss
|
|
|
|
libraries/lib files/headers built in moz are then not delivered. Otherwise they
|
|
|
|
would overwrite those from nss. That is, the nss libraries build in moz are
|
|
|
|
removed from mozruntime.zip (build in moz/solver/bin), they are removed from the
|
|
|
|
lib directory (for example moz/unxlngi6.pro/lib), and the nss and nspr headers
|
|
|
|
are also removed (inc/nss and inc/nspr). The nss libraries from the nss module
|
|
|
|
are then added to mozruntime.zip.
|
|
|
|
|
|
|
|
This also applies for moz_prebuilt. Therefore moz and moz_prebuilt must be build
|
|
|
|
again after changes have been made to the libraries in the nss module.
|
|
|
|
|
|
|
|
Also when moz was updated to use a newer version of mozilla, then one must make
|
|
|
|
sure that new files which also belong to nss are not delivered and are removed
|
|
|
|
from mozruntime.zip.
|
|
|
|
|
2012-02-09 01:51:10 -06:00
|
|
|
|
|
|
|
== Fips 140 and signed libraries ==
|
|
|
|
|
2009-11-30 06:50:49 -06:00
|
|
|
Fips 140 mode is not supported. That is, the *.chk files containing the
|
|
|
|
checksums for the cryptographic module are not delivered into solver and will
|
|
|
|
not be part of the OOo installation sets.
|
|
|
|
|
2012-02-09 01:51:10 -06:00
|
|
|
Signing has been turned off because
|
2009-11-30 06:50:49 -06:00
|
|
|
- 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
|
|
|
|
|
|
|
|
|
2012-02-09 01:51:10 -06:00
|
|
|
== libfreebl3 ==
|
|
|
|
|
2009-11-30 06:50:49 -06:00
|
|
|
Porting to other platforms may require to deliver other variants of
|
|
|
|
libfreebl*. The library name varies according to the platform. Changes need to
|
2012-02-09 01:51:10 -06:00
|
|
|
be made to
|
2009-11-30 06:50:49 -06:00
|
|
|
ooo/moz/extractfiles.mk
|
|
|
|
ooo/moz/zipped/makefile.mk
|
|
|
|
sun/moz_prebuilt/zipped/makefile.mk
|
|
|
|
|
|
|
|
See also
|
2012-06-06 17:18:46 -05:00
|
|
|
[http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html]
|
2009-11-30 06:50:49 -06:00
|
|
|
|
|
|
|
|
2012-02-09 01:51:10 -06:00
|
|
|
== Windows builds of nss ==
|
|
|
|
|
2009-11-30 06:50:49 -06:00
|
|
|
To build mozilla on windows you'll need the mozilla build tools
|
|
|
|
|
|
|
|
Build requirements containing the link to the build tools:
|
2012-06-06 17:18:46 -05:00
|
|
|
[https://developer.mozilla.org/en/Windows_Build_Prerequisites#ss2.2]
|
2009-11-30 06:50:49 -06:00
|
|
|
|
|
|
|
The direct link:
|
2012-06-06 17:18:46 -05:00
|
|
|
[http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.3.exe]
|
2009-11-30 06:50:49 -06:00
|
|
|
|
2012-02-09 01:51:10 -06:00
|
|
|
|
|
|
|
== libsqlite3 ==
|
|
|
|
|
2009-11-30 06:50:49 -06:00
|
|
|
The problem described here was found on Mac with OS 10.6
|
|
|
|
NSS cannot use the system sqlite on Mac because the base line is still MacOS
|
|
|
|
10.4. That system sqlite is incompatible with the softokn3 in nss which requires
|
2012-02-09 01:51:10 -06:00
|
|
|
a later version of sqlite.
|
|
|
|
When we used a more current Mac SDK then we could set
|
2009-11-30 06:50:49 -06:00
|
|
|
NSS_USE_SYSTEM_SQLITE=1
|
|
|
|
to build using the system sqlite.
|
|
|
|
|
|
|
|
We cannot deliver sqlite in the lib directory of the solver. This directory is
|
|
|
|
used by tools of the build environment. Using the sqlite from NSS breaks the
|
|
|
|
tools if they use system libraries which are linked with the system
|
|
|
|
sqlite. Therefore we deliver it into lib/sqlite on unix systems.
|
|
|
|
|
2012-06-06 17:18:46 -05:00
|
|
|
See also issue:
|
|
|
|
[https://issues.apache.org/ooo/show_bug.cgi?id=106132]
|