diff options
| author | Elliott Hughes <enh@google.com> | 2012-11-26 14:52:07 -0800 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2012-11-26 14:52:07 -0800 |
| commit | 429b05a1dfa71c6085590d60e0bdfa09beb50844 (patch) | |
| tree | eadbe7f85c37a6696fb50d217f47db4763c5b6ab | |
| parent | 8784709a2cfe6d32b5fff2c6b826b8d9cbf73d7b (diff) | |
| parent | 5d2ef8724d8978465b9795198099305d0f0b12d0 (diff) | |
| download | bionic-429b05a1dfa71c6085590d60e0bdfa09beb50844.zip bionic-429b05a1dfa71c6085590d60e0bdfa09beb50844.tar.gz bionic-429b05a1dfa71c6085590d60e0bdfa09beb50844.tar.bz2 | |
Merge "Upgrade to tzdata2012j."
| -rwxr-xr-x | libc/tools/zoneinfo/generate | 10 | ||||
| -rw-r--r-- | libc/zoneinfo/tzdata | bin | 548234 -> 548969 bytes |
2 files changed, 6 insertions, 4 deletions
diff --git a/libc/tools/zoneinfo/generate b/libc/tools/zoneinfo/generate index ba8ea0d..334ba3c 100755 --- a/libc/tools/zoneinfo/generate +++ b/libc/tools/zoneinfo/generate @@ -66,22 +66,24 @@ def UpgradeTo(ftp, data_filename): """Downloads and repackages the given data from the given FTP server.""" new_version = re.search('(tzdata.+)\\.tar\\.gz', data_filename).group(1) - signature_filename = '%s.sign' % data_filename # Switch to a temporary directory. tmp_dir = tempfile.mkdtemp('-tzdata') os.chdir(tmp_dir) print 'Created temporary directory "%s"...' % tmp_dir - print 'Downloading data and signature...' + print 'Downloading data...' Retrieve(ftp, data_filename) + + print 'Downloading signature...' + signature_filename = '%s.asc' % data_filename Retrieve(ftp, signature_filename) print 'Verifying signature...' # If this fails for you, you probably need to import Paul Eggert's public key: # gpg --recv-keys ED97E90E62AA7E34 - subprocess.check_call(['gpg', '--trusted-key=ED97E90E62AA7E34', - '--verify', signature_filename, data_filename]) + subprocess.check_call(['gpg', '--trusted-key=ED97E90E62AA7E34', '--verify', + signature_filename, data_filename]) print 'Extracting...' os.mkdir('extracted') diff --git a/libc/zoneinfo/tzdata b/libc/zoneinfo/tzdata Binary files differindex 367c0f9..019650e 100644 --- a/libc/zoneinfo/tzdata +++ b/libc/zoneinfo/tzdata |
