summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-21 16:37:32 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-21 16:37:32 +0000
commit84598a9f315732e393c45bbdf4562997291a9caa (patch)
treeb5d1dc981b13a2e750cf194baa23d59f362263a6 /sys-libs
parentFixed encoding in ChangeLog (diff)
downloadhistorical-84598a9f315732e393c45bbdf4562997291a9caa.tar.gz
historical-84598a9f315732e393c45bbdf4562997291a9caa.tar.bz2
historical-84598a9f315732e393c45bbdf4562997291a9caa.zip
Version bump #255757 by Rodrigo Severo.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28 x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/timezone-data/ChangeLog10
-rw-r--r--sys-libs/timezone-data/Manifest11
-rw-r--r--sys-libs/timezone-data/timezone-data-2009a.ebuild106
3 files changed, 121 insertions, 6 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog
index ec3436ecaf45..de8a3a2c1bf1 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.163 2008/12/14 14:00:23 gentoofan23 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.164 2009/01/21 16:37:32 vapier Exp $
+
+*timezone-data-2009a (21 Jan 2009)
+
+ 21 Jan 2009; Mike Frysinger <vapier@gentoo.org>
+ +timezone-data-2009a.ebuild:
+ Version bump #255757 by Rodrigo Severo.
14 Dec 2008; Thomas Anderson <gentoofan23@gentoo.org>
timezone-data-2008i.ebuild:
diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest
index 4aba711138ad..bf3f9fae8d2f 100644
--- a/sys-libs/timezone-data/Manifest
+++ b/sys-libs/timezone-data/Manifest
@@ -3,14 +3,17 @@ 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
DIST tzdata2008i.tar.gz 174009 RMD160 20832618435f95fe4e8cf9fbff7b73cc83f84d82 SHA1 32a3e9a22caec2c702a7214939267163fac53f04 SHA256 ec8824897cc79308b4ec6946a049d4680539e8de9c764b592bcf126f9060d7af
+DIST tzdata2009a.tar.gz 174994 RMD160 606563d18e6d6623095ee94e0d6ef27ca3bbedfd SHA1 8ace9a1c42581c3af8c4c84cd044683eaef191ef SHA256 c704d5a99f4e995b68e0463f206aad38dbddea7e9338d0ccc0abca901dd40100
EBUILD timezone-data-2008i.ebuild 2942 RMD160 6a9f7365266f6a476db5bd0100306e86602d005b SHA1 fec370567408322f77de8f90ea9fffa1c76fad4e SHA256 7a94e8e2c1f357f544e2e21e657926386e199a639cec3edae637f7a29eecdcf8
-MISC ChangeLog 20378 RMD160 f141f566a10d06b5ee4216f02958e568c2d599e5 SHA1 7804f16c554b5fb1c98a9c8b893113015305c8c8 SHA256 5da452d4ea874ef53330a4f46850122e6300eedf0ff31dda8f5c65d2c82d2c71
+EBUILD timezone-data-2009a.ebuild 2951 RMD160 61c94d9d0bbf58e7ad59b856fa48e2260d67634e SHA1 80b033fb1ab72dd4891f35ee27be9162a4df73d4 SHA256 a40e0a1946ef5785fd0a2fb85ef6bb2bc98740b093a51d114975a581d478ad46
+MISC ChangeLog 20533 RMD160 21a0f83fa4828746753968cc87f86cdbe7ff16cc SHA1 a6a9c2040ffbf336d69421b9a47feac026c58e07 SHA256 5ac8acebb9328f0b78168e69c1a31e91af360558d828305a98dbaa5fb68e03e1
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAklPKRAACgkQn/5bYzqsSmE6cACgkWVJVWL/CXaMvVlbZtDYQGat
-uAoAnjKtYbKeUAO+vPiAv0jVuQAMjIWP
-=qpbY
+iEYEARECAAYFAkl3T1IACgkQn/5bYzqsSmGrkwCdGYBLGlaEr8mYcZqyA6KJHaCi
+BCkAoMLAZTU8niIkgvEpRpYGWgubyHht
+=l1Zv
-----END PGP SIGNATURE-----
diff --git a/sys-libs/timezone-data/timezone-data-2009a.ebuild b/sys-libs/timezone-data/timezone-data-2009a.ebuild
new file mode 100644
index 000000000000..dd41a7a92829
--- /dev/null
+++ b/sys-libs/timezone-data/timezone-data-2009a.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-2009a.ebuild,v 1.1 2009/01/21 16:37:32 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 ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="nls elibc_FreeBSD elibc_glibc"
+
+DEPEND=""
+
+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
+}