diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-03-16 21:28:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-03-16 21:28:20 +0000 |
commit | 6841fdf7df4464ab080b2ecf813fbd64e15fdd9a (patch) | |
tree | 41b7c0b35d8daca5738c3283c9701540681c8d16 | |
parent | bump, display should now be more inline with other Schemes (diff) | |
download | historical-6841fdf7df4464ab080b2ecf813fbd64e15fdd9a.tar.gz historical-6841fdf7df4464ab080b2ecf813fbd64e15fdd9a.tar.bz2 historical-6841fdf7df4464ab080b2ecf813fbd64e15fdd9a.zip |
Version bump #262665 by Rodrigo Severo.
Package-Manager: portage-2.2_rc25/cvs/Linux x86_64
-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-2009c.ebuild | 106 |
3 files changed, 126 insertions, 2 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog index 3dabb7a1f648..ee4279026d46 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.167 2009/03/16 13:37:42 gentoofan23 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.168 2009/03/16 21:28:20 vapier Exp $ + +*timezone-data-2009c (16 Mar 2009) + + 16 Mar 2009; Mike Frysinger <vapier@gentoo.org> + +timezone-data-2009c.ebuild: + Version bump #262665 by Rodrigo Severo. 16 Mar 2009; Thomas Anderson <gentoofan23@gentoo.org> timezone-data-2009b.ebuild: diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest index 2e57df9a882f..d16dd92ee49c 100644 --- a/sys-libs/timezone-data/Manifest +++ b/sys-libs/timezone-data/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX timezone-data-2008h-makefile.patch 4037 RMD160 b7b9926ccee050dd18f2c33f2654a0b6dc4d35e0 SHA1 281539ae7f6fd804fc1e7ec9533552fa7fd50d88 SHA256 fc496b869ed6b70c60b0fcdea0a176e31c9405c96e6bf73b5edc26339de66c39 DIST tzcode2008h.tar.gz 189691 RMD160 5b5f131a8d7d7915ab53fdf96cc5cd30b447d8d7 SHA1 33c470314fd9c8ff54dd9adb98fba2303f3a58d7 SHA256 e9c54cf4ede59cb00c925b004a112fa0fcd9feae62020ba48abe719d9d69d2b3 DIST tzcode2009a.tar.gz 189899 RMD160 9bcbf3cc02148a1facac1e4b787d1f806c4c0d3e SHA1 dbdc8c4b5c869f6f013094113ee48227cad3367f SHA256 ead8d62a4b008078731bab34c149003eed23d1c47d43e35e19742b8fa4241f9b @@ -5,8 +8,17 @@ DIST tzcode2009b.tar.gz 190156 RMD160 633df8c0e350d68b15d55cfb54131be55133bdfc S DIST tzdata2008i.tar.gz 174009 RMD160 20832618435f95fe4e8cf9fbff7b73cc83f84d82 SHA1 32a3e9a22caec2c702a7214939267163fac53f04 SHA256 ec8824897cc79308b4ec6946a049d4680539e8de9c764b592bcf126f9060d7af DIST tzdata2009a.tar.gz 174994 RMD160 606563d18e6d6623095ee94e0d6ef27ca3bbedfd SHA1 8ace9a1c42581c3af8c4c84cd044683eaef191ef SHA256 c704d5a99f4e995b68e0463f206aad38dbddea7e9338d0ccc0abca901dd40100 DIST tzdata2009b.tar.gz 174900 RMD160 ef25a51ac85688bd41bb39a63f4ca5199b975d66 SHA1 9521db73a56edba6bba706c6d30a9296e71f5cb6 SHA256 f2c4e8f816a1e15c46ec78e23fcbe18d559e925cc2c99799243e5a749b2a8c68 +DIST tzdata2009c.tar.gz 175126 RMD160 8308bd319589efd79159358b35a105c721f80c05 SHA1 5d576004df3b3ebebfba9f5839f2dacd3361433f SHA256 3dd1bd0014e7c9a74cab9a21fd32c9cadd30b2c69340f32a685e7b52207c1db8 EBUILD timezone-data-2008i.ebuild 2942 RMD160 6a9f7365266f6a476db5bd0100306e86602d005b SHA1 fec370567408322f77de8f90ea9fffa1c76fad4e SHA256 7a94e8e2c1f357f544e2e21e657926386e199a639cec3edae637f7a29eecdcf8 EBUILD timezone-data-2009a.ebuild 2951 RMD160 61c94d9d0bbf58e7ad59b856fa48e2260d67634e SHA1 80b033fb1ab72dd4891f35ee27be9162a4df73d4 SHA256 a40e0a1946ef5785fd0a2fb85ef6bb2bc98740b093a51d114975a581d478ad46 EBUILD timezone-data-2009b.ebuild 2978 RMD160 926d225d89e06e561d9d6dbb51324ab45f9c29db SHA1 42aea47caf601ff2f795f6bf09367b70db673e84 SHA256 ea2879fdbf3a743651bf1702b67ce821c9a98e0f286948f859b7fe35d76ae7b8 -MISC ChangeLog 20945 RMD160 775557ea6ea4157a7f2a88f5c9ace42763bd7b06 SHA1 6403c5185cb3011171d049797d546f33cf0542e5 SHA256 8aa4c76696bd6a38692eccfba2df768d2d4bbae9e2d4e048eeead7aed709a196 +EBUILD timezone-data-2009c.ebuild 2978 RMD160 4b4d6643fb17a090a8a40c08da3b904605219b65 SHA1 c521277a5db14d773029841863b33eef3fa004a6 SHA256 9d2c623f7c307b04189f17a386bbbcb390d9b189e78859bf9edb5b466f18b30e +MISC ChangeLog 21100 RMD160 b14985c950e529cb948e20b1b260c293d6dff9a0 SHA1 f77dea79e30634b5790f761f6a38e3e772898d15 SHA256 3af51ff75aacf7318eea37848e01b0aecb78177929bc8b20b8942cd909dd72cf MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.10 (GNU/Linux) + +iEYEARECAAYFAkm+xHoACgkQn/5bYzqsSmHEbACfYKaOFG7TESXnpObOIogMUy+Y +peYAoKDNimvKXjDvirSwHQD/kcsXJYU7 +=zeAN +-----END PGP SIGNATURE----- diff --git a/sys-libs/timezone-data/timezone-data-2009c.ebuild b/sys-libs/timezone-data/timezone-data-2009c.ebuild new file mode 100644 index 000000000000..e54100637b3e --- /dev/null +++ b/sys-libs/timezone-data/timezone-data-2009c.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-2009c.ebuild,v 1.1 2009/03/16 21:28:20 vapier Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +code_ver=${PV/c/b} +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 ~sparc-fbsd ~x86 ~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=$(<"${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 +} |