aboutsummaryrefslogtreecommitdiff
path: root/share/zoneinfo
Commit message (Collapse)AuthorAgeFilesLines
* zoneinfo: don't install versionPhilip Paeps2025-05-211-2/+0
| | | | | | | | | | | | | The commit teaching the build to install tzdata.zi for libcxx also instals version. It turns out this makes at least one piece of third party software cry: rubygem-tzinfo expects any file in zoneinfo to be at least 44 bytes long. Clearly this is a bug in rubygem-tzinfo but since nothing actually uses version, we may as well not install it ... as we did previously. Reported by: delphij Fixes: 91506dba7f2e zoneinfo: also install tzdata.zi and version MFC after: 1 day
* zoneinfo: also install tzdata.zi and versionPhilip Paeps2025-04-011-0/+16
| | | | | | | | | | Build and install the shrunk version of the time zone database required by libc++ 19 std::chrono::current_zone (etc). While here, also install the tzdata 'version' file to align more closely with other vendors. PR: 282377 Reviewed by: dim, emaste, imp Differential Revision: https://reviews.freebsd.org/D49577
* Remove residual blank line at start of MakefileWarner Losh2024-07-152-2/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Fix share/zoneinfo for DIRDEPS_BUILDSimon J. Gerraty2023-11-202-18/+11
| | | | | | | | | | | | | | | | | | | | | 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
* zoneinfo: fix makefile rules scriptStephen J. Kiernan2023-11-151-4/+4
| | | | | | | | | | | | | | | 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
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-166-6/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* tzsetup: add baseline file to control parsed zonetab contentsYuri Pankov2023-04-231-0/+6
| | | | | | | | 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
* zoneinfo get zic from stage tree during DIRDEPS_BUILDSimon J. Gerraty2023-04-211-1/+5
|
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-0/+1
|
* zoneinfo: Always produce fat zoneinfo files.Dag-Erling Smørgrav2023-01-251-5/+4
| | | | | | | | | | 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
* zoneinfo: On amd64, include 32-bit data.Dag-Erling Smørgrav2023-01-251-2/+7
| | | | | | | | While there, drop the unnecessary posixrules option. Sponsored by: Klara, Inc. Reviewed by: imp, allanjude Differential Revision: https://reviews.freebsd.org/D38142
* share/zoneinfo: don't build obsolete SystemV zonesPhilip Paeps2022-09-251-6/+4
| | | | | | | | | 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
* Remove quotes around Makefile .error/.warn/.info stringsEd Maste2022-01-221-1/+1
| | | | | | | | The text after .error et al is emitted verbatim. Reviewed by: sjg Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33904
* pkgbase: Put zoneinfo file in their own packageEmmanuel Vadot2021-01-041-0/+1
| | | | | | | | 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
* share/zoneinfo: fix minor documentation nitPhilip Paeps2020-12-301-1/+1
| | | | The `git tag` command wants a tag name.
* share/zoneinfo: update import documentation for GitPhilip Paeps2020-12-261-17/+19
| | | | | Document the steps needed to import and MFC new versions of tzdata now that FreeBSD has moved from Subversion to Git.
* Always install backward compatibility timezones, as they are installedXin LI2020-04-092-14/+1
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=359736
* tzsetup: upgrade to zone1970.tabThomas Munro2019-07-171-0/+2
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=350079
* Update the spelling of my nameEnji Cooper2019-04-222-4/+2
| | | | | | | | | | | | Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use Enji instead for clarity. While here, remove "All Rights Reserved" from copyrights I "own". MFC after: 1 week Notes: svn path=/head/; revision=346571
* We don't actually need env here, so drop it. All shells allow settingWarner Losh2018-02-091-1/+1
| | | | | | | of shell variables for the next command like this. Notes: svn path=/head/; revision=329064
* Avoid find -s, use find | sort instead.Warner Losh2018-02-061-1/+6
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=328958
* DIRDEPS_BUILD: Connect new directories.Bryan Drewery2017-10-311-0/+11
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325187
* Add HAS_TESTS to all Makefiles that are currently using theEnji Cooper2017-08-021-0/+1
| | | | | | | | | `SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912. Notes: svn path=/projects/make-check-sandbox/; revision=321914
* Convert traditional ${MK_TESTS} conditional idiom for including testEnji Cooper2017-08-021-3/+1
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=321912
* Add tests to help verify Links functionality for .../contrib/tzdata/backwardsEnji Cooper2017-07-064-0/+122
| | | | | | | | MFC after: 1 month MFC with: r320702 Notes: svn path=/head/; revision=320703
* Formalize LEAPSECONDS and OLDTIMEZONES in share/zoneinfo/... asEnji Cooper2017-07-061-2/+14
| | | | | | | | | | | | | | | | | | | | `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 Notes: svn path=/head/; revision=320702
* Allow parallel installworld (-j N) and poudriere installworldCy Schubert2017-06-281-1/+1
| | | | | | | | | | | | (poudriere jail -c and poudriere jail -u) to proceed. Reviewed by: trasz@ Tested by: trasz@, cy@ MFC after: 1 month X-MFC-with: r320362 Notes: svn path=/head/; revision=320454
* Provide visual feedback when timezone files are installed.Edward Tomasz Napierala2017-06-261-3/+8
| | | | | | | | | | | After r320003 it wasn't being shown in any way. Submitted by: bdrewery MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D11154 Notes: svn path=/head/; revision=320362
* Don't print all timezones during installworld.Edward Tomasz Napierala2017-06-161-1/+1
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=320003
* share: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-1/+1
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314652
* If you are going to be run individually to make a new timezone setJulian Elischer2016-12-221-0/+2
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=310426
* When you select make OLDTIMEZONES=1 then you need a few added directoriesJulian Elischer2016-11-151-0/+4
| | | | | | | | | to be made or the command fails Sponsored by: panzura Notes: svn path=/head/; revision=308671
* Reimplement r301944 using the correct install(1) invocation, which againGlen Barber2016-06-161-2/+2
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=301965
* Revert r301944, which apparently broke zoneinfo install duringGlen Barber2016-06-161-2/+2
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=301958
* Fix zoneinfo file packaging.Glen Barber2016-06-161-2/+2
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=301944
* Rework META_TARGETS so that it automatically adds META_DEPS to the targets.Bryan Drewery2016-04-141-2/+2
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=297994
* META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE.Bryan Drewery2016-03-111-7/+3
| | | | | | | | | | 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 Notes: svn path=/head/; revision=296700
* DIRDEPS_BUILD: Reduce restaging here.Bryan Drewery2016-03-112-3/+9
| | | | | | | | | | 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 Notes: svn path=/head/; revision=296698
* DIRDEPS_BUILD: Fix building during dirdeps.Bryan Drewery2016-03-111-0/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296697
* Install share/zoneinfo in a deterministic way by sorting the results from findEnji Cooper2015-10-171-1/+1
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=289451
* Fix build when LEAPSECONDS is enabled.Xin LI2015-08-221-1/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=287021
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge from head@274682Simon J. Gerraty2014-11-191-4/+4
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=274683
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync with HEAD.David E. O'Brien2013-02-081-4/+31
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+14
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | Avoid ./ in zoneinfo entries in METALOGEd Maste2014-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=271047
* | | Fix comments on updating tzdata releases.Sergey Kandaurov2014-08-271-3/+3
| |/ |/| | | | | Notes: svn path=/head/; revision=270729
* | Use find -exec to install zoneinfo instead of requiring xargs to be anBrooks Davis2013-01-111-2/+2
| | | | | | | | | | | | | | | | | | install tool. Suggested by: delphij Notes: svn path=/head/; revision=245309