Bug#732201: Please add libnssdb.a and libnssckfw.a to libnss3-dev

Timo Aaltonen tjaalton at ubuntu.com
Tue Jan 14 05:12:50 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14.01.2014 07:04, Daniel Kahn Gillmor wrote:
> On 01/13/2014 11:57 PM, Timo Aaltonen wrote:
>> On 13.01.2014 11:05, Mike Hommey wrote:
>>> The contents of libnssb.a are in libnss3.so. Why do you need 
>>> libnssb?
>> 
>> For an apache module called mod_rev.so, configure.in has:
>> 
>> if ! test -e "$nss_lib_dir"/libnssb.a then AC_MSG_ERROR([NSS is 
>> installed but the PKCS11 development package is missing. Need 
>> libnssb.a]) fi
> 
> can this be done with dynamic linking instead?  if you use a static
>  library, than any bugs found in nssb will mean we need to update
> nss and *then* rebuild libapache2-mod-rev.  this seems clumsier
> than just needing to update nss itself.

guess it's related to this snippet from README:

DEVELOPERS

  This module uses some internals from NSS. This is normally a big no-no
but there was no other way to get around it. As such a private copy of
some of the NSS include files can be found in the mozilla
subdirectory. If you use a version of NSS other than 3.9.3 then you
should replace the files in this directory with appropriate files from
whatever version you are using.

and mozilla/README:

We need some private header files from NSS in order to build the module.
Rather than checking them out at build time it is easier to include them
here. We just need to be careful and watch for API changes.


Fedora is the upstream, I could ask why it's like this.


- -- 
t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJS1MdSAAoJEMtwMWWoiYTcsKYQAI8Qos5+UKbeA1m3szRetVkz
zmv+39mWuu70svyFoWBnMLLUpflIhAUvwtOfE4v2NMclakWoTkZKRDhVOFXYNUHs
8PSeazZO7D3Fo5ZNjxHTOQ6u4mSAt59fr/ki9U0L+Psg1ycBpM4xnNXf4zyQkxQP
LqGWDT786qXlYNGUlPTHHvi6GHDESqZuTV+1Jda3pTUaaEvoTyU/4nfWqTe9pM5i
LUSGgL38ID1E21oomATt4WKo1EHNYxNfy9RaFktPqr/gD6t/0UfXQDqen8Ot1Ddw
jSynJQYrr0y5/5SIzjUUqMwmRc3mQjejPuJHqSp8jjFS5rFc3JHpLIBMVYFtRlPF
iA6d25QEbgLlEfHvp/G2UgRLcSRhLiVpLVXJN3jgxHtWq/Uyj8DjJNYhb2wwfjwB
9os7q3+cXJ9AApqjoi5cTBqHn8K2vVCN+0yBGwAFgzDkc7mmMsc+1NYz+wcgprY8
IOIiPJcCbWUx5EuO8NXEpzaa8bqzwPlbpQEki0COeyFWcF/j19H8g5QlFWlGf4nO
BawJeHYiLgXi5SZdb7fuFe0d6iVZXWR6lkZMiW/vs3jIuVBMAGsYC2lRSTLy6tJi
oamONnlZ8remwR/LnRvxZgwDCNKOZnEDrVxFB45e4r/hpQEC9ro6rjIyNzJZB1zE
P0VhZ08znOIgJ3woUOCq
=Ec3b
-----END PGP SIGNATURE-----



More information about the pkg-mozilla-maintainers mailing list