Commit Graph

213 Commits

Author SHA1 Message Date
Glen Barber
86bd190ce9 Reimplement r301944 using the correct install(1) invocation, which again
fixes packaging tzdata/zoneinfo.

Thank you to hrs for the pointer on what I did incorrectly.

Approved by:	re (blanket, pkgbase)
Sponsored by:	The FreeBSD Foundation
2016-06-16 13:34:20 +00:00
Glen Barber
5647bfaab0 Revert r301944, which apparently broke zoneinfo install during
installworld (although I am not sure why).  I'll revisit this
change after I further understand the cause of the breakage.

Thanks to our secret canary (dhw) for the report.

Approved by:	re (blanket, pkgbase)
Sponsored by:	The FreeBSD Foundation
2016-06-16 11:55:24 +00:00
Glen Barber
a71f05bcf0 Fix zoneinfo file packaging.
This change fixes 468 of 488 zoneinfo file packaging issues,
the rest still to be investigated.

Approved by:	re (blanket, pkgbase)
Sponsored by:	The FreeBSD Foundation
2016-06-16 03:00:10 +00:00
Bryan Drewery
94086cea27 Rework META_TARGETS so that it automatically adds META_DEPS to the targets.
This will only be done if the target is defined, so if the target is
defined after bsd.sys.mk is included then it needs to manually add
${META_DEPS} still.

Sponsored by:	EMC / Isilon Storage Division
2016-04-14 21:04:42 +00:00
Bryan Drewery
b7d28aff10 META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE.
Extend it to other cases of meta mode cookies so they get the proper rm
cookie behavior when a .meta file detects it needs to rebuild and fails.

Sponsored by:	EMC / Isilon Storage Division
2016-03-11 23:45:28 +00:00
Bryan Drewery
bffd819972 DIRDEPS_BUILD: Reduce restaging here.
This also fixes meta tracking for the beforeinstall since it had been
marked .PHONY before (in bsd.sys.mk).

Sponsored by:	EMC / Isilon Storage Division
2016-03-11 23:45:20 +00:00
Bryan Drewery
5e8745cc86 DIRDEPS_BUILD: Fix building during dirdeps.
Sponsored by:	EMC / Isilon Storage Division
2016-03-11 23:45:17 +00:00
Enji Cooper
9b209ed23e Install share/zoneinfo in a deterministic way by sorting the results from find
This helps produce deterministic METALOG output

PR: 200674
Submitted by: Fabian Keil <fk@fabiankeil.de>
Reviewed by: emaste
MFC after: 1 week
Obtained from: ElectroBSD
2015-10-17 09:26:16 +00:00
Xin LI
1bb0c0bd8d Fix build when LEAPSECONDS is enabled.
MFC after:	2 weeks
2015-08-22 07:41:28 +00:00
Simon J. Gerraty
ccfb965433 Add META_MODE support.
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision:       D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
Simon J. Gerraty
44d314f704 dirdeps.mk now sets DEP_RELDIR 2015-06-08 23:35:17 +00:00
Simon J. Gerraty
9268022b74 Merge from head@274682 2014-11-19 01:07:58 +00:00
Ed Maste
e527e84592 Avoid ./ in zoneinfo entries in METALOG
Use of "find ." resulted in METALOG entries with an extra ./ -- e.g.,
./usr/share/zoneinfo/./America/Toronto.  Avoid this by using globbing
via "find *" instead.

Reviewed by:	brooks
Sponsored by:	DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D719
2014-09-03 18:51:33 +00:00
Sergey Kandaurov
1a326e5730 Fix comments on updating tzdata releases. 2014-08-27 19:34:49 +00:00
Simon J. Gerraty
f5f7c05209 Updated dependencies 2013-02-16 01:23:54 +00:00
David E. O'Brien
d9a447559b Sync with HEAD. 2013-02-08 16:10:16 +00:00
Brooks Davis
22c2069fc3 Use find -exec to install zoneinfo instead of requiring xargs to be an
install tool.

