From 2d4d531ed465cdfc6e94a38b92c74fcd43109fbb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 12 Feb 2007 15:46:53 +0000 Subject: [PATCH] Version bump #166505 by Rodrigo Severo. Package-Manager: portage-2.1.2-r9 --- sys-libs/timezone-data/ChangeLog | 8 +- sys-libs/timezone-data/Manifest | 25 ++++-- .../files/digest-timezone-data-2007b | 6 ++ .../timezone-data/timezone-data-2007b.ebuild | 77 +++++++++++++++++++ 4 files changed, 107 insertions(+), 9 deletions(-) create mode 100644 sys-libs/timezone-data/files/digest-timezone-data-2007b create mode 100644 sys-libs/timezone-data/timezone-data-2007b.ebuild diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog index c38b5f066875..1049a56bfa2d 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-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.58 2007/01/13 19:01:03 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.59 2007/02/12 15:46:53 vapier Exp $ + +*timezone-data-2007b (12 Feb 2007) + + 12 Feb 2007; Mike Frysinger + +timezone-data-2007b.ebuild: + Version bump #166505 by Rodrigo Severo. 13 Jan 2007; Mike Frysinger timezone-data-2007a.ebuild: diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest index a1af630119a4..7d9bd8e30a78 100644 --- a/sys-libs/timezone-data/Manifest +++ b/sys-libs/timezone-data/Manifest @@ -8,9 +8,11 @@ SHA256 5eb2068da4df12a2eb84caebe262c285b62e244e046b50869b6a80e16401d707 files/ti DIST tzcode2006g.tar.gz 186201 RMD160 3cef35fd05a7f9f888bf4f0453e4c134999bfe19 SHA1 d07677f939e19bc4621d106561c6f21d42df6e70 SHA256 972b29be1d2e5c3c9cf17b9d6d92ce90b568f1c8ec9d6d54fb3b45047371aa9c DIST tzcode2006p.tar.gz 187340 RMD160 d076f1bd80a3c6676cb32b0f4b2d67a76d66af29 SHA1 f540c84539b0b5e0f33a3659aab5940a9d399ec1 SHA256 abbe9907e5d1073e9190700527428e3af65a25edb2516259c0bf42785f20df53 DIST tzcode2007a.tar.gz 187427 RMD160 08360e03bece6b85b27db910485446e074f42fcb SHA1 9d2a721b8297f43cea0a0681851bf475d1291de4 SHA256 b1f6d2bba4d13f8a8ddef946833caa612efbfa64850052317cadf1ad2b706e63 +DIST tzcode2007b.tar.gz 187437 RMD160 2fa306e020662aaf30f832876be56c71a08dd685 SHA1 6cb7edb13d5c99b0c4b777abfa34412dc3071a26 SHA256 2710535e40d387043b9435c6e1bf470a5cb98c298e4ae7f7c8c215a7ae425843 DIST tzdata2006g.tar.gz 153042 RMD160 b45ba26d1d34f8e591a4f6e4fe95450ba93bfdef SHA1 ecb25c4cc858f1bf3ec2be148d9d72e3563dbefb SHA256 028a5d8bc3771876cf43b497e8b8691acae8263af34b0a8de3e014f01a5558d0 DIST tzdata2006p.tar.gz 157220 RMD160 846f6d6d65bbad0e9cd1f346e7cfc78ed5bcb116 SHA1 aa9c9d98ec369f93096d83e23c33b8042503dc55 SHA256 6b246374b468d8ead477541f4624b74cd1da2b3de7ef757a3fc40ca29cfb29bc DIST tzdata2007a.tar.gz 157506 RMD160 3f4d0a7fc49a69f1b1bf396dafc856c6f4e235b6 SHA1 f1c051d9f47ad0b23f9a60705c12980f268303df SHA256 7866826c0fd0810af2bb2b240c81961b0350c1fa42db870baa33c6126039e0d3 +DIST tzdata2007b.tar.gz 157432 RMD160 b33cf3046265dea56e6efb6fcb0172932a823f61 SHA1 72d2793f0a0fb324cd81702f49c0e7f02e522a9a SHA256 f1dcc1c615a792c0f72704119faf141e7408f8c94d876e478e052fa33b5a1cb1 EBUILD timezone-data-2006g.ebuild 1432 RMD160 1d6a835f50d38a7fc1f48b2cd81740e26e470830 SHA1 8d2f181954846d3e3a574634a8e3a8ab3c20dfc8 SHA256 f38412a5e42caf5fc87163a30d2368de76a467731ca3398dda8bb6984bb4829b MD5 357a0738b1cab7d15fc7cc25e695c110 timezone-data-2006g.ebuild 1432 RMD160 1d6a835f50d38a7fc1f48b2cd81740e26e470830 timezone-data-2006g.ebuild 1432 @@ -23,10 +25,14 @@ EBUILD timezone-data-2007a.ebuild 2243 RMD160 2c3788bb1fd145d8eccfed794a96ba1668 MD5 7e8ac5d4fa2ed371e66c41bde414c3b9 timezone-data-2007a.ebuild 2243 RMD160 2c3788bb1fd145d8eccfed794a96ba1668ecfeac timezone-data-2007a.ebuild 2243 SHA256 724ba207dc7a42b6809f699a4f77d0fbc9d7e5ab0178904ba62c0fec634f5545 timezone-data-2007a.ebuild 2243 -MISC ChangeLog 7737 RMD160 f827ddba11d029045263e95549dcb6b7069af8d4 SHA1 bd2bd3765b94c10bfd635f05b5b4375dc45830ea SHA256 d7fcd2a6fd7f785b84e840ec48412e5d2b5d0930bae408a9a8cf05d5b5cecb25 -MD5 5ace4bd4ed6071a09624c80b41afb3dd ChangeLog 7737 -RMD160 f827ddba11d029045263e95549dcb6b7069af8d4 ChangeLog 7737 -SHA256 d7fcd2a6fd7f785b84e840ec48412e5d2b5d0930bae408a9a8cf05d5b5cecb25 ChangeLog 7737 +EBUILD timezone-data-2007b.ebuild 2243 RMD160 d33fc3bc083ef231bc0e5b09077c0c5f79a10b79 SHA1 675f0d947a39c48ca46260978c2e1e05cd471798 SHA256 8dd7bed2b9cbc215dbc52f11c1627c69f8482daf16c8fa58295a810a0d46a354 +MD5 283b7c455f8d11abefb4b566e24a2fe1 timezone-data-2007b.ebuild 2243 +RMD160 d33fc3bc083ef231bc0e5b09077c0c5f79a10b79 timezone-data-2007b.ebuild 2243 +SHA256 8dd7bed2b9cbc215dbc52f11c1627c69f8482daf16c8fa58295a810a0d46a354 timezone-data-2007b.ebuild 2243 +MISC ChangeLog 7897 RMD160 84d58f3d4a036ff2295b2dc2a26b84003d770d16 SHA1 05f59bbf95390493740a2610768f2c2f5ba2a544 SHA256 ffba38c6ac33b098ca84a89c05caabf4870e95b244b25097f116dcdb11ef61fc +MD5 d54ef38d3beb40353e1cc7fea7e8d1c5 ChangeLog 7897 +RMD160 84d58f3d4a036ff2295b2dc2a26b84003d770d16 ChangeLog 7897 +SHA256 ffba38c6ac33b098ca84a89c05caabf4870e95b244b25097f116dcdb11ef61fc ChangeLog 7897 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a MD5 567094e03359ffc1c95af7356395228d metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162 @@ -40,10 +46,13 @@ SHA256 b81bc44d1f497b5d3b1102f8edd1f8e413e7a293ad5e703fdacdbe3043043682 files/di MD5 5f2cfcbaefa62caf702eb3319aef4a4a files/digest-timezone-data-2007a 470 RMD160 77ef9a13aa8cbaf26c2bab32b51061d5dbbd0050 files/digest-timezone-data-2007a 470 SHA256 00bd4d260d3b1844384a449bb87cb00da184902226cc3ebec4119095aae93a0a files/digest-timezone-data-2007a 470 +MD5 583d2e91ac0388d2747112466d238e6d files/digest-timezone-data-2007b 470 +RMD160 fa3ed7e0b1f931d0e80f0d239014a0a7180a35f7 files/digest-timezone-data-2007b 470 +SHA256 91d42b97beded09b39a54627f74e534a40da08615fbf540b4ec42892e2d77ffa files/digest-timezone-data-2007b 470 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.1 (GNU/Linux) +Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFFqSyH8bi6rjpTunYRAhwkAKDZcEW2louLvGKw7CdHkAfRo0ALWgCgrkV4 -tfXIR/xw6LGpNjym67tJ+pc= -=wl+i +iD8DBQFF0IwG8bi6rjpTunYRAv8FAKDHhXFqmNkN756EcQVW3awLdJmPPQCg1Irh +OwWX+YPD6ScyDfMSr1rMEg4= +=Naxp -----END PGP SIGNATURE----- diff --git a/sys-libs/timezone-data/files/digest-timezone-data-2007b b/sys-libs/timezone-data/files/digest-timezone-data-2007b new file mode 100644 index 000000000000..951f276816ed --- /dev/null +++ b/sys-libs/timezone-data/files/digest-timezone-data-2007b @@ -0,0 +1,6 @@ +MD5 cdcf902ff81f5a4d787ef73390d1d7ca tzcode2007b.tar.gz 187437 +RMD160 2fa306e020662aaf30f832876be56c71a08dd685 tzcode2007b.tar.gz 187437 +SHA256 2710535e40d387043b9435c6e1bf470a5cb98c298e4ae7f7c8c215a7ae425843 tzcode2007b.tar.gz 187437 +MD5 2b624fbf9e819dcbd8bb0246ab05370c tzdata2007b.tar.gz 157432 +RMD160 b33cf3046265dea56e6efb6fcb0172932a823f61 tzdata2007b.tar.gz 157432 +SHA256 f1dcc1c615a792c0f72704119faf141e7408f8c94d876e478e052fa33b5a1cb1 tzdata2007b.tar.gz 157432 diff --git a/sys-libs/timezone-data/timezone-data-2007b.ebuild b/sys-libs/timezone-data/timezone-data-2007b.ebuild new file mode 100644 index 000000000000..b6c006ef7576 --- /dev/null +++ b/sys-libs/timezone-data/timezone-data-2007b.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2007b.ebuild,v 1.1 2007/02/12 15:46: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" + +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" + +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 + make -C "${S}"-native CC=$(tc-getBUILD_CC) zic || die + fi +} + +src_install() { + local zic="" + tc-is-cross-compiler && zic="zic=${S}-native/zic" + make 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=$(source "${ROOT}"/etc/conf.d/clock ; echo ${TIMEZONE}) + if [[ -z ${tz} ]] ; then + if [[ ! -e ${ROOT}/etc/localtime ]] ; then + cp -f "${ROOT}"/usr/share/zoneinfo/Factory "${ROOT}"/etc/localtime + fi + ewarn "You do not have TIMEZONE set in /etc/conf.d/clock." + ewarn "Skipping auto-update of /etc/localtime." + return 0 + fi + + if [[ ! -e ${ROOT}/usr/share/zoneinfo/${tz} ]] ; then + eerror "You have an invalid TIMEZONE setting in /etc/conf.d/clock." + eerror "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 +} -- 2.26.2