Lines Matching refs:txt
24 # It downloads certdata.txt from Mozilla's source tree (see URL below),
25 # then parses certdata.txt and extracts CA Root Certificates into PEM format.
49 'http://hg.mozilla.org/projects/nss/raw-file/tip/lib/ckfw/builtins/certdata.txt',
51 'http://hg.mozilla.org/mozilla-central/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt',
53 'http://hg.mozilla.org/releases/mozilla-aurora/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt',
55 'http://hg.mozilla.org/releases/mozilla-beta/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt',
57 'http://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt',
144 print " 3) certdata.txt file format may change, lag time to update this script\n";
158 print "\t-d\tspecify Mozilla tree to pull certdata.txt or custom URL\n";
161 print "\t-f\tforce rebuild even if certdata.txt is current\n";
163 print "\t-l\tprint license info about certdata.txt\n";
164 print "\t-n\tno download of certdata.txt (to use existing)\n";
175 print "\t-u\tunlink (remove) certdata.txt after processing\n";
279 (my $txt = $url) =~ s@(.*/|\?.*)@@g;
289 report "Downloading '$txt' ...";
304 unless ($fetched || ($opt_n and -e $txt)) {
307 $resp = $ua->mirror($url, $txt);
317 exit 1 if -e $crt || ! -r $txt;
321 my $filedate = $resp ? $resp->last_modified : (stat($txt))[9];
330 my $newsha1= sha1($txt);
355 ## file (certdata.txt). This file can be found in the mozilla source tree:
369 report "Processing '$txt' ...";
375 open(TXT,"$txt") or die "Couldn't open $txt: $!\n";
376 while (<TXT>) {
380 while (<TXT>) {
402 while (<TXT>) {
412 while (<TXT>) {
417 while (<TXT>) {
484 close(TXT) or die "Couldn't close $txt: $!\n";
498 unlink $txt if ($opt_u);