OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # This shell script checks out the NSS source tree from CVS and prepares | 6 # This shell script checks out the NSS source tree from CVS and prepares |
7 # it for Chromium. | 7 # it for Chromium. |
8 | 8 |
9 # Make the script exit as soon as something fails. | 9 # Make the script exit as soon as something fails. |
10 set -ex | 10 set -ex |
11 | 11 |
12 rm -rf mozilla/security/nss/lib | 12 rm -rf mozilla/security/nss/lib |
13 cvs -q -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot export \ | 13 cvs -q -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot export \ |
14 -r NSS_3_12_7_RTM mozilla/security/nss/lib | 14 -r NSS_3_12_8_RTM mozilla/security/nss/lib |
15 | 15 |
16 # Rename one of the utf8.c files to avoid name conflict. | 16 # Rename one of the utf8.c files to avoid name conflict. |
17 mv mozilla/security/nss/lib/base/utf8.c mozilla/security/nss/lib/base/nssutf8.c | 17 mv mozilla/security/nss/lib/base/utf8.c mozilla/security/nss/lib/base/nssutf8.c |
18 | 18 |
19 rm -r mozilla/security/nss/lib/ckfw | 19 rm -r mozilla/security/nss/lib/ckfw |
20 rm -r mozilla/security/nss/lib/crmf | 20 rm -r mozilla/security/nss/lib/crmf |
21 rm -r mozilla/security/nss/lib/freebl/ecl/tests | 21 rm -r mozilla/security/nss/lib/freebl/ecl/tests |
22 rm -r mozilla/security/nss/lib/freebl/mpi/doc | 22 rm -r mozilla/security/nss/lib/freebl/mpi/doc |
23 rm -r mozilla/security/nss/lib/freebl/mpi/tests | 23 rm -r mozilla/security/nss/lib/freebl/mpi/tests |
24 rm -r mozilla/security/nss/lib/freebl/mpi/utils | 24 rm -r mozilla/security/nss/lib/freebl/mpi/utils |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 ! -name mp_gf2m-priv.h ! -name mp_gf2m.c ! -name mp_gf2m.h \ | 76 ! -name mp_gf2m-priv.h ! -name mp_gf2m.c ! -name mp_gf2m.h \ |
77 ! -name primes.c ! -name pqg.c ! -name rawhash.c \ | 77 ! -name primes.c ! -name pqg.c ! -name rawhash.c \ |
78 ! -name rijndael.c ! -name rijndael.h ! -name rijndael32.tab \ | 78 ! -name rijndael.c ! -name rijndael.h ! -name rijndael32.tab \ |
79 ! -name rsa.c ! -name sechash.h ! -name secmpi.h \ | 79 ! -name rsa.c ! -name sechash.h ! -name secmpi.h \ |
80 ! -name secrng.h ! -name seed.c ! -name seed.h \ | 80 ! -name secrng.h ! -name seed.c ! -name seed.h \ |
81 ! -name sha256.h ! -name sha512.c ! -name sha_fast.c \ | 81 ! -name sha256.h ! -name sha512.c ! -name sha_fast.c \ |
82 ! -name sha_fast.h ! -name shsign.h ! -name shvfy.c \ | 82 ! -name sha_fast.h ! -name shsign.h ! -name shvfy.c \ |
83 ! -name sysrand.c ! -name tlsprfalg.c ! -name unix_rand.c \ | 83 ! -name sysrand.c ! -name tlsprfalg.c ! -name unix_rand.c \ |
84 ! -name win_rand.c \ | 84 ! -name win_rand.c \ |
85 | xargs rm | 85 | xargs rm |
OLD | NEW |