[arch-commits] CVS update of core/base/tzdata (PKGBUILD chile.patch)

Jan de Groot jgc at archlinux.org
Thu Mar 6 18:19:16 UTC 2008


    Date: Thursday, March 6, 2008 @ 13:19:16
  Author: jgc
    Path: /home/cvs-core/core/base/tzdata

   Added: chile.patch (1.1)
Modified: PKGBUILD (1.6 -> 1.7)

upgpkg: tzdata 2007k-2
    Fix daylight saving in chile (FS#9770)


-------------+
 PKGBUILD    |   16 ++++++++------
 chile.patch |   65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+), 6 deletions(-)


Index: core/base/tzdata/PKGBUILD
diff -u core/base/tzdata/PKGBUILD:1.6 core/base/tzdata/PKGBUILD:1.7
--- core/base/tzdata/PKGBUILD:1.6	Tue Jan  1 09:26:37 2008
+++ core/base/tzdata/PKGBUILD	Thu Mar  6 13:19:16 2008
@@ -1,8 +1,9 @@
+# $Id: PKGBUILD,v 1.7 2008/03/06 18:19:16 jgc Exp $
 # Maintainer: Andreas Radke <andyrtr at archlinux.org>
 
 pkgname=tzdata
 pkgver=2007k
-pkgrel=1
+pkgrel=2
 _tzcode=2007k
 _tzdata=2007k
 pkgdesc="Sources for time zone and daylight saving time data"
@@ -15,21 +16,24 @@
 options=()
 source=(ftp://elsie.nci.nih.gov/pub/tzcode${_tzcode}.tar.gz \
         ftp://elsie.nci.nih.gov/pub/${pkgname}${_tzdata}.tar.gz \
-        Makefile.patch)
+        Makefile.patch
+	chile.patch)
 md5sums=('1f1de10e168b78681756cc6411ea8145'
          '595b3b197174fa0c2dd654c52969fb2a'
-         'a64ed97d1fc03c66ee8612c0d9f40507')
+         'a64ed97d1fc03c66ee8612c0d9f40507'
+	 'df9426bc851188a51674ffbe2b7c9009')
 
 build() {
-  cd $startdir/src/
+  cd ${startdir}/src/
 
   tar -xf tzcode${_tzcode}.tar.gz  || return 1
   tar -xf ${pkgname}${_tzdata}.tar.gz || return 1
 
   patch -Np1 -i ../Makefile.patch || return 1
+  patch -Np0 -i ${startdir}/src/chile.patch || return 1
 
   make || return 1
-  make DESTDIR="$startdir/pkg" install
+  make DESTDIR="${startdir}/pkg" install
 
-  rm $startdir/pkg/usr/share/zoneinfo/localtime
+  rm ${startdir}/pkg/usr/share/zoneinfo/localtime
 }
Index: core/base/tzdata/chile.patch
diff -u /dev/null core/base/tzdata/chile.patch:1.1
--- /dev/null	Thu Mar  6 13:19:16 2008
+++ core/base/tzdata/chile.patch	Thu Mar  6 13:19:16 2008
@@ -0,0 +1,65 @@
+------- southamerica -------
+*** southamerica	Wed Mar  5 14:40:25 2008
+--- southamerica	Wed Mar  5 14:40:25 2008
+***************
+*** 1,4 ****
+! # @(#)southamerica	8.15
+  # <pre>
+
+  # This data is by no means authoritative; if you think you know better,
+--- 1,4 ----
+! # @(#)southamerica	8.18
+  # <pre>
+
+  # This data is by no means authoritative; if you think you know better,
+***************
+*** 759,764 ****
+--- 759,784 ----
+  # America/Santiago.  The pre-1980 Pacific/Easter data are dubious,
+  # but we have no other source.
+
++ # From German Poo-Caaman~o (2008-03-03):
++ # Due to drought, Chile extends Daylight Time in three weeks.  This
++ # is one-time change (Saturday 3/29 at 24:00 for America/Santiago
++ # and Saturday 3/29 at 22:00 for Pacific/Easter)
++ # The Supreme Decree is located at 
++ # <a href="http://www.shoa.cl/servicios/supremo316.pdf">
++ # http://www.shoa.cl/servicios/supremo316.pdf
++ # </a>
++ # and the instructions for 2008 are located in:
++ # <a href="http://www.horaoficial.cl/cambio.htm">
++ # http://www.horaoficial.cl/cambio.htm
++ # </a>.
++ 
++ # From José Miguel Garrido (2008-03-05):
++ # ...
++ # You could see the announces of the change on 
++ # <a href="http://www.shoa.cl/noticias/2008/04hora/hora.htm">
++ # http://www.shoa.cl/noticias/2008/04hora/hora.htm
++ # </a>.
++ 
+  # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
+  Rule	Chile	1927	1932	-	Sep	 1	0:00	1:00	S
+  Rule	Chile	1928	1932	-	Apr	 1	0:00	0	-
+***************
+*** 789,795 ****
+  Rule	Chile	1998	only	-	Sep	27	4:00u	1:00	S
+  Rule	Chile	1999	only	-	Apr	 4	3:00u	0	-
+  Rule	Chile	1999	max	-	Oct	Sun>=9	4:00u	1:00	S
+! Rule	Chile	2000	max	-	Mar	Sun>=9	3:00u	0	-
+  # IATA SSIM anomalies: (1992-02) says 1992-03-14;
+  # (1996-09) says 1998-03-08.  Ignore these.
+  # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
+--- 809,819 ----
+  Rule	Chile	1998	only	-	Sep	27	4:00u	1:00	S
+  Rule	Chile	1999	only	-	Apr	 4	3:00u	0	-
+  Rule	Chile	1999	max	-	Oct	Sun>=9	4:00u	1:00	S
+! Rule	Chile	2000	2007	-	Mar	Sun>=9	3:00u	0	-
+! # N.B.: the end of March 29 in Chile is March 30 in Universal time,
+! # which is used below in specifying the transition.
+! Rule	Chile	2008	only	-	Mar	30	3:00u	0	-
+! Rule	Chile	2009	max	-	Mar	Sun>=9	3:00u	0	-
+  # IATA SSIM anomalies: (1992-02) says 1992-03-14;
+  # (1996-09) says 1998-03-08.  Ignore these.
+  # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
+




More information about the arch-commits mailing list