diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-11-09 19:27:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-11-09 19:27:43 +0000 |
commit | b50a6303582631290073ab5b3a88bacc947870b0 (patch) | |
tree | d943106d69b1553ad864871eb691a96c8f49c750 /sys-libs/timezone-data | |
parent | Stable for HPPA (bug #275769). (diff) | |
download | historical-b50a6303582631290073ab5b3a88bacc947870b0.tar.gz historical-b50a6303582631290073ab5b3a88bacc947870b0.tar.bz2 historical-b50a6303582631290073ab5b3a88bacc947870b0.zip |
Version bump #292549 by Rodrigo Severo.
Package-Manager: portage-2.2_rc49/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 | 15 | ||||
-rw-r--r-- | sys-libs/timezone-data/timezone-data-2009r.ebuild | 106 |
3 files changed, 127 insertions, 2 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog index a71964fd25e7..5ce3e1cf259c 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.211 2009/11/08 20:21:31 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.212 2009/11/09 19:27:43 vapier Exp $ + +*timezone-data-2009r (09 Nov 2009) + + 09 Nov 2009; Mike Frysinger <vapier@gentoo.org> + +timezone-data-2009r.ebuild: + Version bump #292549 by Rodrigo Severo. 08 Nov 2009; nixnut <nixnut@gentoo.org> timezone-data-2009p.ebuild: ppc stable #291689 diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest index 356922e6e80b..6a4e0166305f 100644 --- a/sys-libs/timezone-data/Manifest +++ b/sys-libs/timezone-data/Manifest @@ -1,11 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX timezone-data-2008h-makefile.patch 4037 RMD160 b7b9926ccee050dd18f2c33f2654a0b6dc4d35e0 SHA1 281539ae7f6fd804fc1e7ec9533552fa7fd50d88 SHA256 fc496b869ed6b70c60b0fcdea0a176e31c9405c96e6bf73b5edc26339de66c39 DIST tzcode2009k.tar.gz 190353 RMD160 66147ee62cf9c1d2a8705b038f2be22742e1d5d7 SHA1 91af66846aaec13de2de610433d31151bb890b7d SHA256 2581f4ce19b11e4218ad0b2859679485af1cefe036f52643c8fb20024c8f5d45 DIST tzcode2009q.tar.gz 190865 RMD160 7a572f165dcd5edd23ab5885233dbfb36e8d048f SHA1 818a78d5d05b83d6744a1332a945e025cd371614 SHA256 c523b0aee4c7a4423ef04f1874b3e6b1e15ae2d86177befc15253c5a32d951a9 +DIST tzcode2009r.tar.gz 191114 RMD160 237f47a92f212afce3f0030d17c13a4465ff78ac SHA1 02ad606c1236f6ffa836799b09b58dfcaa608982 SHA256 49031541192a109fd9beddd07695cecf5ec90d09088c59b1d917c91f8f6081b2 DIST tzdata2009m.tar.gz 180717 RMD160 c150cc7595add59972fd5d837f2a19ec093a9447 SHA1 350a69ada2418ba91c9f0886d02604504c64515f SHA256 7609980204940ceaf74b5a48d15ea0c079eaec627e149cf3d986cfed268881fe DIST tzdata2009p.tar.gz 182635 RMD160 9f462caa329409a51862cf56e432f8ad6f20bd08 SHA1 2fe3219c9e59b7a6bd161fc340e18e27d3bcb473 SHA256 7182ad6f03bfe16ccdbac4a3efb9e765ea7c51afc33c3a7fefb053122aa6da2c DIST tzdata2009q.tar.gz 183958 RMD160 bc1fecfaaa7fcf56214c64e679acffa045e1bbb2 SHA1 832f6af2d62015bf0e514303913d423c7d849f74 SHA256 5ea1abc8b08dd7f67b53488a497d61f9617ed92d094e508e103049430518a19a +DIST tzdata2009r.tar.gz 184143 RMD160 82c13a3dd96d51349b174e17bfd718bc2f92c5ab SHA1 7ea0ee6ed935d6d50090ad57da286e85e0362285 SHA256 684d23e3ebe825c9db90732534446f4e33f5ad4455980b15fd9eb2e4ba5a6731 EBUILD timezone-data-2009m.ebuild 3016 RMD160 7b8734db360c0ae07625c853938653376dc58398 SHA1 28afea7867cc5e904ad4fcdf932dcb56a258d418 SHA256 e332b577fab622cfc16e2b01bea68caf221930a27a4a1e1ac611edbcfb926bb5 EBUILD timezone-data-2009p.ebuild 3026 RMD160 69acf726714ec1508045f6431d990f9a2af1824f SHA1 daf5a5617fe4741b1a1622274993084471846234 SHA256 c4e03331edf15364ca5fb4888139a95e24229fc29f1b7428423ec787d826dd9a EBUILD timezone-data-2009q.ebuild 3024 RMD160 55ca97e00c2cf875feec29cbadadc66070731a9c SHA1 ab9981d8e28eedc936cc75ca45b207a04b71348e SHA256 d0d37fd49c9b7920fbe59452f0a5921a6f8de90d8b89d2b944a7273eaa6d3cb0 -MISC ChangeLog 26782 RMD160 01ee332c7ef73f774c199300412ca49bd002ce8f SHA1 98c99ada1ab7e0ae842b28cf3fac6b20ffa4690e SHA256 b213a66b6ac2e60b9f9a4dfd32c3be720d96eefc884ee58f43e69c7dbd673067 +EBUILD timezone-data-2009r.ebuild 3024 RMD160 8a3a54e0126bd2c37314520a47e7b398c4a295d5 SHA1 266050d6a008fddce7f3ff271d84568f41dd9bde SHA256 094880d4264d5ef809009a0a9dd9bfcc962a9c70d6fe3e6f40d1704812cb0315 +MISC ChangeLog 26942 RMD160 38d2391e326ae49aa7bcb9b0c975ad98a0bf305e SHA1 4e816d0ed7b4ab09bb4a80b645643271c3f65e1c SHA256 a148297d3f2572cb743ec85d8ca239d7194a4305f0bc511c6621d6061eadfef1 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.13 (GNU/Linux) + +iEYEARECAAYFAkr4bbgACgkQlPl3HsVfCDr9LACfXyyjgTnPaz1Bf1XWzXNcUKX6 +FxwAniQNq6m1GliSYSumDmpyC0rHDHJ/ +=HC82 +-----END PGP SIGNATURE----- diff --git a/sys-libs/timezone-data/timezone-data-2009r.ebuild b/sys-libs/timezone-data/timezone-data-2009r.ebuild new file mode 100644 index 000000000000..7aed50d69146 --- /dev/null +++ b/sys-libs/timezone-data/timezone-data-2009r.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-2009r.ebuild,v 1.1 2009/11/09 19:27:43 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 ~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="/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 +} |