Suggested by:	delphij
2013-01-11 18:37:51 +00:00
Brooks Davis
78e832b82d Rather than using zic to both compile and install zoneinfo files,
generate the files during the build and install them with install(1).
This was the one place in installworld where files (vs links) were
installed by a tool other than install.

Reviewed by:	edwin, jilles
2013-01-10 19:46:08 +00:00
Marcel Moolenaar
7750ad47a9 Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Edwin Groothuis
b92fc60991 Officially speaking, the zoneinfo data files are contributed data.
Therefore treat them as such.
2010-02-25 06:44:16 +00:00
Norikatsu Shigemura
4bca136727 Fix a installation issue with $DESTDIR.
Approved by:	imp (mentor)
2010-02-11 15:34:54 +00:00
Edwin Groothuis
aa8c82d3da MFV of tzdata2010b, r203017
Mexico's House of Representatives has approved a proposal for
northern Mexico's border cities to share the same daylight saving
schedule as the United States.

MFC after:	now
2010-01-26 11:12:47 +00:00
Edwin Groothuis
48f4158da3 MFV of tzdata2010a:
Administrative only: Fix AT fields for Asia/Dhaka
2010-01-18 23:34:23 +00:00
Edwin Groothuis
44220b199f MFV of tzdata2009u, r201187
Bangladesh will change its clock back to Standard Time on Dec 31, 2009.

MFC after:	now
2009-12-29 10:13:45 +00:00
Edwin Groothuis
feb7a28755 MFV of tzcode2009t, r200833
Comment only, no data changes.

MFC after:	1 week
2009-12-22 11:21:03 +00:00
David E. O'Brien
8b49e38f8f Catch up with r130332 which changed the default timezone from GMT to UTC.
Otherwise the tzload() (when called by gmtload()) fails to locate the UTC
file and loads the posixrules.
2009-11-17 16:29:39 +00:00
Edwin Groothuis
a3b6e3f3cd MFV of tzdata2009s, r199334
- Fix (harmless) typo in the definitions of Antarctica/David
- Fiji will go into DST from 29 November 2009 to 25 April 2010.

MFC after:	3 days
2009-11-16 21:12:27 +00:00
Edwin Groothuis
509acd630d MFV of r199105, tzdata2009r:
- Three Australian stations in Antarctica have changed their time zone:
  Casey moved from UTC+8 to UTC+11
  Davis moved from UTC+7 to UTC+5
  Mawson moved from UTC+6 to UTC+5
  The changes occurred on 2009-10-18 at 02:00 (local times).

MFC after:	3 days
2009-11-09 20:49:12 +00:00
Edwin Groothuis
9cc5918d4c MFV of tzdata2009q:
- New region: Asia/Novokuznetsk
- Kemerovo oblast' (Kemerovo region) in Russia will change current
  time zone on 29 March 2010
- Add historical data for Hongkong 1941 - 1980
- Syria will go to winter time in the last weekend of October 2009.

MFC after:	2 days
2009-11-02 21:44:10 +00:00
Edwin Groothuis
092a36bc97 MFV of tzdata2009p
Merge of r198513

- Argentina does not go to DST this year.
2009-10-27 11:13:51 +00:00
Edwin Groothuis
62d9857501 Move comments to the beginning of the line to make it look better.
Thank to ru@ for his noticing of it.

MFC after:	1 week
2009-10-22 20:59:51 +00:00
Edwin Groothuis
38a96a6838 After the installation of the /usr/share/zoneinfo, run tzsetup if
/var/db/zoneinfo exists.

MFC after:	1 week
2009-10-21 20:59:12 +00:00
Edwin Groothuis
299d618522 MFV of tzdata2009o:
- Somoa has not moved to DST this year (comment only)
- Bangladesh stays on DST for now.
- Pakistan went back to standard time in 1 October 2009

