# 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.69 2007/03/24 07:17:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.70 2007/04/02 20:46:16 vapier Exp $
+
+*timezone-data-2007e (02 Apr 2007)
+
+ 02 Apr 2007; Mike Frysinger <vapier@gentoo.org>
+ +timezone-data-2007e.ebuild:
+ Version bump #173143 by Rodrigo Severo.
*timezone-data-2007d (24 Mar 2007)
SHA256 5eb2068da4df12a2eb84caebe262c285b62e244e046b50869b6a80e16401d707 files/timezone-data-2005n-makefile.patch 3504
DIST tzcode2007c.tar.gz 189109 RMD160 e6b7c7a1c832d0ac0b78a87efa56b8282f7ce304 SHA1 6af4f83d4b4a54c185ce7d5b0bea19c8706f422c SHA256 3c976bdd5c5657b46aabb7e3af20e325e94cfb790e2859f1c9de7ec465562546
DIST tzcode2007d.tar.gz 189157 RMD160 f9149439b4e28c230804cba34e71dc0b039cb44a SHA1 3ba4884a2b3c2da830098f04d26ae401c961dfc1 SHA256 af343c192091b854a74b1f5fdb485f99041c1c282dd19894fb9c0cca627f7c1c
+DIST tzcode2007e.tar.gz 189157 RMD160 2f8315f13840921e718aad0c35b2bc4c02b08350 SHA1 3be8199d0db90df13913d3c33a6e90cdaf15e147 SHA256 86d0db25f691ba5b86939e8a5911939b9b306d1deb13fccc5d7f899a9fdabac3
DIST tzdata2007c.tar.gz 158198 RMD160 f63b65a0a0c8326080ed4eb0fbf1241d2308b6a3 SHA1 7767bd530f01a7656080b0f4409d359fe555bb14 SHA256 3575df0a341fef53240620423da519c6cba16212ab8b2576c9595b80deaf3af2
DIST tzdata2007d.tar.gz 159373 RMD160 061a4444acd89c6890f435c24b38282a4b0db7b2 SHA1 1208779f097d19c020a0d2e6e8baa6721c36105e SHA256 33e6f84422c84bc02d83bb03fd741479896a9bb485fea3424afc406c32fb2278
+DIST tzdata2007e.tar.gz 159753 RMD160 a9c48fb31700f3d0cd261faefc145048fc781990 SHA1 c559ce346e0b7ac592094f3a74c2c35d26ef4897 SHA256 51d14a60ea12aa901bf91e5d39ea30c13ffdc299640e8ec9cb0d35a128874767
EBUILD timezone-data-2007c.ebuild 2347 RMD160 33e222ce6d63e57fc7da567d49cbfa3a4a3da382 SHA1 9c8d71f2e0485a9049383c5dba5027f05c0bef58 SHA256 9acff8000c7cb5e0ae559b2a86ba6adec9c71e80a133bc8072c593eef1b87c3d
MD5 57edbb42f9b2a1912e0084ea78f11437 timezone-data-2007c.ebuild 2347
RMD160 33e222ce6d63e57fc7da567d49cbfa3a4a3da382 timezone-data-2007c.ebuild 2347
MD5 28ceb47027e2bdb0510a0cc0bec37637 timezone-data-2007d.ebuild 2359
RMD160 d55287322de40df192587fe77e998a00fc42e2c7 timezone-data-2007d.ebuild 2359
SHA256 8755140dc61299268b150a8d0be01e067edab2501bb264f78a3db909897ba7c5 timezone-data-2007d.ebuild 2359
-MISC ChangeLog 9119 RMD160 99899fcab38e27a6b17db0982c26e0515d10ed61 SHA1 95d044e00e0390f0439a4214852ea77f882b469c SHA256 6e1044808ae2bc1e8f03438ece28f549ed00fd878f1fde3a59cba18ded744a6f
-MD5 a03a03e01a96830cc464eace9c418e33 ChangeLog 9119
-RMD160 99899fcab38e27a6b17db0982c26e0515d10ed61 ChangeLog 9119
-SHA256 6e1044808ae2bc1e8f03438ece28f549ed00fd878f1fde3a59cba18ded744a6f ChangeLog 9119
+EBUILD timezone-data-2007e.ebuild 2359 RMD160 205a460852557a9631fd381682c596d4ba0ab34d SHA1 82c12728620894c6294f903b9fc92241bcd17974 SHA256 c8fb24870352290fa507d541d68b10aca6af7a70e9df402f381c165b6ebc23be
+MD5 742873d98ba5bfb146377ec872e5c6f8 timezone-data-2007e.ebuild 2359
+RMD160 205a460852557a9631fd381682c596d4ba0ab34d timezone-data-2007e.ebuild 2359
+SHA256 c8fb24870352290fa507d541d68b10aca6af7a70e9df402f381c165b6ebc23be timezone-data-2007e.ebuild 2359
+MISC ChangeLog 9279 RMD160 59ce5f0b7415fdbb3d59b1402474b465f2e98283 SHA1 564db0392ed0bdcbcb2cad739cd900d8b891d601 SHA256 2f62474f190548ee7ca34e7250b99486d095e6c3598a9983d74939215ef9812c
+MD5 fb5e7b11d00b45fbe5b7e8aac4ddd09c ChangeLog 9279
+RMD160 59ce5f0b7415fdbb3d59b1402474b465f2e98283 ChangeLog 9279
+SHA256 2f62474f190548ee7ca34e7250b99486d095e6c3598a9983d74939215ef9812c ChangeLog 9279
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162
MD5 1baec8cef37d1baa293908caa89a453b files/digest-timezone-data-2007d 470
RMD160 ef10c3235ab4304832fd48cf34c7b612466bb66d files/digest-timezone-data-2007d 470
SHA256 3be6f178fba5aad5b281b61856f13204df9226b200c127c618acc854d0062d2b files/digest-timezone-data-2007d 470
+MD5 5c79201e73b9999decd960e89ba928f7 files/digest-timezone-data-2007e 470
+RMD160 7bd74df76d4fd4e3b25501fcaa3d4f73d2131f7a files/digest-timezone-data-2007e 470
+SHA256 1a8c1dd04375b04e0382c60aabe9716fb16cbab014a73dd49f735ffb0ab0f0b7 files/digest-timezone-data-2007e 470
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFGBNCi8bi6rjpTunYRAs58AJ0eBrH27VIphmCc8TIWKe96V8td8QCg2fs4
-MoZX4BRlAwehewtEubEJNuI=
-=flO9
+iD8DBQFGEWu/8bi6rjpTunYRAhv1AJ0Ui3bDj8AaiVTGULk5MEmCAy4e7gCgkgPC
+AqlakM0chLlequE30vhzhO8=
+=9ra9
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 4ac16fb9de55c6e8e4c86b4e3613fbcf tzcode2007e.tar.gz 189157
+RMD160 2f8315f13840921e718aad0c35b2bc4c02b08350 tzcode2007e.tar.gz 189157
+SHA256 86d0db25f691ba5b86939e8a5911939b9b306d1deb13fccc5d7f899a9fdabac3 tzcode2007e.tar.gz 189157
+MD5 b74e5f71714e5222340f1fb30da30a76 tzdata2007e.tar.gz 159753
+RMD160 a9c48fb31700f3d0cd261faefc145048fc781990 tzdata2007e.tar.gz 159753
+SHA256 51d14a60ea12aa901bf91e5d39ea30c13ffdc299640e8ec9cb0d35a128874767 tzdata2007e.tar.gz 159753
--- /dev/null
+# 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-2007e.ebuild,v 1.1 2007/04/02 20:46:16 vapier Exp $
+
+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="ftp://elsie.nci.nih.gov/pub/"
+SRC_URI="ftp://elsie.nci.nih.gov/pub/tzdata${data_ver}.tar.gz
+ ftp://elsie.nci.nih.gov/pub/tzcode${code_ver}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="nls"
+
+DEPEND=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${PN}-2005n-makefile.patch
+ tc-is-cross-compiler && cp -pR "${S}" "${S}"-native
+}
+
+src_compile() {
+ tc-export CC
+ use elibc_FreeBSD && append-flags -DSTD_INSPIRED #138251
+ if use nls ; then
+ use elibc_glibc || append-ldflags -lintl #154181
+ export NLS=1
+ else
+ export NLS=0
+ fi
+ emake || die "emake failed"
+ if tc-is-cross-compiler ; then
+ make -C "${S}"-native CC=$(tc-getBUILD_CC) zic || die
+ fi
+}
+
+src_install() {
+ local zic=""
+ tc-is-cross-compiler && zic="zic=${S}-native/zic"
+ make install ${zic} DESTDIR="${D}" || die
+ rm -rf "${D}"/usr/share/zoneinfo-leaps
+ dodoc README Theory
+ dohtml *.htm *.jpg
+}
+
+pkg_config() {
+ # make sure the /etc/localtime file does not get stale #127899
+ local tz=$(unset TIMEZONE ; source "${ROOT}"/etc/conf.d/clock ; echo ${TIMEZONE-FOOKABLOIE})
+ [[ -z ${tz} ]] && return 0
+ if [[ ${tz} == "FOOKABLOIE" ]] ; then
+ elog "You do not have TIMEZONE set in /etc/conf.d/clock."
+ if [[ ! -e ${ROOT}/etc/localtime ]] ; then
+ cp -f "${ROOT}"/usr/share/zoneinfo/Factory "${ROOT}"/etc/localtime
+ elog "Setting /etc/localtime to Factory."
+ else
+ elog "Skipping auto-update of /etc/localtime."
+ fi
+ return 0
+ fi
+
+ if [[ ! -e ${ROOT}/usr/share/zoneinfo/${tz} ]] ; then
+ elog "You have an invalid TIMEZONE setting in /etc/conf.d/clock."
+ elog "Your /etc/localtime has been reset to Factory; enjoy!"
+ tz="Factory"
+ fi
+ einfo "Updating /etc/localtime with /usr/share/zoneinfo/${tz}"
+ [[ -L ${ROOT}/etc/localtime ]] && rm -f "${ROOT}"/etc/localtime
+ cp -f "${ROOT}"/usr/share/zoneinfo/"${tz}" "${ROOT}"/etc/localtime
+}
+
+pkg_postinst() {
+ pkg_config
+}