1 |
vapier 12/03/01 17:37:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: timezone-data-2012a.ebuild |
5 |
Removed: timezone-data-2011i.ebuild |
6 |
timezone-data-2011d.ebuild |
7 |
timezone-data-2011e.ebuild |
8 |
timezone-data-2011g.ebuild |
9 |
timezone-data-2011j.ebuild |
10 |
timezone-data-2011h.ebuild |
11 |
timezone-data-2011l.ebuild |
12 |
timezone-data-2011k.ebuild |
13 |
timezone-data-2011m.ebuild |
14 |
Log: |
15 |
Version bump. |
16 |
|
17 |
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64) |
18 |
|
19 |
Revision Changes Path |
20 |
1.264 sys-libs/timezone-data/ChangeLog |
21 |
|
22 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/timezone-data/ChangeLog?rev=1.264&view=markup |
23 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/timezone-data/ChangeLog?rev=1.264&content-type=text/plain |
24 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/timezone-data/ChangeLog?r1=1.263&r2=1.264 |
25 |
|
26 |
Index: ChangeLog |
27 |
=================================================================== |
28 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v |
29 |
retrieving revision 1.263 |
30 |
retrieving revision 1.264 |
31 |
diff -u -r1.263 -r1.264 |
32 |
--- ChangeLog 1 Jan 2012 07:15:43 -0000 1.263 |
33 |
+++ ChangeLog 1 Mar 2012 17:37:27 -0000 1.264 |
34 |
@@ -1,6 +1,16 @@ |
35 |
# ChangeLog for sys-libs/timezone-data |
36 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
37 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.263 2012/01/01 07:15:43 vapier Exp $ |
38 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.264 2012/03/01 17:37:27 vapier Exp $ |
39 |
+ |
40 |
+*timezone-data-2012a (01 Mar 2012) |
41 |
+ |
42 |
+ 01 Mar 2012; Mike Frysinger <vapier@g.o> -timezone-data-2011d.ebuild, |
43 |
+ -timezone-data-2011e.ebuild, -timezone-data-2011g.ebuild, |
44 |
+ -timezone-data-2011h.ebuild, -timezone-data-2011i.ebuild, |
45 |
+ -timezone-data-2011j.ebuild, -timezone-data-2011k.ebuild, |
46 |
+ -timezone-data-2011l.ebuild, -timezone-data-2011m.ebuild, |
47 |
+ +timezone-data-2012a.ebuild, +files/timezone-data-2012a-makefile.patch: |
48 |
+ Version bump. |
49 |
|
50 |
01 Jan 2012; Mike Frysinger <vapier@g.o> timezone-data-2011n.ebuild: |
51 |
Stabilize for everyone. |
52 |
|
53 |
|
54 |
|
55 |
1.1 sys-libs/timezone-data/timezone-data-2012a.ebuild |
56 |
|
57 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/timezone-data/timezone-data-2012a.ebuild?rev=1.1&view=markup |
58 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/timezone-data/timezone-data-2012a.ebuild?rev=1.1&content-type=text/plain |
59 |
|
60 |
Index: timezone-data-2012a.ebuild |
61 |
=================================================================== |
62 |
# Copyright 1999-2012 Gentoo Foundation |
63 |
# Distributed under the terms of the GNU General Public License v2 |
64 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2012a.ebuild,v 1.1 2012/03/01 17:37:27 vapier Exp $ |
65 |
|
66 |
inherit eutils toolchain-funcs flag-o-matic |
67 |
|
68 |
code_ver=${PV} |
69 |
data_ver=${PV} |
70 |
DESCRIPTION="Timezone data (/usr/share/zoneinfo) and utilities (tzselect/zic/zdump)" |
71 |
HOMEPAGE="http://www.twinsun.com/tz/tz-link.htm https://mm.icann.org/mailman/listinfo/tz" |
72 |
SRC_URI="ftp://munnari.oz.au/pub/tzdata${data_ver}.tar.gz |
73 |
ftp://munnari.oz.au/pub/tzcode${code_ver}.tar.gz" |
74 |
|
75 |
LICENSE="BSD public-domain" |
76 |
SLOT="0" |
77 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
78 |
IUSE="nls elibc_FreeBSD elibc_glibc" |
79 |
|
80 |
RDEPEND="!<sys-libs/glibc-2.3.5" |
81 |
|
82 |
S=${WORKDIR} |
83 |
|
84 |
src_unpack() { |
85 |
unpack ${A} |
86 |
epatch "${FILESDIR}"/${PN}-2012a-makefile.patch |
87 |
tc-is-cross-compiler && cp -pR "${S}" "${S}"-native |
88 |
} |
89 |
|
90 |
src_compile() { |
91 |
local LDLIBS |
92 |
tc-export CC |
93 |
use elibc_FreeBSD && append-flags -DSTD_INSPIRED #138251 |
94 |
if use nls ; then |
95 |
use elibc_glibc || LDLIBS="${LDLIBS} -lintl" #154181 |
96 |
export NLS=1 |
97 |
else |
98 |
export NLS=0 |
99 |
fi |
100 |
# Makefile uses LBLIBS for the libs (which defaults to LDFLAGS) |
101 |
# But it also uses LFLAGS where it expects the real LDFLAGS |
102 |
emake \ |
103 |
LDLIBS="${LDLIBS}" \ |
104 |
|| die "emake failed" |
105 |
if tc-is-cross-compiler ; then |
106 |
emake -C "${S}"-native \ |
107 |
CC=$(tc-getBUILD_CC) \ |
108 |
CFLAGS="${BUILD_CFLAGS}" \ |
109 |
LDFLAGS="${BUILD_LDFLAGS}" \ |
110 |
LDLIBS="${LDLIBS}" \ |
111 |
zic || die |
112 |
fi |
113 |
} |
114 |
|
115 |
src_install() { |
116 |
local zic="" |
117 |
tc-is-cross-compiler && zic="zic=${S}-native/zic" |
118 |
emake install ${zic} DESTDIR="${D}" || die |
119 |
rm -rf "${D}"/usr/share/zoneinfo-leaps |
120 |
dodoc README Theory |
121 |
dohtml *.htm |
122 |
} |
123 |
|
124 |
pkg_config() { |
125 |
# make sure the /etc/localtime file does not get stale #127899 |
126 |
local tz src etc_lt="${ROOT}etc/localtime" |
127 |
|
128 |
if has_version '<sys-apps/baselayout-2' ; then |
129 |
src="${ROOT}etc/conf.d/clock" |
130 |
tz=$(unset TIMEZONE ; source "${src}" ; echo ${TIMEZONE-FOOKABLOIE}) |
131 |
else |
132 |
src="${ROOT}etc/timezone" |
133 |
if [[ -e ${src} ]] ; then |
134 |
tz=$(sed -e 's:#.*::' -e 's:[[:space:]]*::g' -e '/^$/d' "${src}") |
135 |
else |
136 |
tz="FOOKABLOIE" |
137 |
fi |
138 |
fi |
139 |
[[ -z ${tz} ]] && return 0 |
140 |
|
141 |
if [[ ${tz} == "FOOKABLOIE" ]] ; then |
142 |
elog "You do not have TIMEZONE set in ${src}." |
143 |
|
144 |
if [[ ! -e ${etc_lt} ]] ; then |
145 |
# if /etc/localtime is a symlink somewhere, assume they |
146 |
# know what they're doing and they're managing it themselves |
147 |
if [[ ! -L ${etc_lt} ]] ; then |
148 |
cp -f "${ROOT}"/usr/share/zoneinfo/Factory "${etc_lt}" |
149 |
elog "Setting ${etc_lt} to Factory." |
150 |
else |
151 |
elog "Assuming your ${etc_lt} symlink is what you want; skipping update." |
152 |
fi |
153 |
else |
154 |
elog "Skipping auto-update of ${etc_lt}." |
155 |
fi |
156 |
return 0 |
157 |
fi |
158 |
|
159 |
if [[ ! -e ${ROOT}/usr/share/zoneinfo/${tz} ]] ; then |
160 |
elog "You have an invalid TIMEZONE setting in ${src}" |
161 |
elog "Your ${etc_lt} has been reset to Factory; enjoy!" |
162 |
tz="Factory" |
163 |
fi |
164 |
einfo "Updating ${etc_lt} with ${ROOT}usr/share/zoneinfo/${tz}" |
165 |
[[ -L ${etc_lt} ]] && rm -f "${etc_lt}" |
166 |
cp -f "${ROOT}"/usr/share/zoneinfo/"${tz}" "${etc_lt}" |
167 |
} |
168 |
|
169 |
pkg_postinst() { |
170 |
pkg_config |
171 |
} |