MFC after:	1 week
2009-10-20 07:03:06 +00:00
Edwin Groothuis
1077573e2d MFV of tzdata2009n
Pakistan will go out DST on 1 October.
Headsup for changes in Argentina.
2009-09-28 21:53:28 +00:00
Edwin Groothuis
a97a1c9e47 MFV of r196998.
Import of tzdata2008m

Samoa will go in DST on 4 October 2009 till 28 March 2010
Palestine will go back from DST on 4 September 2009
2009-09-09 00:07:05 +00:00
Edwin Groothuis
db39332bb2 MFV of r196350
Import of tzdata2009l

- Egypt will go to Wintertime on 21 August 2009
- Heads up for a possible DST in Samoa
2009-08-27 12:24:21 +00:00
Edwin Groothuis
74a6ffc692 MFV of r195792:
Import of tzdata2009k to head.

- Changes in Mauritius and Bangladesh
- No leapsecond at the end of December 2009
2009-08-27 12:22:50 +00:00
Edwin Groothuis
59d5849208 MFV of r194480
- Official start of Bangladesh DST.
2009-06-19 11:52:07 +00:00
Edwin Groothuis
c994fb7c5b MFV of tzdata2009i:
Bangladesh will go into DST on 20 June.

MFC after:	2 days
2009-06-09 00:09:36 +00:00
Edwin Groothuis
71da9898e0 MFV of tzdata2009h:
- Fix coordinates of Africa/Gaborone, Pacific/Noumea, Pacific/Tongatapu,
  Europe/Vatican

- Fix URLs (=3D -> = etc)

- Jordan doesn't go at last Friday of March 00:00 but no last
  Thursday of March 24:00

- Specifically state license for the data: public domain

MFC after:	1 week
2009-05-27 10:02:07 +00:00
Edwin Groothuis
9dfee9ccd2 MFC of tzdata2009g:
Egypt will have DST till the end of September the coming years.
2009-04-28 08:20:32 +00:00
Edwin Groothuis
9a338160ba MFV of tzdata2009f
Correct DST information for Pakistan for 2009.
2009-04-14 08:15:39 +00:00
Edwin Groothuis
49ba1deb12 MFV of tzdata2009e
- Jordan went into DST in the last Thursday in March instead of the
  last Friday in March.
- Palestine has extended the DST time with one week before and one
  month after.

MFC after:	1 week
2009-04-13 09:17:40 +00:00
Edwin Groothuis
a7c248498e MFV of tzdata2009d:
- Morocco will observe DST from 2009-06-01 00:00 to 2009-08-21 00:00
- Tunisia will not observe DST this year.
- Syria will start DST on 2009-03-27 00:00 this year
- the Province of San Luis will go to utc-04:00

MFC after:	1 week
2009-03-24 10:50:30 +00:00
Edwin Groothuis
8845bab06b MFV of tzdata2009c
- Cuba has DST again.

MFC after:	1 week
2009-03-17 10:51:31 +00:00
Edwin Groothuis
6cd58f778c MFV of tzdata2009a
- Asia/Katmandu -> Asia/Kathmandu
- Fix historical references to DST in Switzerland
- Correct rules for America/Resolute (Nunavut)
- Cuba didn't have DST in 2005.

MFC after:	1 week
2009-01-22 11:24:42 +00:00
Poul-Henning Kamp
598fc8929b Latest bulletin C from Daniel GAMBIS: no leap at the end of june 2009. 2009-01-21 10:51:54 +00:00
Edwin Groothuis
0dde8f1194 MFV of tzdata2008i.
- United States zone reordering and recommenting
- Argentina DST changes update.
2008-10-28 10:37:40 +00:00
Edwin Groothuis
4d3caeacf3 update the manual on how to import and MFV new tzdata releases 2008-10-14 04:09:33 +00:00
Edwin Groothuis
0e8b352552 MFV of r183861:
Vendor import of tzdata2008h

- Minor update for Mauritius (which I don't understand)
- Syria goes to DST at 1 November instead of 1 October.
- Niue is now located at the right side of the equator.
2008-10-14 03:38:02 +00:00