Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-kernel/zen-sources: ChangeLog zen-sources-2.6.34_p1-r2.ebuild zen-sources-2.6.34_p1.ebuild zen-sources-2.6.34_p1-r1.ebuild
Date: Tue, 27 Jul 2010 14:03:35
Message-Id: 20100727140322.403852CE14@corvid.gentoo.org
1 wired 10/07/27 14:03:21
2
3 Modified: ChangeLog zen-sources-2.6.34_p1.ebuild
4 Added: zen-sources-2.6.34_p1-r2.ebuild
5 Removed: zen-sources-2.6.34_p1-r1.ebuild
6 Log:
7 new revision with updated bfq patch. bug #327415. removed bfq from 2.6.34_p1. switched to EAPI 2.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.40 sys-kernel/zen-sources/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/zen-sources/ChangeLog?rev=1.40&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/zen-sources/ChangeLog?rev=1.40&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/zen-sources/ChangeLog?r1=1.39&r2=1.40
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-kernel/zen-sources/ChangeLog,v
20 retrieving revision 1.39
21 retrieving revision 1.40
22 diff -u -r1.39 -r1.40
23 --- ChangeLog 7 Jul 2010 12:18:20 -0000 1.39
24 +++ ChangeLog 27 Jul 2010 14:03:21 -0000 1.40
25 @@ -1,6 +1,14 @@
26 # ChangeLog for sys-kernel/zen-sources
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/zen-sources/ChangeLog,v 1.39 2010/07/07 12:18:20 wired Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/zen-sources/ChangeLog,v 1.40 2010/07/27 14:03:21 wired Exp $
30 +
31 +*zen-sources-2.6.34_p1-r2 (27 Jul 2010)
32 +
33 + 27 Jul 2010; Alex Alexander <wired@g.o>
34 + zen-sources-2.6.34_p1.ebuild, -zen-sources-2.6.34_p1-r1.ebuild,
35 + +zen-sources-2.6.34_p1-r2.ebuild:
36 + new revision with updated bfq patch. bug #327415. removed bfq from
37 + 2.6.34_p1. switched to EAPI 2.
38
39 *zen-sources-2.6.34_p1-r1 (07 Jul 2010)
40
41
42
43
44 1.3 sys-kernel/zen-sources/zen-sources-2.6.34_p1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/zen-sources/zen-sources-2.6.34_p1.ebuild?rev=1.3&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/zen-sources/zen-sources-2.6.34_p1.ebuild?rev=1.3&content-type=text/plain
48 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/zen-sources/zen-sources-2.6.34_p1.ebuild?r1=1.2&r2=1.3
49
50 Index: zen-sources-2.6.34_p1.ebuild
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/sys-kernel/zen-sources/zen-sources-2.6.34_p1.ebuild,v
53 retrieving revision 1.2
54 retrieving revision 1.3
55 diff -u -r1.2 -r1.3
56 --- zen-sources-2.6.34_p1.ebuild 7 Jul 2010 08:04:05 -0000 1.2
57 +++ zen-sources-2.6.34_p1.ebuild 27 Jul 2010 14:03:21 -0000 1.3
58 @@ -1,6 +1,8 @@
59 # Copyright 1999-2010 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/zen-sources/zen-sources-2.6.34_p1.ebuild,v 1.2 2010/07/07 08:04:05 wired Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/zen-sources/zen-sources-2.6.34_p1.ebuild,v 1.3 2010/07/27 14:03:21 wired Exp $
63 +
64 +EAPI="2"
65
66 COMPRESSTYPE=".lzma"
67 K_USEPV="yes"
68 @@ -21,15 +23,10 @@
69 ZEN_KERNEL="${ZEN_KERNEL/_/-}"
70 ZEN_FILE="${ZEN_KERNEL}-zen${ZEN_PATCHSET}.patch${COMPRESSTYPE}"
71 ZEN_URI="http://downloads.zen-kernel.org/$(get_version_component_range 1-3)/${ZEN_FILE}"
72 -ZEN_PATCHES="
73 - http://algo.ing.unimo.it/people/paolo/disk_sched/patches/2.6.34-zen1/0001-block-prepare-I-O-context-code-for-BFQ.patch
74 - http://algo.ing.unimo.it/people/paolo/disk_sched/patches/2.6.34-zen1/0002-block-add-cgroups-kconfig-and-build-bits-for-BFQ.patch
75 - http://algo.ing.unimo.it/people/paolo/disk_sched/patches/2.6.34-zen1/0003-block-introduce-the-BFQ-I-O-scheduler.patch
76 -"
77 -SRC_URI="${KERNEL_URI} ${ZEN_URI} bfq? ( ${ZEN_PATCHES} )"
78 +SRC_URI="${KERNEL_URI} ${ZEN_URI}"
79
80 KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
81 -IUSE="bfq"
82 +IUSE=""
83
84 DEPEND="|| ( app-arch/xz-utils app-arch/lzma-utils )"
85
86 @@ -47,15 +44,8 @@
87 kernel-2_pkg_setup
88 }
89
90 -src_unpack(){
91 - kernel-2_src_unpack
92 - cd "${S}"
93 +src_prepare(){
94 epatch "${DISTDIR}"/"${ZEN_FILE}"
95 - if use bfq; then
96 - for p in ${ZEN_PATCHES}; do
97 - epatch "${DISTDIR}/${p/*\/}"
98 - done
99 - fi
100 }
101
102 K_EXTRAEINFO="For more info on zen-sources and details on how to report problems, see: \
103
104
105
106 1.1 sys-kernel/zen-sources/zen-sources-2.6.34_p1-r2.ebuild
107
108 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/zen-sources/zen-sources-2.6.34_p1-r2.ebuild?rev=1.1&view=markup
109 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/zen-sources/zen-sources-2.6.34_p1-r2.ebuild?rev=1.1&content-type=text/plain
110
111 Index: zen-sources-2.6.34_p1-r2.ebuild
112 ===================================================================
113 # Copyright 1999-2010 Gentoo Foundation
114 # Distributed under the terms of the GNU General Public License v2
115 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/zen-sources/zen-sources-2.6.34_p1-r2.ebuild,v 1.1 2010/07/27 14:03:21 wired Exp $
116
117 EAPI="2"
118
119 COMPRESSTYPE=".lzma"
120 K_USEPV="yes"
121 UNIPATCH_STRICTORDER="yes"
122 K_SECURITY_UNSUPPORTED="1"
123
124 CKV="${PV/_p[0-9]*}"
125 ETYPE="sources"
126 inherit kernel-2
127 detect_version
128 K_NOSETEXTRAVERSION="don't_set_it"
129
130 DESCRIPTION="The Zen Kernel Sources v2.6"
131 HOMEPAGE="http://zen-kernel.org"
132
133 ZEN_PATCHSET="${PV/*_p}"
134 ZEN_KERNEL="${PV/_p[0-9]*}"
135 ZEN_KERNEL="${ZEN_KERNEL/_/-}"
136 ZEN_FILE="${ZEN_KERNEL}-zen${ZEN_PATCHSET}.patch${COMPRESSTYPE}"
137 ZEN_URI="http://downloads.zen-kernel.org/$(get_version_component_range 1-3)/${ZEN_FILE}"
138 ZEN_PATCHES="
139 http://algo.ing.unimo.it/people/paolo/disk_sched/patches/2.6.34-zen1/0001-block-prepare-I-O-context-code-for-BFQ.patch
140 http://algo.ing.unimo.it/people/paolo/disk_sched/patches/2.6.34-zen1/0002-block-add-cgroups-kconfig-and-build-bits-for-BFQ.patch
141 http://algo.ing.unimo.it/people/paolo/disk_sched/patches/2.6.34-zen1/0003-block-introduce-the-BFQ-I-O-scheduler.patch -> 0003-block-introduce-the-BFQ-I-O-scheduler-r1.patch
142 "
143 SRC_URI="${KERNEL_URI} ${ZEN_URI} bfq? ( ${ZEN_PATCHES} )"
144
145 KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
146 IUSE="bfq"
147
148 DEPEND="|| ( app-arch/xz-utils app-arch/lzma-utils )"
149
150 KV_FULL="${PVR/_p/-zen}"
151 S="${WORKDIR}"/linux-"${KV_FULL}"
152
153 pkg_setup(){
154 ewarn
155 ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
156 ewarn "If you need support, please contact the Zen developers directly."
157 ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
158 ewarn "the ebuilds. Thank you."
159 ewarn
160 ebeep 8
161 kernel-2_pkg_setup
162 }
163
164 src_prepare(){
165 epatch "${DISTDIR}"/"${ZEN_FILE}"
166 if use bfq; then
167 EPATCH_OPTS="-p1"
168 epatch "${DISTDIR}/0001-block-prepare-I-O-context-code-for-BFQ.patch"
169 epatch "${DISTDIR}/0002-block-add-cgroups-kconfig-and-build-bits-for-BFQ.patch"
170 epatch "${DISTDIR}/0003-block-introduce-the-BFQ-I-O-scheduler-r1.patch"
171 fi
172 }
173
174 K_EXTRAEINFO="For more info on zen-sources and details on how to report problems, see: \
175 ${HOMEPAGE}. You may also visit #zen-sources on irc.rizon.net"