1 |
blueness 14/06/07 16:00:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: musl-1.1.2.ebuild musl-1.0.3.ebuild |
5 |
Log: |
6 |
Version bumps |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 |
|
10 |
Revision Changes Path |
11 |
1.22 sys-libs/musl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/ChangeLog?rev=1.22&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/ChangeLog?rev=1.22&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/ChangeLog?r1=1.21&r2=1.22 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/musl/ChangeLog,v |
20 |
retrieving revision 1.21 |
21 |
retrieving revision 1.22 |
22 |
diff -u -r1.21 -r1.22 |
23 |
--- ChangeLog 21 May 2014 01:03:26 -0000 1.21 |
24 |
+++ ChangeLog 7 Jun 2014 16:00:13 -0000 1.22 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-libs/musl |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/ChangeLog,v 1.21 2014/05/21 01:03:26 blueness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/ChangeLog,v 1.22 2014/06/07 16:00:13 blueness Exp $ |
30 |
+ |
31 |
+*musl-1.1.2 (07 Jun 2014) |
32 |
+*musl-1.0.3 (07 Jun 2014) |
33 |
+ |
34 |
+ 07 Jun 2014; Anthony G. Basile <blueness@g.o> +musl-1.0.3.ebuild, |
35 |
+ +musl-1.1.2.ebuild: |
36 |
+ Version bumps |
37 |
|
38 |
*musl-1.0.2 (21 May 2014) |
39 |
*musl-1.1.1 (21 May 2014) |
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-libs/musl/musl-1.1.2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/musl-1.1.2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/musl-1.1.2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: musl-1.1.2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/musl-1.1.2.ebuild,v 1.1 2014/06/07 16:00:13 blueness Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
inherit eutils flag-o-matic multilib toolchain-funcs |
57 |
if [[ ${PV} == "9999" ]] ; then |
58 |
EGIT_REPO_URI="git://git.musl-libc.org/musl" |
59 |
inherit git-2 |
60 |
fi |
61 |
|
62 |
export CBUILD=${CBUILD:-${CHOST}} |
63 |
export CTARGET=${CTARGET:-${CHOST}} |
64 |
if [[ ${CTARGET} == ${CHOST} ]] ; then |
65 |
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then |
66 |
export CTARGET=${CATEGORY/cross-} |
67 |
fi |
68 |
fi |
69 |
|
70 |
DESCRIPTION="Lightweight, fast and simple C library focused on standards-conformance and safety" |
71 |
HOMEPAGE="http://www.musl-libc.org/" |
72 |
if [[ ${PV} != "9999" ]] ; then |
73 |
PATCH_VER="" |
74 |
SRC_URI="http://www.musl-libc.org/releases/${P}.tar.gz" |
75 |
KEYWORDS="-* ~amd64 ~arm ~mips ~x86" |
76 |
fi |
77 |
|
78 |
LICENSE="MIT" |
79 |
SLOT="0" |
80 |
IUSE="crosscompile_opts_headers-only nls" |
81 |
|
82 |
RDEPEND="nls? ( sys-devel/gettext )" |
83 |
if [[ ${CATEGORY} != cross-* ]] ; then |
84 |
RDEPEND+=" sys-apps/getent" |
85 |
fi |
86 |
|
87 |
is_crosscompile() { |
88 |
[[ ${CHOST} != ${CTARGET} ]] |
89 |
} |
90 |
|
91 |
just_headers() { |
92 |
use crosscompile_opts_headers-only && is_crosscompile |
93 |
} |
94 |
|
95 |
pkg_setup() { |
96 |
if [ ${CTARGET} == ${CHOST} ] ; then |
97 |
case ${CHOST} in |
98 |
*-musl*) ;; |
99 |
*) die "Use sys-devel/crossdev to build a musl toolchain" ;; |
100 |
esac |
101 |
fi |
102 |
} |
103 |
|
104 |
src_configure() { |
105 |
tc-export CC |
106 |
|
107 |
./configure \ |
108 |
--target="${CTARGET}" \ |
109 |
--prefix="/usr" \ |
110 |
--disable-gcc-wrapper |
111 |
} |
112 |
|
113 |
src_compile() { |
114 |
emake include/bits/alltypes.h || die |
115 |
just_headers && return 0 |
116 |
|
117 |
emake || die |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
local sysroot=${D} |
122 |
is_crosscompile && sysroot+="/usr/${CTARGET}" |
123 |
|
124 |
local target="install" |
125 |
just_headers && target="install-headers" |
126 |
emake DESTDIR="${sysroot}" ${target} || die |
127 |
|
128 |
# Make sure we install the sys-include symlink so that when |
129 |
# we build a 2nd stage cross-compiler, gcc finds the target |
130 |
# system headers correctly. See gcc/doc/gccinstall.info |
131 |
if is_crosscompile ; then |
132 |
dosym usr/include /usr/${CTARGET}/sys-include |
133 |
fi |
134 |
|
135 |
# If we are going to use gnu's gettext then we have to |
136 |
# move musl's libintl out of the way. |
137 |
use nls && mv "${D}"/usr/include/libintl{,-musl}.h |
138 |
} |
139 |
|
140 |
pkg_postinst() { |
141 |
is_crosscompile && return 0 |
142 |
|
143 |
[ "${ROOT}" != "/" ] && return 0 |
144 |
|
145 |
# TODO: musl doesn't use ldconfig, instead here we can |
146 |
# create sym links to libraries outside of /lib and /usr/lib |
147 |
ldconfig |
148 |
# reload init ... |
149 |
/sbin/telinit U 2>/dev/null |
150 |
} |
151 |
|
152 |
|
153 |
|
154 |
1.1 sys-libs/musl/musl-1.0.3.ebuild |
155 |
|
156 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/musl-1.0.3.ebuild?rev=1.1&view=markup |
157 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/musl-1.0.3.ebuild?rev=1.1&content-type=text/plain |
158 |
|
159 |
Index: musl-1.0.3.ebuild |
160 |
=================================================================== |
161 |
# Copyright 1999-2014 Gentoo Foundation |
162 |
# Distributed under the terms of the GNU General Public License v2 |
163 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/musl-1.0.3.ebuild,v 1.1 2014/06/07 16:00:13 blueness Exp $ |
164 |
|
165 |
EAPI=5 |
166 |
|
167 |
inherit eutils flag-o-matic multilib toolchain-funcs |
168 |
if [[ ${PV} == "9999" ]] ; then |
169 |
EGIT_REPO_URI="git://git.musl-libc.org/musl" |
170 |
inherit git-2 |
171 |
fi |
172 |
|
173 |
export CBUILD=${CBUILD:-${CHOST}} |
174 |
export CTARGET=${CTARGET:-${CHOST}} |
175 |
if [[ ${CTARGET} == ${CHOST} ]] ; then |
176 |
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then |
177 |
export CTARGET=${CATEGORY/cross-} |
178 |
fi |
179 |
fi |
180 |
|
181 |
DESCRIPTION="Lightweight, fast and simple C library focused on standards-conformance and safety" |
182 |
HOMEPAGE="http://www.musl-libc.org/" |
183 |
if [[ ${PV} != "9999" ]] ; then |
184 |
PATCH_VER="" |
185 |
SRC_URI="http://www.musl-libc.org/releases/${P}.tar.gz" |
186 |
KEYWORDS="-* ~amd64 ~arm ~mips ~x86" |
187 |
fi |
188 |
|
189 |
LICENSE="MIT" |
190 |
SLOT="0" |
191 |
IUSE="crosscompile_opts_headers-only nls" |
192 |
|
193 |
RDEPEND="nls? ( sys-devel/gettext )" |
194 |
if [[ ${CATEGORY} != cross-* ]] ; then |
195 |
RDEPEND+=" sys-apps/getent" |
196 |
fi |
197 |
|
198 |
is_crosscompile() { |
199 |
[[ ${CHOST} != ${CTARGET} ]] |
200 |
} |
201 |
|
202 |
just_headers() { |
203 |
use crosscompile_opts_headers-only && is_crosscompile |
204 |
} |
205 |
|
206 |
pkg_setup() { |
207 |
if [ ${CTARGET} == ${CHOST} ] ; then |
208 |
case ${CHOST} in |
209 |
*-musl*) ;; |
210 |
*) die "Use sys-devel/crossdev to build a musl toolchain" ;; |
211 |
esac |
212 |
fi |
213 |
} |
214 |
|
215 |
src_configure() { |
216 |
tc-export CC |
217 |
|
218 |
./configure \ |
219 |
--target="${CTARGET}" \ |
220 |
--prefix="/usr" \ |
221 |
--disable-gcc-wrapper |
222 |
} |
223 |
|
224 |
src_compile() { |
225 |
emake include/bits/alltypes.h || die |
226 |
just_headers && return 0 |
227 |
|
228 |
emake || die |
229 |
} |
230 |
|
231 |
src_install() { |
232 |
local sysroot=${D} |
233 |
is_crosscompile && sysroot+="/usr/${CTARGET}" |
234 |
|
235 |
local target="install" |
236 |
just_headers && target="install-headers" |
237 |
emake DESTDIR="${sysroot}" ${target} || die |
238 |
|
239 |
# Make sure we install the sys-include symlink so that when |
240 |
# we build a 2nd stage cross-compiler, gcc finds the target |
241 |
# system headers correctly. See gcc/doc/gccinstall.info |
242 |
if is_crosscompile ; then |
243 |
dosym usr/include /usr/${CTARGET}/sys-include |
244 |
fi |
245 |
|
246 |
# If we are going to use gnu's gettext then we have to |
247 |
# move musl's libintl out of the way. |
248 |
use nls && mv "${D}"/usr/include/libintl{,-musl}.h |
249 |
} |
250 |
|
251 |
pkg_postinst() { |
252 |
is_crosscompile && return 0 |
253 |
|
254 |
[ "${ROOT}" != "/" ] && return 0 |
255 |
|
256 |
# TODO: musl doesn't use ldconfig, instead here we can |
257 |
# create sym links to libraries outside of /lib and /usr/lib |
258 |
ldconfig |
259 |
# reload init ... |
260 |
/sbin/telinit U 2>/dev/null |
261 |
} |