summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-27 01:14:26 +0000
committerMike Frysinger <vapier@gentoo.org>2009-10-27 01:14:26 +0000
commit077bffe9834c35132bafd6da566341576e1a1328 (patch)
tree5e86521650dbbedb3497d37c992c157ef283eee8 /sys-libs/timezone-data
parentLinux 2.6.31.5 and old version cleanup (diff)
downloadhistorical-077bffe9834c35132bafd6da566341576e1a1328.tar.gz
historical-077bffe9834c35132bafd6da566341576e1a1328.tar.bz2
historical-077bffe9834c35132bafd6da566341576e1a1328.zip
Version bump #290566 by Rodrigo Severo.
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'sys-libs/timezone-data')
-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-2009p.ebuild106
3 files changed, 119 insertions, 5 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog
index 95767981e7aa..11313dbf7c67 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.206 2009/10/20 16:46:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.207 2009/10/27 01:14:26 vapier Exp $
+
+*timezone-data-2009p (27 Oct 2009)
+
+ 27 Oct 2009; Mike Frysinger <vapier@gentoo.org>
+ +timezone-data-2009p.ebuild:
+ Version bump #290566 by Rodrigo Severo.
*timezone-data-2009o (20 Oct 2009)
diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest
index 08c198dee427..ef627d2f7445 100644
--- a/sys-libs/timezone-data/Manifest
+++ b/sys-libs/timezone-data/Manifest
@@ -11,6 +11,7 @@ DIST tzdata2009l.tar.gz 180137 RMD160 b9f6ac2c7a31265ce29a9e41c68956e593ff9444 S
DIST tzdata2009m.tar.gz 180717 RMD160 c150cc7595add59972fd5d837f2a19ec093a9447 SHA1 350a69ada2418ba91c9f0886d02604504c64515f SHA256 7609980204940ceaf74b5a48d15ea0c079eaec627e149cf3d986cfed268881fe
DIST tzdata2009n.tar.gz 181140 RMD160 3466b00f8a31febdd3962e667ea20f06f97907ca SHA1 ec4ce1ab087989e7fe0918bc50931b51405961b3 SHA256 7b08bb8a98ad8a06e2cafda05ab21f2a69b2d64252dfc9435c93094d979e7c5a
DIST tzdata2009o.tar.gz 182254 RMD160 0498d43cc95e7b2f9b9b3655957dbd1f29763deb SHA1 a573011879eb5946ecd641779e3331112909f0c6 SHA256 5fbd4053a4eb01b814799855e35a3c01743f98acf9fcd167522e6484a2edd7b7
+DIST tzdata2009p.tar.gz 182635 RMD160 9f462caa329409a51862cf56e432f8ad6f20bd08 SHA1 2fe3219c9e59b7a6bd161fc340e18e27d3bcb473 SHA256 7182ad6f03bfe16ccdbac4a3efb9e765ea7c51afc33c3a7fefb053122aa6da2c
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
@@ -18,12 +19,13 @@ EBUILD timezone-data-2009m.ebuild 3018 RMD160 130ea8a11fc4a1459fd9848f505366cb20
EBUILD timezone-data-2009n-r1.ebuild 3082 RMD160 b776538c941e9010998d1b225c7a873fbb5f2aff SHA1 47d855cc9df2069521753acf4cd0132bd2fd18bf SHA256 b7dd5f1903eae02d54722ff1380b9cac49f6dbb8cb515b99d37f67a59ad9deb0
EBUILD timezone-data-2009n.ebuild 3028 RMD160 71722ba8c60aea4bf73fc58d7e2cdd881ab2373b SHA1 a5ec9deedd389e711a1fe0034c9d90117d2bd869 SHA256 652bceacc7066c2544144f11df6f1d751ad41782225bd94845be7b1ee05835f0
EBUILD timezone-data-2009o.ebuild 3086 RMD160 0810733440ae4ab492e20f0187954af21a1c1bea SHA1 e5bfeb164ccf43e9eb604ebe71dd8225d0a4b7a6 SHA256 1daa3659674e9673dcf3a7bb28da5773ee92750efced4820bedac4d0ca88a073
-MISC ChangeLog 26134 RMD160 0f2c0e77fc0c5c37e2c489b1ab203a7441d9eb5c SHA1 63e9aadcfb6ff6110f36d81f67138b497a6daa5b SHA256 d3e7fb9d9812a298d73a5c5cef56e821843da99871b377f31b7defc17aabcfa5
+EBUILD timezone-data-2009p.ebuild 3028 RMD160 c819792414921e515393e64db73782e9e6c47a3a SHA1 b3c951d6b9f16452147389e251c6343ed1065452 SHA256 e9a98a1895419cb9db2033ed8b1299d40e0b5dedac4211446d22fe28b69d9354
+MISC ChangeLog 26294 RMD160 29bd864a6523b379679673acb3d7327658a8397f SHA1 0f9e61afe4902552dd80eabc8067335ae4247beb SHA256 861c6587e6027768a98d05d12768e1b2003403ad2cfa58113e44802e9db515ca
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAkrd6X8ACgkQlPl3HsVfCDrEkwCdHaB7oEhQYj/OG3iT1m7Folvh
-/f0AnjkgG+S2vZoCyA/rT00kNtKIWftJ
-=aFvT
+iEYEARECAAYFAkrmSX4ACgkQlPl3HsVfCDrbSgCfXDDhWnqBFQftaKbwjG4eUYeA
+Jc0AmgI5GsBua3ZX/b5+Wdu9UgiUXreb
+=+5I1
-----END PGP SIGNATURE-----
diff --git a/sys-libs/timezone-data/timezone-data-2009p.ebuild b/sys-libs/timezone-data/timezone-data-2009p.ebuild
new file mode 100644
index 000000000000..dc8f1994806a
--- /dev/null
+++ b/sys-libs/timezone-data/timezone-data-2009p.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-2009p.ebuild,v 1.1 2009/10/27 01:14:26 vapier Exp $
+
+inherit eutils toolchain-funcs flag-o-matic
+
+code_ver=${PV/p/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
+}