Move timezone update to pkg_config so people can refresh it automatically as suggeste...
authorMike Frysinger <vapier@gentoo.org>
Sat, 13 Jan 2007 19:01:03 +0000 (19:01 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 13 Jan 2007 19:01:03 +0000 (19:01 +0000)
Package-Manager: portage-2.1.2_rc4-r8

sys-libs/timezone-data/ChangeLog
sys-libs/timezone-data/Manifest
sys-libs/timezone-data/timezone-data-2007a.ebuild

index 74693392c449eb9e77d551eb93065d0bad3765ad..c38b5f06687588df94810722a50acb612bdc4417 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-libs/timezone-data
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.57 2007/01/09 20:15:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.58 2007/01/13 19:01:03 vapier Exp $
+
+  13 Jan 2007; Mike Frysinger <vapier@gentoo.org>
+  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 <vapier@gentoo.org>
   files/timezone-data-2005n-makefile.patch:
index 4c009424fef58859ce824ed2387a996bb51294fb..a1af630119a4582c0aecac59911c6dadb11f0200 100644 (file)
@@ -19,14 +19,14 @@ EBUILD timezone-data-2006p.ebuild 2166 RMD160 2ff19d4775dcce56aa7b36f317acab59aa
 MD5 8eceee0803d1d9ab73ba9202d3ec4441 timezone-data-2006p.ebuild 2166
 RMD160 2ff19d4775dcce56aa7b36f317acab59aab2a5ec timezone-data-2006p.ebuild 2166
 SHA256 c747cdc25ddfbca74db5d59a1ebde54032452e241e2c4e7b463eaece9fd1df52 timezone-data-2006p.ebuild 2166
-EBUILD timezone-data-2007a.ebuild 2179 RMD160 3a3f25a15ca50ec9192cf71bc03092b0e728fcf8 SHA1 0985c40d249ef3558f306f0b5ce487b9f17bd1da SHA256 cca353e4dc649f1c2a00642aff07caf8d14b8d9a9f1554e93d87d3e6abc0800f
-MD5 12c3572c51bc170ee8736f758f326fb6 timezone-data-2007a.ebuild 2179
-RMD160 3a3f25a15ca50ec9192cf71bc03092b0e728fcf8 timezone-data-2007a.ebuild 2179
-SHA256 cca353e4dc649f1c2a00642aff07caf8d14b8d9a9f1554e93d87d3e6abc0800f timezone-data-2007a.ebuild 2179
-MISC ChangeLog 7546 RMD160 4b409eeeda10f5da5bdeccd44518b1bcca810d34 SHA1 e8d89ed9395a7ffba76f2d339ae795ec3e4e21e7 SHA256 9f5abb9faebf10de5eeb3b1f6eb5acfc287d2563b1aadca788ee12c5a976cdba
-MD5 093604195ff2fae1400d60733c6ab497 ChangeLog 7546
-RMD160 4b409eeeda10f5da5bdeccd44518b1bcca810d34 ChangeLog 7546
-SHA256 9f5abb9faebf10de5eeb3b1f6eb5acfc287d2563b1aadca788ee12c5a976cdba ChangeLog 7546
+EBUILD timezone-data-2007a.ebuild 2243 RMD160 2c3788bb1fd145d8eccfed794a96ba1668ecfeac SHA1 3ce7e9118ba1a312c443583126b5bee1363988ed SHA256 724ba207dc7a42b6809f699a4f77d0fbc9d7e5ab0178904ba62c0fec634f5545
+MD5 7e8ac5d4fa2ed371e66c41bde414c3b9 timezone-data-2007a.ebuild 2243
+RMD160 2c3788bb1fd145d8eccfed794a96ba1668ecfeac timezone-data-2007a.ebuild 2243
+SHA256 724ba207dc7a42b6809f699a4f77d0fbc9d7e5ab0178904ba62c0fec634f5545 timezone-data-2007a.ebuild 2243
+MISC ChangeLog 7737 RMD160 f827ddba11d029045263e95549dcb6b7069af8d4 SHA1 bd2bd3765b94c10bfd635f05b5b4375dc45830ea SHA256 d7fcd2a6fd7f785b84e840ec48412e5d2b5d0930bae408a9a8cf05d5b5cecb25
+MD5 5ace4bd4ed6071a09624c80b41afb3dd ChangeLog 7737
+RMD160 f827ddba11d029045263e95549dcb6b7069af8d4 ChangeLog 7737
+SHA256 d7fcd2a6fd7f785b84e840ec48412e5d2b5d0930bae408a9a8cf05d5b5cecb25 ChangeLog 7737
 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
 MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162
@@ -43,7 +43,7 @@ SHA256 00bd4d260d3b1844384a449bb87cb00da184902226cc3ebec4119095aae93a0a files/di
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.1 (GNU/Linux)
 
-iD8DBQFFo/f08bi6rjpTunYRAoSuAKCRscRURZPtZqId2cdvUJI7kYfmdgCcCPCm
-3IYtXp1bjSUOxr1yTvQh8rc=
-=O42v
+iD8DBQFFqSyH8bi6rjpTunYRAhwkAKDZcEW2louLvGKw7CdHkAfRo0ALWgCgrkV4
+tfXIR/xw6LGpNjym67tJ+pc=
+=wl+i
 -----END PGP SIGNATURE-----
index 64f87c3d700ac33a132e69eff7d3cffdeadded4e..985237507855661ead77b45d5e43840869cdedd7 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2007a.ebuild,v 1.1 2007/01/09 00:28:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2007a.ebuild,v 1.2 2007/01/13 19:01:03 vapier Exp $
 
 inherit eutils toolchain-funcs flag-o-matic
 
@@ -50,7 +50,7 @@ src_install() {
        dohtml *.htm *.jpg
 }
 
-pkg_postinst() {
+pkg_config() {
        # make sure the /etc/localtime file does not get stale #127899
        local tz=$(source "${ROOT}"/etc/conf.d/clock ; echo ${TIMEZONE})
        if [[ -z ${tz} ]] ; then
@@ -68,6 +68,10 @@ pkg_postinst() {
                tz="Factory"
        fi
        einfo "Updating /etc/localtime with /usr/share/zoneinfo/${tz}"
-       rm -f "${ROOT}"/etc/localtime
+       [[ -L ${ROOT}/etc/localtime ]] && rm -f "${ROOT}"/etc/localtime
        cp -f "${ROOT}"/usr/share/zoneinfo/"${tz}" "${ROOT}"/etc/localtime
 }
+
+pkg_postinst() {
+       pkg_config
+}