From a12bc27a6a88244af44e277e613a5852c460c253 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 24 Mar 2007 07:17:23 +0000 Subject: [PATCH] Version bump #171557 by Rodrigo Severo. Package-Manager: portage-2.1.2.2 --- sys-libs/timezone-data/ChangeLog | 8 +- sys-libs/timezone-data/Manifest | 23 ++++-- .../files/digest-timezone-data-2007d | 6 ++ .../timezone-data/timezone-data-2007d.ebuild | 80 +++++++++++++++++++ 4 files changed, 109 insertions(+), 8 deletions(-) create mode 100644 sys-libs/timezone-data/files/digest-timezone-data-2007d create mode 100644 sys-libs/timezone-data/timezone-data-2007d.ebuild diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog index faad7c4c195c..d06678687f28 100644 --- a/sys-libs/timezone-data/ChangeLog +++ b/sys-libs/timezone-data/ChangeLog @@ -1,6 +1,12 @@ # 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.68 2007/03/13 22:14:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.69 2007/03/24 07:17:23 vapier Exp $ + +*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: diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest index 740ab1576e8b..162e689f0bd5 100644 --- a/sys-libs/timezone-data/Manifest +++ b/sys-libs/timezone-data/Manifest @@ -6,15 +6,21 @@ MD5 1f6ffc1a5b1396663c9f044be9806cf3 files/timezone-data-2005n-makefile.patch 35 RMD160 c08c65c6a6ae0392dfc5128801251c5d1c6d3b0d files/timezone-data-2005n-makefile.patch 3504 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 tzdata2007c.tar.gz 158198 RMD160 f63b65a0a0c8326080ed4eb0fbf1241d2308b6a3 SHA1 7767bd530f01a7656080b0f4409d359fe555bb14 SHA256 3575df0a341fef53240620423da519c6cba16212ab8b2576c9595b80deaf3af2 +DIST tzdata2007d.tar.gz 159373 RMD160 061a4444acd89c6890f435c24b38282a4b0db7b2 SHA1 1208779f097d19c020a0d2e6e8baa6721c36105e SHA256 33e6f84422c84bc02d83bb03fd741479896a9bb485fea3424afc406c32fb2278 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 SHA256 9acff8000c7cb5e0ae559b2a86ba6adec9c71e80a133bc8072c593eef1b87c3d timezone-data-2007c.ebuild 2347 -MISC ChangeLog 8959 RMD160 4cc54133a8d90a1c92f9e594d8074322d25fc83d SHA1 f8d68c7e21933d4c93fbee313947e6532de73e1f SHA256 c9a6a8a72cc167cd9612a50ab9b8eebab4d62b588d29ce5a5762a8b6680be592 -MD5 3b75cae397cee80a5d59fe99cbef0f40 ChangeLog 8959 -RMD160 4cc54133a8d90a1c92f9e594d8074322d25fc83d ChangeLog 8959 -SHA256 c9a6a8a72cc167cd9612a50ab9b8eebab4d62b588d29ce5a5762a8b6680be592 ChangeLog 8959 +EBUILD timezone-data-2007d.ebuild 2359 RMD160 d55287322de40df192587fe77e998a00fc42e2c7 SHA1 05e9082988c295b9b9f5799f2404b305bbe3f01a SHA256 8755140dc61299268b150a8d0be01e067edab2501bb264f78a3db909897ba7c5 +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 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a MD5 567094e03359ffc1c95af7356395228d metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162 @@ -22,10 +28,13 @@ SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a metadata MD5 1bdba8440036d4738e7e332201a0a6cb files/digest-timezone-data-2007c 470 RMD160 b9b4315c428fe2f88c9c4f1f2801c9b031ffae65 files/digest-timezone-data-2007c 470 SHA256 8115eae1debcca8293ce176bbc737046e393c4464ef2c2eccf7e30869da20259 files/digest-timezone-data-2007c 470 +MD5 1baec8cef37d1baa293908caa89a453b files/digest-timezone-data-2007d 470 +RMD160 ef10c3235ab4304832fd48cf34c7b612466bb66d files/digest-timezone-data-2007d 470 +SHA256 3be6f178fba5aad5b281b61856f13204df9226b200c127c618acc854d0062d2b files/digest-timezone-data-2007d 470 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFF9yIy8bi6rjpTunYRApXsAJ4oQ0ZxrJ4WAqWyuzVwQ7qUMCiW8QCgiFH0 -SNCVS86i5julU4SUtYfpObI= -=JEB8 +iD8DBQFGBNCi8bi6rjpTunYRAs58AJ0eBrH27VIphmCc8TIWKe96V8td8QCg2fs4 +MoZX4BRlAwehewtEubEJNuI= +=flO9 -----END PGP SIGNATURE----- diff --git a/sys-libs/timezone-data/files/digest-timezone-data-2007d b/sys-libs/timezone-data/files/digest-timezone-data-2007d new file mode 100644 index 000000000000..7ab09cf4ad5e --- /dev/null +++ b/sys-libs/timezone-data/files/digest-timezone-data-2007d @@ -0,0 +1,6 @@ +MD5 f63d242016ce0da0bafc0867e2824ad9 tzcode2007d.tar.gz 189157 +RMD160 f9149439b4e28c230804cba34e71dc0b039cb44a tzcode2007d.tar.gz 189157 +SHA256 af343c192091b854a74b1f5fdb485f99041c1c282dd19894fb9c0cca627f7c1c tzcode2007d.tar.gz 189157 +MD5 05ba08b08c773cd26b74a94205bf397f tzdata2007d.tar.gz 159373 +RMD160 061a4444acd89c6890f435c24b38282a4b0db7b2 tzdata2007d.tar.gz 159373 +SHA256 33e6f84422c84bc02d83bb03fd741479896a9bb485fea3424afc406c32fb2278 tzdata2007d.tar.gz 159373 diff --git a/sys-libs/timezone-data/timezone-data-2007d.ebuild b/sys-libs/timezone-data/timezone-data-2007d.ebuild new file mode 100644 index 000000000000..2fbf77906e84 --- /dev/null +++ b/sys-libs/timezone-data/timezone-data-2007d.ebuild @@ -0,0 +1,80 @@ +# 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-2007d.ebuild,v 1.1 2007/03/24 07:17:23 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 +} -- 2.26.2