2017-06-17 23:43:06 -07:00
|
|
|
#!/bin/csh -f
|
|
|
|
|
|
|
|
if (! -e security/manager/ssl/nsSTSPreloadList.inc) then
|
|
|
|
echo 'not in the tenfourfox folder, aborting'
|
|
|
|
endif
|
|
|
|
|
2018-07-15 19:35:45 -07:00
|
|
|
# certdata.txt is parsed by security/nss/lib/ckfw/builtins/certdata.perl
|
|
|
|
# which we patched to filter CKA_NSS_MOZILLA_CA_POLICY (unsupported by
|
|
|
|
# our version of NSS but required to assert roots in later versions).
|
|
|
|
# if we update NSS, we need to remove that patch (TenFourFox issue 512).
|
|
|
|
|
2017-06-17 23:43:06 -07:00
|
|
|
set verbose
|
2018-07-15 19:35:45 -07:00
|
|
|
cp ../esr60/security/nss/lib/ckfw/builtins/certdata.txt security/nss/lib/ckfw/builtins/certdata.txt
|
|
|
|
cp ../esr60/security/manager/ssl/StaticHPKPins.h security/manager/ssl/StaticHPKPins.h
|
2018-11-25 21:35:58 -08:00
|
|
|
cp ../esr60/netwerk/dns/effective_tld_names.dat netwerk/dns/effective_tld_names.dat
|
2018-07-15 19:35:45 -07:00
|
|
|
perl ./104fx_import_esr60_stspreload.pl > security/manager/ssl/nsSTSPreloadList.inc
|
2019-06-15 20:20:09 -07:00
|
|
|
perl ./104fx_import_shavar_cryptominers.pl > caps/shavar-blocklist.h
|
2017-06-17 23:43:06 -07:00
|
|
|
|