Commit Graph

217 Commits

Author SHA1 Message Date
ngie
f3b9b77d64 share: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output

MFC after:	1 month
Sponsored by:	Dell EMC Isilon
2017-03-04 11:26:40 +00:00
julian
a3814f5ded If you are going to be run individually to make a new timezone set
then ensure the destination directories exist.
Especially if you define OLDTIMEZONES because the mtree pass
doesn't do it for you.

MFC after:	1 week
Sponsored by:	Panzura
2016-12-22 18:30:29 +00:00
julian
f8f89e5409 When you select make OLDTIMEZONES=1 then you need a few added directories
to be made or the command fails

Sponsored by:	panzura
2016-11-15 06:37:44 +00:00
gjb
be411a556e 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
gjb
e10d828abf 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
gjb
fae20a41ad 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
bdrewery
c41790fef1 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
bdrewery
88db8d87c1 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
bdrewery
a295004d11 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
bdrewery
4ce2f6cba1 DIRDEPS_BUILD: Fix building during dirdeps.
Sponsored by:	EMC / Isilon Storage Division
2016-03-11 23:45:17 +00:00
ngie
0a77d5c6e1 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
delphij
47e7b3851f Fix build when LEAPSECONDS is enabled.
MFC after:	2 weeks
2015-08-22 07:41:28 +00:00
sjg
008d7c831f 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
sjg
75a137820d dirdeps.mk now sets DEP_RELDIR 2015-06-08 23:35:17 +00:00
sjg
b137080f19 Merge from head@274682 2014-11-19 01:07:58 +00:00
emaste
d1650d164a 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
pluknet
baab00bf29 Fix comments on updating tzdata releases. 2014-08-27 19:34:49 +00:00
sjg
0ee5295509 Updated dependencies 2013-02-16 01:23:54 +00:00
obrien
3028e3f8ab Sync with HEAD. 2013-02-08 16:10:16 +00:00
brooks
29b3d8996d 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
7aba564940 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
9dd41e3647 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
4c5be64341 Officially speaking, the zoneinfo data files are contributed data.
Therefore treat them as such.
2010-02-25 06:44:16 +00:00
nork
6cd5e26ea1 Fix a installation issue with $DESTDIR.
Approved by:	imp (mentor)
2010-02-11 15:34:54 +00:00
edwin
a7e69958a4 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
938dbefb29 MFV of tzdata2010a:
Administrative only: Fix AT fields for Asia/Dhaka
2010-01-18 23:34:23 +00:00
edwin
3e6eb7c320 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
e2c0c68722 MFV of tzcode2009t, r200833
Comment only, no data changes.

MFC after:	1 week
2009-12-22 11:21:03 +00:00
obrien
7a582e3661 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
3ca04f8b5d 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
66d73d4028 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
bee6d1c953 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
2f2e91a07a MFV of tzdata2009p
Merge of r198513

- Argentina does not go to DST this year.
2009-10-27 11:13:51 +00:00
edwin
aea2f51e44 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
ec50bd2dc0 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
71670235af 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
5e8dbd8819 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
aa860185d2 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
140e1930f6 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
a83f65b495 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
c6677455d5 MFV of r194480
- Official start of Bangladesh DST.
2009-06-19 11:52:07 +00:00
edwin
1ac37395d6 MFV of tzdata2009i:
Bangladesh will go into DST on 20 June.

MFC after:	2 days
2009-06-09 00:09:36 +00:00
edwin
d8ccb86115 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
2fb1287669 MFC of tzdata2009g:
Egypt will have DST till the end of September the coming years.
2009-04-28 08:20:32 +00:00
edwin
238ae87255 MFV of tzdata2009f
Correct DST information for Pakistan for 2009.
2009-04-14 08:15:39 +00:00
edwin
154a5ff924 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
395c7488d1 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
0cd436f97e MFV of tzdata2009c
- Cuba has DST again.

MFC after:	1 week
2009-03-17 10:51:31 +00:00
edwin
75d3feba46 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
phk
0974d09c26 Latest bulletin C from Daniel GAMBIS: no leap at the end of june 2009. 2009-01-21 10:51:54 +00:00