Alien::NSS - Alien wrapper for NSS ( Network Security Services )
This library provides an alien wrapper for NSS, the cryptographic library that is ( among others ) used in Mozilla Firefox and Google Chrome.
use strict; use warnings; use Module::Build; use Alien::NSS; my $cflags = Alien::NSS->cflags; my $ldflags = Alien::NSS->libs; my $builder = Module::Build->new( module_name => 'my_lib', extra_compiler_flags => $cflags, extra_linker_flags => $ldflags, configure_requires => { 'Alien::NSS => 0 }, ); $builder->create_build_script;
Alien::NSS uses the Module::Build system for installation. The usual build process is
perl Build.PL ./Build ./Build test ./Build install
When running perl Build.PL, certain command line flags may be passed:
perl Build.PL
--help
Print all possible additional command line parameters for Building Alien::NSS
--version=3_17_2
Specify the NSS version that should be installed. In this example, 3.17.2.
--patchnss
Apply a patch that deactivates CRL caching and checking during verification. This prevents certain problems when trying to load a high number of certificates into NSS. Apply only if you understand the consequences.
https://github.com/0xxon/alien-nss
Johanna Amann, <johanna@cpan.org>
This Library is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this library, You can obtain one at http://mozilla.org/MPL/2.0/.
To install Alien::NSS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::NSS
CPAN shell
perl -MCPAN -e shell install Alien::NSS
For more information on module installation, please visit the detailed CPAN module installation guide.