diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-30 00:29:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-30 00:29:59 +0000 |
commit | 9a2b80c36dc55b8d8a5c236ce6e50c4b861219a4 (patch) | |
tree | 16d26bc81869c5f4e2117aae9766604a238f742a /sys-libs | |
parent | Version bump. (diff) | |
download | historical-9a2b80c36dc55b8d8a5c236ce6e50c4b861219a4.tar.gz historical-9a2b80c36dc55b8d8a5c236ce6e50c4b861219a4.tar.bz2 historical-9a2b80c36dc55b8d8a5c236ce6e50c4b861219a4.zip |
Version bump #364797 by Rodrigo Severo.
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/timezone-data/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/timezone-data/Manifest | 11 | ||||
-rw-r--r-- | sys-libs/timezone-data/timezone-data-2011g.ebuild | 106 |
3 files changed, 119 insertions, 5 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog index 3345da409de6..7c0921341964 100644 --- a/sys-libs/timezone-data/ChangeLog +++ b/sys-libs/timezone-data/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/timezone-data # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.248 2011/04/03 02:08:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.249 2011/04/30 00:29:59 vapier Exp $ + +*timezone-data-2011g (30 Apr 2011) + + 30 Apr 2011; Mike Frysinger <vapier@gentoo.org> +timezone-data-2011g.ebuild: + Version bump #364797 by Rodrigo Severo. *timezone-data-2011e (03 Apr 2011) diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest index 596ae1948bcf..17ac8fc801eb 100644 --- a/sys-libs/timezone-data/Manifest +++ b/sys-libs/timezone-data/Manifest @@ -4,16 +4,19 @@ Hash: SHA256 AUX timezone-data-2008h-makefile.patch 4037 RMD160 b7b9926ccee050dd18f2c33f2654a0b6dc4d35e0 SHA1 281539ae7f6fd804fc1e7ec9533552fa7fd50d88 SHA256 fc496b869ed6b70c60b0fcdea0a176e31c9405c96e6bf73b5edc26339de66c39 DIST tzcode2011d.tar.gz 193553 RMD160 a7ec5ddb3570f07c8170ba1daad958bbe367ba26 SHA1 47a2724b694b9528c0dbf92c410a790038c4802f SHA256 68f2c07471c5390199c09fe9fee6a22f8a4dac24713af88b92da17b33ad98cc7 DIST tzcode2011e.tar.gz 193776 RMD160 3f05fe13a012ceb84d056c17ab7e5ee80bb79d96 SHA1 235a7d9835860a366f3e3256eea1f62a234d7afc SHA256 8fb00f8763aa51d83d6f3190d144124bb7176ca829fc08823d6205297bf0426b +DIST tzcode2011g.tar.gz 194929 RMD160 4fb4d5da1da40776e1be96d5cbad3aced75366b8 SHA1 a3d3f5a9f780620aa8137b6f8fe3384b23ce6c56 SHA256 636c735d8df1276cc8ab88bc31bb36a21f91ed34e26d181303ecd8fe48021bc2 DIST tzdata2011d.tar.gz 194588 RMD160 8024546fb4333ce19dbafe7b3569e877edf7c920 SHA1 2d22bcf138707b9171ec54359ec872ca5cb343f7 SHA256 415a54774094e8dcdc9ba141fafbee4b3b2f2140a5b8cf012eea4b37fb9a23bd DIST tzdata2011e.tar.gz 195424 RMD160 6880d6694b947ac396d11d83bb8cbea5ea956913 SHA1 5f391435e9bf494698332f1307f9b7ea7e128e16 SHA256 44fef01de4589a4979eb6b5fdbbfd21a3b135852af1ecbfb9e0368ae47392c79 +DIST tzdata2011g.tar.gz 195818 RMD160 3490c919a9622083fed7f48b20b344a61af167c2 SHA1 6d93b9badbb394563d70efaa46c1f507923b9663 SHA256 01a2a189eeda63baacc5e68e6c13afffc7edce182102fffc53acbf35e8703d3c EBUILD timezone-data-2011d.ebuild 3017 RMD160 a04132eb2e56ab0bed99e394efd786f0dae3ebe7 SHA1 1967fbeccb87a25c5a6573c7bd95d92ffc5be544 SHA256 a4218e393ee9c1f2a8dd318710c7fc673d22ab6ac21c3223299b59e98e0828c8 EBUILD timezone-data-2011e.ebuild 3029 RMD160 4d845896bc283c43ce24aa30b1692c1d3ee00c36 SHA1 d6f6db40fdd288a787f519f208add87c0dc0bf00 SHA256 2af9a1766d656847b938ee0230046f36b11c3675843cc5fd370b116e7f07ec63 -MISC ChangeLog 32204 RMD160 4fcc82cac0b5ee9e2d205494cd5ba9ef8e05941f SHA1 e6445d5cdfc48e9aad667ab6c050b34fa0bce9d6 SHA256 ffda9772a889943f1b0f7f7db938faccb5874516c68f0184cb1ca6e79950dd86 +EBUILD timezone-data-2011g.ebuild 3029 RMD160 fd707f92b634e8f5dc424e9dba6790dd533a2209 SHA1 b658dd476680f7ad105f6ff23e11b33c830b3d29 SHA256 5bca62397ec4cd6d39fe1b5c894d28649e64e646bb07c0771ee7644b917ce6e8 +MISC ChangeLog 32362 RMD160 989afef99b17ca26255fec8626e34021992463d8 SHA1 2a0c1b7c3e9f1491cfbef137a56f4016bc5d6675 SHA256 e21123302c58112f87afa2ae8008f6e8b7ea3afbc56e0003ff66fb3e6db10546 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk2X1poACgkQaC/OocHi7Ja4ygD+P+cwQlRvubjg9B5VyIJYkmqd -ofc8N0MVC+0MhqqK/9cBAIegKaLvC4fQfKHdCvVkSIgkjl2FTd3t0niMisjJ2H2A -=AJrA +iF4EAREIAAYFAk27V9UACgkQaC/OocHi7JYeHAD/aQRYLljSS1HBQq+PMUHLKOfd +ugI698VgB2lPIir7DrsA/0fpT2yu6S9DpKoHv40uYCjTyTa64Kf8pRhAUHXT9Epk +=Sy/j -----END PGP SIGNATURE----- diff --git a/sys-libs/timezone-data/timezone-data-2011g.ebuild b/sys-libs/timezone-data/timezone-data-2011g.ebuild new file mode 100644 index 000000000000..40faa3a811ba --- /dev/null +++ b/sys-libs/timezone-data/timezone-data-2011g.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2011g.ebuild,v 1.1 2011/04/30 00:29:59 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="http://www.twinsun.com/tz/tz-link.htm" +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="${ROOT}etc/conf.d/clock" + tz=$(unset TIMEZONE ; source "${src}" ; echo ${TIMEZONE-FOOKABLOIE}) + else + src="${ROOT}etc/timezone" + if [[ -e ${src} ]] ; then + tz=$(sed -e 's:#.*::' -e 's:[[:space:]]*::g' -e '/^$/d' "${src}") + 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 ${ROOT}etc/localtime to Factory." + else + elog "Skipping auto-update of ${ROOT}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 ${ROOT}etc/localtime has been reset to Factory; enjoy!" + tz="Factory" + fi + einfo "Updating ${ROOT}etc/localtime with ${ROOT}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 +} |