#
0a45a7e9 |
|
20-Nov-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Fix share/zoneinfo for DIRDEPS_BUILD The tranditional build makes multiple passes through the tree. The DIRDEPS_BUILD visits each directory only once per architecture, thus makefiles should be able to everything they need in a single pass. The use of TZS!= when doing make(*install*) only works if the directory has previously been visited to do zoneinfo since before the zoneinfo target is run TZS will be empty. To fix this, have the zoneinfo target capture the list of files to zoneinfo, and install-zoneinfo use that list. Rename that target to zonefiles - since that is now what it does. This is more efficient - we only gather the list of zones when it is likely to have changed, and allows the makefile to do everything in a single pass. Reviewed by: stevek Differential Revision: https://reviews.freebsd.org/D42624
|
#
fa08011a |
|
14-Nov-2023 |
Stephen J. Kiernan <stevek@FreeBSD.org> |
zoneinfo: fix makefile rules script In make target rules, one needs to use subshell if there are change directory commands that should only have an effect on the other commands in the same line. Otherwise, if make is not running in compatibility mode (for example, when -j flag is specified), commands would be executed in a single shell and lines following the "cd" might not work as expected. Adjust the target script lines that use "cd" to run in a subshell by adding appropriate parenthesis. Reviewed by: sjg Differential Revision: https://reviews.freebsd.org/D42608
|
#
d0b2dbfa |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
#
336c4682 |
|
23-Apr-2023 |
Yuri Pankov <yuripv@FreeBSD.org> |
tzsetup: add baseline file to control parsed zonetab contents Introduce undocumented option -d to dump parsed zonetab file contents and add a "baseline" target along with instructions on updating it. Reviewed by: philip Differential Revision: https://reviews.freebsd.org/D39634
|
#
552815b2 |
|
20-Apr-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
zoneinfo get zic from stage tree during DIRDEPS_BUILD
|
#
f1021d27 |
|
25-Jan-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
zoneinfo: Always produce fat zoneinfo files. These aren't just needed for compatibility with i386 binaries (which need the 32-bit section), but potentially also for compatibility with older binaries on all platforms. Sponsored by: Klara, Inc. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D38194
|
#
783c318f |
|
25-Jan-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
zoneinfo: On amd64, include 32-bit data. While there, drop the unnecessary posixrules option. Sponsored by: Klara, Inc. Reviewed by: imp, allanjude Differential Revision: https://reviews.freebsd.org/D38142
|
#
da038df8 |
|
24-Sep-2022 |
Philip Paeps <philip@FreeBSD.org> |
share/zoneinfo: don't build obsolete SystemV zones The /usr/share/zoneinfo/SystemV directory has been empty on FreeBSD since 2006. The upstream source file was removed in 2020. Also stop passing yearisdate to zic(8). This has not been necessary for years. The script has been removed upstream since 2020. MFC after: 3 days
|
#
6f6fbfa3 |
|
15-Jan-2022 |
Ed Maste <emaste@FreeBSD.org> |
Remove quotes around Makefile .error/.warn/.info strings The text after .error et al is emitted verbatim. Reviewed by: sjg Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33904
|
#
6b68fdbb |
|
21-Dec-2020 |
Emmanuel Vadot <manu@freebsd.org> |
pkgbase: Put zoneinfo file in their own package Those files take some amount of diskspace and one might not want them installed on some situation (mfsdisk, small embedded system etc ...) Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D27709
|
#
b6d54565 |
|
30-Dec-2020 |
Philip Paeps <philip@FreeBSD.org> |
share/zoneinfo: fix minor documentation nit The `git tag` command wants a tag name.
|
#
24c7311b |
|
25-Dec-2020 |
Philip Paeps <philip@FreeBSD.org> |
share/zoneinfo: update import documentation for Git Document the steps needed to import and MFC new versions of tzdata now that FreeBSD has moved from Subversion to Git.
|
#
f5b7695d |
|
08-Apr-2020 |
Xin LI <delphij@FreeBSD.org> |
Always install backward compatibility timezones, as they are installed on all major Linux distributions as well as NetBSD and OpenBSD. Remove the undocumented ZONEINFO_OLD_TIMEZONES_SUPPORT and the deprecated OLDTIMEZONES knobs as they are now the default. Reviewed by: ngie, rgrimes MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D24306
|
#
513419f4 |
|
17-Jul-2019 |
Thomas Munro <tmunro@FreeBSD.org> |
tzsetup: upgrade to zone1970.tab zone.tab is deprecated. Install zone1970.tab alongside it, and use it for tzsetup(8). This is also useful for other applications that need the modern better maintained file. Reviewed by: philip Approved by: allanjude (mentor) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D20646
|
#
8162ec9b |
|
09-Feb-2018 |
Warner Losh <imp@FreeBSD.org> |
We don't actually need env here, so drop it. All shells allow setting of shell variables for the next command like this.
|
#
3182fd63 |
|
06-Feb-2018 |
Warner Losh <imp@FreeBSD.org> |
Avoid find -s, use find | sort instead. find -s was introduced to make the metalog more deterministic. However, find -s is not portable. find | sort is portable and accomplishes the same goals, even if it isn't pedantically the same. TZS is the same before / after the change so any fussy differences between the two are moot and there won't be METALOG churn across this change. Differential Revision: https://reviews.freebsd.org/D14231
|
#
d511b20a |
|
02-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Add HAS_TESTS to all Makefiles that are currently using the `SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912.
|
#
4b330699 |
|
02-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Convert traditional ${MK_TESTS} conditional idiom for including test directories to SUBDIR.${MK_TESTS} idiom This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox . No functional change intended. MFC after: 1 weeks
|
#
f37852c1 |
|
05-Jul-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Add tests to help verify Links functionality for .../contrib/tzdata/backwards MFC after: 1 month MFC with: r320702
|
#
c5cba060 |
|
05-Jul-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Formalize LEAPSECONDS and OLDTIMEZONES in share/zoneinfo/... as `MK_ZONEINFO_LEAPSECONDS_SUPPORT == yes` and `MK_ZONEINFO_OLD_TIMEZONES_SUPPORT == yes`. Keep `LEAPSECONDS` and `OLDTIMEZONES` for backwards compatibility, but print out a warning notifying users that they should use the new variables, in an effort to migrate them to the variables. This is being done mostly for automated build tools, etc, that might rely on these variables being set. The variables will be removed in the future on ^/head, e.g., after ^/stable/12 is cut. MFC after: 1 month Relnotes: yes Reviewed by: bdrewery Differential Revision: D11376
|
#
ad6481dd |
|
28-Jun-2017 |
Cy Schubert <cy@FreeBSD.org> |
Allow parallel installworld (-j N) and poudriere installworld (poudriere jail -c and poudriere jail -u) to proceed. Reviewed by: trasz@ Tested by: trasz@, cy@ MFC after: 1 month X-MFC-with: r320362
|
#
1621f5fe |
|
26-Jun-2017 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Provide visual feedback when timezone files are installed. After r320003 it wasn't being shown in any way. Submitted by: bdrewery MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D11154
|
#
05f3dec7 |
|
16-Jun-2017 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Don't print all timezones during installworld. Submitted by: Alex Richardson <alr48@cl.cam.ac.uk> Reviewed by: gjb MFC after: 1 month Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D11154
|
#
e44885ac |
|
04-Mar-2017 |
Enji Cooper <ngie@FreeBSD.org> |
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
|
#
9d7c990f |
|
22-Dec-2016 |
Julian Elischer <julian@FreeBSD.org> |
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
|
#
06723a8e |
|
14-Nov-2016 |
Julian Elischer <julian@FreeBSD.org> |
When you select make OLDTIMEZONES=1 then you need a few added directories to be made or the command fails Sponsored by: panzura
|
#
86bd190c |
|
16-Jun-2016 |
Glen Barber <gjb@FreeBSD.org> |
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
|
#
5647bfaa |
|
16-Jun-2016 |
Glen Barber <gjb@FreeBSD.org> |
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
|
#
a71f05bc |
|
15-Jun-2016 |
Glen Barber <gjb@FreeBSD.org> |
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
|
#
94086cea |
|
14-Apr-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
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
|
#
b7d28aff |
|
11-Mar-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
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
|
#
bffd8199 |
|
11-Mar-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
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
|
#
5e8745cc |
|
11-Mar-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
DIRDEPS_BUILD: Fix building during dirdeps. Sponsored by: EMC / Isilon Storage Division
|
#
9b209ed2 |
|
17-Oct-2015 |
Enji Cooper <ngie@FreeBSD.org> |
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
|
#
1bb0c0bd |
|
22-Aug-2015 |
Xin LI <delphij@FreeBSD.org> |
Fix build when LEAPSECONDS is enabled. MFC after: 2 weeks
|
#
e527e845 |
|
03-Sep-2014 |
Ed Maste <emaste@FreeBSD.org> |
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
|
#
1a326e57 |
|
27-Aug-2014 |
Sergey Kandaurov <pluknet@FreeBSD.org> |
Fix comments on updating tzdata releases.
|
#
22c2069f |
|
11-Jan-2013 |
Brooks Davis <brooks@FreeBSD.org> |
Use find -exec to install zoneinfo instead of requiring xargs to be an install tool. Suggested by: delphij
|
#
78e832b8 |
|
10-Jan-2013 |
Brooks Davis <brooks@FreeBSD.org> |
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
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
b92fc609 |
|
24-Feb-2010 |
Edwin Groothuis <edwin@FreeBSD.org> |
Officially speaking, the zoneinfo data files are contributed data. Therefore treat them as such.
|
#
4bca1367 |
|
11-Feb-2010 |
Norikatsu Shigemura <nork@FreeBSD.org> |
Fix a installation issue with $DESTDIR. Approved by: imp (mentor)
|
#
62d98575 |
|
22-Oct-2009 |
Edwin Groothuis <edwin@FreeBSD.org> |
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
|
#
38a96a68 |
|
21-Oct-2009 |
Edwin Groothuis <edwin@FreeBSD.org> |
After the installation of the /usr/share/zoneinfo, run tzsetup if /var/db/zoneinfo exists. MFC after: 1 week
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
4d3caeac |
|
13-Oct-2008 |
Edwin Groothuis <edwin@FreeBSD.org> |
update the manual on how to import and MFV new tzdata releases
|
#
f281c10a |
|
07-Aug-2008 |
Edwin Groothuis <edwin@FreeBSD.org> |
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)
|
#
4add124f |
|
08-Oct-2007 |
Edwin Groothuis <edwin@FreeBSD.org> |
Describe the process of importing new zoneinfo data and updating it into CVS. PR: conf/116901 Approved by: re (Ken Smith), grog@ (mentor)
|
#
9d08bdaa |
|
30-Aug-2005 |
Garrett Wollman <wollman@FreeBSD.org> |
Move "systemv" into OLDTIMEZONES clause; "backward" is a prerequisite. ("systemv" is even more backward than "backward" is!) Obliquely pointed out by: jhay
|
#
09a25e1f |
|
19-Oct-2004 |
Ruslan Ermilov <ru@FreeBSD.org> |
- 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).
|
#
d2893b16 |
|
29-Jul-2002 |
Ruslan Ermilov <ru@FreeBSD.org> |
Drop support for COPY, -c has been the default mode of install(1) for a long time now. Approved by: bde
|
#
0b87f799 |
|
17-Jul-2002 |
Ruslan Ermilov <ru@FreeBSD.org> |
s/${INSTALL} -c/${INSTALL} ${COPY}/
|
#
ce3edc3a |
|
11-Sep-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
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.
|
#
7f3dea24 |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
93a4679a |
|
09-Mar-1997 |
Bruce Evans <bde@FreeBSD.org> |
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
|
#
b97fa2ef |
|
22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Revert $FreeBSD$ to $Id$
|
#
1130b656 |
|
14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
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.
|
#
6392a494 |
|
28-Nov-1996 |
Bruce Evans <bde@FreeBSD.org> |
${COPY} -> -c. ${COPY} should never be used for installing sources since it might be empty.
|
#
50b440f1 |
|
27-Nov-1996 |
Andrey A. Chernov <ache@FreeBSD.org> |
Add missing ${COPY} to install options, zone.tab
|
#
cadbe55e |
|
19-Nov-1996 |
Garrett Wollman <wollman@FreeBSD.org> |
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
|
#
cd9a2f5c |
|
23-Jun-1996 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
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.
|
#
e265b77b |
|
15-Nov-1995 |
Gary Palmer <gpalmer@FreeBSD.org> |
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
|
#
776088ce |
|
13-Sep-1994 |
Garrett Wollman <wollman@FreeBSD.org> |
Don't build Pacific Presidential Election Time; it has no legal standing, and results in a bogus link and US/ directory.
|
#
c1521987 |
|
13-Sep-1994 |
Garrett Wollman <wollman@FreeBSD.org> |
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.
|
#
3e76b3ad |
|
06-Sep-1994 |
Andrey A. Chernov <ache@FreeBSD.org> |
Install posix rules as default and leapseconds rules as additional
|
#
6acd8e24 |
|
10-Aug-1994 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
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:
|
#
0419c5b9 |
|
10-Aug-1994 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
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
|
#
bfc54eff |
|
10-Aug-1994 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Change a .0 to a .5. Submitted by: jkh
|
#
afe61c15 |
|
30-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Share Sources
|