Gentoo Archives: gentoo-commits

From: "Richard Yao (ryao)" <ryao@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/kmod: kmod-9999.ebuild kmod-18-r1.ebuild kmod-16.ebuild kmod-17.ebuild kmod-18.ebuild ChangeLog
Date: Fri, 29 Aug 2014 18:36:01
Message-Id: 20140829183557.B82F44309@oystercatcher.gentoo.org
1 ryao 14/08/29 18:35:57
2
3 Modified: kmod-9999.ebuild kmod-18-r1.ebuild kmod-16.ebuild
4 kmod-17.ebuild kmod-18.ebuild ChangeLog
5 Log:
6 Use ${EROOT} instead of / or ${ROOT}. This lets things build on Gentoo Prefix and should allow cross compilation with Catalyst. WilliamH gave his okay in IRC for the non-maintainer commit.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xBEE84C64)
9
10 Revision Changes Path
11 1.80 sys-apps/kmod/kmod-9999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild?rev=1.80&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild?rev=1.80&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild?r1=1.79&r2=1.80
16
17 Index: kmod-9999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v
20 retrieving revision 1.79
21 retrieving revision 1.80
22 diff -u -r1.79 -r1.80
23 --- kmod-9999.ebuild 11 Jul 2014 12:28:07 -0000 1.79
24 +++ kmod-9999.ebuild 29 Aug 2014 18:35:57 -0000 1.80
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.79 2014/07/11 12:28:07 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.80 2014/08/29 18:35:57 ryao Exp $
30
31 EAPI=5
32
33 @@ -74,8 +74,8 @@
34
35 src_configure() {
36 local myeconfargs=(
37 - --bindir=/bin
38 - --with-rootlibdir="/$(get_libdir)"
39 + --bindir="${EROOT}bin"
40 + --with-rootlibdir="${EROOT}$(get_libdir)"
41 --enable-shared
42 $(use_enable static-libs static)
43 $(use_enable tools)
44 @@ -168,23 +168,23 @@
45 }
46
47 pkg_postinst() {
48 - if [[ -L ${ROOT%/}/etc/runlevels/boot/static-nodes ]]; then
49 + if [[ -L ${EROOT%/}/etc/runlevels/boot/static-nodes ]]; then
50 ewarn "Removing old conflicting static-nodes init script from the boot runlevel"
51 - rm -f "${ROOT%/}"/etc/runlevels/boot/static-nodes
52 + rm -f "${EROOT%/}"/etc/runlevels/boot/static-nodes
53 fi
54
55 # Add kmod to the runlevel automatically if this is the first install of this package.
56 if [[ -z ${REPLACING_VERSIONS} ]]; then
57 - if [[ ! -d ${ROOT%/}/etc/runlevels/sysinit ]]; then
58 - mkdir -p "${ROOT%/}"/etc/runlevels/sysinit
59 + if [[ ! -d ${EROOT%/}/etc/runlevels/sysinit ]]; then
60 + mkdir -p "${EROOT%/}"/etc/runlevels/sysinit
61 fi
62 - if [[ -x ${ROOT%/}/etc/init.d/kmod-static-nodes ]]; then
63 - ln -s /etc/init.d/kmod-static-nodes "${ROOT%/}"/etc/runlevels/sysinit/kmod-static-nodes
64 + if [[ -x ${EROOT%/}/etc/init.d/kmod-static-nodes ]]; then
65 + ln -s /etc/init.d/kmod-static-nodes "${EROOT%/}"/etc/runlevels/sysinit/kmod-static-nodes
66 fi
67 fi
68
69 - if [[ -e ${ROOT%/}/etc/runlevels/sysinit ]]; then
70 - if [[ ! -e ${ROOT%/}/etc/runlevels/sysinit/kmod-static-nodes ]]; then
71 + if [[ -e ${EROOT%/}/etc/runlevels/sysinit ]]; then
72 + if [[ ! -e ${EROOT%/}/etc/runlevels/sysinit/kmod-static-nodes ]]; then
73 ewarn
74 ewarn "You need to add kmod-static-nodes to the sysinit runlevel for"
75 ewarn "kernel modules to have required static nodes!"
76
77
78
79 1.8 sys-apps/kmod/kmod-18-r1.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-18-r1.ebuild?rev=1.8&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-18-r1.ebuild?rev=1.8&content-type=text/plain
83 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-18-r1.ebuild?r1=1.7&r2=1.8
84
85 Index: kmod-18-r1.ebuild
86 ===================================================================
87 RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-18-r1.ebuild,v
88 retrieving revision 1.7
89 retrieving revision 1.8
90 diff -u -r1.7 -r1.8
91 --- kmod-18-r1.ebuild 22 Jul 2014 09:24:44 -0000 1.7
92 +++ kmod-18-r1.ebuild 29 Aug 2014 18:35:57 -0000 1.8
93 @@ -1,6 +1,6 @@
94 # Copyright 1999-2014 Gentoo Foundation
95 # Distributed under the terms of the GNU General Public License v2
96 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-18-r1.ebuild,v 1.7 2014/07/22 09:24:44 klausman Exp $
97 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-18-r1.ebuild,v 1.8 2014/08/29 18:35:57 ryao Exp $
98
99 EAPI=5
100
101 @@ -74,8 +74,8 @@
102
103 src_configure() {
104 local myeconfargs=(
105 - --bindir=/bin
106 - --with-rootlibdir="/$(get_libdir)"
107 + --bindir="${EROOT}bin"
108 + --with-rootlibdir="${EROOT}$(get_libdir)"
109 --enable-shared
110 $(use_enable static-libs static)
111 $(use_enable tools)
112 @@ -168,23 +168,23 @@
113 }
114
115 pkg_postinst() {
116 - if [[ -L ${ROOT%/}/etc/runlevels/boot/static-nodes ]]; then
117 + if [[ -L ${EROOT%/}/etc/runlevels/boot/static-nodes ]]; then
118 ewarn "Removing old conflicting static-nodes init script from the boot runlevel"
119 - rm -f "${ROOT%/}"/etc/runlevels/boot/static-nodes
120 + rm -f "${EROOT%/}"/etc/runlevels/boot/static-nodes
121 fi
122
123 # Add kmod to the runlevel automatically if this is the first install of this package.
124 if [[ -z ${REPLACING_VERSIONS} ]]; then
125 - if [[ ! -d ${ROOT%/}/etc/runlevels/sysinit ]]; then
126 - mkdir -p "${ROOT%/}"/etc/runlevels/sysinit
127 + if [[ ! -d ${EROOT%/}/etc/runlevels/sysinit ]]; then
128 + mkdir -p "${EROOT%/}"/etc/runlevels/sysinit
129 fi
130 - if [[ -x ${ROOT%/}/etc/init.d/kmod-static-nodes ]]; then
131 - ln -s /etc/init.d/kmod-static-nodes "${ROOT%/}"/etc/runlevels/sysinit/kmod-static-nodes
132 + if [[ -x ${EROOT%/}/etc/init.d/kmod-static-nodes ]]; then
133 + ln -s /etc/init.d/kmod-static-nodes "${EROOT%/}"/etc/runlevels/sysinit/kmod-static-nodes
134 fi
135 fi
136
137 - if [[ -e ${ROOT%/}/etc/runlevels/sysinit ]]; then
138 - if [[ ! -e ${ROOT%/}/etc/runlevels/sysinit/kmod-static-nodes ]]; then
139 + if [[ -e ${EROOT%/}/etc/runlevels/sysinit ]]; then
140 + if [[ ! -e ${EROOT%/}/etc/runlevels/sysinit/kmod-static-nodes ]]; then
141 ewarn
142 ewarn "You need to add kmod-static-nodes to the sysinit runlevel for"
143 ewarn "kernel modules to have required static nodes!"
144
145
146
147 1.16 sys-apps/kmod/kmod-16.ebuild
148
149 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-16.ebuild?rev=1.16&view=markup
150 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-16.ebuild?rev=1.16&content-type=text/plain
151 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-16.ebuild?r1=1.15&r2=1.16
152
153 Index: kmod-16.ebuild
154 ===================================================================
155 RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-16.ebuild,v
156 retrieving revision 1.15
157 retrieving revision 1.16
158 diff -u -r1.15 -r1.16
159 --- kmod-16.ebuild 14 May 2014 21:30:38 -0000 1.15
160 +++ kmod-16.ebuild 29 Aug 2014 18:35:57 -0000 1.16
161 @@ -1,6 +1,6 @@
162 # Copyright 1999-2014 Gentoo Foundation
163 # Distributed under the terms of the GNU General Public License v2
164 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-16.ebuild,v 1.15 2014/05/14 21:30:38 ssuominen Exp $
165 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-16.ebuild,v 1.16 2014/08/29 18:35:57 ryao Exp $
166
167 EAPI=5
168 inherit bash-completion-r1 eutils multilib
169 @@ -59,8 +59,8 @@
170
171 src_configure() {
172 econf \
173 - --bindir=/bin \
174 - --with-rootlibdir="/$(get_libdir)" \
175 + --bindir="${EROOT}bin" \
176 + --with-rootlibdir="${EROOT}$(get_libdir)" \
177 --enable-shared \
178 $(use_enable static-libs static) \
179 $(use_enable tools) \
180 @@ -109,23 +109,23 @@
181 }
182
183 pkg_postinst() {
184 - if [[ -L ${ROOT%/}/etc/runlevels/boot/static-nodes ]]; then
185 + if [[ -L ${EROOT%/}/etc/runlevels/boot/static-nodes ]]; then
186 ewarn "Removing old conflicting static-nodes init script from the boot runlevel"
187 - rm -f "${ROOT%/}"/etc/runlevels/boot/static-nodes
188 + rm -f "${EROOT%/}"/etc/runlevels/boot/static-nodes
189 fi
190
191 # Add kmod to the runlevel automatically if this is the first install of this package.
192 if [[ -z ${REPLACING_VERSIONS} ]]; then
193 - if [[ ! -d ${ROOT%/}/etc/runlevels/sysinit ]]; then
194 - mkdir -p "${ROOT%/}"/etc/runlevels/sysinit
195 + if [[ ! -d ${EROOT%/}/etc/runlevels/sysinit ]]; then
196 + mkdir -p "${EROOT%/}"/etc/runlevels/sysinit
197 fi
198 - if [[ -x ${ROOT%/}/etc/init.d/kmod-static-nodes ]]; then
199 - ln -s /etc/init.d/kmod-static-nodes "${ROOT%/}"/etc/runlevels/sysinit/kmod-static-nodes
200 + if [[ -x ${EROOT%/}/etc/init.d/kmod-static-nodes ]]; then
201 + ln -s /etc/init.d/kmod-static-nodes "${EROOT%/}"/etc/runlevels/sysinit/kmod-static-nodes
202 fi
203 fi
204
205 - if [[ -e ${ROOT%/}/etc/runlevels/sysinit ]]; then
206 - if [[ ! -e ${ROOT%/}/etc/runlevels/sysinit/kmod-static-nodes ]]; then
207 + if [[ -e ${EROOT%/}/etc/runlevels/sysinit ]]; then
208 + if [[ ! -e ${EROOT%/}/etc/runlevels/sysinit/kmod-static-nodes ]]; then
209 ewarn
210 ewarn "You need to add kmod-static-nodes to the sysinit runlevel for"
211 ewarn "kernel modules to have required static nodes!"
212
213
214
215 1.12 sys-apps/kmod/kmod-17.ebuild
216
217 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-17.ebuild?rev=1.12&view=markup
218 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-17.ebuild?rev=1.12&content-type=text/plain
219 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-17.ebuild?r1=1.11&r2=1.12
220
221 Index: kmod-17.ebuild
222 ===================================================================
223 RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-17.ebuild,v
224 retrieving revision 1.11
225 retrieving revision 1.12
226 diff -u -r1.11 -r1.12
227 --- kmod-17.ebuild 6 Jun 2014 16:11:47 -0000 1.11
228 +++ kmod-17.ebuild 29 Aug 2014 18:35:57 -0000 1.12
229 @@ -1,6 +1,6 @@
230 # Copyright 1999-2014 Gentoo Foundation
231 # Distributed under the terms of the GNU General Public License v2
232 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-17.ebuild,v 1.11 2014/06/06 16:11:47 vapier Exp $
233 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-17.ebuild,v 1.12 2014/08/29 18:35:57 ryao Exp $
234
235 EAPI=5
236
237 @@ -74,8 +74,8 @@
238
239 src_configure() {
240 local myeconfargs=(
241 - --bindir=/bin
242 - --with-rootlibdir="/$(get_libdir)"
243 + --bindir="${EROOT}bin"
244 + --with-rootlibdir="${EROOT}$(get_libdir)"
245 --enable-shared
246 $(use_enable static-libs static)
247 $(use_enable tools)
248 @@ -168,23 +168,23 @@
249 }
250
251 pkg_postinst() {
252 - if [[ -L ${ROOT%/}/etc/runlevels/boot/static-nodes ]]; then
253 + if [[ -L ${EROOT%/}/etc/runlevels/boot/static-nodes ]]; then
254 ewarn "Removing old conflicting static-nodes init script from the boot runlevel"
255 - rm -f "${ROOT%/}"/etc/runlevels/boot/static-nodes
256 + rm -f "${EROOT%/}"/etc/runlevels/boot/static-nodes
257 fi
258
259 # Add kmod to the runlevel automatically if this is the first install of this package.
260 if [[ -z ${REPLACING_VERSIONS} ]]; then
261 - if [[ ! -d ${ROOT%/}/etc/runlevels/sysinit ]]; then
262 - mkdir -p "${ROOT%/}"/etc/runlevels/sysinit
263 + if [[ ! -d ${EROOT%/}/etc/runlevels/sysinit ]]; then
264 + mkdir -p "${EROOT%/}"/etc/runlevels/sysinit
265 fi
266 - if [[ -x ${ROOT%/}/etc/init.d/kmod-static-nodes ]]; then
267 - ln -s /etc/init.d/kmod-static-nodes "${ROOT%/}"/etc/runlevels/sysinit/kmod-static-nodes
268 + if [[ -x ${EROOT%/}/etc/init.d/kmod-static-nodes ]]; then
269 + ln -s /etc/init.d/kmod-static-nodes "${EROOT%/}"/etc/runlevels/sysinit/kmod-static-nodes
270 fi
271 fi
272
273 - if [[ -e ${ROOT%/}/etc/runlevels/sysinit ]]; then
274 - if [[ ! -e ${ROOT%/}/etc/runlevels/sysinit/kmod-static-nodes ]]; then
275 + if [[ -e ${EROOT%/}/etc/runlevels/sysinit ]]; then
276 + if [[ ! -e ${EROOT%/}/etc/runlevels/sysinit/kmod-static-nodes ]]; then
277 ewarn
278 ewarn "You need to add kmod-static-nodes to the sysinit runlevel for"
279 ewarn "kernel modules to have required static nodes!"
280
281
282
283 1.2 sys-apps/kmod/kmod-18.ebuild
284
285 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-18.ebuild?rev=1.2&view=markup
286 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-18.ebuild?rev=1.2&content-type=text/plain
287 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-18.ebuild?r1=1.1&r2=1.2
288
289 Index: kmod-18.ebuild
290 ===================================================================
291 RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-18.ebuild,v
292 retrieving revision 1.1
293 retrieving revision 1.2
294 diff -u -r1.1 -r1.2
295 --- kmod-18.ebuild 22 Jun 2014 08:01:45 -0000 1.1
296 +++ kmod-18.ebuild 29 Aug 2014 18:35:57 -0000 1.2
297 @@ -1,6 +1,6 @@
298 # Copyright 1999-2014 Gentoo Foundation
299 # Distributed under the terms of the GNU General Public License v2
300 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-18.ebuild,v 1.1 2014/06/22 08:01:45 ssuominen Exp $
301 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-18.ebuild,v 1.2 2014/08/29 18:35:57 ryao Exp $
302
303 EAPI=5
304
305 @@ -74,8 +74,8 @@
306
307 src_configure() {
308 local myeconfargs=(
309 - --bindir=/bin
310 - --with-rootlibdir="/$(get_libdir)"
311 + --bindir="${EROOT}bin"
312 + --with-rootlibdir="${EROOT}$(get_libdir)"
313 --enable-shared
314 $(use_enable static-libs static)
315 $(use_enable tools)
316 @@ -168,23 +168,23 @@
317 }
318
319 pkg_postinst() {
320 - if [[ -L ${ROOT%/}/etc/runlevels/boot/static-nodes ]]; then
321 + if [[ -L ${EROOT%/}/etc/runlevels/boot/static-nodes ]]; then
322 ewarn "Removing old conflicting static-nodes init script from the boot runlevel"
323 - rm -f "${ROOT%/}"/etc/runlevels/boot/static-nodes
324 + rm -f "${EROOT%/}"/etc/runlevels/boot/static-nodes
325 fi
326
327 # Add kmod to the runlevel automatically if this is the first install of this package.
328 if [[ -z ${REPLACING_VERSIONS} ]]; then
329 - if [[ ! -d ${ROOT%/}/etc/runlevels/sysinit ]]; then
330 - mkdir -p "${ROOT%/}"/etc/runlevels/sysinit
331 + if [[ ! -d ${EROOT%/}/etc/runlevels/sysinit ]]; then
332 + mkdir -p "${EROOT%/}"/etc/runlevels/sysinit
333 fi
334 - if [[ -x ${ROOT%/}/etc/init.d/kmod-static-nodes ]]; then
335 - ln -s /etc/init.d/kmod-static-nodes "${ROOT%/}"/etc/runlevels/sysinit/kmod-static-nodes
336 + if [[ -x ${EROOT%/}/etc/init.d/kmod-static-nodes ]]; then
337 + ln -s /etc/init.d/kmod-static-nodes "${EROOT%/}"/etc/runlevels/sysinit/kmod-static-nodes
338 fi
339 fi
340
341 - if [[ -e ${ROOT%/}/etc/runlevels/sysinit ]]; then
342 - if [[ ! -e ${ROOT%/}/etc/runlevels/sysinit/kmod-static-nodes ]]; then
343 + if [[ -e ${EROOT%/}/etc/runlevels/sysinit ]]; then
344 + if [[ ! -e ${EROOT%/}/etc/runlevels/sysinit/kmod-static-nodes ]]; then
345 ewarn
346 ewarn "You need to add kmod-static-nodes to the sysinit runlevel for"
347 ewarn "kernel modules to have required static nodes!"
348
349
350
351 1.166 sys-apps/kmod/ChangeLog
352
353 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?rev=1.166&view=markup
354 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?rev=1.166&content-type=text/plain
355 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?r1=1.165&r2=1.166
356
357 Index: ChangeLog
358 ===================================================================
359 RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v
360 retrieving revision 1.165
361 retrieving revision 1.166
362 diff -u -r1.165 -r1.166
363 --- ChangeLog 22 Jul 2014 09:24:44 -0000 1.165
364 +++ ChangeLog 29 Aug 2014 18:35:57 -0000 1.166
365 @@ -1,6 +1,12 @@
366 # ChangeLog for sys-apps/kmod
367 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL
368 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.165 2014/07/22 09:24:44 klausman Exp $
369 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.166 2014/08/29 18:35:57 ryao Exp $
370 +
371 + 29 Aug 2014; Richard Yao <ryao@g.o> kmod-16.ebuild, kmod-17.ebuild,
372 + kmod-18-r1.ebuild, kmod-18.ebuild, kmod-9999.ebuild:
373 + Use ${EROOT} instead of / or ${ROOT}. This lets things build on Gentoo Prefix
374 + and should allow cross compilation with Catalyst. WilliamH gave his okay in
375 + IRC for the non-maintainer commit.
376
377 22 Jul 2014; Tobias Klausmann <klausman@g.o> kmod-18-r1.ebuild:
378 Stable on alpha, bug #517106