| Name |
tzdata |
| Description |
time zone and daylight-saving time data |
| Version |
2025b-4+deb13u1 |
| Package Base |
|
| Homepage |
https://www.iana.org/time-zones |
| Maintainers |
['GNU Libc Maintainers <debian-glibc@lists.debian.org>'] |
| Contributors |
['Aurelien Jarno <aurel32@debian.org>', 'Benjamin Drung <bdrung@debian.org>', 'Clint Adams <clint@debian.org>'] |
| Distro-repo |
https://salsa.debian.org/glibc-team/tzdata |
| Sources |
['https://sources.debian.org/data/main/t/tzdata/2025b-4+deb13u1/debian/watch', 'https://sources.debian.org/src/tzdata/2025b-4+deb13u1/debian/patches/Correct-timezone-symlinks-when-using-BACKWARD-backward-PA.patch', 'https://sources.debian.org/src/tzdata/2025b-4+deb13u1/debian/patches/No-leap-second-on-2025-12-31.patch', 'https://sources.debian.org/src/tzdata/2025b-4+deb13u1/debian/patches/series'] |
| Dependencies |
['debconf'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['debhelper-compat'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
trixie |
| Licenses |
[] |
| Hash |
19a87f5184503fb5eeffe97bd7e107e193ac28107789a1e85331ed9381040f17 |
#!/usr/bin/make -f
export LC_ALL=C
TZGEN := $(CURDIR)/tzgen
%:
dh $@
override_dh_auto_build-indep:
# Generate a tzdata.zi and leapseconds file
$(MAKE) AWK=gawk BACKWARD="backward" PACKRATDATA=backzone PACKRATLIST=zone.tab VERSION_DEPS= tzdata.zi leapseconds
# Build the timezone data
/usr/sbin/zic -b fat -d $(TZGEN) -L /dev/null tzdata.zi
/usr/sbin/zic -b fat -d $(TZGEN)/right -L leapseconds tzdata.zi
# Replace hardlinks by symlinks
grep '^L ' $(CURDIR)/tzdata.zi | while read L target name ; do \
absolute_name="$(TZGEN)/$$name"; \
relative_target=$$(realpath -m -s --relative-to="$${absolute_name%/*}" "$(TZGEN)/$$target"); \
ln -sf "$$relative_target" "$(TZGEN)/$$name" ; \
ln -sf "$$relative_target" "$(TZGEN)/right/$$name" ; \
done
# Generate a posixrules file
ln -s America/New_York $(TZGEN)/posixrules
debian/generate_debconf_templates -d "$(TZGEN)" > debian/tzdata.templates
debconf-updatepo
# The upstream tests are related to the sources. Just skip it.
override_dh_auto_test:
debian/test_timezone_conversions -z "$(TZGEN)"
PYTHONTZPATH="$(TZGEN)" debian/tests/python
debian/check_translations debian/po/*.po
override_dh_auto_install:
mkdir -p debian/tmp/usr/share/zoneinfo
cp -r tzgen/* debian/tmp/usr/share/zoneinfo
override_dh_auto_clean:
-rm -rf $(TZGEN)
dh_auto_clean
override_dh_installchangelogs:
dh_installchangelogs NEWS