[xmlsec] PATCH: nss_from_seamonkey

Roumen Petrov xmlsec at roumenpetrov.info
Wed May 12 13:36:34 PDT 2010


Yes
- note seamonkey-nspr match "nspr" version (!)
- but seamonkey-nss" match seamonkey version.

SEAMONKEY_MIN_VERSION is set to 1.0 as this work for versions before 2.0 
(tested by me long time ago).

I could not check xulrunner-nspr and nspr packages as I don't have OS 
with those packages. mozilla-nspr - may be is dead now

Roumen

P.S.:
$ cat /usr/lib/pkgconfig/seamonkey-nspr.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/seamonkey-2.0.4
includedir=/usr/include/seamonkey-2.0.4

Name: NSPR
Description: The Netscape Portable Runtime
Version: 4.7.1
Libs: -L/usr/lib/seamonkey-2.0.4 -lplds4 -lplc4 -lnspr4 -lpthread -ldl
Cflags: -I/usr/include/seamonkey-2.0.4/nspr

$ cat /usr/lib/pkgconfig/seamonkey-nss.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/seamonkey-2.0.4
includedir=/usr/include/seamonkey-2.0.4

Name: NSS
Description: Mozilla Network Security Services
Version: 2.0.4
Requires: seamonkey-nspr >= 4.7.1
Libs: -L${libdir} -lnss3 -lsmime3 -lssl3 -lsoftokn3
Cflags: -I${includedir}/nss


Aleksey Sanin wrote:
> Is this correct?
>
> PKG_CHECK_MODULES(NSS, [seamonkey-nspr >= $NSPR_MIN_VERSION
> seamonkey-nss >= $SEAMONKEY_MIN_VERSION]
>
> Shouldn't it be " >= $SEAMONKEY_MIN_VERSION" for both comparisons?
>
> Aleksey
>
> On 5/12/2010 12:44 PM, Roumen Petrov wrote:
>> Hi Aleksey,
>>
>> Please find attached file nss_from_seamonkey.patch.gz : pick nss (and
>> nspr) from seamonkey package as xxx-nspr match "nspr" version but
>> "xxx-nss" match browser (seamonkey) version.
>>
>> Roumen
>>
>>
>>
>> _______________________________________________
>> xmlsec mailing list
>> xmlsec at aleksey.com
>> http://www.aleksey.com/mailman/listinfo/xmlsec
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
>



More information about the xmlsec mailing list