summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-08 20:56:53 +0000
committerMike Frysinger <vapier@gentoo.org>2009-06-08 20:56:53 +0000
commit7972efcf02ffeca67a4f04aebfaaf958cf6fef40 (patch)
tree005fd43bfd129bc3bc7be32b27bb3f78cc3d05d6 /sys-libs
parentVersion bump. Remove broken version. (diff)
downloadhistorical-7972efcf02ffeca67a4f04aebfaaf958cf6fef40.tar.gz
historical-7972efcf02ffeca67a4f04aebfaaf958cf6fef40.tar.bz2
historical-7972efcf02ffeca67a4f04aebfaaf958cf6fef40.zip
Version bump #273232 by Rodrigo Severo.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/timezone-data/ChangeLog8
-rw-r--r--sys-libs/timezone-data/Manifest11
-rw-r--r--sys-libs/timezone-data/timezone-data-2009i.ebuild106
3 files changed, 120 insertions, 5 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog
index ad1a60bddd16..6531c4104918 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.183 2009/04/29 21:49:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.184 2009/06/08 20:56:53 vapier Exp $
+
+*timezone-data-2009i (08 Jun 2009)
+
+ 08 Jun 2009; Mike Frysinger <vapier@gentoo.org>
+ +timezone-data-2009i.ebuild:
+ Version bump #273232 by Rodrigo Severo.
*timezone-data-2009g (29 Apr 2009)
diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest
index e6d544ca6536..f78edc9a1e05 100644
--- a/sys-libs/timezone-data/Manifest
+++ b/sys-libs/timezone-data/Manifest
@@ -5,22 +5,25 @@ AUX timezone-data-2008h-makefile.patch 4037 RMD160 b7b9926ccee050dd18f2c33f2654a
DIST tzcode2009b.tar.gz 190156 RMD160 633df8c0e350d68b15d55cfb54131be55133bdfc SHA1 53e62aef41066bb9b55b36451f7df61a0ed29c59 SHA256 4117dbd3864616e8391e79fffe2b4da999f7251763bc77a7b7006df57220400c
DIST tzcode2009d.tar.gz 190134 RMD160 26db83e9306354ffadf5a1606696b73587b47c7f SHA1 b935ac44d2df7c7bb2abb8d5aeb622dcc23b263b SHA256 3e914ff7d4593030531dd5b73ca5a71d7c0f5d52cb6096f7d6b1d5f720c4bee0
DIST tzcode2009e.tar.gz 190146 RMD160 d2bd64ce90ac60d0c6002af645d82f6a59f75246 SHA1 c9e00c60fe112c2cedcb2369518256c7842d82e3 SHA256 6abd53f25caf438f8833e071aac24c538c6381e676abee6e4ef3a856051547a5
+DIST tzcode2009i.tar.gz 190331 RMD160 ce68308f927c4cf408620fe382e581a8d25ff261 SHA1 317cd42bb70368eb255fc8058f035c1fc7690c8c SHA256 738a768e38ccd57f1c31f049731b58d5e1c29f3bf78c9b28086769291963dcfa
DIST tzdata2009c.tar.gz 175126 RMD160 8308bd319589efd79159358b35a105c721f80c05 SHA1 5d576004df3b3ebebfba9f5839f2dacd3361433f SHA256 3dd1bd0014e7c9a74cab9a21fd32c9cadd30b2c69340f32a685e7b52207c1db8
DIST tzdata2009d.tar.gz 176911 RMD160 af183cbeeefdb7eeac0b0f5feb3be81bc897d2f3 SHA1 fdb23d045f0a9458c9e8b9b8e53e7e04a82d6627 SHA256 f884ff8af90824cac55786e4b3a6048af10702a5f15036bf55f33d74704ad102
DIST tzdata2009e.tar.gz 177453 RMD160 458a30139d4562b27323b103401bf428635e7956 SHA1 e1476d349ddf74af27519757e4712c076a4b9220 SHA256 6f4e88fefd72b9ed9c6fde56ebc434c86cd597114685bf98ae7aab031a8cce8c
DIST tzdata2009f.tar.gz 177771 RMD160 fafd6f71e48bf77d7e026b6eafc491c4401a9b3c SHA1 b197835925ad34eaa08190e88e04cc515c0c570e SHA256 654b309a0c130a156cc81787f8af4dc9a517d283606f420e89364bc93c83da6c
DIST tzdata2009g.tar.gz 178224 RMD160 8fa26f1e2a12c8d8602054f3fc3ad5f7cd2aa256 SHA1 c3cb83c022c9846f4be67fc6a2c6d7c42072702f SHA256 da033acc418328edcb32a089c26c1f6a828f596b4f3aa26c9319e3ab19e05073
+DIST tzdata2009i.tar.gz 179184 RMD160 a24f2df51ec7ef4a4607ed1b92bbeac7cb448ef8 SHA1 d0357db86c6903a0d404d404f8fe794243e3d8c8 SHA256 475b52311b2e0267cfb81138af1b985384ea53ce71b2d39744d7645f1e48db6e
EBUILD timezone-data-2009c.ebuild 2966 RMD160 3bf949c574f85142907e3b35ae812e94010483e0 SHA1 60ac8654a0e361858a7de1dc4d550d62ee5f97c5 SHA256 f8c8be5b16b149938fcd1e212bd6ecf2e95be6bab0019331688b4d41905d1106
EBUILD timezone-data-2009d.ebuild 2974 RMD160 2be83ef89b20669e8345fbed5da1a5a3cce8ddd2 SHA1 15857c5789da3c1a2fd99947782111427ce2a238 SHA256 6f93c93677c09d10ef422412d433a7fccd5c6a82d7d71a8a82e56a9335c3c395
EBUILD timezone-data-2009e.ebuild 3023 RMD160 82c7ce0655bbc84d0bc73b0d9a35d6cba3015c83 SHA1 72290a3f7eba84614795cdf7bcc20d66e342117e SHA256 2528e05a6b1cf4de7e05dc3de1b8bd95e503b82b8ec1ce3bac9f135b9ad19eca
EBUILD timezone-data-2009f.ebuild 3028 RMD160 5457b794dfbff4e6b8fa31b4620a503a3d8215c7 SHA1 a7163f7ce1f1453e541587748fe17be794c1c56b SHA256 51232ef2efede801674bcfcfdcbcd87ced450487053043f564481ab44eba834c
EBUILD timezone-data-2009g.ebuild 3028 RMD160 deb4138011d17c42cd0695f6743fbb2c765ed707 SHA1 0d32cfc29bc11d3b609dd60fba4b0392e46a096f SHA256 e24c49598662ef5df646867bd646329e8e67dc064b7495b3d405a5d8d61b9fdd
-MISC ChangeLog 23039 RMD160 d0c5d40d2323d2a086f136f52610e7aa6ca57fc8 SHA1 b1718b06fd9d52c9af3d1f9c99637965e5ec8acf SHA256 e63063ff4a5ea4e96a97ee4986daa5c87d73c05c4eb9921cc77cc46bcd7b3320
+EBUILD timezone-data-2009i.ebuild 3024 RMD160 87e73b7e0155787bcd875a49fa92ced24e324010 SHA1 c63465a2b436dfa91333f566b37f5abf43289349 SHA256 73ac0a0eec631cd6d4cfb224085a100087a95a811175df6e1f85eb5072812e2f
+MISC ChangeLog 23199 RMD160 ba800945441df208120f0229d6b86d0302613779 SHA1 c87a23dd98685312dac81c58267a4da325d235d9 SHA256 d0836abd4be03ed48b640cd61f324876a3a8873ada657781015fd8b152090878
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkn4y1wACgkQn/5bYzqsSmF9NwCfUJnzdSTEEHk1OZiVK9PKas91
-OW8An38Koagb+5BJK84RyRond86WBZz2
-=B3CA
+iEYEARECAAYFAkotexsACgkQn/5bYzqsSmHJ8wCaAka3dB1htcHtoCSqz2xLtrY7
+J5UAn1B5fUpgPkNrEAdTNGw1yL0oNKPM
+=wqlO
-----END PGP SIGNATURE-----
diff --git a/sys-libs/timezone-data/timezone-data-2009i.ebuild b/sys-libs/timezone-data/timezone-data-2009i.ebuild
new file mode 100644
index 000000000000..7c698af3e71b
--- /dev/null
+++ b/sys-libs/timezone-data/timezone-data-2009i.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-2009i.ebuild,v 1.1 2009/06/08 20:56:53 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"
+
+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
+}