DIST tzcode2006p.tar.gz 187340 RMD160 d076f1bd80a3c6676cb32b0f4b2d67a76d66af29 SHA1 f540c84539b0b5e0f33a3659aab5940a9d399ec1 SHA256 abbe9907e5d1073e9190700527428e3af65a25edb2516259c0bf42785f20df53
DIST tzcode2007a.tar.gz 187427 RMD160 08360e03bece6b85b27db910485446e074f42fcb SHA1 9d2a721b8297f43cea0a0681851bf475d1291de4 SHA256 b1f6d2bba4d13f8a8ddef946833caa612efbfa64850052317cadf1ad2b706e63
DIST tzcode2007b.tar.gz 187437 RMD160 2fa306e020662aaf30f832876be56c71a08dd685 SHA1 6cb7edb13d5c99b0c4b777abfa34412dc3071a26 SHA256 2710535e40d387043b9435c6e1bf470a5cb98c298e4ae7f7c8c215a7ae425843
+DIST tzcode2007c.tar.gz 189109 RMD160 e6b7c7a1c832d0ac0b78a87efa56b8282f7ce304 SHA1 6af4f83d4b4a54c185ce7d5b0bea19c8706f422c SHA256 3c976bdd5c5657b46aabb7e3af20e325e94cfb790e2859f1c9de7ec465562546
DIST tzdata2006g.tar.gz 153042 RMD160 b45ba26d1d34f8e591a4f6e4fe95450ba93bfdef SHA1 ecb25c4cc858f1bf3ec2be148d9d72e3563dbefb SHA256 028a5d8bc3771876cf43b497e8b8691acae8263af34b0a8de3e014f01a5558d0
DIST tzdata2006p.tar.gz 157220 RMD160 846f6d6d65bbad0e9cd1f346e7cfc78ed5bcb116 SHA1 aa9c9d98ec369f93096d83e23c33b8042503dc55 SHA256 6b246374b468d8ead477541f4624b74cd1da2b3de7ef757a3fc40ca29cfb29bc
DIST tzdata2007a.tar.gz 157506 RMD160 3f4d0a7fc49a69f1b1bf396dafc856c6f4e235b6 SHA1 f1c051d9f47ad0b23f9a60705c12980f268303df SHA256 7866826c0fd0810af2bb2b240c81961b0350c1fa42db870baa33c6126039e0d3
DIST tzdata2007b.tar.gz 157432 RMD160 b33cf3046265dea56e6efb6fcb0172932a823f61 SHA1 72d2793f0a0fb324cd81702f49c0e7f02e522a9a SHA256 f1dcc1c615a792c0f72704119faf141e7408f8c94d876e478e052fa33b5a1cb1
+DIST tzdata2007c.tar.gz 158198 RMD160 f63b65a0a0c8326080ed4eb0fbf1241d2308b6a3 SHA1 7767bd530f01a7656080b0f4409d359fe555bb14 SHA256 3575df0a341fef53240620423da519c6cba16212ab8b2576c9595b80deaf3af2
EBUILD timezone-data-2006g.ebuild 1432 RMD160 1d6a835f50d38a7fc1f48b2cd81740e26e470830 SHA1 8d2f181954846d3e3a574634a8e3a8ab3c20dfc8 SHA256 f38412a5e42caf5fc87163a30d2368de76a467731ca3398dda8bb6984bb4829b
MD5 357a0738b1cab7d15fc7cc25e695c110 timezone-data-2006g.ebuild 1432
RMD160 1d6a835f50d38a7fc1f48b2cd81740e26e470830 timezone-data-2006g.ebuild 1432
MD5 283b7c455f8d11abefb4b566e24a2fe1 timezone-data-2007b.ebuild 2243
RMD160 d33fc3bc083ef231bc0e5b09077c0c5f79a10b79 timezone-data-2007b.ebuild 2243
SHA256 8dd7bed2b9cbc215dbc52f11c1627c69f8482daf16c8fa58295a810a0d46a354 timezone-data-2007b.ebuild 2243
-MISC ChangeLog 7897 RMD160 84d58f3d4a036ff2295b2dc2a26b84003d770d16 SHA1 05f59bbf95390493740a2610768f2c2f5ba2a544 SHA256 ffba38c6ac33b098ca84a89c05caabf4870e95b244b25097f116dcdb11ef61fc
-MD5 d54ef38d3beb40353e1cc7fea7e8d1c5 ChangeLog 7897
-RMD160 84d58f3d4a036ff2295b2dc2a26b84003d770d16 ChangeLog 7897
-SHA256 ffba38c6ac33b098ca84a89c05caabf4870e95b244b25097f116dcdb11ef61fc ChangeLog 7897
+EBUILD timezone-data-2007c.ebuild 2243 RMD160 12c05f669e937dac1c94f537b6f853a714db7bf1 SHA1 8f571bb3cb2998521ee42b45b463588a946a02e6 SHA256 84e5976a807894cc035fdd94b9b0863051c7bf9c22066de797896deb65d4903c
+MD5 d956426d0ebaeef843ad6430baa2ae91 timezone-data-2007c.ebuild 2243
+RMD160 12c05f669e937dac1c94f537b6f853a714db7bf1 timezone-data-2007c.ebuild 2243
+SHA256 84e5976a807894cc035fdd94b9b0863051c7bf9c22066de797896deb65d4903c timezone-data-2007c.ebuild 2243
+MISC ChangeLog 8052 RMD160 2d39dcce36e2b455d24a25b81d95f463e7bda689 SHA1 af0a400fe0fa11c0adbcadf2d4264fed7ccb0cbb SHA256 6a7ba05445c87a648a1f0d7531d149f9dcd415505e01590a5fce91ab893fd93b
+MD5 0d1e37747deb0ff418116608f109566a ChangeLog 8052
+RMD160 2d39dcce36e2b455d24a25b81d95f463e7bda689 ChangeLog 8052
+SHA256 6a7ba05445c87a648a1f0d7531d149f9dcd415505e01590a5fce91ab893fd93b ChangeLog 8052
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162
MD5 583d2e91ac0388d2747112466d238e6d files/digest-timezone-data-2007b 470
RMD160 fa3ed7e0b1f931d0e80f0d239014a0a7180a35f7 files/digest-timezone-data-2007b 470
SHA256 91d42b97beded09b39a54627f74e534a40da08615fbf540b4ec42892e2d77ffa files/digest-timezone-data-2007b 470
+MD5 1bdba8440036d4738e7e332201a0a6cb files/digest-timezone-data-2007c 470
+RMD160 b9b4315c428fe2f88c9c4f1f2801c9b031ffae65 files/digest-timezone-data-2007c 470
+SHA256 8115eae1debcca8293ce176bbc737046e393c4464ef2c2eccf7e30869da20259 files/digest-timezone-data-2007c 470
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (GNU/Linux)
-iD8DBQFF0IwG8bi6rjpTunYRAv8FAKDHhXFqmNkN756EcQVW3awLdJmPPQCg1Irh
-OwWX+YPD6ScyDfMSr1rMEg4=
-=Naxp
+iD8DBQFF5EME8bi6rjpTunYRAiV+AJ9MK34e7BoADc7Cazvf+55LsQgg/gCdEaY6
+JBpVJCLF6v6+9NCC4depDak=
+=tRpv
-----END PGP SIGNATURE-----
--- /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-2007c.ebuild,v 1.1 2007/02/27 14:39:41 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=$(source "${ROOT}"/etc/conf.d/clock ; echo ${TIMEZONE})
+ if [[ -z ${tz} ]] ; then
+ if [[ ! -e ${ROOT}/etc/localtime ]] ; then
+ cp -f "${ROOT}"/usr/share/zoneinfo/Factory "${ROOT}"/etc/localtime
+ fi
+ ewarn "You do not have TIMEZONE set in /etc/conf.d/clock."
+ ewarn "Skipping auto-update of /etc/localtime."
+ return 0
+ fi
+
+ if [[ ! -e ${ROOT}/usr/share/zoneinfo/${tz} ]] ; then
+ eerror "You have an invalid TIMEZONE setting in /etc/conf.d/clock."
+ eerror "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
+}