Received: by mail.netbsd.org (Postfix, from userid 605) id 0CBF584DC1; Wed, 17 Aug 2022 14:32:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 18D5C84D8C for ; Wed, 17 Aug 2022 14:32:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id jzYLk0XOkXgz for ; Wed, 17 Aug 2022 14:32:34 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8C7CE84D41 for ; Wed, 17 Aug 2022 14:32:34 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 85F5EFB1A; Wed, 17 Aug 2022 14:32:34 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 17 Aug 2022 14:32:34 +0000 From: "Robert Elz" Subject: CVS commit: src/external/public-domain/tz To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220817143234.85F5EFB1A@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Robert Elz" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: kre Date: Wed Aug 17 14:32:34 UTC 2022 Modified Files: src/external/public-domain/tz: tzdata2netbsd Log Message: Add support for fetching and using the Global Time Zone fork of tzdata in addition to the older (Eggert) version. The GTZ vesion is the one we're currently using, so automating its use helps. While here, correctly compare version numbers, correctly handling the almost unthinkable need for a multi-char suffix after the year as the version ID. This was almost correct before, but would have failed in the case that 9999za was being updated to 10000a And add the ability (should not be needed often) to fetch one version but claim to be using another (this was useful this time, as 2022c followed quickly on the heels of 2022b - but made no changes at all to the data, just some of the build infrastructure we don't use). The GTZ version hadn't been updated (there was no real need, since the data, which is all that it alters, had not changed) at the time, so we updated to 2022c using the gtz data file for 2022b. (The 2022cgtz data file now exists - but didn't then). To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/public-domain/tz/tzdata2netbsd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.