pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41546: security/mozilla-rootcerts script fails on Mac OS X (10.4)



>Number:         41546
>Category:       pkg
>Synopsis:       security/mozilla-rootcerts script fails on Mac OS X (10.4)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 05 14:40:00 +0000 2009
>Originator:     Ben Secrest
>Release:        
>Organization:
>Environment:
Darwin Ashleys-macBook.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 
18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
>Description:
The mozilla-rootcerts script fails to extract data from 
share/mozilla-rootcerts/certdata.txt

[Ashleys-macBook:~/certs]$ /opt/pkg/sbin/mozilla-rootcerts extract
mozilla-rootcert-0.pem
unable to load certificate
15039:error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough 
data:a_d2i_fp.c:240:
mozilla-rootcert-1.pem
unable to load certificate
15041:error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough 
data:a_d2i_fp.c:240:
...

This appears to be caused by an issue with the awk on Mac OS X (10.4).  
lang/gawk was installed, the script changed to use it instead and the .pem 
files were successfully extracted and hashed.
>How-To-Repeat:

>Fix:
Modify the script to use lang/gawk on affected system. 



Home | Main Index | Thread Index | Old Index