summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-03-10 00:34:30 +0000
committerMike Frysinger <vapier@gentoo.org>2014-03-10 00:34:30 +0000
commitb6ec8728de0864e11ffd2e8b1d2a90a83d7044fd (patch)
tree4d6d2a9d00acf054cdd5238c5ff8182c230a7055 /sys-libs
parentFix by Martin von Gagern for building w/readline-6.3 #503954. (diff)
downloadhistorical-b6ec8728de0864e11ffd2e8b1d2a90a83d7044fd.tar.gz
historical-b6ec8728de0864e11ffd2e8b1d2a90a83d7044fd.tar.bz2
historical-b6ec8728de0864e11ffd2e8b1d2a90a83d7044fd.zip
Version bump.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/timezone-data/ChangeLog7
-rw-r--r--sys-libs/timezone-data/Manifest31
-rw-r--r--sys-libs/timezone-data/timezone-data-2014a.ebuild129
3 files changed, 152 insertions, 15 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog
index c4bacecfaad1..c2492d63e3cd 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-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.297 2014/01/18 02:22:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.298 2014/03/10 00:34:27 vapier Exp $
+
+*timezone-data-2014a (10 Mar 2014)
+
+ 10 Mar 2014; Mike Frysinger <vapier@gentoo.org> +timezone-data-2014a.ebuild:
+ Version bump.
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> timezone-data-2013d.ebuild,
timezone-data-2013f-r1.ebuild, timezone-data-2013g.ebuild,
diff --git a/sys-libs/timezone-data/Manifest b/sys-libs/timezone-data/Manifest
index d3fcafa25d37..b2e478fd9698 100644
--- a/sys-libs/timezone-data/Manifest
+++ b/sys-libs/timezone-data/Manifest
@@ -18,6 +18,7 @@ DIST tzcode2013f.tar.gz 170365 SHA256 ffd83e06f61f7854827cd7ac34239ef29c3d5ec760
DIST tzcode2013g.tar.gz 171550 SHA256 c7c358b459bb65cfab7b7bdd6a9689233fc393f1f9fdf4f0f46ca7dac5a9587b SHA512 dd4475916fe36609155d72cfe434b387455ba860cee15fbbbb5caf37cc77757d467c4ae80e81396280e8d3fb68e131373151e8d0eee9bbf8674b96f99e0a9cbd WHIRLPOOL 558d14d820ff7c2ace2f9f0e126fea708abc97ca4fed73f5ad682dbf6756b72729a67b481d4dd85a528cc3bc8ab09f53002ed69227d20c2e9c249bc3ad7f6557
DIST tzcode2013h.tar.gz 172896 SHA256 e14addfc4e0da3cf17ccc1c08cb8094a2a0d3ae9524f565b74e6373c9b83ca0e SHA512 c8570396b5f78f886bd8658206fbb863428dfe1dcbd51262d124f1a1bd650e57bf4c558ee083a8cd2445e23942b2982121a58e3c2491d677a2835ea5b9a2e8f1 WHIRLPOOL 5e34acf43d9e2318ccc302a001b9f9ee7bdee4cf3e260e7cb83c21484a73999d89eff62d97ca43870aa91d6c2d8017de6c7a285a5f8cb604f61adcbc6236d62b
DIST tzcode2013i.tar.gz 173169 SHA256 63bba6790afc1cb2ea0af2b998a35fc237e247608140dbe4e08b4216a8c31358 SHA512 863d181339d8b44ae9876a02e436da33b723f81e592a0e0f51f1300a2dac277bc18ed422b8631e27032769620323c94c848f3abc926d8bc28074d3d4b4bb8a28 WHIRLPOOL 9de16a388ac7a1e7965b1aaed4461657a2f822a08fe6c8c5f025bdad6512b53ef0ea6960ef03bc372df3541f9c8588797cd1e2b2dcecb10afb9041965b3684a1
+DIST tzcode2014a.tar.gz 174391 SHA256 05b93ba541b167a4c10f2e81a7baf972c24ff12db27d85f6c2dd328443c4d3f5 SHA512 bd48ce8b0bea23e7ab766acee7caf72bcd515ad3e039ab7d0356cde3d295d06a94497e4400b272bafcbca6fe9bef7c4f79fc58b7e2522e4aaa6dc43158f80745 WHIRLPOOL 32d6f2cb692b888fd2fd2dba3d3bbbe989fc387cb30778230e4b6c63aad8eaf274648f8fb14574a60620d4ae13cf66b462f480c97bd37f9edf70b838a112b44e
DIST tzdata2011n.tar.gz 204684 SHA256 a343e542486b2b8ebdeca474eed79f1c04f69420ca943c2b9bdea1d2385e38cd SHA512 2081fa44f00ace6539ecc1296f454fb96bb4afa61114ffbc58f46f82ef8ba2cfa22d7e48456a293502433dccca6d921db8f70d6c6e18a074996cfeb74534d2df WHIRLPOOL e7004894829c63baef91fd5fbc14b77a7fbd92ae2a6e001f279c8b1169bd5be009ae07af336ddaca148eadeba3383896b247a19c9e72d894e80ad60fc896f3f3
DIST tzdata2012j.tar.gz 214075 SHA256 4b6a3c2831bdbb68ab1a1bf906bcf11d18ab78009713a0339da6fe96b6afceaa SHA512 98515b92268a2ee49386f6955211c14b9fe47460ba1c3ec5d60681b1a934688c3de4452f8f757ca3a6924e15784585967c768e7c86be730378d0332c249584fe WHIRLPOOL 17af29d05587bea2b05762751d146101a8bcc647346aa22a33e06a095805ecf4feab62693b3216ba5d75cf87f8a63d8cbcee9167be4b6dfe7936e1828bbc4b8a
DIST tzdata2013a.tar.gz 217511 SHA256 ed9f273f52d5df9ec09fdcf6684176bbdc86d0fbafcbc27b97e5a9c103024afc SHA512 c5b07246218f5c3c751b7ddc5c4ee127432fc19187019321beeff589596ae91c4d64400a63b6e335cf6a30643a8d9c8b9bd37d31c553424718626d7591aab995 WHIRLPOOL d1bb9d9e0d9e4d3df6f866dcd1b6d35cb07da0f2066e7d92140605f917f52e20f3acfabf65ff9e31f8885a088430cbef141b787088c37bcd8e7bca42d9f3007a
@@ -28,6 +29,7 @@ DIST tzdata2013f.tar.gz 223967 SHA256 5b72ed29bea75e0b59cbd3f575db0aac62f96a2a36
DIST tzdata2013g.tar.gz 226943 SHA256 b6cdd3998dcc732a6ae5e101e1394f9d4d6dff68bd48a8fb78c44c2b997d3a4f SHA512 84107da6eb8bbc9063b06e422eb6ef4a5952039b90b4c86f6cc6ccecb370d1482dddf8be472d498b98cbb3ac6f7a0ed374f8b83613989a7d7a3a228b8910ac71 WHIRLPOOL fce805496f463cecac3c84c64dd5f1fe8c7eaea80bcfcb4796f1dac023e9c4de94203f64f1901ec6cb348d1986e1c4d965a6aac026ab6f9365d0ced691e8eefe
DIST tzdata2013h.tar.gz 227411 SHA256 6b9e17e823eec0e09e12f74b452a70be4face1ef14c2fb1917b7c7e60564de27 SHA512 4f584e4a71726182e9cc2f13baea2f02b15f4c5603595f6493318a3920903074ad0b073b4c6f888baa33f648422a02600a6fd8d3345120f45da0f5d5453fb8d8 WHIRLPOOL 21f9d9e1e651861eeb29c372267888c6fbd5bcb501bcb0704ed309001b81ca413397d780cd194b93b2b29ff94190325f04bb834e3be5e4b7a5f013968062358d
DIST tzdata2013i.tar.gz 218866 SHA256 1cd56a6ee964143ef0c65229968a5093988335b95e9115235b5e7b7e45e67dda SHA512 679645837b940c0d4c63cb070e26c042461a520caa5fbe1ed12897a6bfb5c440352d54a9e1ffb8b7098a10dd9e2f33cf4c6f9cb0b6fc84c0dfc3898501ce4082 WHIRLPOOL f5c559b8bd3869e2f90792079329582d26d3e95f744543c40b5c3aa6429390a39e04697d68151730019e60cfa3c6fe6b4f8d3d3e79b6b4bed28dc4e81cffa9ce
+DIST tzdata2014a.tar.gz 219826 SHA256 7cff254ce85e11b21c994b284bccd1e12ecda9dadf947fbb32e1912fd520e8b1 SHA512 91493a5ea85be2db6334c71d742e490e109896de28b08f6a76fa6cd30c03edb8b45c2ed4cab254464f1e559aaf22b1533f6b3582718f56142114178846cd5a96 WHIRLPOOL 0318f5ad11a0985bfcb26b63f03624b9a035059327728c90c368a00db6976bf063a22c5e9d48d5209feb12c28362820002d849109b1bb5ad4315403add22b1db
EBUILD timezone-data-2011n.ebuild 3140 SHA256 382ca5ff92759e7fd37355ee30d3ad7fdfebc4290a2c3f9ac38063ec3f2681e1 SHA512 a5a6db9d6ebe425174f83560fed5b949559c9cfadacc2a73adbfd3637d38cffa452453aaa90e29f0424126596c8ac4cee1bf8a8a6dbc66343117d5acd1f0e02c WHIRLPOOL c307ed3e521cddf3a18305c4eb8ecc5badfad6c5b8339402cd3fac3fba3861f59bde65c06b30769a75196bb35ed7dc12227882ca3193ab27aad0e95de9daa5ee
EBUILD timezone-data-2012j.ebuild 3226 SHA256 189e893f9a2de810a15d4c36dc060bd488486238eb0b62e3e34b0f94f4580887 SHA512 b421e8f2ac49de3e5c35a429821c3b10a4545c11b03974d9091f088543bfdbb3276893ca08829d1bfc7d8c7eb9bf958c8de9543fece5b511e315bc031d4a5a9a WHIRLPOOL 8972b6e607f11ea8f4564d10213449afdb1c3961a18514f5a4881dd56a80fe24c59ad326899c302ee55f99823445810b18b7e85c2512384dad5bfaba44a30e2f
EBUILD timezone-data-2013a.ebuild 3236 SHA256 1fc1cba3d07afaacb31d71942d542deccf0a3e3383e5854519078b501449e30e SHA512 0f21ffa6306a3e4d0ae5df5e0ec5ff464c350e921dfab0330de159b9196b996ea91c6a81623a94896c71875054fb54ea167a696409245e9b916a4da0788430ab WHIRLPOOL ced72ae6c5bf80b0af88b1d2e56f2f68712c17b15463c4543019238999fe33fec032c671eee0d5b68c643926f8bd6ccc608bb5202215cb4ba6426a883214d50b
@@ -38,22 +40,23 @@ EBUILD timezone-data-2013f-r1.ebuild 3836 SHA256 c96dafa692e90b634d98358fae4a9d6
EBUILD timezone-data-2013g.ebuild 3833 SHA256 daf2dcc59457b704e3f079f1008d7ca8d05cdea7f1cf1403c6bd815e846998ae SHA512 da029369889e036438c4f6ce87f35b59e7b509c65034fbbcf8e219cb91713d5a61ed162e0d094c56f0ad775de7325af10637d713b613bf71d3dd548183a248ff WHIRLPOOL 53246a6f06cbbcadf60a4a2e7dc239724757ac64f38cffb706e6735271c7c6a9ddb61d83b6220a9607bd459ab55c0717597c8aa970ae32efd6c8398fe96cda59
EBUILD timezone-data-2013h.ebuild 3845 SHA256 31cdbbba53a8627e5f64709e5f2ef7b852f76d1a6dd730430d74f3dfa71a07cb SHA512 b24b14f44eeaf386f03024524fcd645842bc70c49826537872616d174101d5ecd8a957158a7ec754d947796c99cfd6d85c2ba8009e01b2e42b20382117af521e WHIRLPOOL 1d84e2d0b7f380ee74450a82b0b19d15b872840a893d0dceea3a6f35a816112b8f5a8646e8d69b48fe3d03b02f16fe389f36f377aa09ef172ffd9ae18aa6bb42
EBUILD timezone-data-2013i.ebuild 3845 SHA256 92a0ec88188d6b037a8b44f4ecfa02a39cd2c6789600291c758c7b71f7b08b3c SHA512 0945048dbb8372333a278c383ed742cdd2795717114e30850daa3a77ff277c3871b09797e9adc5ffecc44e7ac0b0d1d5211945e924a4efc06a6e52aef4980349 WHIRLPOOL 6ae79b2d8acd8858a5ad10c32f4eea08c379f528b33ef72d0b1a9a764fcf5b6c9c29bc416404b1a4882c70468805610d43bb5f790e402b87b7303cbc891af5f8
-MISC ChangeLog 39915 SHA256 017976fdbe05960a644fd1e5ebf76c184b6cb4972f5b1c80bad85121328be855 SHA512 05c29993afe41ae7eabf7909bb6de6ec33944ff78742c91f80ff61089c06df9237babe0503b9c80d8ba1f5fc97aa15f0ac5c2ba3cd1416cff846b5db8f180701 WHIRLPOOL 2a64dc899f933e86855be4c6bc4fcbe1760e42d413aedd866d20538fa20288da5a9a493ff8b3e747c4a045f81b692fc73707df17d77510a78b2ec4f02de2ada4
+EBUILD timezone-data-2014a.ebuild 3845 SHA256 dd3daadd5154e2135d7876dedd59d0029104445a3297b9565a9763b5acf5accd SHA512 3edd38620c8ac451723f843acffa6bbe6b918d748c0c84df52664ae187aaa0943d467afcc14908567e7a0222a44124aebbd4c698ab6c71f6a5ea10f7d28c3afa WHIRLPOOL 531066f27aa993567c50bcb647c0239a5301afebf3627a88d64d7c1518864f7c4feeb82ed855b38688a332953021578340ed0b9895753d59734f0f0df660c753
+MISC ChangeLog 40047 SHA256 74e5fe934ebe06287238376a8a9fa5e9dc1fef359a70947fbe37c5a69f30a8ec SHA512 f6ac72aa44a0ec6bf1ae5461d2a21b0365f1159f5455d08bb2635d0daa32491918e0d1fabcb5671076a9927a41997e2fd8809bb7988d37a82150efe10437edf3 WHIRLPOOL 4c1e7caf920738d93422bd03a46985619868d233c559ecffc6fa8e92a568d1cadd2acc88ab2cf89547e368221bface2414087af8faf113b253bc74b54a63fc3a
MISC metadata.xml 262 SHA256 fc8b85adf6da7103f13237c3796f6deabbfaa022ce4ee9eed4510c32442df512 SHA512 8e54516211de1628ecc1d896a47efdbdf828abd1815d5f3220a724b8e0dc160d9daa905f0b8fa3685ba0ff0a58abd23c75ce61998e20d8a8ec1f1d642eb74b17 WHIRLPOOL 56834aa3ee133edfc9aed39692f48f28978c927b36d4d790eb6f67cb6080a797f9e1c4b27d68bed16961e31ae024c132fd15c546f2b79b1216080ffbd8ea056b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJS2eWJAAoJEPGu1DbS6WIAQ8oP/2btBHywE+RK87wONcVR68kX
-l4rw1gEGRMY9ub6XeM/MS5h6p9mvun3yA5CvmxHe3Ui62sisA5jTTzb7EH+NWiJV
-o3IKIedm5JiAmOftZzqIz8pQue3z1QD0znuX+CUZgZQa1oPutJGjr/VkUt8764pr
-KQEcpL1FvuXKj3NQDpiW8nmwjwZvbumfKoDBENUyrv9CkgBpSVPeJ3zJtspZPh6K
-s3D6JewhNnmDXc8NSg7oqtRFIZfm4Ylqcdhm7ebVWCZDyyMlTiZV7vB/lXwnEetK
-4n4Rv/aH8JX4WoOUCHZDAe+yYXPJiFzCO0dk0sONEkdso1ReweFftVUE5NfFZd1Z
-Tmb3jN+6tb/tM/riNkoYuXc6xzRrcRhjQ/TV0T/4aRvTwUmzIN68OCpMOba8I/bT
-a2q5bhq/0/kKXtRjlJdSiimNQkWxp32Uktk4kcnq5wXJLQiEkgWvLYnHiBqpnDlR
-k76D400OS8n0XxJLkMeZvHogRUL+x5USCKwYGLg87WxlPZdDQOPE4QjR8cmFC5F/
-lxeOjrbOS47O67oyxlKXcvnQaBJyuSr6SRymCS7H5XP+xMqdfH3IbP5VMHE90OaR
-o1Qgz/iKKfUfMc30CM+I+Hym5Ooa1OeLOJv6xv/Pnm6Iev4o4X6jemooQCaVH24z
-SvL3WO0U9zyqbz/pHup8
-=7reg
+iQIcBAEBCAAGBQJTHQiaAAoJEPGu1DbS6WIAhl0QAIxvN91oVWLLZ2kG9bcBi2aC
+8ZRZbOIRuKcriCgXFPMrPrEK9ZofIjOzdkDzWyLsPqYEstzl3Vx+wWEGi48RwQXJ
+lJjxCDRmC4hhX6l7Kf9z8tsMhBx9LBq7Q+7Sz9qJVJmWFd9Rj63eo3+c5jiRwKj7
+1Qax7kl9dOdDD0TMCIPTeFTr7gBUaJtvuGGrcbkkzqhBDcXlG6bgGV0MzkJiH7CB
+HRugnWYbaZ537Y+yzjN00cQfHx0wm40eYX+mYUtJxz2uQCqkeCCV8FmTfbDxYxXw
+j7P4kTDT7liaT906RHZ0iairLdJLZWKEtOvsFEvkp7V60ZQc1TrtK4tYpIejSd/l
+RCczwCp87qVr6xbqvo8623Vg7TSNSc1E7F9lZcLrGn8tMNHCyyHiZy5O7ot+rEaW
+X4ku8fh6Mj/VQYdMvD0cBpWsRJPLJsZ+ZMVwfWegCswMoDrE2/juA8GoEkHBcPwL
+U1I6WEhlh5NutzHPBh8/XGeYdh83d5qu/tENoFUcgSJ4ypG3OlGaX/1/fWqXHNJt
+dyn58ZjQ4ouQVIZaDhln6ztokH2Mfg31i9/aC7+d2l8avNuF7TzZTotyXVZs6tyd
+//HeMQYFykCyG8Mu/erIz8syVoaoB7fZKl6Rk/378A9RgRTlW7MFWGapj4cVTRIG
+CimaBwEDMOSFs4Cpv+C0
+=pQSS
-----END PGP SIGNATURE-----
diff --git a/sys-libs/timezone-data/timezone-data-2014a.ebuild b/sys-libs/timezone-data/timezone-data-2014a.ebuild
new file mode 100644
index 000000000000..1d9759246d0c
--- /dev/null
+++ b/sys-libs/timezone-data/timezone-data-2014a.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2014a.ebuild,v 1.1 2014/03/10 00:34:27 vapier Exp $
+
+EAPI="3"
+
+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.iana.org/time-zones http://www.twinsun.com/tz/tz-link.htm"
+SRC_URI="http://www.iana.org/time-zones/repository/releases/tzdata${data_ver}.tar.gz
+ http://www.iana.org/time-zones/repository/releases/tzcode${code_ver}.tar.gz
+ ftp://munnari.oz.au/pub/oldtz/tzdata${data_ver}.tar.gz
+ ftp://munnari.oz.au/pub/oldtz/tzcode${data_ver}.tar.gz"
+
+LICENSE="BSD public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="nls elibc_FreeBSD elibc_glibc"
+
+RDEPEND="!<sys-libs/glibc-2.3.5"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ # Deal with the case where older timezone-data installed a
+ # dir here, but newer one installs symlinks. Portage will
+ # barf when you try to transition file types.
+ if cd "${EROOT}"/usr/share/zoneinfo 2>/dev/null ; then
+ if [[ -d posix ]] ; then
+ rm -rf .gentoo-upgrade #487192
+ mv posix .gentoo-upgrade || die
+ ln -s .gentoo-upgrade posix || die
+ fi
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2013h-makefile.patch
+ tc-is-cross-compiler && cp -pR "${S}" "${S}"-native
+}
+
+src_compile() {
+ local LDLIBS
+ tc-export CC
+ if use elibc_FreeBSD || use elibc_Darwin ; then
+ append-cppflags -DSTD_INSPIRED #138251
+ fi
+ export NLS=$(usex nls 1 0)
+ if use nls && ! use elibc_glibc ; then
+ LDLIBS+=" -lintl" #154181
+ fi
+ # TOPDIR is used in some utils when compiling.
+ emake \
+ TOPDIR="${EPREFIX}/usr" \
+ CFLAGS="${CPPFLAGS} ${CFLAGS} -std=gnu99" \
+ LDFLAGS="${LDFLAGS}" \
+ LDLIBS="${LDLIBS}" \
+ || die
+ 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="${ED}" || die
+ dodoc README Theory
+ dohtml *.htm
+}
+
+pkg_config() {
+ # make sure the /etc/localtime file does not get stale #127899
+ local tz src etc_lt="${EROOT}etc/localtime"
+
+ if has_version '<sys-apps/baselayout-2' ; then
+ src="${EROOT}etc/conf.d/clock"
+ tz=$(unset TIMEZONE ; source "${src}" ; echo ${TIMEZONE-FOOKABLOIE})
+ else
+ src="${EROOT}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 ${etc_lt} ]] ; then
+ # if /etc/localtime is a symlink somewhere, assume they
+ # know what they're doing and they're managing it themselves
+ if [[ ! -L ${etc_lt} ]] ; then
+ cp -f "${EROOT}"/usr/share/zoneinfo/Factory "${etc_lt}"
+ elog "Setting ${etc_lt} to Factory."
+ else
+ elog "Assuming your ${etc_lt} symlink is what you want; skipping update."
+ fi
+ else
+ elog "Skipping auto-update of ${etc_lt}."
+ fi
+ return 0
+ fi
+
+ if [[ ! -e ${EROOT}/usr/share/zoneinfo/${tz} ]] ; then
+ elog "You have an invalid TIMEZONE setting in ${src}"
+ elog "Your ${etc_lt} has been reset to Factory; enjoy!"
+ tz="Factory"
+ fi
+ einfo "Updating ${etc_lt} with ${EROOT}usr/share/zoneinfo/${tz}"
+ [[ -L ${etc_lt} ]] && rm -f "${etc_lt}"
+ cp -f "${EROOT}"/usr/share/zoneinfo/"${tz}" "${etc_lt}"
+}
+
+pkg_postinst() {
+ rm -rf "${EROOT}"/usr/share/zoneinfo/.gentoo-upgrade &
+ pkg_config
+ wait
+}