pkgsrc-Bugs archive

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

pkg/43992: security/mozilla-rootcerts need update and bugfix



>Number:         43992
>Category:       pkg
>Synopsis:       security/mozilla-rootcerts need update and bugfix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 22 03:10:01 +0000 2010
>Originator:     Makoto Yamakura
>Release:        DragonFly BSD 2.9 i386; pkgsrc-current
>Organization:
>Environment:
DragonFly t42.local 2.9-DEVELOPMENT DragonFly v2.9.0.10.g66abcd-DEVELOPMENT 
#18: Wed Oct 20 14:57:57 JST 2010     
root%t42.local@localhost:/usr/obj/usr/src/sys/T42KERNEL  i386
>Description:
mozilla-rootcerts file have been updated.
CVS_ID "@(#) $RCSfile: certdata.txt,v $ $Revision: 1.65 $ $Date: 2010/08/27 
15:45:14 $"

With that new certdata.txt, mozilla-rootcerts rehash failed.
>How-To-Repeat:
# /usr/pkg/sbin/mozilla-rootcerts -f certdata.txt extract
(snip)

# /usr/pkg/sbin/mozilla-rootcerts rehash
(snip)
mozilla-rootcert-149.pem => 381ce4dd.0
mozilla-rootcert-15.pem => 5ad8a5d6.0
mozilla-rootcert-150.pem => 24ad0b63.0
expr: syntax error
expr: syntax error
expr: syntax error
...

>Fix:
This patch should fix the bug;

--- mozilla-rootcerts.orig     2010-09-25 16:05:31 +0900
+++ mozilla-rootcerts   2010-10-22 11:48:02 +0900
@@ -72,7 +72,7 @@
                        ${ECHO} 1>&2 "WARNING: Skipping duplicate certificate 
$_pemfile"
                        return
                fi
-               suffix=`${EXPR} $suffix + 1`
+               _suffix=`${EXPR} $_suffix + 1`
        done
 }




Home | Main Index | Thread Index | Old Index