1 Relation between nss, moz, moz_prebuilt
\r
2 ---------------------------------------
\r
3 nss containes the security libraries which are also part of moz. However nss is
\r
4 meant to be more current, that is it to be updated more often. This should be
\r
5 easier than doing this with moz.
\r
7 If nss is build depends on an environment variable (ENABLE_NSS_MODULE=YES) which
\r
8 is per default set to YES. In this case nss is build before moz. The nss
\r
9 libraries/lib files/headers built in moz are then not delivered. Otherwise they
\r
10 would overwrite those from nss. That is, the nss libraries build in moz are
\r
11 removed from mozruntime.zip (build in moz/solver/bin), they are removed from the
\r
12 lib directory (for example moz/unxlngi6.pro/lib), and the nss and nspr headers
\r
13 are also removed (inc/nss and inc/nspr). The nss libraries from the nss module
\r
14 are then added to mozruntime.zip.
\r
16 This also applies for moz_prebuilt. Therefore moz and moz_prebuilt must be build
\r
17 again after changes have been made to the libraries in the nss module.
\r
19 Also when moz was updated to use a newer version of mozilla, then one must make
\r
20 sure that new files which also belong to nss are not delivered and are removed
\r
21 from mozruntime.zip.
\r
23 Fips 140 and signed libraries
\r
24 -------------------------------
\r
25 Fips 140 mode is not supported. That is, the *.chk files containing the
\r
26 checksums for the cryptographic module are not delivered into solver and will
\r
27 not be part of the OOo installation sets.
\r
29 The *chk files do not match the libraries because we change the rpatch.
\r
33 Porting to other platforms may require to deliver other variants of
\r
34 libfreebl*. The library name varies according to the platform. Changes need to
\r
36 ooo/moz/extractfiles.mk
\r
37 ooo/moz/zipped/makefile.mk
\r
38 sun/moz_prebuilt/zipped/makefile.mk
\r
42 http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html
\r
45 Windows builds of nss
\r
46 ---------------------
\r
47 To build mozilla on windows you'll need the mozilla build tools
\r
49 Build requirements containing the link to the build tools:
\r
50 https://developer.mozilla.org/en/Windows_Build_Prerequisites#ss2.2
\r
54 http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.3.exe
\r