#4758: Certificat Authority Certs
-------------------------+-------------------------
 Reporter:  bdubbs@…     |      Owner:  blfs-book@…
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  7.6
Component:  BOOK         |    Version:  SVN
 Severity:  normal       |   Keywords:
-------------------------+-------------------------
 It appears that the URL that we are using for certs is not being updated.
 What we have now is:

 {{{
 certhost='http://mxr.mozilla.org'                        &&
 certdir='/mozilla/source/security/nss/lib/ckfw/builtins' &&
 url="$certhost$certdir/certdata.txt?raw=1"
 }}}

 It has been suggested that we use the file out of the version control
 repository, but that changes periodically.  We need to do something like:

 {{{
 certhost='https://hg.mozilla.org'
 certdir='releases/mozilla-
 release/file/default/security/nss/lib/ckfw/builtins'

 wget $certhost/$certdir/certdata.txt
 mv certdata.txt certdata.html

 certtext=$(grep raw-file certdata.html|sed -r 's/.*="(.*)".*/\1/ )
 wget $certhost/$certtext
 }}}

 That should get the text format of the file.  The only problem is that we
 need to download a 5M html file just to get one line that points to a 1.5M
 text file.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4758>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to