diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-19 06:35:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-01-19 06:35:37 +0000 |
commit | 1c1031e66462751eda863f4e679df5b30cf23b78 (patch) | |
tree | 577034d0d5c9b2914e967ef6a19bec35bdd183b0 /sys-libs/timezone-data | |
parent | Stabilize for everyone. (diff) | |
download | historical-1c1031e66462751eda863f4e679df5b30cf23b78.tar.gz historical-1c1031e66462751eda863f4e679df5b30cf23b78.tar.bz2 historical-1c1031e66462751eda863f4e679df5b30cf23b78.zip |
Version bump #301441 by Rodrigo Severo.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'sys-libs/timezone-data')
-rw-r--r-- | sys-libs/timezone-data/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/timezone-data/Manifest | 14 | ||||
-rw-r--r-- | sys-libs/timezone-data/timezone-data-2010a.ebuild | 106 |
3 files changed, 120 insertions, 8 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog index c98e22eafdf9..77b15e121793 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-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.220 2010/01/19 06:34:51 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.221 2010/01/19 06:35:37 vapier Exp $ + +*timezone-data-2010a (19 Jan 2010) + + 19 Jan 2010; Mike Frysinger <vapier@gentoo.org> + +timezone-data-2010a.ebuild: + Version bump #301441 by Rodrigo Severo. 19 Jan 2010; Mike Frysinger <vapier@gentoo.org> timezone-data-2009u.ebuild: Stabilize for everyone. diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest index 4f88c2e4295f..135e17d843ac 100644 --- a/sys-libs/timezone-data/Manifest +++ b/sys-libs/timezone-data/Manifest @@ -5,17 +5,17 @@ AUX timezone-data-2008h-makefile.patch 4037 RMD160 b7b9926ccee050dd18f2c33f2654a DIST tzcode2009r.tar.gz 191114 RMD160 237f47a92f212afce3f0030d17c13a4465ff78ac SHA1 02ad606c1236f6ffa836799b09b58dfcaa608982 SHA256 49031541192a109fd9beddd07695cecf5ec90d09088c59b1d917c91f8f6081b2 DIST tzcode2009t.tar.gz 191325 RMD160 6071d69d9367211cfe2ea32c9467f7317bb511d2 SHA1 2bc3abe70dd8b83582c22edaa86bf066c5508a36 SHA256 97f64d7056d6c18e6b4e1619bf94fc625a3d08413d238e0c5a5faba714a2297f DIST tzdata2009s.tar.gz 184326 RMD160 3feadcbd8738b5ae1a3d6bba05a2c9644de9a1c1 SHA1 c870aab416411056a62a0ee69552010fc7fa499a SHA256 ee9000a0276675ed697f8d404edf80104fd338c3fb979907e4ee63ca83d65e5e -DIST tzdata2009t.tar.gz 185585 RMD160 3aeb28e7b9780977181212754070728f8921b3c0 SHA1 bc4cc3cab99ddf819dd06c6a982d8e7ae5c39b5d SHA256 e9968d213481d7a869ba1afe6167d78d57320364487be9a74e04910a9fce3f85 DIST tzdata2009u.tar.gz 185958 RMD160 e0647b3bf67a10ea40f843bc389ac22284d8a380 SHA1 4c5e24805e1d8989cc54e256b076e9345669ab05 SHA256 7cbd82597590ca279e042dbeace91553806c4b4dbff25c34b843a4f1d07e0384 +DIST tzdata2010a.tar.gz 185948 RMD160 537dffa063240d9907aea3f4847de8d92af6a743 SHA1 5a89ec9c62e0ac20909724f0c40327977e42d841 SHA256 d9dab04cbbc52a7f19363958402b1c9cc6724e587f2af822c3e40e52767dfee8 EBUILD timezone-data-2009s.ebuild 3015 RMD160 4d4104d369a364f6d21a2cd187bd2bdbd677be38 SHA1 ff3b71aa2de4a72c4c17d0a20eeb683b9799a4e3 SHA256 5d64087f7930e7d39c26ee79198893b188963a622da1660ef5111669f3317890 -EBUILD timezone-data-2009t.ebuild 3020 RMD160 249aa63a88e90058533250438dd8911c635e0d9e SHA1 0a4103371045bdf17be98dd43019c091401b470c SHA256 b578b7239dec1d540454f00978a3b01bae19f6d041f034692e4c6fa6bf0ef8ce -EBUILD timezone-data-2009u.ebuild 3023 RMD160 35953f570b06da4514d0ea21d185a31f8dc91c19 SHA1 be575f9e2d77a1bc87f22a9cfe6c9b0010813728 SHA256 cca7309d36b9ccfeba651e67b2752d407b272971ab50b2a5cb6411284b78da17 -MISC ChangeLog 27903 RMD160 e95ad75f547e38fe298b9e2ad4e9243770637268 SHA1 c66b6e95c2f6d2665406ac7dd1f9754c4e4e5f30 SHA256 cbd71b808f166d8bcb0936d4f1b78f0b6b40dcbf6b24814005a42d0e56b0de1b +EBUILD timezone-data-2009u.ebuild 3011 RMD160 ce0ceb1f14c5aeb09794379007b55b6dc22d475d SHA1 c99e52dc73030f7a801133d805b6e802038d0ed4 SHA256 15b206890e3415455f632bdd845ff540ceca502f8954bcd4306ff38cea402705 +EBUILD timezone-data-2010a.ebuild 3027 RMD160 e7ab9a0039286f9fd19563005a1700f50d8224dd SHA1 5bf6808b4dcca4ef1e607a6465d1acfea6346e2f SHA256 011042f22121dca7121e34fed672bf5a8fc2906306322e699588f7380000c240 +MISC ChangeLog 28168 RMD160 0ff3799f7b023189dac6481d74247b67f6367747 SHA1 9156798b95931c899604c6701e64d7e41be6164b SHA256 e98cdec7e283eacdbfd8e204f10bc58c11bc148b0741a907aecb6c34befcd61b MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) -iF4EAREIAAYFAks5px4ACgkQTwhj9JtAlp6HFgEAiRE1Ci4Yxe6/YC0RETRWWjmK -j1JxLByrq7tYOvmiQocBAKfKFfG31Xj5yH5XxprzCVF2klbi8Xkol3/Ogl6381z8 -=tyS/ +iF4EAREIAAYFAktVUs0ACgkQTwhj9JtAlp5UWAD/fxgwe2UpoSKUj6OiHGtHcpHK +pLgSB3Jcfm8O51WDvQsA+wc6rc3o7DrngF0KhSHIYu7bgGsBc5B4Gp1DAAj/iXIf +=6vnL -----END PGP SIGNATURE----- diff --git a/sys-libs/timezone-data/timezone-data-2010a.ebuild b/sys-libs/timezone-data/timezone-data-2010a.ebuild new file mode 100644 index 000000000000..cb683305288f --- /dev/null +++ b/sys-libs/timezone-data/timezone-data-2010a.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2010a.ebuild,v 1.1 2010/01/19 06:35:37 vapier Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +code_ver=${PV%10a}09t +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 +} |