git: cdcc7cbc65e3 - main - misc/global-tz: new port

From: Philip Paeps <philip_at_FreeBSD.org>
Date: Mon, 21 Mar 2022 09:22:35 UTC
The branch main has been updated by philip:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cdcc7cbc65e36c75082788ec0fb3a6566dcddff5

commit cdcc7cbc65e36c75082788ec0fb3a6566dcddff5
Author:     Philip Paeps <philip@FreeBSD.org>
AuthorDate: 2022-03-21 06:59:48 +0000
Commit:     Philip Paeps <philip@FreeBSD.org>
CommitDate: 2022-03-21 08:51:43 +0000

    misc/global-tz: new port
    
    The Global Time Zone Database (global-tz) is a fork of the IANA Time
    Zone Database with expanded best-effort historical data for some time
    zones whose clocks have agreed with other time zones since 1970.
    
    In an up to date default FreeBSD installation /usr/share/zoneinfo
    contains the most recent IANA tzdb release as well as compatibility
    links for time zones that existed in previous IANA tzdb releases (from
    the "backward" file in the distribution).  FreeBSD releases have never
    included the out of scope pre-1970 historical data (from the "backzone"
    file in the distribution).  This is the same approach as taken by most
    other open source projects that distribute the IANA Time Zone Database.
    
    The global-tz fork was prompted by the controversial decision by the
    maintainers of the IANA Time Zone Database to move time zones whose
    clocks have not changed since 1970 to "backzone".  While previous IANA
    tzdb releases would return historical data for these zones if available,
    recent IANA tzdb releases instead return available pre-1970 data for the
    zones whose clocks they have agreed with since 1970 (the target of the
    "backward" link).
    
    The overwhelming majority of users are unlikely to be affected by this
    decision.  FreeBSD users who rely on pre-1970 time zone history may wish
    to install this port.
    
    This port overwrites system files in /usr/share/zoneinfo.  If you build
    your systems from source, add WITHOUT_ZONEINFO="yes" to /etc/src.conf.
    If you use freebsd-update(8), add /usr/share/zoneinfo to IgnorePaths in
    /etc/freebsd-update.conf.
    
    WWW: https://github.com/JodaOrg/global-tz
---
 misc/Makefile                           |   1 +
 misc/global-tz/Makefile                 |  82 +++++
 misc/global-tz/distinfo                 |   5 +
 misc/global-tz/files/patch-etcetera     |  14 +
 misc/global-tz/files/patch-zone1970.tab |  12 +
 misc/global-tz/pkg-descr                |  30 ++
 misc/global-tz/pkg-install              |  14 +
 misc/global-tz/pkg-plist                | 598 ++++++++++++++++++++++++++++++++
 8 files changed, 756 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 2ffa6b48bf9b..7cbb2ea6ffe4 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -144,6 +144,7 @@
     SUBDIR += gkrellmlaunch2
     SUBDIR += gkrellshoot2
     SUBDIR += gkx86info2
+    SUBDIR += global-tz
     SUBDIR += glow
     SUBDIR += gnome-devel-docs
     SUBDIR += gnome-getting-started-docs
