Commit Graph

49 Commits

Author SHA1 Message Date
hovercats 0e64282091 tz: 2026b 2026-05-07 23:31:20 -07:00
Michael Forney 5d553c4caf tz: Update to 2026a 2026-03-04 14:12:15 -08:00
hovercats 2b6e80eef6 tz: 2025a 2025-02-01 20:14:27 -08:00
Michael Forney 9354fea12c tz: Build with warning flags 2024-03-17 00:27:08 -07:00
Michael Forney 1a287f0fbd tz: Fix TZDIR 2024-02-08 12:27:03 -08:00
hovercats 9101bb17ad tz: 2024a 2024-02-07 20:50:18 -08:00
Michael Forney a0127a1eab tz: Update to 2022c 2022-09-08 11:46:26 -07:00
Michael Forney 030803441d tz: Update data.lua 2021-11-18 22:54:41 -08:00
Michael Forney 3ab91b7a0f tz: Update to 2021e 2021-11-17 13:46:31 -08:00
Michael Forney f81b3ca02f tz: Update to 2021a 2021-01-28 14:43:25 -08:00
Michael Forney d122090d1a tz: Update to 2020f 2021-01-07 23:08:33 -08:00
Michael Forney 0d868eacac tz: Regenerate data.lua for 2020e
This was missed in 78a383de.

Fixes #22.
2021-01-03 12:54:49 -08:00
Michael Forney 78a383de56 tz: Update to 2020e 2020-12-25 13:59:04 -08:00
Michael Forney 6dab8d07dd tz: Update to 2020d 2020-10-25 23:18:25 -07:00
Michael Forney 63c28653ed tz: Update to 2020b 2020-10-07 14:14:37 -07:00
Michael Forney 300196a0d2 tz: Sort zones to produce stable output 2020-06-22 22:59:35 -07:00
Michael Forney 9b68c054ee tz: Update to 2020a 2020-04-27 17:09:50 -07:00
Michael Forney ccfb70cd90 tz: Update to 2019c 2019-09-20 00:22:23 -07:00
Michael Forney 8ef49eb84a tz: Remove obsolete systemv data 2019-07-11 01:48:02 -07:00
Michael Forney 95238ca682 tz: Specify zic outputs explicitly 2019-07-10 00:52:58 -07:00
Michael Forney 3655a64059 Revert "tz: Honor config.fs when writing tzdata.index"
This reverts commit 8b0c936479.
2019-07-08 01:30:51 -07:00
Michael Forney 8b0c936479 tz: Honor config.fs when writing tzdata.index 2019-07-07 15:16:06 -07:00
Michael Forney 4d86252d9d tz: Use slim mode by default 2019-07-06 01:24:36 -07:00
Michael Forney 2b466f76cb tz: Update to 2019b 2019-07-06 01:24:36 -07:00
Michael Forney dad221a2bc tz: Update to 2019a 2019-03-27 00:51:28 -07:00
Michael Forney 4332740046 Rename rev to ver, and keep track of package versions as well 2019-03-19 00:14:12 -07:00
Michael Forney 70bd0be9fa tz: Update to 2018i 2019-01-28 17:05:30 -08:00
Michael Forney fd5224a9bf tz: Update to 2018h 2018-12-27 19:05:52 -08:00
Michael Forney bcd889d2c9 Call lua as lua5.2 to make sure we get the right version 2018-11-12 12:14:21 -08:00
Michael Forney 3bd6335085 tz: Update to 2018g 2018-11-01 21:48:51 -07:00
Michael Forney 7220e5e927 tz: Update to 2018d 2018-03-23 21:09:56 -07:00
Michael Forney 741d252822 Port build scripts to POSIX shell
Since we are now using Lua to generate ninja files, use of rc in build scripts
seems unnecessary and adds an additional bootstrap dependency. None of them are
too fancy, so just port to POSIX sh instead.
2018-02-16 02:52:34 -08:00
Michael Forney cb49ad3567 tz: Update to 2018c 2018-01-25 10:16:31 -08:00
Michael Forney b253572d27 tz: Update to 2018b 2018-01-18 10:38:16 -08:00
Michael Forney 3f893685c1 tz: Update to 2018a 2018-01-17 10:34:00 -08:00
Michael Forney c19d7612ac tz: Omit old zone names 2017-10-20 17:27:21 -07:00
Michael Forney 0d03059e6c tz: Update to 2017c 2017-10-20 17:27:14 -07:00
Michael Forney 52a1ac8da1 tz: Fix some issues in tzdata.lua
When this was converted from an awk script, two regressions were introduced:

- hash.rc failures did not cause a failure in tzdata.lua.
- We stopped actually running the zic command.
2017-10-20 17:12:29 -07:00
Michael Forney 9116002f49 tz: Install zic man page 2017-10-20 17:07:36 -07:00
Michael Forney 6d4414361e tz: Remove obsolete zic rule 2017-10-20 17:06:48 -07:00
Michael Forney 86595977d7 tz: Write tzdata hash script in lua
This should make it easier to support the users `config.fs`.
2017-09-25 19:23:06 -07:00
Michael Forney ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00
Michael Forney 1dd50b8a9d Remove obsolete tool variables
We don't use lex, python, or perl for build.

For yacc and zic, just remove the variables. It is unlikely that they
need to be changed.
2017-09-01 19:07:48 -07:00
Michael Forney 2f62dcb210 tz: Add order-only dependency on $builddir/root.stamp
tzdata.awk runs scripts/hash.rc, which requires that the build
repository has been initialized.
2017-07-22 10:07:26 -07:00
Michael Forney b4eb7f9714 tz: Update to 2017b 2017-03-24 10:57:21 -07:00
Michael Forney 7bbf5d7919 tz: Apply fix from upstream
tz 2017a included a timezone string that is too long. This was fixed
shortly upstream, so just fastforward a couple commits past 2017a to
pick it up.
2017-03-02 19:24:09 -08:00
Michael Forney 3270dbaa98 tz: Update to 2017a 2017-03-01 09:39:43 -08:00
Michael Forney 36c037effc Allow using /.git as output repository 2016-12-29 23:29:07 -08:00
Michael Forney 293f5a93b7 Move to flat package hierarchy
Note to self: never try to move submodules again

To migrate your existing submodules (more or less):

	set -x
	set -e

	mkdir .git/modules/pkg
	for old in */*/src ; do
	        new="pkg/${old#*/}"
	        if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
			continue
		fi
		git -C ".git/modules/$old" config core.worktree "../../../../../$new"
		rmdir "$new"
		mv "$old" "$new"
	        sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp"
	        mv "$new/.git.tmp" "$new/.git"
		mkdir ".git/modules/${new%/src}"
	        mv ".git/modules/$old" ".git/modules/$new"

		rm "${old%/src}"/*.ninja
		mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
		rmdir "${old%/src}" || true
	done
	sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp
	mv .git/config.tmp .git/config
2016-12-13 23:10:30 -08:00