aboutsummaryrefslogtreecommitdiff
path: root/package/tzdata
Commit message (Collapse)AuthorAgeFilesLines
* package/tzdata: fix installation commandsGravatar Yann E. MORIN2014-11-181-3/+3
| | | | | | | | | | | | | | | | | If the destination directory already exists (e.g. because of a re-run or a custom skeleton), then the zoneinfo files will be installed in a sub-directory of where we are trying to install them. Fix that by creating the destination directory and copying the content of the source directory. Also fix the host install commands to match what we do in the target install commands. Reported-by: Martin Dorwig <dorwig@tetronik.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/tzdata: bump version for some new timezonesGravatar Yann E. MORIN2014-06-021-1/+1
| | | | | | | | | | A few adjustments here and there, plus re-definition of the Crimea timezone. New definition for the moment the Big-Bang occured, too. :-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/tzdata: only compile the zoneinfo onceGravatar Yann E. MORIN2014-06-021-17/+6
| | | | | | | | | | | | | | | We already compile the zoneinfo once for the host, so there is no need to recompile it for the target, we can just re-use the host files. This has no impact on tz (the uClibc counterpart of tzdata), since it already made use of the host files anyway. This means we no longer need to extract the target variant of tzdata, too. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* system/timezone: check localtime existsGravatar Yann E. MORIN2014-05-221-0/+5
| | | | | | | | | When installing a localtime, check it is a valid timezone. [Peter: extend error message to make it clear to the user what to change] Reported-by: Sagaert Johan <sagaert.johan@skynet.be> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/tzdata: install missing filesGravatar Yann E. MORIN2014-05-041-2/+2
| | | | | | | | | | | Install two additional files: - zone.tab : {country-code,coordinates,timezone} tuples - iso3166.tab: {country-code,country} tuples [Peter: simplify copy handling] Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* tzdata: allow host buildGravatar Alexandre Belloni2014-04-081-0/+20
| | | | | | | | | | | | uClibc uses its own format for timezone info. OTOH, we can generate uClibc-compatible timezone info from existing tzdata. Add a host-version of tzdata, so we can harvest its installed timezone info. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* system: add selection of a default localtimeGravatar Yann E. MORIN2014-04-081-1/+8
| | | | | | | | | | [Peter: strip quotes/use local TZDATA_LOCALTIME variable] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [alexandre.belloni: move from "tzdata" to "system configuration"] Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> [yann.morin.1998@free.fr: move into the BR2_TARGET_TZ_INFO conditionnal block] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* system: make the zoneinfo list a system optionGravatar Yann E. MORIN2014-04-082-22/+5
| | | | | | | [Peter: move legacy options under 2014.05] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/tzdata: bump to latest version 2014aGravatar Yann E. MORIN2014-03-151-1/+1
| | | | | | | Adds new definition for Turkish DST. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "package/tzdata: install a default localtime"Gravatar Yann E. MORIN2014-01-282-17/+1
| | | | | | | | | | | | | | | This reverts commit f96e4d7f348ce1b7b53763f102bbedb1ef6a1991. As suggested by Thomas, we need to find a single solution that is valid for both (e)glibc and uClibc. There is work on-going by Alexandre, so just revert this for now. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/tzdata: install a default localtimeGravatar Yann E. MORIN2014-01-092-1/+17
| | | | | | | | | | Add an option to install a default localtime. since tzdata only makes sense for (e)glibc, we don't care that we install timezone files that uClibc can't understand. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* tzdata/zic: bump to version 2013iGravatar Axel Lin2013-12-261-1/+1
| | | | | Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Config.in files: use if/endif instead of 'depends on' for main symbolGravatar Thomas De Schampheleire2013-12-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | | In the Config.in file of package foo, it often happens that there are other symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense when foo itself is enabled. There are two ways to express this: with depends on BR2_PACKAGE_FOO in each extra symbol, or with if BR2_PACKAGE_FOO ... endif around the entire set of extra symbols. The if/endif approach avoids the repetition of 'depends on' statements on multiple symbols, so this is clearly preferred. But even when there is only one extra symbol, if/endif is a more logical choice: - it is future-proof for when extra symbols are added - it allows to have just one strategy instead of two (less confusion) This patch modifies the Config.in files accordingly. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tzdata: add missing comment for toolchain option dependenciesGravatar Thomas De Schampheleire2013-12-191-0/+3
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/tzdata: bumpGravatar Yann E. MORIN2013-11-051-1/+1
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Introduce BR2_TOOLCHAIN_USES_{UCLIBC, GLIBC}Gravatar Thomas Petazzoni2013-07-041-1/+1
| | | | | | | | | | | | | | | | | Currently, when we need to do a conditional on the type of C library used, we need to take into account the three toolchain backends. As we are going to add eglibc support to the Buildroot toolchain backend, it would become even uglier, so this patch introduces two new hidden options: BR2_TOOLCHAIN_USES_UCLIBC and BR2_TOOLCHAIN_USES_GLIBC, that exist regardless of the toolchain backend. The entire Buildroot code base is converted to use those options. Note that we have intentionally created only one option (BR2_TOOLCHAIN_USES_GLIBC) for both glibc and eglibc, since they are essentially the same, as far as Buildroot is concerned. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* tzdata/zic: bump to version 2013c and switch SITEGravatar Gustavo Zacarias2013-06-291-2/+2
| | | | | | | | | Bump to version 2013c and switch to the FTP site since the HTTP one is unfortunately serving .tar.gz files that are just plain tar files (uncompressed). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Gravatar Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/tzdata: new packageGravatar Richard Braun2013-03-102-0/+66
This is the time zone database, used by glibc for translations between UTC and local time. Signed-off-by: Richard Braun <rbraun@sceen.net> [yann.morin.1998@free.fr: use global ZIC, install posix TZ only once] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>