diff --git a/misc/global-tz/Makefile b/misc/global-tz/Makefile
new file mode 100644
index 000000000000..cff50bb61df0
--- /dev/null
+++ b/misc/global-tz/Makefile
@@ -0,0 +1,82 @@
+# Created by: Philip Paeps <philip@FreeBSD.org>
+
+PORTNAME=	global-tz
+DISTVERSION=	2022agtz
+CATEGORIES=	misc
+MASTER_SITES=	https://github.com/JodaOrg/${PORTNAME}/releases/download/${DISTVERSION}/:tzdata \
+		https://raw.githubusercontent.com/JodaOrg/${PORTNAME}/${DISTVERSION}/:tab
+DISTNAME=	tzdata${DISTVERSION}
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:tzdata \
+		zone1970.tab:tab
+DIST_SUBDIR=	${DISTNAME}
+EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER=	philip@FreeBSD.org
+COMMENT=	Fork of the IANA Time Zone Database with expanded pre-1970 data
+
+LICENSE=	PD
+
+NO_WRKSUBDIR=	yes
+PREFIX=		/usr
+DATADIR=	${PREFIX}/share/zoneinfo
+NO_ARCH=	yes
+
+TZFILES=	africa antarctica asia australasia etcetera europe \
+		factory northamerica southamerica backward
+POSIXRULES=	America/New_York
+
+
+# XXX The global-tz distribution omits the zone1970.tab file, precluding
+# it from being a drop-in replacement for the IANA Time Zone Database.
+
+post-extract:
+	@${CP} ${DISTDIR}/${DIST_SUBDIR}/zone1970.tab ${WRKSRC}
+
+# tzsetup objects (fatally) if any entry in zone.tab or zone1970.tab
+# refers to a country code that doesn't exist in misc/iso3166. While
+# arguably that should be fixed, for compatibility we remove such
+# entries here to avoid the problem.
+#
+# This used to be done by adding patch files for each country to
+# remove, but that doesn't work for zone1970.tab.
+#
+# We generate a list of all 2-letter codes that are NOT in iso3166;
+# then, for any entry in zone.tab or zone1970.tab that contains a bad
+# code: first emit a commented-out version of the line, then a version
+# with the bad codes stripped out of the first field (unless this
+# leaves the first field empty).
+
+post-patch:
+	cd ${WRKSRC}; \
+	badc=$$(${AWK} '/^[^\#]/ { t[$$1]=1; }; \
+			END { for (i=0; i<676; ++i) { \
+				c = sprintf("%c%c", 65+int(i/26), 65+(i%26)); \
+				if (!(c in t)) print c; \
+			      } \
+			}' \
+			/usr/share/misc/iso3166 | \
+			${SED} -n -e '1h; 1!H; $${g;s/\n/|/g;p;}'); \
+	for fn in zone.tab zone1970.tab; do \
+		${MV} $${fn} $${fn}.bak; \
+		${AWK} -v FS="\t" -v OFS="\t" -v re="(^|,)($${badc})" \
+			'/^[^#]/ && $$1 ~ re { \
+				print "#" $$0; \
+				gsub(re,"",$$1); \
+				sub(/^,/,"",$$1); \
+			 }; \
+			 $$1 != "" { print; }' <$${fn}.bak >$${fn}; \
+	done
+
+do-build:
+	umask 022; \
+	cd ${WRKSRC}; \
+	zic -d ${WRKSRC}/zoneinfo -p ${POSIXRULES} -m ${NOBINMODE} \
+		-y ${.OBJDIR}/yearistype ${TZFILES}
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/zoneinfo
+	(cd ${WRKSRC}/zoneinfo && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/zoneinfo)
+	${INSTALL_DATA} ${WRKSRC}/zone.tab ${STAGEDIR}${PREFIX}/share/zoneinfo
+	${INSTALL_DATA} ${WRKSRC}/zone1970.tab ${STAGEDIR}${PREFIX}/share/zoneinfo
+
+.include <bsd.port.mk>
diff --git a/misc/global-tz/distinfo b/misc/global-tz/distinfo
new file mode 100644
index 000000000000..89ba5e11d629
--- /dev/null
+++ b/misc/global-tz/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1647840925
+SHA256 (tzdata2022agtz/tzdata2022agtz.tar.gz) = cf8fadcbab6ef4031b840306d209479ee5f203ecca4de9b4447b6388b360f9d7
+SIZE (tzdata2022agtz/tzdata2022agtz.tar.gz) = 422245
+SHA256 (tzdata2022agtz/zone1970.tab) = 525991e907e3b2a7740e44f3404c425864de39f6ed3f4aee0417c8e3f30a2902
+SIZE (tzdata2022agtz/zone1970.tab) = 17593
diff --git a/misc/global-tz/files/patch-etcetera b/misc/global-tz/files/patch-etcetera
new file mode 100644
index 000000000000..fbfc70c8dce8
--- /dev/null
+++ b/misc/global-tz/files/patch-etcetera
@@ -0,0 +1,14 @@
+--- etcetera.orig	2019-07-23 03:26:15 UTC
++++ etcetera
+@@ -22,8 +22,10 @@ Zone	Etc/UTC		0	-	UTC
+ 
+ # The following link uses older naming conventions,
+ # but it belongs here, not in the file 'backward',
+-# as functions like gmtime load the "GMT" file to handle leap seconds properly.
++# as functions like gmtime load the "UTC" file to handle leap seconds properly.
+ # We want this to work even on installations that omit the other older names.
++Link	Etc/UTC				UTC
++# Do the same for GMT for compatibility reasons.
+ Link	Etc/GMT				GMT
+ 
+ Link	Etc/UTC				Etc/Universal
diff --git a/misc/global-tz/files/patch-zone1970.tab b/misc/global-tz/files/patch-zone1970.tab
new file mode 100644
index 000000000000..5d285cc7b189
--- /dev/null
+++ b/misc/global-tz/files/patch-zone1970.tab
@@ -0,0 +1,12 @@
+--- zone1970.tab.orig	2019-06-22 19:39:01 UTC
++++ zone1970.tab
+@@ -9,7 +9,8 @@
+ # UTF-8 encoding.  The columns of the table are as follows:
+ #
+ # 1.  The countries that overlap the timezone, as a comma-separated list
+-#     of ISO 3166 2-character country codes.  See the file 'iso3166.tab'.
++#     of ISO 3166 2-character country codes.
++#     See the file '/usr/share/misc/iso3166'.
+ # 2.  Latitude and longitude of the timezone's principal location
+ #     in ISO 6709 sign-degrees-minutes-seconds format,
+ #     either ±DDMM±DDDMM or ±DDMMSS±DDDMMSS,
diff --git a/misc/global-tz/pkg-descr b/misc/global-tz/pkg-descr
new file mode 100644
index 000000000000..5429e68966e4
--- /dev/null
+++ b/misc/global-tz/pkg-descr
@@ -0,0 +1,30 @@
+The Global Time Zone Database (global-tz) is a fork of the IANA Time
+Zone Database with expanded best-effort historical data for some time
+zones whose clocks have agreed with other time zones since 1970.
+
+In an up to date default FreeBSD installation /usr/share/zoneinfo
+contains the most recent IANA tzdb release as well as compatibility
+links for time zones that existed in previous IANA tzdb releases (from
+the "backward" file in the distribution).  FreeBSD releases have never
+included the out of scope pre-1970 historical data (from the "backzone"
+file in the distribution).  This is the same approach as taken by most
+other open source projects that distribute the IANA Time Zone Database.
+
+The global-tz fork was prompted by the controversial decision by the
+maintainers of the IANA Time Zone Database to move time zones whose
+clocks have not changed since 1970 to "backzone".  While previous IANA
+tzdb releases would return historical data for these zones if available,
+recent IANA tzdb releases instead return available pre-1970 data for the
+zones whose clocks they have agreed with since 1970 (the target of the
+"backward" link).
+
+The overwhelming majority of users are unlikely to be affected by this
+decision.  FreeBSD users who rely on pre-1970 time zone history may wish
+to install this port.
+
+This port overwrites system files in /usr/share/zoneinfo.  If you build
+your systems from source, add WITHOUT_ZONEINFO="yes" to /etc/src.conf.
+If you use freebsd-update(8), add /usr/share/zoneinfo to IgnorePaths in
+/etc/freebsd-update.conf.
+
+WWW: https://github.com/JodaOrg/global-tz
diff --git a/misc/global-tz/pkg-install b/misc/global-tz/pkg-install
new file mode 100644
index 000000000000..129bbea8b0fa
--- /dev/null
+++ b/misc/global-tz/pkg-install
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+if [ "$2" != "PRE-INSTALL" ]; then
+	exit 0
+fi
+
+if [ -f /var/db/zoneinfo -a -O /var/db/zoneinfo -a -G /var/db/zoneinfo ]; then
+	if [ -f /usr/share/zoneinfo/$(cat /var/db/zoneinfo) ]; then
+		tzsetup -r
+		echo "/etc/localtime is updated."
+	fi
+else
+	echo "Now run tzsetup(8) again to install the right file to /etc/localtime."
+fi
diff --git a/misc/global-tz/pkg-plist b/misc/global-tz/pkg-plist
new file mode 100644
index 000000000000..a82859079546
--- /dev/null
+++ b/misc/global-tz/pkg-plist
@@ -0,0 +1,598 @@
+%%DATADIR%%/Africa/Abidjan
+%%DATADIR%%/Africa/Accra
+%%DATADIR%%/Africa/Addis_Ababa
+%%DATADIR%%/Africa/Algiers
+%%DATADIR%%/Africa/Asmara
+%%DATADIR%%/Africa/Asmera
+%%DATADIR%%/Africa/Bamako
+%%DATADIR%%/Africa/Bangui
+%%DATADIR%%/Africa/Banjul
+%%DATADIR%%/Africa/Bissau
+%%DATADIR%%/Africa/Blantyre
+%%DATADIR%%/Africa/Brazzaville
+%%DATADIR%%/Africa/Bujumbura
+%%DATADIR%%/Africa/Cairo
+%%DATADIR%%/Africa/Casablanca
+%%DATADIR%%/Africa/Ceuta
+%%DATADIR%%/Africa/Conakry
+%%DATADIR%%/Africa/Dakar
+%%DATADIR%%/Africa/Dar_es_Salaam
+%%DATADIR%%/Africa/Djibouti
+%%DATADIR%%/Africa/Douala
+%%DATADIR%%/Africa/El_Aaiun
+%%DATADIR%%/Africa/Freetown
+%%DATADIR%%/Africa/Gaborone
+%%DATADIR%%/Africa/Harare
+%%DATADIR%%/Africa/Johannesburg
+%%DATADIR%%/Africa/Juba
+%%DATADIR%%/Africa/Kampala
+%%DATADIR%%/Africa/Khartoum
+%%DATADIR%%/Africa/Kigali
+%%DATADIR%%/Africa/Kinshasa
+%%DATADIR%%/Africa/Lagos
+%%DATADIR%%/Africa/Libreville
+%%DATADIR%%/Africa/Lome
+%%DATADIR%%/Africa/Luanda
+%%DATADIR%%/Africa/Lubumbashi
+%%DATADIR%%/Africa/Lusaka
+%%DATADIR%%/Africa/Malabo
+%%DATADIR%%/Africa/Maputo
+%%DATADIR%%/Africa/Maseru
+%%DATADIR%%/Africa/Mbabane
+%%DATADIR%%/Africa/Mogadishu
+%%DATADIR%%/Africa/Monrovia
+%%DATADIR%%/Africa/Nairobi
+%%DATADIR%%/Africa/Ndjamena
+%%DATADIR%%/Africa/Niamey
+%%DATADIR%%/Africa/Nouakchott
+%%DATADIR%%/Africa/Ouagadougou
+%%DATADIR%%/Africa/Porto-Novo
+%%DATADIR%%/Africa/Sao_Tome
+%%DATADIR%%/Africa/Timbuktu
+%%DATADIR%%/Africa/Tripoli
+%%DATADIR%%/Africa/Tunis
+%%DATADIR%%/Africa/Windhoek
+%%DATADIR%%/America/Adak
+%%DATADIR%%/America/Anchorage
+%%DATADIR%%/America/Anguilla
+%%DATADIR%%/America/Antigua
+%%DATADIR%%/America/Araguaina
+%%DATADIR%%/America/Argentina/Buenos_Aires
+%%DATADIR%%/America/Argentina/Catamarca
+%%DATADIR%%/America/Argentina/ComodRivadavia
+%%DATADIR%%/America/Argentina/Cordoba
+%%DATADIR%%/America/Argentina/Jujuy
+%%DATADIR%%/America/Argentina/La_Rioja
+%%DATADIR%%/America/Argentina/Mendoza
+%%DATADIR%%/America/Argentina/Rio_Gallegos
+%%DATADIR%%/America/Argentina/Salta
+%%DATADIR%%/America/Argentina/San_Juan
+%%DATADIR%%/America/Argentina/San_Luis
+%%DATADIR%%/America/Argentina/Tucuman
+%%DATADIR%%/America/Argentina/Ushuaia
+%%DATADIR%%/America/Aruba
+%%DATADIR%%/America/Asuncion
+%%DATADIR%%/America/Atikokan
+%%DATADIR%%/America/Atka
+%%DATADIR%%/America/Bahia
+%%DATADIR%%/America/Bahia_Banderas
+%%DATADIR%%/America/Barbados
+%%DATADIR%%/America/Belem
+%%DATADIR%%/America/Belize
+%%DATADIR%%/America/Blanc-Sablon
+%%DATADIR%%/America/Boa_Vista
+%%DATADIR%%/America/Bogota
+%%DATADIR%%/America/Boise
+%%DATADIR%%/America/Buenos_Aires
+%%DATADIR%%/America/Cambridge_Bay
+%%DATADIR%%/America/Campo_Grande
+%%DATADIR%%/America/Cancun
+%%DATADIR%%/America/Caracas
+%%DATADIR%%/America/Catamarca
+%%DATADIR%%/America/Cayenne
+%%DATADIR%%/America/Cayman
+%%DATADIR%%/America/Chicago
+%%DATADIR%%/America/Chihuahua
+%%DATADIR%%/America/Coral_Harbour
+%%DATADIR%%/America/Cordoba
+%%DATADIR%%/America/Costa_Rica
+%%DATADIR%%/America/Creston
+%%DATADIR%%/America/Cuiaba
+%%DATADIR%%/America/Curacao
+%%DATADIR%%/America/Danmarkshavn
+%%DATADIR%%/America/Dawson
+%%DATADIR%%/America/Dawson_Creek
+%%DATADIR%%/America/Denver
+%%DATADIR%%/America/Detroit
+%%DATADIR%%/America/Dominica
+%%DATADIR%%/America/Edmonton
+%%DATADIR%%/America/Eirunepe
+%%DATADIR%%/America/El_Salvador
+%%DATADIR%%/America/Ensenada
+%%DATADIR%%/America/Fort_Nelson
+%%DATADIR%%/America/Fort_Wayne
+%%DATADIR%%/America/Fortaleza
+%%DATADIR%%/America/Glace_Bay
+%%DATADIR%%/America/Godthab
+%%DATADIR%%/America/Goose_Bay
+%%DATADIR%%/America/Grand_Turk
+%%DATADIR%%/America/Grenada
+%%DATADIR%%/America/Guadeloupe
+%%DATADIR%%/America/Guatemala
+%%DATADIR%%/America/Guayaquil
+%%DATADIR%%/America/Guyana
+%%DATADIR%%/America/Halifax
+%%DATADIR%%/America/Havana
+%%DATADIR%%/America/Hermosillo
+%%DATADIR%%/America/Indiana/Indianapolis
+%%DATADIR%%/America/Indiana/Knox
+%%DATADIR%%/America/Indiana/Marengo
+%%DATADIR%%/America/Indiana/Petersburg
+%%DATADIR%%/America/Indiana/Tell_City
+%%DATADIR%%/America/Indiana/Vevay
+%%DATADIR%%/America/Indiana/Vincennes
+%%DATADIR%%/America/Indiana/Winamac
+%%DATADIR%%/America/Indianapolis
+%%DATADIR%%/America/Inuvik
+%%DATADIR%%/America/Iqaluit
+%%DATADIR%%/America/Jamaica
+%%DATADIR%%/America/Jujuy
+%%DATADIR%%/America/Juneau
+%%DATADIR%%/America/Kentucky/Louisville
+%%DATADIR%%/America/Kentucky/Monticello
+%%DATADIR%%/America/Knox_IN
+%%DATADIR%%/America/Kralendijk
+%%DATADIR%%/America/La_Paz
+%%DATADIR%%/America/Lima
+%%DATADIR%%/America/Los_Angeles
+%%DATADIR%%/America/Louisville
+%%DATADIR%%/America/Lower_Princes
+%%DATADIR%%/America/Maceio
+%%DATADIR%%/America/Managua
+%%DATADIR%%/America/Manaus
+%%DATADIR%%/America/Marigot
+%%DATADIR%%/America/Martinique
+%%DATADIR%%/America/Matamoros
+%%DATADIR%%/America/Mazatlan
+%%DATADIR%%/America/Mendoza
+%%DATADIR%%/America/Menominee
+%%DATADIR%%/America/Merida
+%%DATADIR%%/America/Metlakatla
+%%DATADIR%%/America/Mexico_City
+%%DATADIR%%/America/Miquelon
+%%DATADIR%%/America/Moncton
+%%DATADIR%%/America/Monterrey
+%%DATADIR%%/America/Montevideo
+%%DATADIR%%/America/Montreal
+%%DATADIR%%/America/Montserrat
+%%DATADIR%%/America/Nassau
+%%DATADIR%%/America/New_York
+%%DATADIR%%/America/Nipigon
+%%DATADIR%%/America/Nome
+%%DATADIR%%/America/Noronha
+%%DATADIR%%/America/North_Dakota/Beulah
+%%DATADIR%%/America/North_Dakota/Center
+%%DATADIR%%/America/North_Dakota/New_Salem
+%%DATADIR%%/America/Nuuk
+%%DATADIR%%/America/Ojinaga
+%%DATADIR%%/America/Panama
+%%DATADIR%%/America/Pangnirtung
+%%DATADIR%%/America/Paramaribo
+%%DATADIR%%/America/Phoenix
+%%DATADIR%%/America/Port-au-Prince
+%%DATADIR%%/America/Port_of_Spain
+%%DATADIR%%/America/Porto_Acre
+%%DATADIR%%/America/Porto_Velho
+%%DATADIR%%/America/Puerto_Rico
+%%DATADIR%%/America/Punta_Arenas
+%%DATADIR%%/America/Rainy_River
+%%DATADIR%%/America/Rankin_Inlet
+%%DATADIR%%/America/Recife
+%%DATADIR%%/America/Regina
+%%DATADIR%%/America/Resolute
+%%DATADIR%%/America/Rio_Branco
+%%DATADIR%%/America/Rosario
+%%DATADIR%%/America/Santa_Isabel
+%%DATADIR%%/America/Santarem
+%%DATADIR%%/America/Santiago
+%%DATADIR%%/America/Santo_Domingo
+%%DATADIR%%/America/Sao_Paulo
+%%DATADIR%%/America/Scoresbysund
+%%DATADIR%%/America/Shiprock
+%%DATADIR%%/America/Sitka
+%%DATADIR%%/America/St_Barthelemy
+%%DATADIR%%/America/St_Johns
+%%DATADIR%%/America/St_Kitts
+%%DATADIR%%/America/St_Lucia
+%%DATADIR%%/America/St_Thomas
+%%DATADIR%%/America/St_Vincent
+%%DATADIR%%/America/Swift_Current
+%%DATADIR%%/America/Tegucigalpa
+%%DATADIR%%/America/Thule
+%%DATADIR%%/America/Thunder_Bay
+%%DATADIR%%/America/Tijuana
+%%DATADIR%%/America/Toronto
+%%DATADIR%%/America/Tortola
+%%DATADIR%%/America/Vancouver
+%%DATADIR%%/America/Virgin
+%%DATADIR%%/America/Whitehorse
+%%DATADIR%%/America/Winnipeg
+%%DATADIR%%/America/Yakutat
+%%DATADIR%%/America/Yellowknife
+%%DATADIR%%/Antarctica/Casey
+%%DATADIR%%/Antarctica/Davis
+%%DATADIR%%/Antarctica/DumontDUrville
+%%DATADIR%%/Antarctica/Macquarie
+%%DATADIR%%/Antarctica/Mawson
+%%DATADIR%%/Antarctica/McMurdo
+%%DATADIR%%/Antarctica/Palmer
+%%DATADIR%%/Antarctica/Rothera
+%%DATADIR%%/Antarctica/South_Pole
+%%DATADIR%%/Antarctica/Syowa
+%%DATADIR%%/Antarctica/Troll
+%%DATADIR%%/Antarctica/Vostok
+%%DATADIR%%/Arctic/Longyearbyen
+%%DATADIR%%/Asia/Aden
+%%DATADIR%%/Asia/Almaty
+%%DATADIR%%/Asia/Amman
+%%DATADIR%%/Asia/Anadyr
+%%DATADIR%%/Asia/Aqtau
+%%DATADIR%%/Asia/Aqtobe
+%%DATADIR%%/Asia/Ashgabat
+%%DATADIR%%/Asia/Ashkhabad
+%%DATADIR%%/Asia/Atyrau
+%%DATADIR%%/Asia/Baghdad
+%%DATADIR%%/Asia/Bahrain
+%%DATADIR%%/Asia/Baku
+%%DATADIR%%/Asia/Bangkok
+%%DATADIR%%/Asia/Barnaul
+%%DATADIR%%/Asia/Beirut
+%%DATADIR%%/Asia/Bishkek
+%%DATADIR%%/Asia/Brunei
+%%DATADIR%%/Asia/Calcutta
+%%DATADIR%%/Asia/Chita
+%%DATADIR%%/Asia/Choibalsan
+%%DATADIR%%/Asia/Chongqing
+%%DATADIR%%/Asia/Chungking
+%%DATADIR%%/Asia/Colombo
+%%DATADIR%%/Asia/Dacca
+%%DATADIR%%/Asia/Damascus
+%%DATADIR%%/Asia/Dhaka
+%%DATADIR%%/Asia/Dili
+%%DATADIR%%/Asia/Dubai
+%%DATADIR%%/Asia/Dushanbe
+%%DATADIR%%/Asia/Famagusta
+%%DATADIR%%/Asia/Gaza
+%%DATADIR%%/Asia/Harbin
+%%DATADIR%%/Asia/Hebron
+%%DATADIR%%/Asia/Ho_Chi_Minh
+%%DATADIR%%/Asia/Hong_Kong
+%%DATADIR%%/Asia/Hovd
+%%DATADIR%%/Asia/Irkutsk
+%%DATADIR%%/Asia/Istanbul
+%%DATADIR%%/Asia/Jakarta
+%%DATADIR%%/Asia/Jayapura
+%%DATADIR%%/Asia/Jerusalem
+%%DATADIR%%/Asia/Kabul
+%%DATADIR%%/Asia/Kamchatka
+%%DATADIR%%/Asia/Karachi
+%%DATADIR%%/Asia/Kashgar
+%%DATADIR%%/Asia/Kathmandu
+%%DATADIR%%/Asia/Katmandu
+%%DATADIR%%/Asia/Khandyga
+%%DATADIR%%/Asia/Kolkata
+%%DATADIR%%/Asia/Krasnoyarsk
+%%DATADIR%%/Asia/Kuala_Lumpur
+%%DATADIR%%/Asia/Kuching
+%%DATADIR%%/Asia/Kuwait
+%%DATADIR%%/Asia/Macao
+%%DATADIR%%/Asia/Macau
+%%DATADIR%%/Asia/Magadan
+%%DATADIR%%/Asia/Makassar
+%%DATADIR%%/Asia/Manila
+%%DATADIR%%/Asia/Muscat
+%%DATADIR%%/Asia/Nicosia
+%%DATADIR%%/Asia/Novokuznetsk
+%%DATADIR%%/Asia/Novosibirsk
+%%DATADIR%%/Asia/Omsk
+%%DATADIR%%/Asia/Oral
+%%DATADIR%%/Asia/Phnom_Penh
+%%DATADIR%%/Asia/Pontianak
+%%DATADIR%%/Asia/Pyongyang
+%%DATADIR%%/Asia/Qatar
+%%DATADIR%%/Asia/Qostanay
+%%DATADIR%%/Asia/Qyzylorda
+%%DATADIR%%/Asia/Rangoon
+%%DATADIR%%/Asia/Riyadh
+%%DATADIR%%/Asia/Saigon
+%%DATADIR%%/Asia/Sakhalin
+%%DATADIR%%/Asia/Samarkand
+%%DATADIR%%/Asia/Seoul
+%%DATADIR%%/Asia/Shanghai
+%%DATADIR%%/Asia/Singapore
+%%DATADIR%%/Asia/Srednekolymsk
+%%DATADIR%%/Asia/Taipei
+%%DATADIR%%/Asia/Tashkent
+%%DATADIR%%/Asia/Tbilisi
+%%DATADIR%%/Asia/Tehran
+%%DATADIR%%/Asia/Tel_Aviv
+%%DATADIR%%/Asia/Thimbu
+%%DATADIR%%/Asia/Thimphu
+%%DATADIR%%/Asia/Tokyo
+%%DATADIR%%/Asia/Tomsk
+%%DATADIR%%/Asia/Ujung_Pandang
+%%DATADIR%%/Asia/Ulaanbaatar
+%%DATADIR%%/Asia/Ulan_Bator
+%%DATADIR%%/Asia/Urumqi
+%%DATADIR%%/Asia/Ust-Nera
+%%DATADIR%%/Asia/Vientiane
+%%DATADIR%%/Asia/Vladivostok
+%%DATADIR%%/Asia/Yakutsk
+%%DATADIR%%/Asia/Yangon
+%%DATADIR%%/Asia/Yekaterinburg
+%%DATADIR%%/Asia/Yerevan
+%%DATADIR%%/Atlantic/Azores
+%%DATADIR%%/Atlantic/Bermuda
+%%DATADIR%%/Atlantic/Canary
+%%DATADIR%%/Atlantic/Cape_Verde
+%%DATADIR%%/Atlantic/Faeroe
+%%DATADIR%%/Atlantic/Faroe
+%%DATADIR%%/Atlantic/Jan_Mayen
+%%DATADIR%%/Atlantic/Madeira
+%%DATADIR%%/Atlantic/Reykjavik
+%%DATADIR%%/Atlantic/South_Georgia
+%%DATADIR%%/Atlantic/St_Helena
+%%DATADIR%%/Atlantic/Stanley
+%%DATADIR%%/Australia/ACT
+%%DATADIR%%/Australia/Adelaide
+%%DATADIR%%/Australia/Brisbane
+%%DATADIR%%/Australia/Broken_Hill
+%%DATADIR%%/Australia/Canberra
+%%DATADIR%%/Australia/Currie
+%%DATADIR%%/Australia/Darwin
+%%DATADIR%%/Australia/Eucla
+%%DATADIR%%/Australia/Hobart
+%%DATADIR%%/Australia/LHI
+%%DATADIR%%/Australia/Lindeman
+%%DATADIR%%/Australia/Lord_Howe
+%%DATADIR%%/Australia/Melbourne
+%%DATADIR%%/Australia/NSW
+%%DATADIR%%/Australia/North
+%%DATADIR%%/Australia/Perth
+%%DATADIR%%/Australia/Queensland
+%%DATADIR%%/Australia/South
+%%DATADIR%%/Australia/Sydney
+%%DATADIR%%/Australia/Tasmania
+%%DATADIR%%/Australia/Victoria
+%%DATADIR%%/Australia/West
+%%DATADIR%%/Australia/Yancowinna
+%%DATADIR%%/Brazil/Acre
+%%DATADIR%%/Brazil/DeNoronha
+%%DATADIR%%/Brazil/East
+%%DATADIR%%/Brazil/West
+%%DATADIR%%/CET
+%%DATADIR%%/CST6CDT
+%%DATADIR%%/Canada/Atlantic
+%%DATADIR%%/Canada/Central
+%%DATADIR%%/Canada/Eastern
+%%DATADIR%%/Canada/Mountain
+%%DATADIR%%/Canada/Newfoundland
+%%DATADIR%%/Canada/Pacific
+%%DATADIR%%/Canada/Saskatchewan
+%%DATADIR%%/Canada/Yukon
+%%DATADIR%%/Chile/Continental
+%%DATADIR%%/Chile/EasterIsland
+%%DATADIR%%/Cuba
+%%DATADIR%%/EET
+%%DATADIR%%/EST
+%%DATADIR%%/EST5EDT
+%%DATADIR%%/Egypt
+%%DATADIR%%/Eire
+%%DATADIR%%/Etc/GMT
+%%DATADIR%%/Etc/GMT+0
+%%DATADIR%%/Etc/GMT+1
+%%DATADIR%%/Etc/GMT+10
+%%DATADIR%%/Etc/GMT+11
+%%DATADIR%%/Etc/GMT+12
+%%DATADIR%%/Etc/GMT+2
+%%DATADIR%%/Etc/GMT+3
+%%DATADIR%%/Etc/GMT+4
+%%DATADIR%%/Etc/GMT+5
+%%DATADIR%%/Etc/GMT+6
+%%DATADIR%%/Etc/GMT+7
+%%DATADIR%%/Etc/GMT+8
+%%DATADIR%%/Etc/GMT+9
+%%DATADIR%%/Etc/GMT-0
+%%DATADIR%%/Etc/GMT-1
+%%DATADIR%%/Etc/GMT-10
+%%DATADIR%%/Etc/GMT-11
+%%DATADIR%%/Etc/GMT-12
+%%DATADIR%%/Etc/GMT-13
+%%DATADIR%%/Etc/GMT-14
+%%DATADIR%%/Etc/GMT-2
+%%DATADIR%%/Etc/GMT-3
+%%DATADIR%%/Etc/GMT-4
+%%DATADIR%%/Etc/GMT-5
+%%DATADIR%%/Etc/GMT-6
+%%DATADIR%%/Etc/GMT-7
+%%DATADIR%%/Etc/GMT-8
+%%DATADIR%%/Etc/GMT-9
+%%DATADIR%%/Etc/GMT0
+%%DATADIR%%/Etc/Greenwich
+%%DATADIR%%/Etc/UCT
+%%DATADIR%%/Etc/UTC
+%%DATADIR%%/Etc/Universal
+%%DATADIR%%/Etc/Zulu
+%%DATADIR%%/Europe/Amsterdam
+%%DATADIR%%/Europe/Andorra
+%%DATADIR%%/Europe/Astrakhan
+%%DATADIR%%/Europe/Athens
+%%DATADIR%%/Europe/Belfast
+%%DATADIR%%/Europe/Belgrade
+%%DATADIR%%/Europe/Berlin
+%%DATADIR%%/Europe/Bratislava
+%%DATADIR%%/Europe/Brussels
+%%DATADIR%%/Europe/Bucharest
+%%DATADIR%%/Europe/Budapest
+%%DATADIR%%/Europe/Busingen
+%%DATADIR%%/Europe/Chisinau
+%%DATADIR%%/Europe/Copenhagen
+%%DATADIR%%/Europe/Dublin
+%%DATADIR%%/Europe/Gibraltar
+%%DATADIR%%/Europe/Guernsey
+%%DATADIR%%/Europe/Helsinki
+%%DATADIR%%/Europe/Isle_of_Man
+%%DATADIR%%/Europe/Istanbul
+%%DATADIR%%/Europe/Jersey
+%%DATADIR%%/Europe/Kaliningrad
+%%DATADIR%%/Europe/Kiev
+%%DATADIR%%/Europe/Kirov
+%%DATADIR%%/Europe/Lisbon
+%%DATADIR%%/Europe/Ljubljana
+%%DATADIR%%/Europe/London
+%%DATADIR%%/Europe/Luxembourg
+%%DATADIR%%/Europe/Madrid
+%%DATADIR%%/Europe/Malta
+%%DATADIR%%/Europe/Mariehamn
+%%DATADIR%%/Europe/Minsk
+%%DATADIR%%/Europe/Monaco
+%%DATADIR%%/Europe/Moscow
+%%DATADIR%%/Europe/Nicosia
+%%DATADIR%%/Europe/Oslo
+%%DATADIR%%/Europe/Paris
+%%DATADIR%%/Europe/Podgorica
+%%DATADIR%%/Europe/Prague
+%%DATADIR%%/Europe/Riga
+%%DATADIR%%/Europe/Rome
+%%DATADIR%%/Europe/Samara
+%%DATADIR%%/Europe/San_Marino
+%%DATADIR%%/Europe/Sarajevo
+%%DATADIR%%/Europe/Saratov
+%%DATADIR%%/Europe/Simferopol
+%%DATADIR%%/Europe/Skopje
+%%DATADIR%%/Europe/Sofia
+%%DATADIR%%/Europe/Stockholm
+%%DATADIR%%/Europe/Tallinn
+%%DATADIR%%/Europe/Tirane
+%%DATADIR%%/Europe/Tiraspol
+%%DATADIR%%/Europe/Ulyanovsk
+%%DATADIR%%/Europe/Uzhgorod
+%%DATADIR%%/Europe/Vaduz
+%%DATADIR%%/Europe/Vatican
+%%DATADIR%%/Europe/Vienna
+%%DATADIR%%/Europe/Vilnius
+%%DATADIR%%/Europe/Volgograd
+%%DATADIR%%/Europe/Warsaw
+%%DATADIR%%/Europe/Zagreb
+%%DATADIR%%/Europe/Zaporozhye
+%%DATADIR%%/Europe/Zurich
+%%DATADIR%%/Factory
+%%DATADIR%%/GB
+%%DATADIR%%/GB-Eire
+%%DATADIR%%/GMT
+%%DATADIR%%/GMT+0
+%%DATADIR%%/GMT-0
+%%DATADIR%%/GMT0
+%%DATADIR%%/Greenwich
+%%DATADIR%%/HST
+%%DATADIR%%/Hongkong
+%%DATADIR%%/Iceland
+%%DATADIR%%/Indian/Antananarivo
+%%DATADIR%%/Indian/Chagos
+%%DATADIR%%/Indian/Christmas
+%%DATADIR%%/Indian/Cocos
+%%DATADIR%%/Indian/Comoro
+%%DATADIR%%/Indian/Kerguelen
+%%DATADIR%%/Indian/Mahe
+%%DATADIR%%/Indian/Maldives
+%%DATADIR%%/Indian/Mauritius
+%%DATADIR%%/Indian/Mayotte
+%%DATADIR%%/Indian/Reunion
+%%DATADIR%%/Iran
+%%DATADIR%%/Israel
+%%DATADIR%%/Jamaica
+%%DATADIR%%/Japan
+%%DATADIR%%/Kwajalein
+%%DATADIR%%/Libya
+%%DATADIR%%/MET
+%%DATADIR%%/MST
+%%DATADIR%%/MST7MDT
+%%DATADIR%%/Mexico/BajaNorte
+%%DATADIR%%/Mexico/BajaSur
+%%DATADIR%%/Mexico/General
+%%DATADIR%%/NZ
+%%DATADIR%%/NZ-CHAT
+%%DATADIR%%/Navajo
+%%DATADIR%%/PRC
+%%DATADIR%%/PST8PDT
+%%DATADIR%%/Pacific/Apia
+%%DATADIR%%/Pacific/Auckland
+%%DATADIR%%/Pacific/Bougainville
+%%DATADIR%%/Pacific/Chatham
+%%DATADIR%%/Pacific/Chuuk
+%%DATADIR%%/Pacific/Easter
+%%DATADIR%%/Pacific/Efate
+%%DATADIR%%/Pacific/Enderbury
+%%DATADIR%%/Pacific/Fakaofo
+%%DATADIR%%/Pacific/Fiji
+%%DATADIR%%/Pacific/Funafuti
+%%DATADIR%%/Pacific/Galapagos
+%%DATADIR%%/Pacific/Gambier
+%%DATADIR%%/Pacific/Guadalcanal
+%%DATADIR%%/Pacific/Guam
+%%DATADIR%%/Pacific/Honolulu
+%%DATADIR%%/Pacific/Johnston
+%%DATADIR%%/Pacific/Kanton
+%%DATADIR%%/Pacific/Kiritimati
+%%DATADIR%%/Pacific/Kosrae
+%%DATADIR%%/Pacific/Kwajalein
+%%DATADIR%%/Pacific/Majuro
+%%DATADIR%%/Pacific/Marquesas
+%%DATADIR%%/Pacific/Midway
+%%DATADIR%%/Pacific/Nauru
+%%DATADIR%%/Pacific/Niue
+%%DATADIR%%/Pacific/Norfolk
+%%DATADIR%%/Pacific/Noumea
+%%DATADIR%%/Pacific/Pago_Pago
+%%DATADIR%%/Pacific/Palau
+%%DATADIR%%/Pacific/Pitcairn
+%%DATADIR%%/Pacific/Pohnpei
+%%DATADIR%%/Pacific/Ponape
+%%DATADIR%%/Pacific/Port_Moresby
+%%DATADIR%%/Pacific/Rarotonga
+%%DATADIR%%/Pacific/Saipan
+%%DATADIR%%/Pacific/Samoa
+%%DATADIR%%/Pacific/Tahiti
+%%DATADIR%%/Pacific/Tarawa
+%%DATADIR%%/Pacific/Tongatapu
+%%DATADIR%%/Pacific/Truk
+%%DATADIR%%/Pacific/Wake
+%%DATADIR%%/Pacific/Wallis
+%%DATADIR%%/Pacific/Yap
+%%DATADIR%%/Poland
+%%DATADIR%%/Portugal
+%%DATADIR%%/ROC
+%%DATADIR%%/ROK
+%%DATADIR%%/Singapore
+%%DATADIR%%/Turkey
+%%DATADIR%%/UCT
+%%DATADIR%%/US/Alaska
+%%DATADIR%%/US/Aleutian
+%%DATADIR%%/US/Arizona
+%%DATADIR%%/US/Central
+%%DATADIR%%/US/East-Indiana
+%%DATADIR%%/US/Eastern
+%%DATADIR%%/US/Hawaii
+%%DATADIR%%/US/Indiana-Starke
+%%DATADIR%%/US/Michigan
+%%DATADIR%%/US/Mountain
+%%DATADIR%%/US/Pacific
+%%DATADIR%%/US/Samoa
+%%DATADIR%%/UTC
+%%DATADIR%%/Universal
+%%DATADIR%%/W-SU
+%%DATADIR%%/WET
+%%DATADIR%%/Zulu
+%%DATADIR%%/posixrules
+%%DATADIR%%/zone.tab
+%%DATADIR%%/zone1970.tab