%general-entities; ]> $LastChangedBy$ $Date$ NSS-&nss-version; NSS Introduction to NSS The Network Security Services (NSS) package is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. This is useful for implementing SSL and S/MIME or other Internet security standards into an application. &lfs70_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &nss-md5sum; Download size: &nss-size; Estimated disk space required: &nss-buildsize; Estimated build time: &nss-time; Additional Downloads Required patch: NSS Dependencies Required Recommended (internal sqlite is incompatable with existing or future installations) User Notes: Installation of NSS Install NSS by running the following commands: patch -Np1 -i ../nss-&nss-version;-standalone-1.patch && cd mozilla/security/nss && make nss_build_all $([ $(arch) = x86_64 ] && echo USE_64=1) BUILD_OPT=1 \ NSPR_INCLUDE_DIR=/usr/include/nspr USE_SYSTEM_ZLIB=1 ZLIB_LIBS=-lz \ $(cat /usr/include/sqlite3.h &> /dev/null && echo NSS_USE_SYSTEM_SQLITE=1) This package does not come with a test suite. Now, as the root user: cd ../../dist && install -v -m755 Linux*/lib/*.so /usr/lib && install -v -m644 Linux*/lib/{*.chk,libcrmf.a} /usr/lib && install -v -m755 -d /usr/include/nss && cp -v -RL {public,private}/nss/* /usr/include/nss && chmod 644 /usr/include/nss/* && install -v -m755 Linux*/bin/{certutil,nss-config,pk12util} /usr/bin && install -v -m644 Linux*/lib/pkgconfig/nss.pc /usr/lib/pkgconfig Command Explanations [ $(arch) = x86_64 ] && echo USE_64=1: This option is required on x86_64, otherwise the make will attempt to create 32-bit objects and in a non-multilib system it will fail. The [ $(arch) = x86_64 ] test ensures it has no effect on a 32 bit system. cat /usr/include/sqlite3.h ... : This tests if sqlite is installed and if so it echos the option NSS_USE_SYSTEM_SQLITE=1 to make so that libsoftokn3.so will link against the system version of sqlite. BUILD_OPT=1: This option is passed to make so that the build is performed with no debugging symbols built into the binaries and the default compiler optimizations are used. NSPR_INCLUDE_DIR=/usr/include/nspr: This option sets the location of the nspr headers. USE_SYSTEM_ZLIB=1: This option is passed to make to ensure that the libssl3.so library is linked to the system installed zlib instead of the in-tree version. ZLIB_LIBS=-lz: This option provides the linker flags needed to link to the system zlib. Contents Installed Programs Installed Libraries Installed Directories certutil, nss-config and pk12util libcrmf.a, libfreebl3.so, libnss3.so, libnssckbi.so, libnssdbm3.so, libnssutil3.so, libsmime3.so, libsoftokn3.so and libssl3.so /usr/include/nss Short Descriptions certutil is the Mozilla Certificate Database Tool. It is a command-line utility that can create and modify the Netscape Communicator cert8.db and key3.db database files. It can also list, generate, modify, or delete certificates within the cert8.db file and create or change the password, generate new public and private key pairs, display the contents of the key database, or delete key pairs within the key3.db file. certutil nss-config is used to determine the NSS library settings of the installed NSS libraries. nss-config pk12util is a tool for importing certificates and keys from pkcs #12 files into NSS or exporting them. It can also list certificates and keys in such files. pk12util