Updated build instructions / release notes

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Updated build instructions / release notes

beaufour@gmail.com
NSS 3.11 is the most recent version is it not? Are there updated
release notes / build instructions somewhere?
http://www.mozilla.org/projects/security/pki/nss/ seems a little
outdated.

_______________________________________________
dev-tech-crypto mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto
Reply | Threaded
Open this post in threaded view
|

Re: Updated build instructions / release notes

Wan-Teh Chang
[hidden email] wrote:
> NSS 3.11 is the most recent version is it not? Are there updated
> release notes / build instructions somewhere?

The most recent version of NSS is NSS 3.11.3.  It should be
used with NSPR 4.6.3.  The CVS tags are NSS_3_11_3_RTM and
NSPR_4_6_3_RTM.

NSS 3.11.3 has a fix for an implementation error that allows
someone to forge RSA signatures if the RSA public exponent is 3.
See http://www.mozilla.org/security/announce/2006/mfsa2006-60.html.

NSPR 4.6.3 release notes are at
http://www.mozilla.org/projects/nspr/release-notes/nspr463.html.

Build instructions are:

   cvs co -r NSPR_4_6_3_RTM mozilla/nsprpub
   cvs co -r NSS_3_11_3_RTM mozilla/dbm mozilla/security/dbm
   cvs co -r NSS_3_11_3_RTM mozilla/security/coreconf mozilla/security/nss

   set environment variable BUILD_OPT to 1 (the default is debug
   build)

   set environment variable USE_64 to 1 if you want a 64-bit
   build

   set environment variable NSS_ENABLE_ECC to 1 if you want
   elliptic curve cryptography (ECC) support

   on Windows, set environment variable OS_TARGET to WIN95

   cd mozilla/security/nss (or, on Windows, cd mozilla\security\nss)
   gmake nss_build_all

Wan-Teh Chang

_______________________________________________
dev-tech-crypto mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto
Reply | Threaded
Open this post in threaded view
|

Re: Updated build instructions / release notes

Peter Djalaliev-2
In reply to this post by beaufour@gmail.com
Hello,

I don't know about the release notes (I suspect these are the newest
ones), but here are some build instructions that should work.  They
haven't really changed as far as I know:

1) Download the NSS and NSPR source tarballs from their respective
release dirs:
ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/ for NSS
ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/

2) Unzip/untar them and copy the nspr directory from /mozilla in the
NSPR source tree to the /mozilla in the NSS source tree.

3)  Go to /mozilla/security/nss in the NSS source tree and build NSS
with 'gmake nss_build_all'.

After everything compiles, you can find in the NSS source tree:
NSS include files: /mozilla/dist/public/nss and
/mozilla/dist/public/dbm
NSPR include files: /mozilla/dist/_____________.OBJ/include
NSS/NSPR libraries: /mozilla/dist/______________.OBJ/lib
NSS binaries: /mozilla/dist/________________.OBJ/bin

The "___________" string is platform-dependent.

I hope this helps.

Regards,
Peter

_______________________________________________
dev-tech-crypto mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto
Reply | Threaded
Open this post in threaded view
|

Re: Updated build instructions / release notes

Wan-Teh Chang
Peter Djalaliev wrote:
>
> After everything compiles, you can find in the NSS source tree:
> NSS include files: /mozilla/dist/public/nss and
> /mozilla/dist/public/dbm
> NSPR include files: /mozilla/dist/_____________.OBJ/include

Don't use the files in /mozilla/dist/public/dbm.  dbm is now
an internal component of NSS.

Thank you, Peter.

Wan-Teh

_______________________________________________
dev-tech-crypto mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto
Reply | Threaded
Open this post in threaded view
|

Re: Updated build instructions / release notes

beaufour@gmail.com
In reply to this post by beaufour@gmail.com
Wan-Teh Chang wrote:
> [hidden email] wrote:
> > NSS 3.11 is the most recent version is it not? Are there updated
> > release notes / build instructions somewhere?
>
> The most recent version of NSS is NSS 3.11.3.  It should be
> used with NSPR 4.6.3.  The CVS tags are NSS_3_11_3_RTM and
> NSPR_4_6_3_RTM.
>
> [SNIP]

Thanks Wan-Teh. Should we update the moz.org page with this info? A
clean-up of that page is needed imho :)

... Allan

_______________________________________________
dev-tech-crypto mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto