Commit graph

36 commits

Author SHA1 Message Date
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
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
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
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 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 4d3caeacf3 update the manual on how to import and MFV new tzdata releases 2008-10-14 04:09:33 +00:00
Edwin Groothuis f281c10a84 Replace description on how to do CVS imports on this module with a
description on how to do SVN imports on this module.

Approved by:	bde (implicit)
2008-08-08 04:37:43 +00:00
Edwin Groothuis 4add124f9a Describe the process of importing new zoneinfo data and updating
it into CVS.

PR:		conf/116901
Approved by:	re (Ken Smith), grog@ (mentor)
2007-10-08 21:16:38 +00:00
Garrett Wollman 9d08bdaaa6 Move "systemv" into OLDTIMEZONES clause; "backward" is a prerequisite.
("systemv" is even more backward than "backward" is!)

Obliquely pointed out by:	jhay
2005-08-31 01:33:26 +00:00
Ruslan Ermilov 09a25e1fb1 - Removed the .CURDIR/.OBJDIR magic, it is not necessary here.
- Let the built-in sys.mk rule produce the "yearistype" script.
- Install zone files with mode 444 (now that the -m option of
  zic(8) has been fixed).
2004-10-19 20:38:49 +00:00
Ruslan Ermilov d2893b161b Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
Ruslan Ermilov 0b87f79976 s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
Ruslan Ermilov ce3edc3a22 Don't create missing directories; that's the duty of mtree(8).
Don't depend on chown(8) in ${INSTALLTMP}; -u/-g have been
supported since at least RELENG_4_BP.
2001-09-11 14:27:11 +00:00
Peter Wemm 7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Bruce Evans 93a4679a23 Don't use a dot in the chown command. Fixed some minor style bugs.
Building things at install time under ${DESTDIR} was too hard to fix.

Bruce
1997-03-09 09:41:44 +00:00
Peter Wemm b97fa2ef50 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
Jordan K. Hubbard 1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Bruce Evans 6392a49415 ${COPY} -> -c. ${COPY} should never be used for installing sources since
it might be empty.
1996-11-29 12:54:10 +00:00
Andrey A. Chernov 50b440f1bf Add missing ${COPY} to install options, zone.tab 1996-11-27 23:32:10 +00:00
Garrett Wollman cadbe55eb2 Update to the latest version from the vendor branch. These files are
now identical with the distributed versions, which may cause some
abbreviations to change for people in obscure zones.  (The abbreviations
can be changed again if need be.)  It also changes the abbreviation
of Central European Time to `CET' from its previous value of `MET'
(a curious German-English hybrid).  Finally, we have finally rid
ourselves of those nasty ZONE-DESCR comments, which were a maintenance
nightmare, in favor of the new zone.tab file.  We are not using the
distribution's iso3166.tab file because we have our own list.

Obtained from: Arthur David Olson; ftp://elsie.nci.nih.gov
1996-11-19 19:17:19 +00:00
Jordan K. Hubbard cd9a2f5c28 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
Gary Palmer e265b77bef Change the handling of the leapseconds so that if LEAPSECONDS isn't
defined, it doesn't call zic with -L /dev/null, and instead doesn't
use -L at all
1995-11-16 02:00:38 +00:00
Garrett Wollman 776088cef3 Don't build Pacific Presidential Election Time; it has no legal standing,
and results in a bogus link and US/ directory.
1994-09-13 22:02:46 +00:00
Garrett Wollman c15219878a New method for installing timezone data files, not nearly as complicated
as the previous one, and better integrated with the build scheme.

Define OLDTIMEZONES to get backward-compatibility links added.
Define LEAPSECONDS if you want leap-second support.
1994-09-13 21:54:06 +00:00
Andrey A. Chernov 3e76b3ad03 Install posix rules as default and leapseconds rules as additional 1994-09-06 15:04:12 +00:00
Jordan K. Hubbard 6acd8e2475 Bruce Evans is right - this shouldn't touch /etc *at all* and I should
have nuked it, not fixed it.  No longer install /etc/localtime.
Reviewed by:
Submitted by:
1994-08-11 01:39:23 +00:00
Jordan K. Hubbard 0419c5b941 Add a preventative rm of /etc/localtime in the install rule just in
case it's a link (in which case the subsequent install will fall over).
Submitted by:	jkh
1994-08-11 00:54:30 +00:00
Jordan K. Hubbard bfc54eff9f Change a .0 to a .5.
Submitted by:	jkh
1994-08-11 00:45:38 +00:00
Rodney W. Grimes afe61c1516 BSD 4.4 Lite Share Sources 1994-05-30 19:09:18 +00:00