summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-libs/timezone-data/ChangeLog8
-rw-r--r--sys-libs/timezone-data/Manifest10
-rw-r--r--sys-libs/timezone-data/timezone-data-2009m.ebuild106
3 files changed, 119 insertions, 5 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog
index 3d20f3752b81..67d3860cdecf 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-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.196 2009/08/17 20:29:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.197 2009/09/08 17:36:58 vapier Exp $
+
+*timezone-data-2009m (08 Sep 2009)
+
+ 08 Sep 2009; Mike Frysinger <vapier@gentoo.org>
+ +timezone-data-2009m.ebuild:
+ Version bump #284172 by Rodrigo Severo.
*timezone-data-2009l (17 Aug 2009)
diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest
index 143440ef5a61..1d7658897eff 100644
--- a/sys-libs/timezone-data/Manifest
+++ b/sys-libs/timezone-data/Manifest
@@ -7,15 +7,17 @@ DIST tzcode2009k.tar.gz 190353 RMD160 66147ee62cf9c1d2a8705b038f2be22742e1d5d7 S
DIST tzdata2009j.tar.gz 179277 RMD160 b431ed85e44ae54f136ba114daf349de011e36dc SHA1 a2ba077b7bb1c3113aadb17a98b26ec46de8c64e SHA256 ab6fb5b3588208ab0cade05dfa8d6ef9516bc719613a0676137e56c336cb7bb7
DIST tzdata2009k.tar.gz 179697 RMD160 bdd65122c7a1b244f71e5a7b23e70818615aacad SHA1 ed79f7267b75b216e28055996e126b5dbd87890b SHA256 fa82480e7e291b2273c7e4c0bc934aa93bc8567525ff7042cc821db816aa303a
DIST tzdata2009l.tar.gz 180137 RMD160 b9f6ac2c7a31265ce29a9e41c68956e593ff9444 SHA1 aec9300688b81aa7c018174de448686262e2a497 SHA256 a0caab89a45261137f38f61d19329fffe0e45e2c6d6e7a9b70ebef37c0fdde5f
+DIST tzdata2009m.tar.gz 180717 RMD160 c150cc7595add59972fd5d837f2a19ec093a9447 SHA1 350a69ada2418ba91c9f0886d02604504c64515f SHA256 7609980204940ceaf74b5a48d15ea0c079eaec627e149cf3d986cfed268881fe
EBUILD timezone-data-2009j.ebuild 3016 RMD160 bda8d1b4ad5e651e6d18035f8b1f2d12f36bacc4 SHA1 ccdd24f69527dbe310ed8d947d37cf57dca6755b SHA256 faed1c1ff600341f2450e28d6b7615ab648ac433aec6ee6d436a354e8dbe46c2
EBUILD timezone-data-2009k.ebuild 3024 RMD160 1af7f16185ded0b1e13ca5dc88610536e1573827 SHA1 40b7324dbc1262ea1af5e89979eeb1cb4bb2297e SHA256 0e5eaa419c5dbe56d585b4ab45a80a4b694b9793ee394cad6214046d51c7d456
EBUILD timezone-data-2009l.ebuild 3028 RMD160 eeb164de4430f4283ca062befc76ebaa733c5425 SHA1 f9aff0fabcf1044738b8b4eafb0462d5eb6bc87d SHA256 9cd795f4269197c9358ce37c12b6c3f729215350a5bee88d72a69ee1cc768ecb
-MISC ChangeLog 24739 RMD160 bd99e9dfc7c5dd188c6bd5853be189a3dd10fd57 SHA1 899439796d6fe28fcf463d5f09c0e2fcd09bc6aa SHA256 91ec4a23de35c31f229e3c793d1a3aa855be2e9bebddee92fc863473c002030a
+EBUILD timezone-data-2009m.ebuild 3028 RMD160 841be9a8204399b1409d9bd4b1afca15d63326cb SHA1 65e8c5b9aca22f5d065e9c7bea17ed3ec28b057e SHA256 8fe1232d4e095f6a36716c687bb528f3da93530bdaa3e990ccb96c47038afc6b
+MISC ChangeLog 24899 RMD160 f4c93e8f0a26c88a6cf9c7f0b687a4604b714e8e SHA1 0deb069978e4560544175df801d4161a4741a0d2 SHA256 bdddbb0e0be81b7b5d9bfcaba866b32df7620ce0b2d0b3f299df87fe6702e0ce
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkqJvZ8ACgkQlPl3HsVfCDq3vACeK8d3o67kpUjJVwGC/ylZvc8Y
-hEMAn01pfD1SO6vJ0jj444gz7gz8gIL5
-=ZBqK
+iEYEARECAAYFAkqmlk8ACgkQlPl3HsVfCDpmvQCfbvOY1lrB0ToHY/KQg/pqWqOH
+nA4AnR0Sq89XKMbUSvgFouvk3YZPL4Ef
+=R9v/
-----END PGP SIGNATURE-----
diff --git a/sys-libs/timezone-data/timezone-data-2009m.ebuild b/sys-libs/timezone-data/timezone-data-2009m.ebuild
new file mode 100644
index 000000000000..9a38c38f3bcd
--- /dev/null
+++ b/sys-libs/timezone-data/timezone-data-2009m.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2009m.ebuild,v 1.1 2009/09/08 17:36:58 vapier Exp $
+
+inherit eutils toolchain-funcs flag-o-matic
+
+code_ver=${PV/m/k}
+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
+ mirror://gentoo/tzdata${data_ver}.tar.gz
+ mirror://gentoo/tzcode${code_ver}.tar.gz"
+
+LICENSE="BSD public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="nls elibc_FreeBSD elibc_glibc"
+
+RDEPEND="!<sys-libs/glibc-2.3.5"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${PN}-2008h-makefile.patch
+ tc-is-cross-compiler && cp -pR "${S}" "${S}"-native
+}
+
+src_compile() {
+ local LDLIBS
+ tc-export CC
+ use elibc_FreeBSD && append-flags -DSTD_INSPIRED #138251
+ if use nls ; then
+ use elibc_glibc || LDLIBS="${LDLIBS} -lintl" #154181
+ export NLS=1
+ else
+ export NLS=0
+ fi
+ # Makefile uses LBLIBS for the libs (which defaults to LDFLAGS)
+ # But it also uses LFLAGS where it expects the real LDFLAGS
+ emake \
+ LDLIBS="${LDLIBS}" \
+ || die "emake failed"
+ if tc-is-cross-compiler ; then
+ emake -C "${S}"-native \
+ CC=$(tc-getBUILD_CC) \
+ CFLAGS="${BUILD_CFLAGS}" \
+ LDFLAGS="${BUILD_LDFLAGS}" \
+ LDLIBS="${LDLIBS}" \
+ zic || die
+ fi
+}
+
+src_install() {
+ local zic=""
+ tc-is-cross-compiler && zic="zic=${S}-native/zic"
+ emake 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 src
+
+ if has_version '<sys-apps/baselayout-2' ; then
+ src="/etc/conf.d/clock"
+ tz=$(unset TIMEZONE ; source "${ROOT}"/etc/conf.d/clock ; echo ${TIMEZONE-FOOKABLOIE})
+ else
+ src="/etc/timezone"
+ if [[ -e ${ROOT}/etc/timezone ]] ; then
+ tz=$(sed -e 's:#.*::' -e 's:[[:space:]]*::g' -e '/^$/d' "${ROOT}"/etc/timezone)
+ else
+ tz="FOOKABLOIE"
+ fi
+ fi
+ [[ -z ${tz} ]] && return 0
+
+ if [[ ${tz} == "FOOKABLOIE" ]] ; then
+ elog "You do not have TIMEZONE set in ${src}."
+
+ 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 ${src}"
+ 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
+}