From 06abc5bda7b05370b8f105d2a256512ffc208204 Mon Sep 17 00:00:00 2001 From: Stefan Kuhn Date: Thu, 25 Dec 2014 15:58:53 +0100 Subject: sys-libs/timezone-data: some valid fixes to 2014j plus a hacky way to channel output to another programm --- sys-libs/timezone-data/ChangeLog | 1342 ++++++++++++++++++++ sys-libs/timezone-data/Manifest | 12 + .../files/timezone-data-2014h-makefile.patch | 113 ++ .../timezone-data-2014j-POSIX-TZ-display.patch | 13 + .../timezone-data-2014j-POSIX-TZ-settings.patch | 28 + .../files/timezone-data-2014j-coord-gawk.patch | 34 + .../files/timezone-data-2014j-dialog-2.patch.bak | 84 ++ .../files/timezone-data-2014j-dialog.patch | 273 ++++ .../files/timezone-data-2014j-dialog.patch.bak | 348 +++++ sys-libs/timezone-data/metadata.xml | 15 + sys-libs/timezone-data/timezone-data-2014j.ebuild | 156 +++ 11 files changed, 2418 insertions(+) create mode 100644 sys-libs/timezone-data/ChangeLog create mode 100644 sys-libs/timezone-data/Manifest create mode 100644 sys-libs/timezone-data/files/timezone-data-2014h-makefile.patch create mode 100644 sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-display.patch create mode 100644 sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-settings.patch create mode 100644 sys-libs/timezone-data/files/timezone-data-2014j-coord-gawk.patch create mode 100644 sys-libs/timezone-data/files/timezone-data-2014j-dialog-2.patch.bak create mode 100644 sys-libs/timezone-data/files/timezone-data-2014j-dialog.patch create mode 100644 sys-libs/timezone-data/files/timezone-data-2014j-dialog.patch.bak create mode 100644 sys-libs/timezone-data/metadata.xml create mode 100644 sys-libs/timezone-data/timezone-data-2014j.ebuild diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog new file mode 100644 index 0000000..402e526 --- /dev/null +++ b/sys-libs/timezone-data/ChangeLog @@ -0,0 +1,1342 @@ +# ChangeLog for sys-libs/timezone-data +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.317 2014/11/11 23:58:13 vapier Exp $ + +*timezone-data-2014j (11 Nov 2014) + + 11 Nov 2014; Mike Frysinger +timezone-data-2014j.ebuild: + Version bump. + + 11 Nov 2014; Mike Frysinger + timezone-data-2014i-r1.ebuild: + Stabilize for all. + +*timezone-data-2014i-r1 (26 Oct 2014) + + 26 Oct 2014; Mike Frysinger + +timezone-data-2014i-r1.ebuild, files/timezone-data-2014h-makefile.patch: + Fix CPPFLAGS usage #526790 by Victor. + +*timezone-data-2014i (22 Oct 2014) + + 22 Oct 2014; Mike Frysinger +timezone-data-2014i.ebuild: + Version bump. + +*timezone-data-2014h (16 Oct 2014) + + 16 Oct 2014; Mike Frysinger + +files/timezone-data-2014h-makefile.patch, +timezone-data-2014h.ebuild: + Version bump #524754 by Azamat H. Hackimov. + + 16 Oct 2014; Mike Frysinger timezone-data-2014h.ebuild: + Stabilize for all. + + 18 Sep 2014; Mike Frysinger timezone-data-2014g.ebuild: + Block glibc installs built with USE=vanilla #517694. + +*timezone-data-2014g (02 Sep 2014) + + 02 Sep 2014; Mike Frysinger + +files/timezone-data-2014g-makefile.patch, +timezone-data-2014g.ebuild: + Version bump. + + 02 Sep 2014; Mike Frysinger timezone-data-2014f.ebuild: + Stabilize for all. + + 08 Aug 2014; Mike Frysinger timezone-data-2014e.ebuild, + timezone-data-2014f.ebuild: + Fix get_TIMEZONE output #519256 by Daniel Kenzelmann. + +*timezone-data-2014f (07 Aug 2014) + + 07 Aug 2014; Mike Frysinger + +files/timezone-data-2014f-makefile.patch, +timezone-data-2014f.ebuild: + Version bump. + + 30 Jul 2014; Mike Frysinger timezone-data-2014e.ebuild: + Make upgrade logic more robust #506570 by Cănărău Constantin. + + 30 Jul 2014; Mike Frysinger timezone-data-2014d.ebuild: + Stabilize for all. + + 07 Jul 2014; Christoph Junghans + timezone-data-2014e.ebuild: + fix double prefix (bug #516398) + +*timezone-data-2014e (14 Jun 2014) + + 14 Jun 2014; Mike Frysinger +timezone-data-2014e.ebuild, + metadata.xml: + Version bump. Add USE=right_timezone to control install of the "right" + timezones. + +*timezone-data-2014d (28 May 2014) + + 28 May 2014; Dirkjan Ochtman +timezone-data-2014d.ebuild: + Version bump timezone-data to 2014d (fixes bug 510422) + + 15 May 2014; Dirkjan Ochtman timezone-data-2014a.ebuild: + Stabilize timezone-data-2014a for everyone + +*timezone-data-2014c (15 May 2014) + + 15 May 2014; Dirkjan Ochtman +timezone-data-2014c.ebuild: + Version bump timezone-data to 2014c + +*timezone-data-2014b (25 Mar 2014) + + 25 Mar 2014; Mike Frysinger +timezone-data-2014b.ebuild: + Version bump. + +*timezone-data-2014a (10 Mar 2014) + + 10 Mar 2014; Mike Frysinger +timezone-data-2014a.ebuild: + Version bump. + + 18 Jan 2014; Mike Frysinger timezone-data-2013d.ebuild, + timezone-data-2013f-r1.ebuild, timezone-data-2013g.ebuild, + timezone-data-2013h.ebuild, timezone-data-2013i.ebuild: + Add arm64 love. + +*timezone-data-2013i (19 Dec 2013) + + 19 Dec 2013; Mike Frysinger +timezone-data-2013i.ebuild: + Version bump. + + 26 Nov 2013; Markos Chandras timezone-data-2012j.ebuild: + amd64-fbsd has no stable keywords + +*timezone-data-2013h (19 Nov 2013) + + 19 Nov 2013; Mike Frysinger + +files/timezone-data-2013h-makefile.patch, +timezone-data-2013h.ebuild: + Version bump. + + 12 Oct 2013; Mike Frysinger timezone-data-2013f-r1.ebuild, + timezone-data-2013g.ebuild: + Clear out previous upgrade dir if around #487192 by Alexander. + +*timezone-data-2013g (02 Oct 2013) + + 02 Oct 2013; Dirkjan Ochtman +timezone-data-2013g.ebuild: + Version bump timezone-data to 2013g. + + 30 Sep 2013; Mike Frysinger timezone-data-2013f-r1.ebuild: + Merge duplicate pkg_postinst funcs #485720#6 by Arfrever Frehtes Taifersar + Arahesis. + + 28 Sep 2013; Mike Frysinger timezone-data-2013d.ebuild: + Stabilize for all for real this time. + +*timezone-data-2013f-r1 (28 Sep 2013) + + 28 Sep 2013; Mike Frysinger + +files/timezone-data-2013f-makefile.patch, +timezone-data-2013f-r1.ebuild, + -files/2013f-makefile.patch, -timezone-data-2013f.ebuild: + Clean up errors in patch/install, and handle the upgrade from previous + versions #485720 by Dirkjan Ochtman. + + 26 Sep 2013; Dirkjan Ochtman timezone-data-2013d.ebuild: + Stabilize 2013d for everyone. + + 26 Sep 2013; Dirkjan Ochtman -timezone-data-2012a.ebuild, + -timezone-data-2012b.ebuild, -timezone-data-2012c.ebuild, + -timezone-data-2012d.ebuild, -timezone-data-2012e.ebuild, + -timezone-data-2012f.ebuild, -timezone-data-2012g.ebuild, + -timezone-data-2012h.ebuild, -timezone-data-2012i.ebuild: + Remove old versions. + +*timezone-data-2013f (26 Sep 2013) + + 26 Sep 2013; Dirkjan Ochtman +files/2013f-makefile.patch, + +timezone-data-2013f.ebuild: + Version bump timezone-data to 2013f (bug 485720), with prefix changes (bug + 433738). + + 26 Sep 2013; Dirkjan Ochtman metadata.xml: + Add myself to maintainers (okayed by lu_zero in IRC). + +*timezone-data-2013d (25 Aug 2013) + + 25 Aug 2013; Mike Frysinger + +files/timezone-data-2013d-makefile.patch, +timezone-data-2013d.ebuild: + Version bump. + + 25 Aug 2013; Mike Frysinger timezone-data-2013c.ebuild: + Mark stable for all. + +*timezone-data-2013c (20 Apr 2013) + + 20 Apr 2013; Mike Frysinger +timezone-data-2013c.ebuild: + Version bump. + + 20 Apr 2013; Mike Frysinger timezone-data-2013b.ebuild: + Stabilize for everyone. + +*timezone-data-2013b (11 Mar 2013) + + 11 Mar 2013; Mike Frysinger +timezone-data-2013b.ebuild: + Version bump. + +*timezone-data-2013a (03 Mar 2013) + + 03 Mar 2013; Mike Frysinger + +files/timezone-data-2013a-makefile.patch, +timezone-data-2013a.ebuild: + Version bump. + + 03 Mar 2013; Mike Frysinger timezone-data-2012j.ebuild: + Stabilize for everyone. + +*timezone-data-2012j (13 Nov 2012) + + 13 Nov 2012; Mike Frysinger +timezone-data-2012j.ebuild: + Version bump. + +*timezone-data-2012i (10 Nov 2012) + + 10 Nov 2012; Mike Frysinger + +files/timezone-data-2012i-makefile.patch, +timezone-data-2012i.ebuild: + Version bump. + +*timezone-data-2012h (27 Oct 2012) + + 27 Oct 2012; Mike Frysinger +timezone-data-2012h.ebuild: + Version bump. + +*timezone-data-2012g (18 Oct 2012) + + 18 Oct 2012; Mike Frysinger +timezone-data-2012g.ebuild: + Version bump. + + 18 Oct 2012; Mike Frysinger timezone-data-2012f.ebuild: + Stabilize for everyone. + +*timezone-data-2012f (13 Sep 2012) + + 13 Sep 2012; Mike Frysinger +timezone-data-2012f.ebuild: + Version bump. + +*timezone-data-2012e (03 Aug 2012) + + 03 Aug 2012; Mike Frysinger +timezone-data-2012e.ebuild: + Version bump. + +*timezone-data-2012d (20 Jul 2012) + + 20 Jul 2012; Mike Frysinger +timezone-data-2012d.ebuild: + Version bump. + + 16 May 2012; Mike Frysinger timezone-data-2012c.ebuild: + Update HOMEPAGE/SRC_URI to include new IANA site #416311 by Larry Gilbert. + + 27 Apr 2012; Mike Frysinger timezone-data-2012c.ebuild: + Stabilize for everyone. + + 26 Apr 2012; Alexis Ballier timezone-data-2012c.ebuild: + keyword ~amd64-fbsd + +*timezone-data-2012c (02 Apr 2012) + + 02 Apr 2012; Mike Frysinger +timezone-data-2012c.ebuild: + Version bump. + +*timezone-data-2012b (02 Mar 2012) + + 02 Mar 2012; Mike Frysinger +timezone-data-2012b.ebuild: + Version bump. + +*timezone-data-2012a (01 Mar 2012) + + 01 Mar 2012; Mike Frysinger -timezone-data-2011d.ebuild, + -timezone-data-2011e.ebuild, -timezone-data-2011g.ebuild, + -timezone-data-2011h.ebuild, -timezone-data-2011i.ebuild, + -timezone-data-2011j.ebuild, -timezone-data-2011k.ebuild, + -timezone-data-2011l.ebuild, -timezone-data-2011m.ebuild, + +timezone-data-2012a.ebuild, +files/timezone-data-2012a-makefile.patch: + Version bump. + + 01 Jan 2012; Mike Frysinger timezone-data-2011n.ebuild: + Stabilize for everyone. + +*timezone-data-2011n (31 Oct 2011) + + 31 Oct 2011; Mike Frysinger +timezone-data-2011n.ebuild: + Version bump. + +*timezone-data-2011m (31 Oct 2011) + + 31 Oct 2011; Mike Frysinger +timezone-data-2011m.ebuild: + Version bump #389031 by Andriy Baranskyy. + + 30 Oct 2011; Ryan Hill timezone-data-2011l.ebuild: + Mark stable for all (bug #387835 by Andy Crook). + + 19 Oct 2011; Mike Frysinger timezone-data-2011j.ebuild, + timezone-data-2011k.ebuild, timezone-data-2011l.ebuild: + If /etc/localtime is a broken symlink, and /etc/timezone does not exist, + assume the user is maintaining their own thing and leave /etc/localtime + alone. + + 19 Oct 2011; Mike Frysinger timezone-data-2011j.ebuild: + Stabilize for everyone. + +*timezone-data-2011l (10 Oct 2011) + + 10 Oct 2011; Mike Frysinger +timezone-data-2011l.ebuild: + Version bump. + + 07 Oct 2011; Mike Frysinger timezone-data-2011k.ebuild: + Add new listinfo/ftp mirrors. + +*timezone-data-2011k (30 Sep 2011) + + 30 Sep 2011; Mike Frysinger +timezone-data-2011k.ebuild: + Version bump #384983 by Rodrigo Severo. + + 19 Sep 2011; Mike Frysinger timezone-data-2011h.ebuild: + Stabilize for all #383679 by alexsaa. + +*timezone-data-2011j (13 Sep 2011) + + 13 Sep 2011; Mike Frysinger +timezone-data-2011j.ebuild: + Version bump #382701 by Rodrigo Severo. + +*timezone-data-2011i (29 Aug 2011) + + 29 Aug 2011; Mike Frysinger +timezone-data-2011i.ebuild: + Version bump #381047 by Rodrigo Severo. + +*timezone-data-2011h (28 Jun 2011) + + 28 Jun 2011; Mike Frysinger +timezone-data-2011h.ebuild: + Version bump #373201 by Rodrigo Severo. + + 09 May 2011; Mike Frysinger timezone-data-2011e.ebuild: + Stabilize for everyone #365873 by Arfrever Frehtes Taifersar Arahesis. + +*timezone-data-2011g (30 Apr 2011) + + 30 Apr 2011; Mike Frysinger +timezone-data-2011g.ebuild: + Version bump #364797 by Rodrigo Severo. + +*timezone-data-2011e (03 Apr 2011) + + 03 Apr 2011; Mike Frysinger +timezone-data-2011e.ebuild: + Version bump #361589 by Rodrigo Severo. + + 22 Mar 2011; Mike Frysinger timezone-data-2011d.ebuild: + Stabilize for everyone for Turkey #359981 by Serkan Kaba. + +*timezone-data-2011d (21 Mar 2011) + + 21 Mar 2011; Mike Frysinger -timezone-data-2010o.ebuild, + +timezone-data-2011d.ebuild: + Version bump #359473 by Rodrigo Severo. + + 11 Mar 2011; Mike Frysinger timezone-data-2011b.ebuild: + Stabilize for everyone #358311 by Arfrever Frehtes Taifersar Arahesis. + +*timezone-data-2011c (09 Mar 2011) + + 09 Mar 2011; Mike Frysinger +timezone-data-2011c.ebuild: + Version bump #358107 by Arfrever Frehtes Taifersar Arahesis. + +*timezone-data-2011b (10 Feb 2011) + + 10 Feb 2011; Mike Frysinger +timezone-data-2011b.ebuild: + Version bump #353973 by Rodrigo Severo. + +*timezone-data-2011a (25 Jan 2011) + + 25 Jan 2011; Mike Frysinger +timezone-data-2011a.ebuild: + Version bump #352632 by Rodrigo Severo. + + 08 Jan 2011; Mike Frysinger + timezone-data-2010o.ebuild: + Stabilize for everyone. + +*timezone-data-2010o (09 Nov 2010) + + 09 Nov 2010; Mike Frysinger + +timezone-data-2010o.ebuild: + Version bump #343719 by Rodrigo Severo. + +*timezone-data-2010n (26 Oct 2010) + + 26 Oct 2010; Mike Frysinger + +timezone-data-2010n.ebuild: + Version bump #342627 by Rodrigo Severo. + +*timezone-data-2010m (27 Sep 2010) + + 27 Sep 2010; Mike Frysinger + +timezone-data-2010m.ebuild: + Version bump #338932 by Rodrigo Severo. + + 27 Sep 2010; Mike Frysinger + timezone-data-2010l.ebuild: + Stabilize for everyone. + +*timezone-data-2010l (16 Aug 2010) + + 16 Aug 2010; Mike Frysinger +timezone-data-2010l.ebuild: + Version bump #332995 by Rodrigo Severo. + +*timezone-data-2010k (26 Jul 2010) + + 26 Jul 2010; Mike Frysinger + +timezone-data-2010k.ebuild: + Version bump #329917 by Rodrigo Severo. + + 26 Jul 2010; Mike Frysinger timezone-data-2010j.ebuild: + Stabilize for everyone. + +*timezone-data-2010j (10 May 2010) + + 10 May 2010; Mike Frysinger +timezone-data-2010j.ebuild: + Version bump #319145 by Rodrigo Severo. + + 10 May 2010; Mike Frysinger timezone-data-2010i.ebuild: + Stabilize for everyone #319169 by Arfrever Frehtes Taifersar Arahesis. + +*timezone-data-2010i (19 Apr 2010) + + 19 Apr 2010; Mike Frysinger +timezone-data-2010i.ebuild: + Version bump #316103 by Rodrigo Severo. + +*timezone-data-2010h (07 Apr 2010) + + 07 Apr 2010; Mike Frysinger +timezone-data-2010h.ebuild: + Version bump #313235 by Rodrigo Severo. + +*timezone-data-2010g (29 Mar 2010) + + 29 Mar 2010; Mike Frysinger +timezone-data-2010g.ebuild: + Version bump #311925 by Rodrigo Severo. + +*timezone-data-2010f (23 Mar 2010) + + 23 Mar 2010; Mike Frysinger +timezone-data-2010f.ebuild: + Version bump #310739 by Rodrigo Severo. + +*timezone-data-2010e (08 Mar 2010) + + 08 Mar 2010; Doug Goldstein + -timezone-data-2010d.ebuild, +timezone-data-2010e.ebuild: + Version bump bug #308507 by Rodrigo Severo. Remove older version to fix + bug #308505 by Paul Osmialowski + +*timezone-data-2010d (08 Mar 2010) + + 08 Mar 2010; Mike Frysinger +timezone-data-2010d.ebuild: + Version bump #308429 by Rodrigo Severo & Dirkjan Ochtman. + + 07 Mar 2010; Mike Frysinger timezone-data-2010b.ebuild: + Stabilize for everyone #306795 by Arfrever Frehtes Taifersar Arahesis. + + 02 Mar 2010; Jeroen Roovers timezone-data-2010b.ebuild: + Stable for HPPA (bug #306795). + +*timezone-data-2010b (26 Jan 2010) + + 26 Jan 2010; Mike Frysinger +timezone-data-2010b.ebuild: + Version bump #302296 by Rodrigo Severo. + +*timezone-data-2010a (19 Jan 2010) + + 19 Jan 2010; Mike Frysinger +timezone-data-2010a.ebuild: + Version bump #301441 by Rodrigo Severo. + + 19 Jan 2010; Mike Frysinger timezone-data-2009u.ebuild: + Stabilize for everyone. + +*timezone-data-2009u (29 Dec 2009) + + 29 Dec 2009; Mike Frysinger +timezone-data-2009u.ebuild: + Version bump #298690 by Rodrigo Severo. + +*timezone-data-2009t (26 Dec 2009) + + 26 Dec 2009; Mike Frysinger +timezone-data-2009t.ebuild: + Version bump #297816 by Rodrigo Severo. + + 13 Dec 2009; Mike Frysinger + timezone-data-2009s.ebuild: + Stabilize for everyone #296685 by Dror Levin. + +*timezone-data-2009s (18 Nov 2009) + + 18 Nov 2009; Mike Frysinger + +timezone-data-2009s.ebuild: + Version bump #293404 by Rodrigo Severo. + + 18 Nov 2009; Mike Frysinger + timezone-data-2009p.ebuild: + Mark ppc64 stable #291680. + + 14 Nov 2009; Raúl Porcel timezone-data-2009p.ebuild: + alpha/ia64/m68k/s390/sh/sparc stable wrt #291680 + + 14 Nov 2009; Markus Meier timezone-data-2009p.ebuild: + amd64/arm/x86 stable, bug #291680 + +*timezone-data-2009r (09 Nov 2009) + + 09 Nov 2009; Mike Frysinger + +timezone-data-2009r.ebuild: + Version bump #292549 by Rodrigo Severo. + + 08 Nov 2009; nixnut timezone-data-2009p.ebuild: + ppc stable #291689 + + 03 Nov 2009; Jeroen Roovers timezone-data-2009p.ebuild: + Stable for HPPA (bug #291680). + +*timezone-data-2009q (03 Nov 2009) + + 03 Nov 2009; Mike Frysinger + +timezone-data-2009q.ebuild: + Version bump #291587 by Rodrigo Severo. + + 31 Oct 2009; Brent Baude timezone-data-2009m.ebuild: + Marking timezone-data-2009m ppc64 for bug 287016 + +*timezone-data-2009p (27 Oct 2009) + + 27 Oct 2009; Mike Frysinger + +timezone-data-2009p.ebuild: + Version bump #290566 by Rodrigo Severo. + +*timezone-data-2009o (20 Oct 2009) + + 20 Oct 2009; Mike Frysinger + +timezone-data-2009o.ebuild: + Version bump #289728 by Rodrigo Severo. + +*timezone-data-2009n-r1 (19 Oct 2009) + + 19 Oct 2009; Mike Frysinger + +timezone-data-2009n-r1.ebuild, + +files/timezone-data-2009n-argentina.patch: + Apply change from Debian for Argentina changes #289345 by Rodrigo Campos. + + 05 Oct 2009; Raúl Porcel timezone-data-2009m.ebuild: + ia64/m68k/s390/sh/sparc stable wrt #287016 + + 04 Oct 2009; Tobias Klausmann + timezone-data-2009m.ebuild: + Stable on alpha, bug #287016 + + 03 Oct 2009; Markus Meier timezone-data-2009m.ebuild: + arm/x86 stable, bug #287016 + + 03 Oct 2009; Mounir Lamouri + timezone-data-2009m.ebuild: + Stable for ppc, bug 287016 + + 01 Oct 2009; Steve Dibb timezone-data-2009m.ebuild: + amd64 stable, bug 287016 + + 30 Sep 2009; Jeroen Roovers timezone-data-2009m.ebuild: + Stable for HPPA (bug #287016). + +*timezone-data-2009n (30 Sep 2009) + + 30 Sep 2009; Mike Frysinger + +timezone-data-2009n.ebuild: + Version bump #286778 by Rodrigo Severo. + +*timezone-data-2009m (08 Sep 2009) + + 08 Sep 2009; Mike Frysinger + +timezone-data-2009m.ebuild: + Version bump #284172 by Rodrigo Severo. + +*timezone-data-2009l (17 Aug 2009) + + 17 Aug 2009; Mike Frysinger + +timezone-data-2009l.ebuild: + Version bump #281762 by Rodrigo Severo. + + 24 Jul 2009; Joseph Jezak timezone-data-2009j.ebuild: + Marked ppc/ppc64 stable for bug #278585. + +*timezone-data-2009k (23 Jul 2009) + + 23 Jul 2009; Mike Frysinger + +timezone-data-2009k.ebuild: + Version bump #278605 by Rodrigo Severo. + + 22 Jul 2009; Raúl Porcel timezone-data-2009j.ebuild: + alpha/arm/ia64/s390/sh/sparc/x86 stable wrt #277585 + + 22 Jul 2009; Jeroen Roovers timezone-data-2009j.ebuild: + Stable for HPPA (bug #278585). + + 22 Jul 2009; Jeremy Olexa + timezone-data-2009j.ebuild: + amd64 stable, bug 278585 + + 17 Jul 2009; nixnut timezone-data-2009g.ebuild: + ppc stable #274842 + + 04 Jul 2009; Brent Baude timezone-data-2009g.ebuild: + Marking timezone-data-2009g ppc64 for bug 274842 + + 27 Jun 2009; Richard Freeman + timezone-data-2009g.ebuild: + amd64 stable - 274842 + + 22 Jun 2009; Raúl Porcel timezone-data-2009g.ebuild: + alpha/arm/ia64/m68k/s390/sh/sparc/x86 stable wrt #274842 + + 22 Jun 2009; Jeroen Roovers timezone-data-2009g.ebuild: + Stable for HPPA (bug #274842). + +*timezone-data-2009j (20 Jun 2009) + + 20 Jun 2009; Mike Frysinger + +timezone-data-2009j.ebuild: + Version bump #274840 by Arfrever Frehtes Taifersar Arahesis. + +*timezone-data-2009i (08 Jun 2009) + + 08 Jun 2009; Mike Frysinger + +timezone-data-2009i.ebuild: + Version bump #273232 by Rodrigo Severo. + +*timezone-data-2009g (29 Apr 2009) + + 29 Apr 2009; Mike Frysinger + +timezone-data-2009g.ebuild: + Version bump #267651 by Rodrigo Severo. + +*timezone-data-2009f (14 Apr 2009) + + 14 Apr 2009; Mike Frysinger + +timezone-data-2009f.ebuild: + Version bump #266001 by Rodrigo Severo. + + 12 Apr 2009; Brent Baude timezone-data-2009c.ebuild: + stable ppc64, bug 265522 + + 11 Apr 2009; nixnut timezone-data-2009e.ebuild: + ppc stable #265522 + + 11 Apr 2009; Mike Frysinger + timezone-data-2009e.ebuild: + Strip comments and spaces from /etc/timezone as suggested by Alon Bar-Lev + #265736. + + 10 Apr 2009; Raúl Porcel timezone-data-2009c.ebuild: + alpha/arm/ia64/m68k/s390/sh/x86 stable wrt #265522 + + 10 Apr 2009; Jeremy Olexa + timezone-data-2009c.ebuild: + amd64 stable, bug 265522 + + 09 Apr 2009; Jeroen Roovers timezone-data-2009c.ebuild: + Stable for HPPA (bug #265522). + + 09 Apr 2009; Ferris McCormick + timezone-data-2009c.ebuild: + Sparc stable, Bug #265522. + +*timezone-data-2009e (09 Apr 2009) + + 09 Apr 2009; Mike Frysinger + +timezone-data-2009e.ebuild: + Version bump #265109 by Rodrigo Severo. + +*timezone-data-2009d (23 Mar 2009) + + 23 Mar 2009; Mike Frysinger + +timezone-data-2009d.ebuild: + Version bump #263488 by Rodrigo Severo. + + 20 Mar 2009; Raúl Porcel timezone-data-2009b.ebuild: + arm/ia64/m68k/s390/sh/sparc/x86 stable wrt #262620 + + 18 Mar 2009; Tobias Klausmann + timezone-data-2009b.ebuild: + Stable on alpha, bug #262620 + + 18 Mar 2009; Jeroen Roovers timezone-data-2009b.ebuild: + Stable for HPPA (bug #262620). + + 18 Mar 2009; Joseph Jezak timezone-data-2009b.ebuild: + Marked ppc/ppc64 stable for bug #262620. + +*timezone-data-2009c (16 Mar 2009) + + 16 Mar 2009; Mike Frysinger + +timezone-data-2009c.ebuild: + Version bump #262665 by Rodrigo Severo. + + 16 Mar 2009; Thomas Anderson + timezone-data-2009b.ebuild: + stable amd64, bug 262620 + + 15 Feb 2009; Mike Frysinger + timezone-data-2009b.ebuild: + Block outdated versions of glibc #258802 by crox. + +*timezone-data-2009b (09 Feb 2009) + + 09 Feb 2009; Mike Frysinger + +timezone-data-2009b.ebuild: + Version bump #258339 by Rodrigo Severo. + +*timezone-data-2009a (21 Jan 2009) + + 21 Jan 2009; Mike Frysinger + +timezone-data-2009a.ebuild: + Version bump #255757 by Rodrigo Severo. + + 14 Dec 2008; Thomas Anderson + timezone-data-2008i.ebuild: + stable amd64, bug 250241 + + 14 Dec 2008; nixnut timezone-data-2008i.ebuild: + Stable on ppc wrt bug 250241 + + 09 Dec 2008; Jeroen Roovers timezone-data-2008i.ebuild: + Stable for HPPA (bug #250241). + + 08 Dec 2008; Brent Baude timezone-data-2008i.ebuild: + stable ppc64, bug 250241 + + 08 Dec 2008; Raúl Porcel timezone-data-2008i.ebuild: + alpha/arm/ia64/sparc/x86 stable wrt #250241 + +*timezone-data-2008i (28 Oct 2008) + + 28 Oct 2008; Mike Frysinger + +timezone-data-2008i.ebuild: + Version bump #244637 by Rodrigo Severo. + + 28 Oct 2008; Brent Baude + timezone-data-2008g-r1.ebuild: + stable ppc64, bug 244391 + + 27 Oct 2008; Jeremy Olexa + timezone-data-2008g-r1.ebuild: + amd64 stable, bug 244391 + + 26 Oct 2008; nixnut timezone-data-2008g-r1.ebuild: + Stable on ppc wrt bug 244391 + + 26 Oct 2008; Raúl Porcel + timezone-data-2008g-r1.ebuild: + alpha/ia64/sparc/x86 stable wrt #244391 + + 26 Oct 2008; Torsten Veller + timezone-data-2008g-r1.ebuild: + Stable on x86 (#244391) + + 26 Oct 2008; Jeroen Roovers + timezone-data-2008g-r1.ebuild: + Stable for HPPA (bug #244391). + +*timezone-data-2008h (25 Oct 2008) + + 25 Oct 2008; Mike Frysinger + +files/timezone-data-2008h-makefile.patch, +timezone-data-2008h.ebuild: + Version bump #241770 by Rodrigo Severo. + +*timezone-data-2008g-r1 (14 Oct 2008) + + 14 Oct 2008; Robin H. Johnson + +files/timezone-data-2008f-makefile-libs-not-flags.patch, + +timezone-data-2008g-r1.ebuild: + Fix bug #226929 with linking fun. + +*timezone-data-2008g (09 Oct 2008) + + 09 Oct 2008; Mike Frysinger + +timezone-data-2008g.ebuild: + Version bump #240283 by Rodrigo Severo. + +*timezone-data-2008f (17 Sep 2008) + + 17 Sep 2008; Mike Frysinger + +timezone-data-2008f.ebuild: + Version bump #237724 by Rodrigo Severo. + + 04 Sep 2008; Jeremy Olexa + timezone-data-2008e.ebuild: + amd64 stable, bug #236349 + + 03 Sep 2008; Brent Baude timezone-data-2008e.ebuild: + stable ppc64, bug 236349 + + 03 Sep 2008; Jeroen Roovers timezone-data-2008e.ebuild: + Stable for HPPA (bug #236349). + + 01 Sep 2008; Brent Baude timezone-data-2008e.ebuild: + stable ppc, bug 236349 + + 01 Sep 2008; Raúl Porcel timezone-data-2008e.ebuild: + alpha/ia64/sparc/x86 stable + +*timezone-data-2008e (31 Jul 2008) + + 31 Jul 2008; Mark Loeser +timezone-data-2008e.ebuild: + Version bump; bug #233180 + + 23 Jun 2008; Jeroen Roovers timezone-data-2008c.ebuild: + Stable for HPPA (bug #228675). + + 21 Jun 2008; Markus Rothe timezone-data-2008c.ebuild: + Stable on ppc64; bug #228675 + + 21 Jun 2008; Olivier Crête + timezone-data-2008c.ebuild: + Stable on amd64 per bug #228675 + + 21 Jun 2008; nixnut timezone-data-2008c.ebuild: + Stable on ppc wrt bug 228675 + + 21 Jun 2008; Raúl Porcel timezone-data-2008c.ebuild: + alpha/ia64 stable wrt #228675 + + 21 Jun 2008; Christian Faulhammer + timezone-data-2008c.ebuild: + stable x86, bug 228675 + + 21 Jun 2008; Mike Frysinger + timezone-data-2008c.ebuild: + Use emake rather than make. + + 21 Jun 2008; Ferris McCormick + timezone-data-2008c.ebuild: + Sparc stable --- Bug #228675 --- No problems. + + 04 Jun 2008; Markus Rothe timezone-data-2008b.ebuild: + Stable on ppc64; bug #224305 + + 03 Jun 2008; Mike Frysinger + timezone-data-2008c.ebuild: + Rework timezone upgrade so as to not try and parse conf.d/clock on + baselayout-2 systems #224607 by Martin Mokrejs. + + 03 Jun 2008; Steve Dibb timezone-data-2008b.ebuild: + amd64 stable, bug 224305 + + 02 Jun 2008; Jeroen Roovers timezone-data-2008b.ebuild: + Stable for HPPA (bug #224305). + + 01 Jun 2008; nixnut timezone-data-2008b.ebuild: + Stable on ppc wrt bug 224305 + +*timezone-data-2008c (31 May 2008) + + 31 May 2008; Mike Frysinger + +timezone-data-2008c.ebuild: + Version bump #223827 by Rodrigo Severo. + + 29 May 2008; Raúl Porcel timezone-data-2008b.ebuild: + alpha/ia64/sparc/x86 stable + + 04 Apr 2008; Brent Baude timezone-data-2008a.ebuild: + stable ppc64, bug 215485 + + 03 Apr 2008; Brent Baude timezone-data-2008a.ebuild: + stable ppc, bug 215485 + + 31 Mar 2008; Raúl Porcel timezone-data-2008a.ebuild: + alpha/ia64/sparc/x86 stable wrt #215485 + + 30 Mar 2008; Santiago M. Mola + timezone-data-2008a.ebuild: + amd64 stable wrt bug #215485 + + 30 Mar 2008; Jeroen Roovers timezone-data-2008a.ebuild: + Stable for HPPA (bug #215485). + +*timezone-data-2008b (24 Mar 2008) + + 24 Mar 2008; Mike Frysinger + +timezone-data-2008b.ebuild: + Version bump #214540 by Rodrigo Severo. + + 22 Mar 2008; Mike Frysinger + timezone-data-2008a.ebuild: + Add support for /etc/timezone. + +*timezone-data-2008a (10 Mar 2008) + + 10 Mar 2008; Mike Frysinger + +timezone-data-2008a.ebuild: + Version bump #212931 by Rodrigo Severo. + + 11 Feb 2008; Santiago M. Mola ChangeLog: + amd64 stable wrt bug #209259 + + 08 Feb 2008; Tobias Scherbaum + timezone-data-2007k.ebuild: + ppc stable, bug #209259 + + 08 Feb 2008; Brent Baude timezone-data-2007k.ebuild: + stable ppc64, bug 209259 + + 07 Feb 2008; Jeroen Roovers timezone-data-2007k.ebuild: + Stable for HPPA (bug #209259). + + 07 Feb 2008; Raúl Porcel timezone-data-2007k.ebuild: + alpha/ia64/sparc/x86 stable + + 03 Jan 2008; Brent Baude timezone-data-2007j.ebuild: + Marking timezone-data-2007j ppc64 for bug 210968 + + 03 Jan 2008; Brent Baude timezone-data-2007j.ebuild: + Marking timezone-data-2007j ppc for bug 210968 + + 02 Jan 2008; Christoph Mende + timezone-data-2007j.ebuild: + Stable on amd64 wrt bug #201968 + + 02 Jan 2008; Raúl Porcel timezone-data-2007j.ebuild: + alpha/ia64/sparc stable wrt #201968 + + 02 Jan 2008; Christian Faulhammer + timezone-data-2007j.ebuild: + stable x86, bug 201968 + + 02 Jan 2008; Jeroen Roovers timezone-data-2007j.ebuild: + Stable for HPPA (bug #201968). + +*timezone-data-2007k (01 Jan 2008) + + 01 Jan 2008; Mike Frysinger + +timezone-data-2007k.ebuild: + Version bump #203921 by Rodrigo Severo. + + 10 Dec 2007; Jeroen Roovers timezone-data-2007i.ebuild: + Stable for HPPA (bug #201175). + + 05 Dec 2007; Christoph Mende + timezone-data-2007i.ebuild: + Stable on amd64 wrt bug #201175 + + 04 Dec 2007; Markus Rothe timezone-data-2007i.ebuild: + Stable on ppc64; bug #201175 + + 04 Dec 2007; nixnut timezone-data-2007i.ebuild: + Stable on ppc wrt bug 201175 + + 04 Dec 2007; Raúl Porcel timezone-data-2007i.ebuild: + alpha/ia64/sparc stable wrt #201175 + + 04 Dec 2007; Christian Faulhammer + timezone-data-2007i.ebuild: + stable x86, bug 201175 + +*timezone-data-2007j (04 Dec 2007) + + 04 Dec 2007; Mike Frysinger + +timezone-data-2007j.ebuild: + Version bump #201124 by Rodrigo Severo. + +*timezone-data-2007i (01 Nov 2007) + + 01 Nov 2007; Mike Frysinger + +timezone-data-2007i.ebuild: + Version bump #197776 by Rodrigo Severo. + + 12 Oct 2007; Tom Gall timezone-data-2007g.ebuild: + stable on ppc64, bug #194015 + +*timezone-data-2007h (05 Oct 2007) + + 05 Oct 2007; Mike Frysinger + +timezone-data-2007h.ebuild: + Version bump #194390 by Rodrigo Severo. + + 29 Sep 2007; Jeroen Roovers timezone-data-2007g.ebuild: + Stable for HPPA (bug #194015). + + 28 Sep 2007; nixnut timezone-data-2007g.ebuild: + Stable on ppc wrt bug 194015 + + 28 Sep 2007; Christoph Mende + timezone-data-2007g.ebuild: + Stable on amd64 wrt bug #194015 + + 28 Sep 2007; Joshua Kinard timezone-data-2007g.ebuild: + Stable on mips, per #194015. + + 27 Sep 2007; Raúl Porcel timezone-data-2007g.ebuild: + alpha/ia64/sparc/x86 stable wrt #194015 + +*timezone-data-2007g (21 Aug 2007) + + 21 Aug 2007; Mike Frysinger + +timezone-data-2007g.ebuild: + Version bump #189601 by Rodrigo Severo. + + 07 Jul 2007; Joshua Kinard timezone-data-2007f.ebuild: + Stable on mips, per #184119. + + 05 Jul 2007; Christoph Mende + timezone-data-2007f.ebuild: + Stable on amd64 wrt bug #184119 + + 05 Jul 2007; Jeroen Roovers timezone-data-2007f.ebuild: + Stable for HPPA (bug #184119). + + 04 Jul 2007; Tom Gall timezone-data-2007f.ebuild: + stable on ppc64, bug #184119 + + 04 Jul 2007; Joseph Jezak timezone-data-2007f.ebuild: + Marked ppc stable for bug #184119. + + 04 Jul 2007; Gustavo Zacarias + timezone-data-2007f.ebuild: + Stable on sparc wrt #184119 + + 03 Jul 2007; Raúl Porcel timezone-data-2007f.ebuild: + alpha/ia64/x86 stable + + 01 Jun 2007; Joshua Kinard timezone-data-2007e.ebuild: + Stable on mips. + + 14 May 2007; Raúl Porcel timezone-data-2007e.ebuild: + alpha stable wrt #177948 + + 13 May 2007; nixnut timezone-data-2007d.ebuild: + Stable on ppc wrt bug 177948 + + 12 May 2007; Markus Rothe timezone-data-2007d.ebuild, + timezone-data-2007e.ebuild: + Stable on ppc64; bug #177948 + + 12 May 2007; Steve Dibb timezone-data-2007d.ebuild, + timezone-data-2007e.ebuild: + amd64 stable, bug 177948 + + 11 May 2007; Gustavo Zacarias + timezone-data-2007e.ebuild: + Stable on sparc wrt #177948 + + 11 May 2007; Raúl Porcel timezone-data-2007e.ebuild: + ia64 + x86 stable wrt #177948 + + 11 May 2007; Joshua Kinard timezone-data-2007d.ebuild: + Stable on mips. + + 11 May 2007; Jeroen Roovers timezone-data-2007d.ebuild, + timezone-data-2007e.ebuild: + Stable for HPPA (bug #177948). + +*timezone-data-2007f (08 May 2007) + + 08 May 2007; Mike Frysinger + +timezone-data-2007f.ebuild: + Version bump #177520 by Rodrigo Severo. + + 25 Apr 2007; Gustavo Zacarias + timezone-data-2007d.ebuild: + Stable on sparc + + 24 Apr 2007; Raúl Porcel timezone-data-2007d.ebuild: + ia64 + x86 stable + +*timezone-data-2007e (02 Apr 2007) + + 02 Apr 2007; Mike Frysinger + +timezone-data-2007e.ebuild: + Version bump #173143 by Rodrigo Severo. + +*timezone-data-2007d (24 Mar 2007) + + 24 Mar 2007; Mike Frysinger + +timezone-data-2007d.ebuild: + Version bump #171557 by Rodrigo Severo. + + 13 Mar 2007; Mike Frysinger + timezone-data-2007c.ebuild: + Respect TIMEZONE="" and switch to elog. + + 08 Mar 2007; Tobias Scherbaum + timezone-data-2007c.ebuild: + Stable on ppc wrt bug #169640. + + 07 Mar 2007; Simon Stelling timezone-data-2007c.ebuild: + stable on amd64; bug 169640 + + 07 Mar 2007; Alexander H. Færøy + timezone-data-2007c.ebuild: + Stable on MIPS; bug #169640 + + 07 Mar 2007; Jeroen Roovers timezone-data-2007c.ebuild: + Stable for HPPA (bug #169640). + + 06 Mar 2007; Markus Rothe timezone-data-2007c.ebuild: + Stable on ppc64; bug #169640 + + 06 Mar 2007; Andrej Kacian timezone-data-2007c.ebuild: + Stable on x86, bug #169640. + + 06 Mar 2007; Gustavo Zacarias + timezone-data-2007c.ebuild: + Stable on sparc wrt #169640 + +*timezone-data-2007c (27 Feb 2007) + + 27 Feb 2007; Mike Frysinger + +timezone-data-2007c.ebuild: + Version bump #168481 by Mr. Bones. + +*timezone-data-2007b (12 Feb 2007) + + 12 Feb 2007; Mike Frysinger + +timezone-data-2007b.ebuild: + Version bump #166505 by Rodrigo Severo. + + 13 Jan 2007; Mike Frysinger + timezone-data-2007a.ebuild: + Move timezone update to pkg_config so people can refresh it automatically as + suggested by Stefano Varesi. + + 09 Jan 2007; Mike Frysinger + files/timezone-data-2005n-makefile.patch: + Default to -std=gnu99 rather than -std=c99 #161183 by Sandro. + +*timezone-data-2007a (09 Jan 2007) + + 09 Jan 2007; Mike Frysinger + +timezone-data-2007a.ebuild: + Version bump #160957 by Rodrigo Severo. + + 31 Dec 2006; Mike Frysinger + timezone-data-2006p.ebuild: + Add support for updating /etc/localtime via TIMEZONE in /etc/conf.d/clock. + +*timezone-data-2006p (29 Nov 2006) + + 29 Nov 2006; Mike Frysinger + +timezone-data-2006p.ebuild: + Version bump #156416 by Rodrigo Severo. + +*timezone-data-2006o (06 Nov 2006) + + 06 Nov 2006; Mike Frysinger + +timezone-data-2006o.ebuild: + Version bump #154268 by Rodrigo Severo. + + 06 Nov 2006; Roy Marples timezone-data-2006n.ebuild: + Link to intl in non glibc systems when requesting nls. + Fixes #154181 thanks to Timothy Redaelli. + + 04 Nov 2006; Mike Frysinger + files/timezone-data-2005n-makefile.patch, timezone-data-2006n.ebuild: + Add support for USE=nls #154070 by Benno Schulenberg. + + 27 Oct 2006; Chris Gianelloni + timezone-data-2006n.ebuild: + Stable on x86 wrt bug #151539. + + 21 Oct 2006; Bryan Østergaard + timezone-data-2006n.ebuild: + Stable on Alpha + ia64, bug 151539. + + 21 Oct 2006; Jeroen Roovers timezone-data-2006n.ebuild: + Stable for HPPA (bug #151539). + + 21 Oct 2006; Tobias Scherbaum + timezone-data-2006n.ebuild: + ppc stable, bug #151539 + + 18 Oct 2006; Patrick McLean + timezone-data-2006n.ebuild: + Stable on amd64 (bug #151539). + + 17 Oct 2006; Roy Marples timezone-data-2006n.ebuild: + Added ~sparc-fbsd keyword. + + 17 Oct 2006; Markus Rothe timezone-data-2006n.ebuild: + Stable on ppc64; bug #151539 + + 17 Oct 2006; Jason Wever timezone-data-2006n.ebuild: + Stable on SPARC wrt bug #151539. + +*timezone-data-2006n (11 Oct 2006) + + 11 Oct 2006; Mike Frysinger + +timezone-data-2006n.ebuild: + Version bump #150762 by Rodrigo Severo. + +*timezone-data-2006m (03 Oct 2006) + + 03 Oct 2006; Mike Frysinger + +timezone-data-2006m.ebuild: + Version bump #149898 by Rodrigo Severo. + +*timezone-data-2006l (19 Sep 2006) + + 19 Sep 2006; Mike Frysinger + +timezone-data-2006l.ebuild: + Version bump #148101 by Rodrigo Severo. + +*timezone-data-2006k (28 Aug 2006) + + 28 Aug 2006; Mike Frysinger + +timezone-data-2006k.ebuild: + Version bump #145374 by Rodrigo Severo. + + 25 Aug 2006; timezone-data-2006g.ebuild: + Stable on x86, bug #144711. + + 23 Aug 2006; timezone-data-2006g.ebuild: + Stable on amd64 + + 22 Aug 2006; Markus Rothe timezone-data-2006g.ebuild: + Stable on ppc64; bug #144711 + +*timezone-data-2006j (22 Aug 2006) + + 22 Aug 2006; Mike Frysinger + +timezone-data-2006j.ebuild: + Version bump #144652 by Rodrigo Severo. + + 01 Jul 2006; Joel Martin timezone-data-2006g.ebuild: + Compile native zic first and use that if we are cross-compiling. + + 27 Jun 2006; Javier Villavicencio + timezone-data-2006g.ebuild: + Fix for bug #138251 thanks to Adam Potter for reporting. + + 26 May 2006; Guy Martin timezone-data-2006g.ebuild: + Stable on hppa. + + 23 May 2006; Markus Rothe timezone-data-2006a.ebuild: + Stable on ppc64 + +*timezone-data-2006g (09 May 2006) + + 09 May 2006; Mike Frysinger + +timezone-data-2006g.ebuild: + Version bump #132727 by Rodrigo Severo. + +*timezone-data-2006f (03 May 2006) + + 03 May 2006; Mike Frysinger + +timezone-data-2006f.ebuild: + Version bump #132020 by Rodrigo Severo. + + 27 Apr 2006; Alec Warner Manifest: + Fixing SHA256 digest, pass four + + 22 Apr 2006; Diego Pettenò + timezone-data-2006d.ebuild: + Add ~x86-fbsd keyword. + +*timezone-data-2006d (21 Apr 2006) + + 21 Apr 2006; Mike Frysinger + +timezone-data-2006d.ebuild: + Version bump #130778 by Rodrigo Severo. + +*timezone-data-2006c (14 Apr 2006) + + 14 Apr 2006; Mike Frysinger + +timezone-data-2006c.ebuild: + Version bump #128705 by Rodrigo Severo. + + 28 Mar 2006; Chris Gianelloni + timezone-data-2006a.ebuild: + Stable on x86 wrt bug #127680. + + 13 Mar 2006; Danny van Dyk + timezone-data-2006a.ebuild: + Marked stable on amd64. + + 27 Feb 2006; Gustavo Zacarias + timezone-data-2006b.ebuild: + Stable on sparc + + 24 Feb 2006; Mike Frysinger + files/timezone-data-2005n-makefile.patch: + Fix by Ulrich Mueller for building with -std=c99 on 32bit hosts #123778. + + 23 Feb 2006; Gustavo Zacarias + timezone-data-2006b.ebuild: + Back to ~sparc until bug #123778 is resolved + +*timezone-data-2006b (22 Feb 2006) + + 22 Feb 2006; Mike Frysinger + +timezone-data-2006b.ebuild: + Version bump #123594 by Rodrigo Severo. + + 20 Feb 2006; Joshua Kinard timezone-data-2006a.ebuild: + Marked stable on mips. + + 07 Feb 2006; Aron Griffis + timezone-data-2006a.ebuild: + Mark 2006a stable on ia64 + +*timezone-data-2006a (01 Feb 2006) + + 01 Feb 2006; Mike Frysinger + +timezone-data-2006a.ebuild: + Version bump #121033 by Rodrigo Severo. + + 15 Jan 2006; Joseph Jezak timezone-data-2005r.ebuild: + Marked ppc stable. + + 05 Jan 2006; Gustavo Zacarias + timezone-data-2005p.ebuild, timezone-data-2005q.ebuild, + timezone-data-2005r.ebuild: + Stable on sparc + +*timezone-data-2005r (28 Dec 2005) + + 28 Dec 2005; Mike Frysinger + +timezone-data-2005r.ebuild: + Version bump #116994 by Rodrigo Severo. + +*timezone-data-2005q (14 Dec 2005) + + 14 Dec 2005; Mike Frysinger + +timezone-data-2005q.ebuild: + Version bump #115429 by Rodrigo Severo. + + 09 Dec 2005; Joshua Kinard timezone-data-2005p.ebuild: + Added ~mips to KEYWORDS. + +*timezone-data-2005p (06 Dec 2005) + + 06 Dec 2005; Mike Frysinger + +timezone-data-2005p.ebuild: + Version bump #114546 by Rodrigo Severo. + + 30 Nov 2005; Bryan Østergaard + timezone-data-2005o.ebuild: + Stable on alpha, needed for glibc-2.3.5-r3. + +*timezone-data-2005o (29 Nov 2005) + + 29 Nov 2005; Mike Frysinger + +timezone-data-2005o.ebuild: + Version bump #113816 by Rodrigo Severo. + + 25 Nov 2005; Markus Rothe + timezone-data-2005n-r1.ebuild: + Added ~ppc64 keyword + + 03 Nov 2005; Gustavo Zacarias + timezone-data-2005n-r1.ebuild: + ~sparc good + +*timezone-data-2005n-r1 (28 Oct 2005) + + 28 Oct 2005; Mike Frysinger + files/timezone-data-2005n-makefile.patch, +timezone-data-2005n-r1.ebuild: + Fix tzselect shell interpreter #110681 by Priit Laes. + +*timezone-data-2005n (19 Oct 2005) + + 19 Oct 2005; Mike Frysinger : + Initial import. Ebuild submitted by me #109556. diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest new file mode 100644 index 0000000..754ce60 --- /dev/null +++ b/sys-libs/timezone-data/Manifest @@ -0,0 +1,12 @@ +AUX timezone-data-2014h-makefile.patch 3811 SHA256 815932985476d2ff349e7dbbe8f22d136ec753575eca65b676ab6425b0fde0c7 SHA512 0cd2312d526015420a3195658471d1e94da3b7743f8fd7725c968bbff1486f0178314a63eadab8b54fbafea8e149fcd5230efbc837258b6786423134d6a2ee31 WHIRLPOOL e3b34dddbd5cfd055bbf16ecd746c0512c5e210581025c32d0a6db2600d465f3a01cfb05c8183fb8dfa3438c73f2b3acc4d64ca35c327480e64a226ab754be27 +AUX timezone-data-2014j-POSIX-TZ-display.patch 411 SHA256 8e4c9fac51f1b5ec47f5f53d45c43dcf43999a3678eed118c35c1a960d589287 SHA512 3c9df4133474d45e1b448320bd80568617beac28608db139aa38126c724936fb840d74963b258776e4bbab9543d939c8e06f8d9d5c6559e945eb159879b266fd WHIRLPOOL 81db899e5edbf2040f1253054f138706df520e3c0c1770413347c8d19cb1c4f13e9fd316a45603449ca65e4547dd13d8eea11b6baa594ff64cb48647fdaa633d +AUX timezone-data-2014j-POSIX-TZ-settings.patch 1003 SHA256 778ee276aebbd43177ae3478a51a05f82646b2072fd96c577619bd33ed0df44d SHA512 9ea5d2dffcf08ad47dd2d604a40df8be02626d1de479664cff445eb7f03fc6f2e3a19d5c9db70b745b69ae0f1b7f1a4664fb15d9f1da3655b242927f73cd1a14 WHIRLPOOL b46fed60b7c5c95bb82554da7460540eefcbcdcfcc72252218b285294bff9589f3c5339bfa9db1ba4d845fbdbe864e7c54c17b6bd5048bc7382a31886c179e09 +AUX timezone-data-2014j-coord-gawk.patch 1534 SHA256 2151ad39cf31b8e5d1e00c7a74d2d437826321090773e247c4074a49c1ad9f8e SHA512 9087dba486828c2de4cfd7d30d223923c7d75779320bec827b25fbe310a004bcc3d84a4613002868247fa3eeb65b39eceb88db13be4745dc332f5ea925851810 WHIRLPOOL bff8d3688a5e1d279c0efacfae939f23a6ff12d62d2816a29e1e346d73f6ef1e5f5afb755696cb7fbb91593eb2a0877a310fb71b7e44cdb8dd5b949f52db4cc5 +AUX timezone-data-2014j-dialog-2.patch.bak 2026 SHA256 a85e38c1416b95b17916a8bde5625911c2d064d1ef9b8179314b3b10f895b0cf SHA512 66d240fb6372a8c962eebf94e21fca59b90bc55f6d2bf4cf128bfa5f11486659d88d9927e84503d4f37e832833ab130e26488f1d09baef5014116acc09074eb3 WHIRLPOOL 571450f9bd6ed2157e23215896ed9c035c03165af96b9784081dd5aee679a6ded1adce86e5b460c6e1a200cc4f7d48aa058d4ed40f913e453d5c4c02ae0ee96a +AUX timezone-data-2014j-dialog.patch 8143 SHA256 7562f0be70fa14ac29dd4666c93063f4a4400ab9cab1fbc8b9fa9dbaebea56ed SHA512 54fbcb6fe2160e97aef3e77d7297c38baeb23cea0aa15541f23e96f937f4f64508dded4a46c48463d38ade0131639b05db9da7422e2af065302c7d8444a630de WHIRLPOOL 9332844966989fdd48edc2cec51fade0ff13ff06cbb5fb0ec3a611e64eaa947e36f9517ec40e5ebace82c63eb750df0000a2fb29d8faffd00ef93eb93ac3cecd +AUX timezone-data-2014j-dialog.patch.bak 9916 SHA256 99c08df50a12119d89ce41c623360e32b9c077b807176832ba611f902e8477da SHA512 e06f676a75f9a9a1fa53058375bc35873f1a0dde971c003b573e06f9f8c16e0594aa9938181bdc667951aef14de3412d6993d6a9e57c45d488fc8fc15bd9a6b0 WHIRLPOOL c2834abc80792c2c2fc29ec20e5b515d001908707482d19bb534768a5f287c81b33924f8da94bf6edfdd993b1cb37ce5885c1f522d056ecc25d6e096b58c31c8 +DIST tzcode2014j.tar.gz 182416 SHA256 7fd46125464856309fc81fe85a67a61de862b8ab884ce8ca82051f5fa308ede2 SHA512 1207670c168a80fe9db86307028efa3af8ca304817ebe36df5b5c2d2b67deba4294f05f4d6afa04220c3b255ad1903e2850bfb0649b2edfb2d754345a4b2490a WHIRLPOOL 87275670bc5eeaa634ea7cc858e0c52e61e69640d89a98119d42bf087f26b65216146749648c1347dca0924776e9f6f914ba85aac19c5a3e581ad329fb85de84 +DIST tzdata2014j.tar.gz 290688 SHA256 a2d870320694d40535df822ac8074dc629a90e92abafa5d3373314f78ddc0e0d SHA512 4c2979be3a96f91f8576304ec905d571b73df0842c8300c1d7317819b45ab3e29948ed911aa265b12a4ad587d5cba44f646dd02e40e4fbf9e68556a2d327142e WHIRLPOOL adf3fc77aae18dccf05e3c990052fc2cb735a2c91bf9e93136cb45862e6f283e706beaa79373354817662a8b17449000a58760cb8f95fa78de88690207014a3e +EBUILD timezone-data-2014j.ebuild 4654 SHA256 c28abdba9c3f8361f5558c3d73e841262c3033bf8b01928bef0e483324f178f2 SHA512 2dc9a3efc0398acf60b13a36da81a292737801c2e16b9bbc14944d268eefb0b23d13f7464506f3e447bf88bf8ddfc12f73d20b1a1ed186c4044e6734043b5fc5 WHIRLPOOL 5230c14192fcb4023288bbafd7adb174fb6266679372d8ed2133cae3e61f07bd8430d2714191071d06850d4588f1f82b6c2b5b98fe83513a5ac4518472da5f58 +MISC ChangeLog 42843 SHA256 73a8bcfae55c07cfbe138e23ef3b5b252ccb9434fc330b1cada79db36c6797f4 SHA512 e439805cde3409634962fb855dc8d0e2136046811ef902e9d8214db7ccda3137c9a7e8b2b5127d7d6fd9f9d59603cb0e8d78f842796bb5cd5ae37956750de9aa WHIRLPOOL e320da83e089b400c3b9020c96937609934eb9596ce020e50dfc2e39a5d1f6d8ef76b1a0078dd6a8b0fec77bbcb92f7d2c8c5d404f4bf10e85c1ee871b3d19e1 +MISC metadata.xml 472 SHA256 4ab35a5283c62aa867e05bcfdcaeb90e5ac191347a32735d37290885502a2511 SHA512 f91ce6146a369ddb6ee82c0d6e221ceb1fbe9beb073c2e37c27b07e0684c701328891a51f58ef9fefea6007e0111979af7034787b167735fb6d79c8462d9dfcc WHIRLPOOL ab3bbde9fbc205a887f591b7362034b01081c9a477dab314acfd92b4aa4b7e010532fdee7b2684504044fb3df2e8e8d09466d67765ec9feff3a2223ff7c54a1e diff --git a/sys-libs/timezone-data/files/timezone-data-2014h-makefile.patch b/sys-libs/timezone-data/files/timezone-data-2014h-makefile.patch new file mode 100644 index 0000000..38af3be --- /dev/null +++ b/sys-libs/timezone-data/files/timezone-data-2014h-makefile.patch @@ -0,0 +1,113 @@ + - Fix up default paths + - Support env CC + - Don't build/install libtz.a + - Don't install man-pages provided by sys-apps/man-pages + - Move zic, zdump to sbin and tzselect to bin ala glibc + - Install posix zoneinfo into zoneinfo/posix/ instead of zoneinfo-posix/ ala glibc + - Install leaps zoneinfo into zoneinfo/right/ ala glibc + - Do not run network based unittests + +--- a/Makefile ++++ b/Makefile +@@ -45,21 +45,21 @@ POSIXRULES= America/New_York + + # Everything gets put in subdirectories of. . . + +-TOPDIR= /usr/local ++TOPDIR= /usr + + # "Compiled" time zone information is placed in the "TZDIR" directory + # (and subdirectories). + # Use an absolute path name for TZDIR unless you're just testing the software. + + TZDIR_BASENAME= zoneinfo +-TZDIR= $(TOPDIR)/etc/$(TZDIR_BASENAME) ++TZDIR= $(TOPDIR)/share/$(TZDIR_BASENAME) + + # Types to try, as an alternative to time_t. int64_t should be first. + TIME_T_ALTERNATIVES= int64_t int32_t uint32_t uint64_t + + # The "tzselect", "zic", and "zdump" commands get installed in. . . + +-ETCDIR= $(TOPDIR)/etc ++SBINDIR= $(TOPDIR)/sbin + + # If you "make INSTALL", the "date" command gets installed in. . . + +@@ -67,7 +67,7 @@ BINDIR= $(TOPDIR)/bin + + # Manual pages go in subdirectories of. . . + +-MANDIR= $(TOPDIR)/man ++MANDIR= $(TOPDIR)/share/man + + # Library functions are put in an archive in LIBDIR. + +@@ -298,8 +298,10 @@ GZIPFLAGS= -9n + + ############################################################################### + +-cc= cc +-CC= $(cc) -DTZDIR=\"$(TZDIR)\" ++CPPFLAGS+= -DTZDIR=\"$(TZDIR)\" ++ifeq ($(NLS),1) ++CPPFLAGS+= -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\" ++endif + + AR= ar + +@@ -352,17 +354,14 @@ ALL: all date + install: all $(DATA) $(REDO) $(MANS) + mkdir -p $(DESTDIR)$(ETCDIR) $(DESTDIR)$(TZDIR) \ +- $(DESTDIR)$(LIBDIR) \ ++ $(DESTDIR)$(SBINDIR) $(DESTDIR)$(BINDIR) \ + $(DESTDIR)$(MANDIR)/man3 $(DESTDIR)$(MANDIR)/man5 \ + $(DESTDIR)$(MANDIR)/man8 + $(ZIC) -y $(YEARISTYPE) \ + -d $(DESTDIR)$(TZDIR) -l $(LOCALTIME) -p $(POSIXRULES) + cp -f iso3166.tab $(ZONETABLES) $(DESTDIR)$(TZDIR)/. +- cp tzselect zic zdump $(DESTDIR)$(ETCDIR)/. ++ cp zic zdump $(DESTDIR)$(SBINDIR)/. ++ cp tzselect $(DESTDIR)$(BINDIR)/. +- cp libtz.a $(DESTDIR)$(LIBDIR)/. +- $(RANLIB) $(DESTDIR)$(LIBDIR)/libtz.a + cp -f newctime.3 newtzset.3 $(DESTDIR)$(MANDIR)/man3/. +- cp -f tzfile.5 $(DESTDIR)$(MANDIR)/man5/. +- cp -f tzselect.8 zdump.8 zic.8 $(DESTDIR)$(MANDIR)/man8/. + + INSTALL: ALL install date.1 + mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 +@@ -406,18 +408,18 @@ right_only: zic leapseconds $(TDATA) + # to using them, or vice versa. + right_posix: right_only leapseconds + rm -fr $(DESTDIR)$(TZDIR)-leaps +- ln -s $(TZDIR_BASENAME) $(DESTDIR)$(TZDIR)-leaps || \ +- $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)-leaps \ ++ ln -s . $(DESTDIR)$(TZDIR)/right || \ ++ $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/right \ + -L leapseconds $(TDATA) +- $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)-posix \ ++ $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/posix \ + -L /dev/null $(TDATA) + + posix_right: posix_only leapseconds + rm -fr $(DESTDIR)$(TZDIR)-posix +- ln -s $(TZDIR_BASENAME) $(DESTDIR)$(TZDIR)-posix || \ +- $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)-posix \ ++ ln -s . $(DESTDIR)$(TZDIR)/posix || \ ++ $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/posix \ + -L /dev/null $(TDATA) +- $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)-leaps \ ++ $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/right \ + -L leapseconds $(TDATA) + + posix_packrat: posix_only backzone +@@ -440,7 +442,7 @@ tzselect: tzselect.ksh + chmod +x $@ + + check: check_character_set check_white_space check_sorted \ +- check_tables check_web ++ check_tables + + check_character_set: $(ENCHILADA) + LC_ALL=en_US.utf8 && export LC_ALL && \ diff --git a/sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-display.patch b/sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-display.patch new file mode 100644 index 0000000..77eb941 --- /dev/null +++ b/sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-display.patch @@ -0,0 +1,13 @@ +diff --git a/tzselect.ksh b/tzselect.ksh +index f924ca8..3acdebd 100644 +--- a/tzselect.ksh ++++ b/tzselect.ksh +@@ -504,7 +504,7 @@ Universal Time is now: $UTdate." + ?*%%) echo >&2 " $country";; + %?*%?*) echo >&2 " coord $coord$newline $region";; + %%?*) echo >&2 " coord $coord";; +- +) echo >&2 " TZ='$TZ'" ++ *) echo >&2 " TZ='$TZ'" + esac + echo >&2 "" + echo >&2 "Therefore TZ='$TZ' will be used.$extra_info" diff --git a/sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-settings.patch b/sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-settings.patch new file mode 100644 index 0000000..d56e10c --- /dev/null +++ b/sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-settings.patch @@ -0,0 +1,28 @@ +See commit 66cda43f6783a2b869251f7093689751ae298070 +diff --git a/NEWS b/NEWS +index 1e781d2..45e4f84 100644 +--- a/NEWS ++++ b/NEWS +@@ -8,6 +8,9 @@ Unreleased, experimental changes + that tzset always has, by replacing invalid bytes with '_' and by + shortening too-long abbreviations. + ++ tzselect no longer mishandles POSIX TZ settings when GNU awk is used. ++ (Thanks to Stefan Kuhn.) ++ + Changes affecting build procedure + + 'make check' now checks for links to links in the data. +diff --git a/tzselect.ksh b/tzselect.ksh +index 029abcd..d5dae17 100644 +--- a/tzselect.ksh ++++ b/tzselect.ksh +@@ -328,7 +328,7 @@ while + tzname = "[^-+,0-9][^-+,0-9][^-+,0-9]+" + time = "[0-2]?[0-9](:[0-5][0-9](:[0-5][0-9])?)?" + offset = "[-+]?" time +- date = "(J?[0-9]+|M[0-9]+\.[0-9]+\.[0-9]+)" ++ date = "(J?[0-9]+|M[0-9]+\\.[0-9]+\\.[0-9]+)" + datetime = "," date "(/" time ")?" + tzpattern = "^(:.*|" tzname offset "(" tzname \ + "(" offset ")?(" datetime datetime ")?)?)$" diff --git a/sys-libs/timezone-data/files/timezone-data-2014j-coord-gawk.patch b/sys-libs/timezone-data/files/timezone-data-2014j-coord-gawk.patch new file mode 100644 index 0000000..efd36d4 --- /dev/null +++ b/sys-libs/timezone-data/files/timezone-data-2014j-coord-gawk.patch @@ -0,0 +1,34 @@ +diff --git a/tzselect.ksh b/tzselect.ksh +index d5dae17..f924ca8 100644 +--- a/tzselect.ksh ++++ b/tzselect.ksh +@@ -228,10 +228,10 @@ output_distances=' + # case of the Vicenty formula for distances on ellipsoids. + function gcdist(lat1, long1, lat2, long2, dlong, x, y, num, denom) { + dlong = long2 - long1 +- x = cos (lat2) * sin (dlong) +- y = cos (lat1) * sin (lat2) - sin (lat1) * cos (lat2) * cos (dlong) +- num = sqrt (x * x + y * y) +- denom = sin (lat1) * sin (lat2) + cos (lat1) * cos (lat2) * cos (dlong) ++ x = cos(lat2) * sin(dlong) ++ y = cos(lat1) * sin(lat2) - sin(lat1) * cos(lat2) * cos(dlong) ++ num = sqrt(x * x + y * y) ++ denom = sin(lat1) * sin(lat2) + cos(lat1) * cos(lat2) * cos(dlong) + return atan2(num, denom) + } + # Parallel distance between points with given latitude and longitude. +@@ -240,12 +240,12 @@ output_distances=' + # I.e., it considers longitudes to be further apart if they are + # nearer the equator. + function pardist(lat1, long1, lat2, long2) { +- return abs (long1 - long2) * min (cos (lat1), cos (lat2)) ++ return abs(long1 - long2) * min(cos(lat1), cos(lat2)) + } + # The distance function is the sum of the great-circle distance and + # the parallel distance. It could be weighted. + function dist(lat1, long1, lat2, long2) { +- return gcdist (lat1, long1, lat2, long2) + pardist (lat1, long1, lat2, long2) ++ return gcdist(lat1, long1, lat2, long2) + pardist(lat1, long1, lat2, long2) + } + BEGIN { + coord_lat = convert_latitude(coord) diff --git a/sys-libs/timezone-data/files/timezone-data-2014j-dialog-2.patch.bak b/sys-libs/timezone-data/files/timezone-data-2014j-dialog-2.patch.bak new file mode 100644 index 0000000..8789537 --- /dev/null +++ b/sys-libs/timezone-data/files/timezone-data-2014j-dialog-2.patch.bak @@ -0,0 +1,84 @@ +diff --git a/tzselect.ksh b/tzselect.ksh +index 1816f9f..9280fb9 100644 +--- a/tzselect.ksh ++++ b/tzselect.ksh +@@ -98,7 +98,7 @@ then + case $select_result in + "") echo >&2 "Please enter a number in range." ;; + # print result +- ?*) echo "${select_result}"; break ++ ?*) echo -n "${select_result}"; break + esac + done || exit + } +@@ -138,7 +138,7 @@ else + shift `expr $select_i - 1` + select_result=$1 + # print result +- echo "${select_result}" ++ echo -n "${select_result}" + break + fi + echo >&2 'Please enter a number in range.' +@@ -177,7 +177,7 @@ showdialog() { + inputbox) + echo >&2 "${2}" + read INPUTBOX +- echo "${INPUTBOX}" ++ echo -n "${INPUTBOX}" + return 0 ;; + esac + return 1 +diff --git a/tzselect_dialog b/tzselect_dialog +index a352694..cd93313 100755 +--- a/tzselect_dialog ++++ b/tzselect_dialog +@@ -28,7 +28,7 @@ TYPE="${1}" + shift + MSG="${1}" + shift +-MENU_ITEMS=() ++MENU_ITEMS=(0 0) + RET_DIALOG= + + case "${TYPE}" in +@@ -38,7 +38,7 @@ case "${TYPE}" in + MENU_ITEMS+=(0) + # add value and description + while [ $# -gt 0 ]; do +- MENU_ITEMS+=("$(( ( ${#MENU_ITEMS[@]} +1 ) / 2 ))" "${1}") ++ MENU_ITEMS+=("$(( ( ${#MENU_ITEMS[@]} -1 ) / 2 ))" "${1}") + shift + done ;; + esac +@@ -47,9 +47,9 @@ esac + ANSWER=$("${WHICHDIALOG}" \ + --no-cancel \ + "--${TYPE}" \ +- "${MSG}" 0 0 \ ++ "${MSG}" \ + "${MENU_ITEMS[@]}" \ +- 9>&1 1>&2 2>&9) ++ 3>&1 1>&2 2>&3) + RET_DIALOG=$? + + # exit on cancel unless it's a yesno +@@ -58,14 +58,14 @@ RET_DIALOG=$? + case "${TYPE}" in + yesno) + if [ "${RET_DIALOG}" -eq 0 ]; then +- ANSWER=$([ -n "${1}" ] && echo "${1}" || echo Yes) ++ ANSWER=$([ -n "${1}" ] && echo -n "${1}" || echo -n Yes) + else +- ANSWER=$([ -n "${2}" ] && echo "${2}" || echo No) ++ ANSWER=$([ -n "${2}" ] && echo -n "${2}" || echo -n No) + fi ;; + # get string from index + menu) +- ANSWER="${MENU_ITEMS[(($ANSWER * 2))]}" || exit $? ;; ++ ANSWER="${MENU_ITEMS[(($ANSWER * 2 + 2))]}" || exit $? ;; + esac + # print result +-echo "${ANSWER}" ++echo -n "${ANSWER}" + exit 0 diff --git a/sys-libs/timezone-data/files/timezone-data-2014j-dialog.patch b/sys-libs/timezone-data/files/timezone-data-2014j-dialog.patch new file mode 100644 index 0000000..148954b --- /dev/null +++ b/sys-libs/timezone-data/files/timezone-data-2014j-dialog.patch @@ -0,0 +1,273 @@ +tzselect: User input/output through one function + +Which can be 'overriden' in the calling process as $SHOWDIALOG +With this, tzselect can be used by other scripts with a customized +user dialog. Better solutions are welcome! + +Example call: +SHOWDIALOG=$PWD/tzselect_dialog tzselect + +where tzselect_dialog imitates the function showdialog() of tzselect. + +see: https://github.com/Wuodan/tz/commit/5297b9ca06f79c334b9492713ce388b590e436e3 +This file was created using: +git diff 3da9649d321d9208badaf941fc59ae93b42bb4c7 54b3d917f406db7d31bfd0f4b4db8d529fa3d619 tzselect.ksh + +diff --git a/tzselect.ksh b/tzselect.ksh +index 3acdebd..9280fb9 100644 +--- a/tzselect.ksh ++++ b/tzselect.ksh +@@ -36,6 +36,7 @@ REPORT_BUGS_TO=tz@iana.org + # Specify default values for environment variables if they are unset. + : ${AWK=awk} + : ${TZDIR=`pwd`} ++: ${SHOWDIALOG=showdialog} + + # Check for awk Posix compliance. + ($AWK -v x=y 'BEGIN { exit 123 }') /dev/null 2>&1 +@@ -73,9 +74,10 @@ Options: + Report bugs to $REPORT_BUGS_TO." + + # Ask the user to select from the function's arguments, +-# and assign the selected argument to the variable 'select_result'. ++# and print selected argument + # Exit on EOF or I/O error. Use the shell's 'select' builtin if available, + # falling back on a less-nice but portable substitute otherwise. ++# First argument is the message preceeding the selection + if + case $BASH_VERSION in + ?*) : ;; +@@ -88,11 +90,15 @@ then + # even though it is never executed. + eval ' + doselect() { ++ # print message first ++ echo >&2 "${1}" ++ shift + select select_result + do + case $select_result in + "") echo >&2 "Please enter a number in range." ;; +- ?*) break ++ # print result ++ ?*) echo -n "${select_result}"; break + esac + done || exit + } +@@ -107,6 +113,9 @@ then + ' + else + doselect() { ++ # print message first ++ echo >&2 "${1}" ++ shift + # Field width of the prompt numbers. + select_width=`expr $# : '.*'` + +@@ -128,6 +137,8 @@ else + if test 1 -le $select_i && test $select_i -le $#; then + shift `expr $select_i - 1` + select_result=$1 ++ # print result ++ echo -n "${select_result}" + break + fi + echo >&2 'Please enter a number in range.' +@@ -140,6 +151,38 @@ else + } + fi + ++# showdialog() ++# All normal user input/output goes through this function ++# ++# The user dialog of this script can be altered by setting ++# the SHOWDIALOG variable as in: ++# SHOWDIALOG=$PWD/tzselect_dialog tzselect ++# where 'tzselect_dialog' imitates this function ++# ++# Arguments: ++# Type: one of: menu, yesno, msgbox, inputbox ++# Message: text to display ++# Options: menu-options, only for types menu and yesno ++# ++showdialog() { ++ # action depends on first argument ++ case "${1}" in ++ menu|yesno) ++ shift ++ doselect "${@}" ++ return $? ;; ++ msgbox) ++ echo >&2 "${2}" ++ return 0 ;; ++ inputbox) ++ echo >&2 "${2}" ++ read INPUTBOX ++ echo -n "${INPUTBOX}" ++ return 0 ;; ++ esac ++ return 1 ++} ++ + while getopts c:n:t:-: opt + do + case $opt$OPTARG in +@@ -270,8 +313,7 @@ output_distances=' + # Begin the main loop. We come back here if the user wants to retry. + while + +- echo >&2 'Please identify a location' \ +- 'so that time zone rules can be set correctly.' ++ dialogtext='Please identify a location so that time zone rules can be set correctly.' + + continent= + country= +@@ -284,7 +326,8 @@ while + + # Ask the user for continent or ocean. + +- echo >&2 'Please select a continent, ocean, "coord", or "TZ".' ++ dialogtext="${dialogtext} ++Please select a continent, ocean, \"coord\", or \"TZ\"." + + quoted_continents=` + $AWK ' +@@ -304,10 +347,9 @@ while + ` + + eval ' +- doselect '"$quoted_continents"' \ ++ continent=`"${SHOWDIALOG}" menu '\'"${dialogtext}"\'' '"$quoted_continents"' \ + "coord - I want to use geographical coordinates." \ +- "TZ - I want to specify the time zone using the Posix TZ format." +- continent=$select_result ++ "TZ - I want to specify the time zone using the Posix TZ format."` || exit $? + case $continent in + Americas) continent=America;; + *" "*) continent=`expr "$continent" : '\''\([^ ]*\)'\''` +@@ -319,11 +361,9 @@ while + TZ) + # Ask the user for a Posix TZ string. Check that it conforms. + while +- echo >&2 'Please enter the desired value' \ +- 'of the TZ environment variable.' +- echo >&2 'For example, GST-10 is a zone named GST' \ +- 'that is 10 hours ahead (east) of UTC.' +- read TZ ++ TZ=`"${SHOWDIALOG}" inputbox \ ++ 'Please enter the desired value of the TZ environment variable. ++For example, GST-10 is a zone named GST that is 10 hours ahead (east) of UTC.'` || exit $? + $AWK -v TZ="$TZ" 'BEGIN { + tzname = "[^-+,0-9][^-+,0-9][^-+,0-9]+" + time = "[0-2]?[0-9](:[0-5][0-9](:[0-5][0-9])?)?" +@@ -336,8 +376,8 @@ while + exit 0 + }' + do +- echo >&2 "'$TZ' is not a conforming" \ +- 'Posix time zone string.' ++ "${SHOWDIALOG}" msgbox \ ++ "'$TZ' is not a conforming Posix time zone string." + done + TZ_for_date=$TZ;; + *) +@@ -345,12 +385,10 @@ while + coord) + case $coord in + '') +- echo >&2 'Please enter coordinates' \ +- 'in ISO 6709 notation.' +- echo >&2 'For example, +4042-07403 stands for' +- echo >&2 '40 degrees 42 minutes north,' \ +- '74 degrees 3 minutes west.' +- read coord;; ++ coord=`"${SHOWDIALOG}" inputbox \ ++ 'Please enter coordinates in ISO 6709 notation. ++For example, +4042-07403 stands for ++40 degrees 42 minutes north, 74 degrees 3 minutes west.'` || exit $? + esac + distance_table=`$AWK \ + -v coord="$coord" \ +@@ -363,12 +401,10 @@ while + BEGIN { FS = "\t" } + { print $NF } + '` +- echo >&2 'Please select one of the following' \ +- 'time zone regions,' +- echo >&2 'listed roughly in increasing order' \ +- "of distance from $coord". +- doselect $regions +- region=$select_result ++ region=`"${SHOWDIALOG}" menu \ ++ "Please select one of the following time zone regions, ++listed roughly in increasing order of distance from $coord." \ ++ $regions` || exit $? + TZ=`echo "$distance_table" | $AWK -v region="$region" ' + BEGIN { FS="\t" } + $NF == region { print $4 } +@@ -405,10 +441,9 @@ while + # If there's more than one country, ask the user which one. + case $countries in + *"$newline"*) +- echo >&2 'Please select a country' \ +- 'whose clocks agree with yours.' +- doselect $countries +- country=$select_result;; ++ country=`"${SHOWDIALOG}" menu \ ++ 'Please select a country whose clocks agree with yours.' \ ++ $countries` || exit $?;; + *) + country=$countries + esac +@@ -436,10 +471,9 @@ while + # If there's more than one region, ask the user which one. + case $regions in + *"$newline"*) +- echo >&2 'Please select one of the following' \ +- 'time zone regions.' +- doselect $regions +- region=$select_result;; ++ region=`"${SHOWDIALOG}" menu \ ++ 'Please select one of the following time zone regions.' \ ++ $regions` || exit $?;; + *) + region=$regions + esac +@@ -495,23 +529,24 @@ Universal Time is now: $UTdate." + + + # Output TZ info and ask the user to confirm. ++ infomsg=' ++The following information has been given: ++ ++' + +- echo >&2 "" +- echo >&2 "The following information has been given:" +- echo >&2 "" + case $country%$region%$coord in +- ?*%?*%) echo >&2 " $country$newline $region";; +- ?*%%) echo >&2 " $country";; +- %?*%?*) echo >&2 " coord $coord$newline $region";; +- %%?*) echo >&2 " coord $coord";; +- *) echo >&2 " TZ='$TZ'" ++ ?*%?*%) infomsg="${infomsg} $country$newline $region";; ++ ?*%%) infomsg="${infomsg} $country";; ++ %?*%?*) infomsg="${infomsg} coord $coord$newline $region";; ++ %%?*) infomsg="${infomsg} coord $coord";; ++ *) infomsg="${infomsg} TZ='$TZ'" + esac +- echo >&2 "" +- echo >&2 "Therefore TZ='$TZ' will be used.$extra_info" +- echo >&2 "Is the above information OK?" ++ infomsg="${infomsg} ++ ++Therefore TZ='$TZ' will be used.$extra_info ++Is the above information OK?" + +- doselect Yes No +- ok=$select_result ++ ok=`"${SHOWDIALOG}" yesno "${infomsg}" Yes No` || exit $? + case $ok in + Yes) break + esac diff --git a/sys-libs/timezone-data/files/timezone-data-2014j-dialog.patch.bak b/sys-libs/timezone-data/files/timezone-data-2014j-dialog.patch.bak new file mode 100644 index 0000000..56506be --- /dev/null +++ b/sys-libs/timezone-data/files/timezone-data-2014j-dialog.patch.bak @@ -0,0 +1,348 @@ +tzselect: User input/output through one function + +Which can be 'overriden' in the calling process as $SHOWDIALOG +With this, tzselect can be used by other scripts with a customized +user dialog. Better solutions are welcome! + +Example call: +SHOWDIALOG=$PWD/tzselect_dialog tzselect + +where tzselect_dialog imitates the function showdialog() of tzselect. + +see: https://github.com/Wuodan/tz/commit/5297b9ca06f79c334b9492713ce388b590e436e3 + +diff --git a/tzselect.ksh b/tzselect.ksh +index 3acdebd..1816f9f 100644 +--- a/tzselect.ksh ++++ b/tzselect.ksh +@@ -36,6 +36,7 @@ REPORT_BUGS_TO=tz@iana.org + # Specify default values for environment variables if they are unset. + : ${AWK=awk} + : ${TZDIR=`pwd`} ++: ${SHOWDIALOG=showdialog} + + # Check for awk Posix compliance. + ($AWK -v x=y 'BEGIN { exit 123 }') /dev/null 2>&1 +@@ -73,9 +74,10 @@ Options: + Report bugs to $REPORT_BUGS_TO." + + # Ask the user to select from the function's arguments, +-# and assign the selected argument to the variable 'select_result'. ++# and print selected argument + # Exit on EOF or I/O error. Use the shell's 'select' builtin if available, + # falling back on a less-nice but portable substitute otherwise. ++# First argument is the message preceeding the selection + if + case $BASH_VERSION in + ?*) : ;; +@@ -88,11 +90,15 @@ then + # even though it is never executed. + eval ' + doselect() { ++ # print message first ++ echo >&2 "${1}" ++ shift + select select_result + do + case $select_result in + "") echo >&2 "Please enter a number in range." ;; +- ?*) break ++ # print result ++ ?*) echo "${select_result}"; break + esac + done || exit + } +@@ -107,6 +113,9 @@ then + ' + else + doselect() { ++ # print message first ++ echo >&2 "${1}" ++ shift + # Field width of the prompt numbers. + select_width=`expr $# : '.*'` + +@@ -128,6 +137,8 @@ else + if test 1 -le $select_i && test $select_i -le $#; then + shift `expr $select_i - 1` + select_result=$1 ++ # print result ++ echo "${select_result}" + break + fi + echo >&2 'Please enter a number in range.' +@@ -140,6 +151,38 @@ else + } + fi + ++# showdialog() ++# All normal user input/output goes through this function ++# ++# The user dialog of this script can be altered by setting ++# the SHOWDIALOG variable as in: ++# SHOWDIALOG=$PWD/tzselect_dialog tzselect ++# where 'tzselect_dialog' imitates this function ++# ++# Arguments: ++# Type: one of: menu, yesno, msgbox, inputbox ++# Message: text to display ++# Options: menu-options, only for types menu and yesno ++# ++showdialog() { ++ # action depends on first argument ++ case "${1}" in ++ menu|yesno) ++ shift ++ doselect "${@}" ++ return $? ;; ++ msgbox) ++ echo >&2 "${2}" ++ return 0 ;; ++ inputbox) ++ echo >&2 "${2}" ++ read INPUTBOX ++ echo "${INPUTBOX}" ++ return 0 ;; ++ esac ++ return 1 ++} ++ + while getopts c:n:t:-: opt + do + case $opt$OPTARG in +@@ -270,8 +313,7 @@ output_distances=' + # Begin the main loop. We come back here if the user wants to retry. + while + +- echo >&2 'Please identify a location' \ +- 'so that time zone rules can be set correctly.' ++ dialogtext='Please identify a location so that time zone rules can be set correctly.' + + continent= + country= +@@ -284,7 +326,8 @@ while + + # Ask the user for continent or ocean. + +- echo >&2 'Please select a continent, ocean, "coord", or "TZ".' ++ dialogtext="${dialogtext} ++Please select a continent, ocean, \"coord\", or \"TZ\"." + + quoted_continents=` + $AWK ' +@@ -304,10 +347,9 @@ while + ` + + eval ' +- doselect '"$quoted_continents"' \ ++ continent=`"${SHOWDIALOG}" menu '\'"${dialogtext}"\'' '"$quoted_continents"' \ + "coord - I want to use geographical coordinates." \ +- "TZ - I want to specify the time zone using the Posix TZ format." +- continent=$select_result ++ "TZ - I want to specify the time zone using the Posix TZ format."` || exit $? + case $continent in + Americas) continent=America;; + *" "*) continent=`expr "$continent" : '\''\([^ ]*\)'\''` +@@ -319,11 +361,9 @@ while + TZ) + # Ask the user for a Posix TZ string. Check that it conforms. + while +- echo >&2 'Please enter the desired value' \ +- 'of the TZ environment variable.' +- echo >&2 'For example, GST-10 is a zone named GST' \ +- 'that is 10 hours ahead (east) of UTC.' +- read TZ ++ TZ=`"${SHOWDIALOG}" inputbox \ ++ 'Please enter the desired value of the TZ environment variable. ++For example, GST-10 is a zone named GST that is 10 hours ahead (east) of UTC.'` || exit $? + $AWK -v TZ="$TZ" 'BEGIN { + tzname = "[^-+,0-9][^-+,0-9][^-+,0-9]+" + time = "[0-2]?[0-9](:[0-5][0-9](:[0-5][0-9])?)?" +@@ -336,8 +376,8 @@ while + exit 0 + }' + do +- echo >&2 "'$TZ' is not a conforming" \ +- 'Posix time zone string.' ++ "${SHOWDIALOG}" msgbox \ ++ "'$TZ' is not a conforming Posix time zone string." + done + TZ_for_date=$TZ;; + *) +@@ -345,12 +385,10 @@ while + coord) + case $coord in + '') +- echo >&2 'Please enter coordinates' \ +- 'in ISO 6709 notation.' +- echo >&2 'For example, +4042-07403 stands for' +- echo >&2 '40 degrees 42 minutes north,' \ +- '74 degrees 3 minutes west.' +- read coord;; ++ coord=`"${SHOWDIALOG}" inputbox \ ++ 'Please enter coordinates in ISO 6709 notation. ++For example, +4042-07403 stands for ++40 degrees 42 minutes north, 74 degrees 3 minutes west.'` || exit $? + esac + distance_table=`$AWK \ + -v coord="$coord" \ +@@ -363,12 +401,10 @@ while + BEGIN { FS = "\t" } + { print $NF } + '` +- echo >&2 'Please select one of the following' \ +- 'time zone regions,' +- echo >&2 'listed roughly in increasing order' \ +- "of distance from $coord". +- doselect $regions +- region=$select_result ++ region=`"${SHOWDIALOG}" menu \ ++ "Please select one of the following time zone regions, ++listed roughly in increasing order of distance from $coord." \ ++ $regions` || exit $? + TZ=`echo "$distance_table" | $AWK -v region="$region" ' + BEGIN { FS="\t" } + $NF == region { print $4 } +@@ -405,10 +441,9 @@ while + # If there's more than one country, ask the user which one. + case $countries in + *"$newline"*) +- echo >&2 'Please select a country' \ +- 'whose clocks agree with yours.' +- doselect $countries +- country=$select_result;; ++ country=`"${SHOWDIALOG}" menu \ ++ 'Please select a country whose clocks agree with yours.' \ ++ $countries` || exit $?;; + *) + country=$countries + esac +@@ -436,10 +471,9 @@ while + # If there's more than one region, ask the user which one. + case $regions in + *"$newline"*) +- echo >&2 'Please select one of the following' \ +- 'time zone regions.' +- doselect $regions +- region=$select_result;; ++ region=`"${SHOWDIALOG}" menu \ ++ 'Please select one of the following time zone regions.' \ ++ $regions` || exit $?;; + *) + region=$regions + esac +@@ -495,23 +529,24 @@ Universal Time is now: $UTdate." + + + # Output TZ info and ask the user to confirm. ++ infomsg=' ++The following information has been given: ++ ++' + +- echo >&2 "" +- echo >&2 "The following information has been given:" +- echo >&2 "" + case $country%$region%$coord in +- ?*%?*%) echo >&2 " $country$newline $region";; +- ?*%%) echo >&2 " $country";; +- %?*%?*) echo >&2 " coord $coord$newline $region";; +- %%?*) echo >&2 " coord $coord";; +- *) echo >&2 " TZ='$TZ'" ++ ?*%?*%) infomsg="${infomsg} $country$newline $region";; ++ ?*%%) infomsg="${infomsg} $country";; ++ %?*%?*) infomsg="${infomsg} coord $coord$newline $region";; ++ %%?*) infomsg="${infomsg} coord $coord";; ++ *) infomsg="${infomsg} TZ='$TZ'" + esac +- echo >&2 "" +- echo >&2 "Therefore TZ='$TZ' will be used.$extra_info" +- echo >&2 "Is the above information OK?" ++ infomsg="${infomsg} ++ ++Therefore TZ='$TZ' will be used.$extra_info ++Is the above information OK?" + +- doselect Yes No +- ok=$select_result ++ ok=`"${SHOWDIALOG}" yesno "${infomsg}" Yes No` || exit $? + case $ok in + Yes) break + esac +diff --git a/tzselect_dialog b/tzselect_dialog +new file mode 100755 +index 0000000..a352694 +--- /dev/null ++++ b/tzselect_dialog +@@ -0,0 +1,71 @@ ++#!/bin/bash ++# This script is released under the GNU General Public License 3.0 ++ ++# sample dialog handler for tzselect ++# MUST have same input/output as the showdialog() function in tzselect ++ ++# showdialog() ++# All normal user input/output goes through this function ++# ++# The user dialog of this script can be altered by setting ++# the SHOWDIALOG variable as in: ++# SHOWDIALOG=$PWD/tzselect_dialog tzselect ++# where 'tzselect_dialog' imitates this function ++# ++# Arguments: ++# Type: one of: menu, yesno, msgbox, inputbox ++# Message: text to display ++# Options: menu-options, only for types menu and yesno ++ ++WHICHDIALOG=dialog ++# let's support Xdialog for the fun of it ++if [ ! $(type "Xdialog" &> /dev/null) ] && [ -v 'DISPLAY' ] && [ -n "${DISPLAY}" ]; then ++ WHICHDIALOG=Xdialog ++fi ++ ++# get type and message first ++TYPE="${1}" ++shift ++MSG="${1}" ++shift ++MENU_ITEMS=() ++RET_DIALOG= ++ ++case "${TYPE}" in ++ # prepare arguments to dialog/Xdialog --menu ++ menu) ++ # add menu-height: auto ++ MENU_ITEMS+=(0) ++ # add value and description ++ while [ $# -gt 0 ]; do ++ MENU_ITEMS+=("$(( ( ${#MENU_ITEMS[@]} +1 ) / 2 ))" "${1}") ++ shift ++ done ;; ++esac ++ ++# use dialog/Xdialog ++ANSWER=$("${WHICHDIALOG}" \ ++ --no-cancel \ ++ "--${TYPE}" \ ++ "${MSG}" 0 0 \ ++ "${MENU_ITEMS[@]}" \ ++ 9>&1 1>&2 2>&9) ++RET_DIALOG=$? ++ ++# exit on cancel unless it's a yesno ++[ "${TYPE}" != 'yesno' ] && [ "${RET_DIALOG}" -ne 0 ] && exit "${RET_DIALOG}" ++ ++case "${TYPE}" in ++ yesno) ++ if [ "${RET_DIALOG}" -eq 0 ]; then ++ ANSWER=$([ -n "${1}" ] && echo "${1}" || echo Yes) ++ else ++ ANSWER=$([ -n "${2}" ] && echo "${2}" || echo No) ++ fi ;; ++ # get string from index ++ menu) ++ ANSWER="${MENU_ITEMS[(($ANSWER * 2))]}" || exit $? ;; ++esac ++# print result ++echo "${ANSWER}" ++exit 0 diff --git a/sys-libs/timezone-data/metadata.xml b/sys-libs/timezone-data/metadata.xml new file mode 100644 index 0000000..5ea9445 --- /dev/null +++ b/sys-libs/timezone-data/metadata.xml @@ -0,0 +1,15 @@ + + + + toolchain + + djc@gentoo.org + Dirkjan Ochtman + + + + Install the set of "right" timezones; these timezones include leap seconds + when counting seconds since the epoch (while posix does not) + + + diff --git a/sys-libs/timezone-data/timezone-data-2014j.ebuild b/sys-libs/timezone-data/timezone-data-2014j.ebuild new file mode 100644 index 0000000..676d645 --- /dev/null +++ b/sys-libs/timezone-data/timezone-data-2014j.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2014j.ebuild,v 1.1 2014/11/11 23:58:13 vapier Exp $ + +EAPI="4" + +inherit eutils toolchain-funcs flag-o-matic + +code_ver=${PV} +data_ver=${PV} +DESCRIPTION="Timezone data (/usr/share/zoneinfo) and utilities (tzselect/zic/zdump)" +HOMEPAGE="http://www.iana.org/time-zones http://www.twinsun.com/tz/tz-link.htm" +SRC_URI="http://www.iana.org/time-zones/repository/releases/tzdata${data_ver}.tar.gz + http://www.iana.org/time-zones/repository/releases/tzcode${code_ver}.tar.gz" + +LICENSE="BSD public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="nls right_timezone elibc_FreeBSD elibc_glibc" + +RDEPEND="!sys-libs/glibc[vanilla(+)]" + +S=${WORKDIR} + +pkg_setup() { + # Deal with the case where older timezone-data installed a + # dir here, but newer one installs symlinks. Portage will + # barf when you try to transition file types. + if cd "${EROOT}"/usr/share/zoneinfo 2>/dev/null ; then + # In case of a failed upgrade, clean up the symlinks #506570 + if [ -L .gentoo-upgrade ] ; then + rm -rf posix .gentoo-upgrade + fi + if [ -d posix ] ; then + rm -rf .gentoo-upgrade #487192 + mv posix .gentoo-upgrade || die + ln -s .gentoo-upgrade posix || die + fi + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2014h-makefile.patch + epatch "${FILESDIR}"/${PN}-2014j-POSIX-TZ-settings.patch + epatch "${FILESDIR}"/${PN}-2014j-coord-gawk.patch + epatch "${FILESDIR}"/${PN}-2014j-POSIX-TZ-display.patch + # disabled, used in the pentoo-installer + # epatch "${FILESDIR}"/${PN}-2014j-dialog.patch + tc-is-cross-compiler && cp -pR "${S}" "${S}"-native +} + +_emake() { + emake \ + TOPDIR="${EPREFIX}/usr" \ + REDO=$(usex right_timezone posix_right posix_only) \ + "$@" +} + +src_compile() { + local LDLIBS + tc-export CC + if use elibc_FreeBSD || use elibc_Darwin ; then + append-cppflags -DSTD_INSPIRED #138251 + fi + export NLS=$(usex nls 1 0) + if use nls && ! use elibc_glibc ; then + LDLIBS+=" -lintl" #154181 + fi + # TOPDIR is used in some utils when compiling. + _emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + RANLIB="$(tc-getRANLIB)" \ + CFLAGS="${CFLAGS} -std=gnu99" \ + LDFLAGS="${LDFLAGS}" \ + LDLIBS="${LDLIBS}" + if tc-is-cross-compiler ; then + _emake -C "${S}"-native \ + CC="$(tc-getBUILD_CC)" \ + CFLAGS="${BUILD_CFLAGS}" \ + CPPFLAGS="${BUILD_CPPFLAGS}" \ + LDFLAGS="${BUILD_LDFLAGS}" \ + LDLIBS="${LDLIBS}" \ + zic + fi +} + +src_install() { + local zic="" + tc-is-cross-compiler && zic="zic=${S}-native/zic" + _emake install ${zic} DESTDIR="${D}" + dodoc CONTRIBUTING README NEWS Theory + dohtml *.htm + + # install the symlink by hand to not break existing timezones + if ! use right_timezone && [[ ! -e ${ED}/usr/share/zoneinfo/posix ]] ; then + dosym . /usr/share/zoneinfo/posix + fi +} + +get_TIMEZONE() { + local tz src="${EROOT}etc/timezone" + if [[ -e ${src} ]] ; then + tz=$(sed -e 's:#.*::' -e 's:[[:space:]]*::g' -e '/^$/d' "${src}") + else + tz="FOOKABLOIE" + fi + [[ -z ${tz} ]] && return 1 || echo "${tz}" +} + +pkg_preinst() { + local tz=$(get_TIMEZONE) + if ! use right_timezone && [[ ${tz} == right/* ]] ; then + eerror "Your timezone is set to '${tz}' but you have USE=-right_timezone." + die "Please fix your USE or timezone" + fi +} + +pkg_config() { + # make sure the /etc/localtime file does not get stale #127899 + local tz src="${EROOT}etc/timezone" etc_lt="${EROOT}etc/localtime" + + tz=$(get_TIMEZONE) || return 0 + if [[ ${tz} == "FOOKABLOIE" ]] ; then + elog "You do not have TIMEZONE set in ${src}." + + if [[ ! -e ${etc_lt} ]] ; then + # if /etc/localtime is a symlink somewhere, assume they + # know what they're doing and they're managing it themselves + if [[ ! -L ${etc_lt} ]] ; then + cp -f "${EROOT}"/usr/share/zoneinfo/Factory "${etc_lt}" + elog "Setting ${etc_lt} to Factory." + else + elog "Assuming your ${etc_lt} symlink is what you want; skipping update." + fi + else + elog "Skipping auto-update of ${etc_lt}." + fi + return 0 + fi + + if [[ ! -e ${EROOT}/usr/share/zoneinfo/${tz} ]] ; then + elog "You have an invalid TIMEZONE setting in ${src}" + elog "Your ${etc_lt} has been reset to Factory; enjoy!" + tz="Factory" + fi + einfo "Updating ${etc_lt} with ${EROOT}usr/share/zoneinfo/${tz}" + [[ -L ${etc_lt} ]] && rm -f "${etc_lt}" + cp -f "${EROOT}"/usr/share/zoneinfo/"${tz}" "${etc_lt}" +} + +pkg_postinst() { + rm -rf "${EROOT}"/usr/share/zoneinfo/.gentoo-upgrade & + pkg_config + wait +} -- cgit v1.2.3-65-gdbad