diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2008-07-31 01:03:00 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2008-07-31 01:03:00 +0000 |
commit | ce23bfa82c4a0c6d410a02861fe361fe9e9861d4 (patch) | |
tree | 98770f408c8555fc141eab2013e94ba2318d46c8 /sys-libs | |
parent | Removing dev-util/livecd-kconfigs, since the kernel configs are now available... (diff) | |
download | historical-ce23bfa82c4a0c6d410a02861fe361fe9e9861d4.tar.gz historical-ce23bfa82c4a0c6d410a02861fe361fe9e9861d4.tar.bz2 historical-ce23bfa82c4a0c6d410a02861fe361fe9e9861d4.zip |
Version bump; bug #233180
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.24.5 x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/timezone-data/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/timezone-data/Manifest | 15 | ||||
-rw-r--r-- | sys-libs/timezone-data/timezone-data-2008e.ebuild | 96 |
3 files changed, 116 insertions, 2 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog index e15c8223a1ca..f76cc65697ac 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-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.141 2008/06/23 16:45:03 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.142 2008/07/31 01:03:00 halcy0n Exp $ + +*timezone-data-2008e (31 Jul 2008) + + 31 Jul 2008; Mark Loeser <halcy0n@gentoo.org> +timezone-data-2008e.ebuild: + Version bump; bug #233180 23 Jun 2008; Jeroen Roovers <jer@gentoo.org> timezone-data-2008c.ebuild: Stable for HPPA (bug #228675). diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest index 73b97a5318ef..40a421224794 100644 --- a/sys-libs/timezone-data/Manifest +++ b/sys-libs/timezone-data/Manifest @@ -1,8 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX timezone-data-2005n-makefile.patch 3504 RMD160 c08c65c6a6ae0392dfc5128801251c5d1c6d3b0d SHA1 ba0f9dd788b0cce06c7b016e3a9ff672e307aa23 SHA256 5eb2068da4df12a2eb84caebe262c285b62e244e046b50869b6a80e16401d707 DIST tzcode2008a.tar.gz 190126 RMD160 1f320c0bd05b65ba488bd657b58836223060f7a0 SHA1 aa68bc0bc1aba465692c8acefcf86641f240a802 SHA256 3d0fcf4c260614a88d4ee0041ef45bceedf2b4b697647cbd47c8b72766715c72 +DIST tzcode2008e.tar.gz 189670 RMD160 8484e93fd0ae7e5dc3df2d1871c33030dbc798d6 SHA1 bdd1896bacfefd2d1324702b4adc4d03d69e9816 SHA256 46bce4b2f052e942f7c2fdc00e5b4410a1df97626238e140c3b43d0cd432e3a3 DIST tzdata2008b.tar.gz 166544 RMD160 0bc433e12521b608f49fb259a45a61f7abb1db59 SHA1 13f610d04a4cf3a889478a032f123cf3fd351eb3 SHA256 633d76612d73a7add41a3b90fe5721ea5f4282d52bd8408b9d4fab261443aa6c DIST tzdata2008c.tar.gz 168440 RMD160 1a59fb3f2519aae73692bbd6e2091720bcbcb14c SHA1 f5500bb64c6960aaaa9c09cc38d36ef0e87f9c16 SHA256 ae32f514a57bbd4d8ff5ec280aa0eb7c27cb6c8c9a9167a1397e6788900cb41b +DIST tzdata2008e.tar.gz 171200 RMD160 cd936fe2c50aca5deede81e9241357ad60004624 SHA1 5d0f167b219e09b70d867868dabe89d5972511c8 SHA256 ddd526edfaf0d43fbe8facf772feb13266ae3cdddaf69a612b7a74cf37036548 EBUILD timezone-data-2008b.ebuild 2627 RMD160 0a743421b50b42d030fdc7da8b2ecc5ed1aa65ec SHA1 9d97b2212ba0eab2b2e132aa53975b81b2bfe153 SHA256 9967617a1d47f5b2e36fe1305fdcffd1f78f2e67f4aed4e54058c5c3b4cec17d EBUILD timezone-data-2008c.ebuild 2691 RMD160 0fea57eac297160c474d582920dabdc76872b63d SHA1 b7d530c8e35a3ca03bcb5f9e946e91a143ab140e SHA256 60921e1114d87a02dfdaee6341dcaf3596fa483c4e0ef319219e4ebb608e63a5 -MISC ChangeLog 17569 RMD160 b2d20827855be77ef06e692837dc183e70b66cc7 SHA1 02a7871e739551f75b3b1e2ebb7042fe9599e593 SHA256 b29c34116d55f8fabedab76332940a19c4cab6e9d1ca622ef1c21060557f2a48 +EBUILD timezone-data-2008e.ebuild 2702 RMD160 1d765a47c83f3b2ec3d795438b500c7ba74cbb2c SHA1 4163adc3495c544a0523d6cbf6fd58be01c06bdd SHA256 fbc2776a56a6e8fe2e420cedfaf6143532896d42a7dc77b4ea727406363391af +MISC ChangeLog 17715 RMD160 5c8a57404a890bc1751d32a44decf3397517915e SHA1 107110072b32056625c0130803eb07070e2674d3 SHA256 ceec5f3f1a632aab5d316d48659378a280db6650373cfb2ef15d3b197e943acc MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkiRD0sACgkQCRZPokWLroQD/ACeNuMhHCfivyCCwPzPX8MKqRoK +i4QAnRjaRt6GZ0Rl+0HYPx6lH5zl7Luq +=1jtt +-----END PGP SIGNATURE----- diff --git a/sys-libs/timezone-data/timezone-data-2008e.ebuild b/sys-libs/timezone-data/timezone-data-2008e.ebuild new file mode 100644 index 000000000000..1b18fabded54 --- /dev/null +++ b/sys-libs/timezone-data/timezone-data-2008e.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2008e.ebuild,v 1.1 2008/07/31 01:03:00 halcy0n Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +code_ver=${PV/c/a} +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="GPL-2" +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}-2005n-makefile.patch + tc-is-cross-compiler && cp -pR "${S}" "${S}"-native +} + +src_compile() { + tc-export CC + use elibc_FreeBSD && append-flags -DSTD_INSPIRED #138251 + if use nls ; then + use elibc_glibc || append-ldflags -lintl #154181 + export NLS=1 + else + export NLS=0 + fi + emake || die "emake failed" + if tc-is-cross-compiler ; then + emake -C "${S}"-native CC=$(tc-getBUILD_CC) CFLAGS="${BUILD_CFLAGS}" 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 +} |