summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-12-26 17:00:45 +0000
committerMike Frysinger <vapier@gentoo.org>2009-12-26 17:00:45 +0000
commit14dbd4a40d6cf191d78f0793baf543b531ddda0b (patch)
treeb1d1fd6f480b5d66b309f5898c585a59500ae09c /sys-libs
parentold (diff)
downloadhistorical-14dbd4a40d6cf191d78f0793baf543b531ddda0b.tar.gz
historical-14dbd4a40d6cf191d78f0793baf543b531ddda0b.tar.bz2
historical-14dbd4a40d6cf191d78f0793baf543b531ddda0b.zip
Version bump #297816 by Rodrigo Severo.
Package-Manager: portage-2.2_rc60/cvs/Linux x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/timezone-data/ChangeLog8
-rw-r--r--sys-libs/timezone-data/Manifest23
-rw-r--r--sys-libs/timezone-data/timezone-data-2009t.ebuild106
3 files changed, 121 insertions, 16 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog
index 7c249ad984a0..8a0e8a03448a 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.217 2009/12/13 03:50:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.218 2009/12/26 17:00:45 vapier Exp $
+
+*timezone-data-2009t (26 Dec 2009)
+
+ 26 Dec 2009; Mike Frysinger <vapier@gentoo.org>
+ +timezone-data-2009t.ebuild:
+ Version bump #297816 by Rodrigo Severo.
13 Dec 2009; Mike Frysinger <vapier@gentoo.org>
timezone-data-2009s.ebuild:
diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest
index 72afe3c690b1..d6ec3cc40e68 100644
--- a/sys-libs/timezone-data/Manifest
+++ b/sys-libs/timezone-data/Manifest
@@ -1,26 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX timezone-data-2008h-makefile.patch 4037 RMD160 b7b9926ccee050dd18f2c33f2654a0b6dc4d35e0 SHA1 281539ae7f6fd804fc1e7ec9533552fa7fd50d88 SHA256 fc496b869ed6b70c60b0fcdea0a176e31c9405c96e6bf73b5edc26339de66c39
-DIST tzcode2009k.tar.gz 190353 RMD160 66147ee62cf9c1d2a8705b038f2be22742e1d5d7 SHA1 91af66846aaec13de2de610433d31151bb890b7d SHA256 2581f4ce19b11e4218ad0b2859679485af1cefe036f52643c8fb20024c8f5d45
-DIST tzcode2009q.tar.gz 190865 RMD160 7a572f165dcd5edd23ab5885233dbfb36e8d048f SHA1 818a78d5d05b83d6744a1332a945e025cd371614 SHA256 c523b0aee4c7a4423ef04f1874b3e6b1e15ae2d86177befc15253c5a32d951a9
DIST tzcode2009r.tar.gz 191114 RMD160 237f47a92f212afce3f0030d17c13a4465ff78ac SHA1 02ad606c1236f6ffa836799b09b58dfcaa608982 SHA256 49031541192a109fd9beddd07695cecf5ec90d09088c59b1d917c91f8f6081b2
-DIST tzdata2009m.tar.gz 180717 RMD160 c150cc7595add59972fd5d837f2a19ec093a9447 SHA1 350a69ada2418ba91c9f0886d02604504c64515f SHA256 7609980204940ceaf74b5a48d15ea0c079eaec627e149cf3d986cfed268881fe
-DIST tzdata2009p.tar.gz 182635 RMD160 9f462caa329409a51862cf56e432f8ad6f20bd08 SHA1 2fe3219c9e59b7a6bd161fc340e18e27d3bcb473 SHA256 7182ad6f03bfe16ccdbac4a3efb9e765ea7c51afc33c3a7fefb053122aa6da2c
-DIST tzdata2009q.tar.gz 183958 RMD160 bc1fecfaaa7fcf56214c64e679acffa045e1bbb2 SHA1 832f6af2d62015bf0e514303913d423c7d849f74 SHA256 5ea1abc8b08dd7f67b53488a497d61f9617ed92d094e508e103049430518a19a
-DIST tzdata2009r.tar.gz 184143 RMD160 82c13a3dd96d51349b174e17bfd718bc2f92c5ab SHA1 7ea0ee6ed935d6d50090ad57da286e85e0362285 SHA256 684d23e3ebe825c9db90732534446f4e33f5ad4455980b15fd9eb2e4ba5a6731
+DIST tzcode2009t.tar.gz 191325 RMD160 6071d69d9367211cfe2ea32c9467f7317bb511d2 SHA1 2bc3abe70dd8b83582c22edaa86bf066c5508a36 SHA256 97f64d7056d6c18e6b4e1619bf94fc625a3d08413d238e0c5a5faba714a2297f
DIST tzdata2009s.tar.gz 184326 RMD160 3feadcbd8738b5ae1a3d6bba05a2c9644de9a1c1 SHA1 c870aab416411056a62a0ee69552010fc7fa499a SHA256 ee9000a0276675ed697f8d404edf80104fd338c3fb979907e4ee63ca83d65e5e
-EBUILD timezone-data-2009m.ebuild 3016 RMD160 7b8734db360c0ae07625c853938653376dc58398 SHA1 28afea7867cc5e904ad4fcdf932dcb56a258d418 SHA256 e332b577fab622cfc16e2b01bea68caf221930a27a4a1e1ac611edbcfb926bb5
-EBUILD timezone-data-2009p.ebuild 3016 RMD160 afdf9dc17bbe4d2cb865c563ef9fe02a2fa4b8ac SHA1 c8fa94ebae6ec6675fca31e1b37f9ff8a98b8ebe SHA256 4da50cb353ac86582519621f5cc8bf526ffc7e9e4a55d4d305b68c5af25892e3
-EBUILD timezone-data-2009q.ebuild 3024 RMD160 55ca97e00c2cf875feec29cbadadc66070731a9c SHA1 ab9981d8e28eedc936cc75ca45b207a04b71348e SHA256 d0d37fd49c9b7920fbe59452f0a5921a6f8de90d8b89d2b944a7273eaa6d3cb0
-EBUILD timezone-data-2009r.ebuild 3024 RMD160 8a3a54e0126bd2c37314520a47e7b398c4a295d5 SHA1 266050d6a008fddce7f3ff271d84568f41dd9bde SHA256 094880d4264d5ef809009a0a9dd9bfcc962a9c70d6fe3e6f40d1704812cb0315
+DIST tzdata2009t.tar.gz 185585 RMD160 3aeb28e7b9780977181212754070728f8921b3c0 SHA1 bc4cc3cab99ddf819dd06c6a982d8e7ae5c39b5d SHA256 e9968d213481d7a869ba1afe6167d78d57320364487be9a74e04910a9fce3f85
EBUILD timezone-data-2009s.ebuild 3015 RMD160 4d4104d369a364f6d21a2cd187bd2bdbd677be38 SHA1 ff3b71aa2de4a72c4c17d0a20eeb683b9799a4e3 SHA256 5d64087f7930e7d39c26ee79198893b188963a622da1660ef5111669f3317890
-MISC ChangeLog 27583 RMD160 1aaf82cd48698429491ed3973befe6c3ddce2d8f SHA1 8ac59ddfac54069bd72379341d4ec64b8122629c SHA256 8cc876df8db0480ffb978952ffdde2258b05e0c854d75ba5f763f34ca72b1733
+EBUILD timezone-data-2009t.ebuild 3020 RMD160 249aa63a88e90058533250438dd8911c635e0d9e SHA1 0a4103371045bdf17be98dd43019c091401b470c SHA256 b578b7239dec1d540454f00978a3b01bae19f6d041f034692e4c6fa6bf0ef8ce
+MISC ChangeLog 27743 RMD160 6b878a3bcad294153e53fab9a6da7e7f611e26b1 SHA1 ac19c97058834561b4fd8b3d338cee68f5505e05 SHA256 65f786c0c33497b9e16ede76ff61826cf34cf8256499eb8ef3afc66eee780454
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAkskZMoACgkQlPl3HsVfCDo3NACfWtTh4t7cbqD1JcwTXGNSAgri
-mAAAn1PYMTn3lJ8LsTnq9IKQodaEqcjU
-=cUbY
+iF4EAREIAAYFAks2QWEACgkQTwhj9JtAlp7ZqgEAoZuOdz3K80QNXksyNbkeWZiE
+SRKAt+rUEXQCgcwa8N4A/0Lp+RnYB2JoEVhGOKHC6PkGFV1Up1ZpCRLvfMI+ktpz
+=94es
-----END PGP SIGNATURE-----
diff --git a/sys-libs/timezone-data/timezone-data-2009t.ebuild b/sys-libs/timezone-data/timezone-data-2009t.ebuild
new file mode 100644
index 000000000000..6594473708d9
--- /dev/null
+++ b/sys-libs/timezone-data/timezone-data-2009t.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-2009t.ebuild,v 1.1 2009/12/26 17:00:45 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
+ 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="${ROOT}etc/conf.d/clock"
+ tz=$(unset TIMEZONE ; source "${src}" ; echo ${TIMEZONE-FOOKABLOIE})
+ else
+ src="${ROOT}etc/timezone"
+ if [[ -e ${src} ]] ; then
+ tz=$(sed -e 's:#.*::' -e 's:[[:space:]]*::g' -e '/^$/d' "${src}")
+ 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 ${ROOT}etc/localtime to Factory."
+ else
+ elog "Skipping auto-update of ${ROOT}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 ${ROOT}etc/localtime has been reset to Factory; enjoy!"
+ tz="Factory"
+ fi
+ einfo "Updating ${ROOT}etc/localtime with ${ROOT}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
+}