summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/timezone-data/ChangeLog8
-rw-r--r--sys-libs/timezone-data/Manifest16
-rw-r--r--sys-libs/timezone-data/timezone-data-2009f.ebuild106
3 files changed, 126 insertions, 4 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog
index 2dcfe1b14ec0..d93c32e94b7c 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.181 2009/04/12 18:12:33 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.182 2009/04/14 01:56:52 vapier Exp $
+
+*timezone-data-2009f (14 Apr 2009)
+
+ 14 Apr 2009; Mike Frysinger <vapier@gentoo.org>
+ +timezone-data-2009f.ebuild:
+ Version bump #266001 by Rodrigo Severo.
12 Apr 2009; Brent Baude <ranger@gentoo.org> timezone-data-2009c.ebuild:
stable ppc64, bug 265522
diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest
index 44b99fd2763f..53ab0b92e9a2 100644
--- a/sys-libs/timezone-data/Manifest
+++ b/sys-libs/timezone-data/Manifest
@@ -1,14 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX timezone-data-2008h-makefile.patch 4037 RMD160 b7b9926ccee050dd18f2c33f2654a0b6dc4d35e0 SHA1 281539ae7f6fd804fc1e7ec9533552fa7fd50d88 SHA256 fc496b869ed6b70c60b0fcdea0a176e31c9405c96e6bf73b5edc26339de66c39
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 tzdata2009b.tar.gz 174900 RMD160 ef25a51ac85688bd41bb39a63f4ca5199b975d66 SHA1 9521db73a56edba6bba706c6d30a9296e71f5cb6 SHA256 f2c4e8f816a1e15c46ec78e23fcbe18d559e925cc2c99799243e5a749b2a8c68
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
-EBUILD timezone-data-2009b.ebuild 2963 RMD160 513ec550b833c1411e277e808fb8cdb8eb58d939 SHA1 58a0603c4615c10b87ee87d14f91b21c0977e631 SHA256 5b744eedab0ae0c404cd8bdb1733b211165b2f4f84830fc30a153ecdfe43add8
+DIST tzdata2009f.tar.gz 177771 RMD160 fafd6f71e48bf77d7e026b6eafc491c4401a9b3c SHA1 b197835925ad34eaa08190e88e04cc515c0c570e SHA256 654b309a0c130a156cc81787f8af4dc9a517d283606f420e89364bc93c83da6c
EBUILD timezone-data-2009c.ebuild 2967 RMD160 508d94bf957497c25b339ca3f8a0b8ffafa08ed0 SHA1 d8404541a41d665e748a106e136a9b41fcc7605e SHA256 6d4fd710ca21ccc76bcba8554d13fecd57cc8b18c779efce8943917aed0ce7d7
EBUILD timezone-data-2009d.ebuild 2974 RMD160 2be83ef89b20669e8345fbed5da1a5a3cce8ddd2 SHA1 15857c5789da3c1a2fd99947782111427ce2a238 SHA256 6f93c93677c09d10ef422412d433a7fccd5c6a82d7d71a8a82e56a9335c3c395
EBUILD timezone-data-2009e.ebuild 3023 RMD160 82c7ce0655bbc84d0bc73b0d9a35d6cba3015c83 SHA1 72290a3f7eba84614795cdf7bcc20d66e342117e SHA256 2528e05a6b1cf4de7e05dc3de1b8bd95e503b82b8ec1ce3bac9f135b9ad19eca
-MISC ChangeLog 22719 RMD160 3a1b07cc50b0adb2a388bebc7b5444697ad05516 SHA1 842dfc20a36149dfddbc1a07130a28871d3af374 SHA256 da82583ee572930e96c60e880d22b4ddee090641cb68056ebbbee6329c25bbef
+EBUILD timezone-data-2009f.ebuild 3028 RMD160 5457b794dfbff4e6b8fa31b4620a503a3d8215c7 SHA1 a7163f7ce1f1453e541587748fe17be794c1c56b SHA256 51232ef2efede801674bcfcfdcbcd87ced450487053043f564481ab44eba834c
+MISC ChangeLog 22879 RMD160 98812a3eb33d19898f17f77800d34fb7ae890287 SHA1 316ad934ec2ea14439cbe7cec203f240955551ff SHA256 34f9fd145d207aef2065cb498ea54d65720e4719284aec64c327f2683cfdb9c1
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAknj7WoACgkQn/5bYzqsSmG3+QCgimhi9Evs5n8EmkSonjyMJUtd
+xVMAnRWKLM++89WpAxJkurT4DIJ2QcUO
+=oVzo
+-----END PGP SIGNATURE-----
diff --git a/sys-libs/timezone-data/timezone-data-2009f.ebuild b/sys-libs/timezone-data/timezone-data-2009f.ebuild
new file mode 100644
index 000000000000..fb6dd740b984
--- /dev/null
+++ b/sys-libs/timezone-data/timezone-data-2009f.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-2009f.ebuild,v 1.1 2009/04/14 01:56:52 vapier Exp $
+
+inherit eutils toolchain-funcs flag-o-matic
+
+code_ver=${PV/f/e}
+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
+}