Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/public-domain/tz This script needed some updates fo...



details:   https://anonhg.NetBSD.org/src/rev/151edcc47ee6
branches:  trunk
changeset: 818848:151edcc47ee6
user:      kre <kre%NetBSD.org@localhost>
date:      Thu Nov 03 10:11:05 2016 +0000

description:
This script needed some updates for an earlier tzdata upgrade
(one which used a different key for the signature of the data file...)
Allow either key to work.   Also update the name of the sets list
file to match modern reality (only affects instructions issued to user.)

I skipped committing these changes until it had been used a few times
to verify that it actually works properly...   it seems to.

diffstat:

 external/public-domain/tz/tzdata2netbsd |  13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diffs (46 lines):

diff -r 4415a97c9424 -r 151edcc47ee6 external/public-domain/tz/tzdata2netbsd
--- a/external/public-domain/tz/tzdata2netbsd   Thu Nov 03 10:04:36 2016 +0000
+++ b/external/public-domain/tz/tzdata2netbsd   Thu Nov 03 10:11:05 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tzdata2netbsd,v 1.10 2016/06/16 15:17:56 agc Exp $
+# $NetBSD: tzdata2netbsd,v 1.11 2016/11/03 10:11:05 kre Exp $
 
 # For use by NetBSD developers when updating to new versions of tzdata.
 #
@@ -15,8 +15,8 @@
 #    redo non-trivial work done by earlier runs.
 #
 
-OLDVER=2016b
-NEWVER=2016d
+OLDVER=2016h
+NEWVER=2016i
 
 # Uppercase variants of OLDVER and NEWVER
 OLDVER_UC="$( echo "${OLDVER}" | tr '[a-z]' '[A-Z]' )"
@@ -153,14 +153,13 @@
        # The output should contain lines that match all the following regexps
        #
        while read line; do
-               if ! grep -q -e "^${line}\$" "${PGPVERIFYLOG}"; then
+               if ! grep -E -q -e "^${line}\$" "${PGPVERIFYLOG}"; then
                        echo >&2 "Failed to verify signature: ${line}"
                        return 1
                fi
        done <<'EOF'
-gpg: Signature made .* using RSA key ID 62AA7E34
+gpg: Signature made .* using RSA key ID (62AA7E34|44AD418C)
 gpg: Good signature from "Paul Eggert <eggert%cs.ucla.edu@localhost>"
-Primary key fingerprint: 7E37 92A9 D8AC F7D6 33BC  1588 ED97 E90E 62AA 7E34
 gpg exit status 0
 EOF
 }
@@ -352,7 +351,7 @@
 Also do the following:
  * Edit src/doc/3RDPARTY
  * Edit src/doc/CHANGES
- * Edit src/distrib/sets/base/mi if the set of installed files has changed.
+ * Edit src/distrib/sets/lists/base/mi if the set of installed files altered.
  * Submit pullup requests for all active release branches.
  * rm -rf ${WORKDIR}
 EOF



Home | Main Index | Thread Index | Old Index