Gentoo Archives: gentoo-commits

From: "Tom Wijsman (tomwij)" <tomwij@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-kernel/gentoo-sources: gentoo-sources-3.13.9999.ebuild ChangeLog
Date: Thu, 30 Jan 2014 17:01:08
Message-Id: 20140130170104.E99172004C@flycatcher.gentoo.org
1 tomwij 14/01/30 17:01:04
2
3 Modified: ChangeLog
4 Added: gentoo-sources-3.13.9999.ebuild
5 Log:
6 Add live ebuild for 3.13.
7
8 (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
9
10 Revision Changes Path
11 1.1253 sys-kernel/gentoo-sources/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/gentoo-sources/ChangeLog?rev=1.1253&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/gentoo-sources/ChangeLog?rev=1.1253&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/gentoo-sources/ChangeLog?r1=1.1252&r2=1.1253
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/ChangeLog,v
20 retrieving revision 1.1252
21 retrieving revision 1.1253
22 diff -u -r1.1252 -r1.1253
23 --- ChangeLog 29 Jan 2014 14:58:41 -0000 1.1252
24 +++ ChangeLog 30 Jan 2014 17:01:04 -0000 1.1253
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-kernel/gentoo-sources
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/ChangeLog,v 1.1252 2014/01/29 14:58:41 mpagano Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/ChangeLog,v 1.1253 2014/01/30 17:01:04 tomwij Exp $
30 +
31 +*gentoo-sources-3.13.9999 (30 Jan 2014)
32 +
33 + 30 Jan 2014; Tom Wijsman <TomWij@g.o> +gentoo-sources-3.13.9999.ebuild:
34 + Add live ebuild for 3.13.
35
36 *gentoo-sources-3.4.78 (29 Jan 2014)
37
38
39
40
41 1.1 sys-kernel/gentoo-sources/gentoo-sources-3.13.9999.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-3.13.9999.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-3.13.9999.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gentoo-sources-3.13.9999.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-3.13.9999.ebuild,v 1.1 2014/01/30 17:01:04 tomwij Exp $
51
52 EAPI="5"
53 ETYPE="sources"
54 K_DEBLOB_AVAILABLE="1"
55 inherit kernel-2 subversion git-r3
56 detect_version
57 detect_arch
58
59 KEYWORDS=""
60 HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches"
61 IUSE="deblob experimental"
62
63 DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
64 SRC_URI="https://www.kernel.org/pub/linux/kernel/v3.x/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz ${ARCH_URI}"
65 ESVN_REPO_URI="svn://anonsvn.gentoo.org/linux-patches/genpatches-2.6/trunk/${KV_MAJOR}.${KV_MINOR}"
66 EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git
67 https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git
68 http://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git"
69
70 S="${WORKDIR}/linux-${KV_MAJOR}.${KV_MINOR}.9999"
71
72 UNIPATCH_DOCS="${UNIPATCH_DOCS} ../work/0000_README"
73
74 pkg_postinst() {
75 kernel-2_pkg_postinst
76 einfo "For more info on this patchset, and how to report problems, see:"
77 einfo "${HOMEPAGE}"
78 }
79
80 pkg_postrm() {
81 kernel-2_pkg_postrm
82 }
83
84 src_unpack() {
85 unpack ${A}
86
87 mv "${WORKDIR}/linux-${KV_MAJOR}.${KV_MINOR}" "${S}" || die
88 cd "${S}" || die
89
90 subversion_src_unpack
91 EGIT_CHECKOUT_DIR="${WORKDIR}/stable-queue" git-r3_src_unpack
92 }
93
94 src_prepare() {
95 # First do previous versions, ...
96 for p in 1[0123]*.patch* ; do
97 UNIPATCH_LIST+=" ${p}"
98 done
99 unipatch "${UNIPATCH_LIST}"
100
101 # ... then do the stable queue, as they are not ordered by name; we apply them one by one ...
102 local patch_dir="${WORKDIR}/stable-queue/queue-${KV_MAJOR}.${KV_MINOR}"
103 for p in $(cat ${patch_dir}/series | tr '\n' ' ') ; do
104 if [[ -f "${patch_dir}/${p}" ]] ; then
105 UNIPATCH_LIST="${patch_dir}/${p}"
106 unipatch "${UNIPATCH_LIST}"
107 fi
108 done
109
110 # ... and finally do the rest of the genpatches.
111 UNIPATCH_LIST=""
112 for p in 1[4-9]*.patch* [2-4]*.patch* 50*.patch* ; do
113 if ! use experimental ; then
114 [[ ${p} == "50"*_*.patch* ]] && continue
115 fi
116 UNIPATCH_LIST+=" ${p}"
117 done
118 unipatch "${UNIPATCH_LIST}"
119
120 rm *.patch* || die
121 mv 0000_README ../ || die
122 }