Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-kernel/pf-sources: pf-sources-4.0_p2.ebuild ChangeLog
Date: Tue, 28 Apr 2015 14:45:47
Message-Id: 20150427203620.C7BB398D@oystercatcher.gentoo.org
1 hwoarang 15/04/27 20:36:19
2
3 Modified: ChangeLog
4 Added: pf-sources-4.0_p2.ebuild
5 Log:
6 Version bump. Check for active gcc >= 4.9. Bug #547868
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!)
9
10 Revision Changes Path
11 1.130 sys-kernel/pf-sources/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/pf-sources/ChangeLog?rev=1.130&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/pf-sources/ChangeLog?rev=1.130&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/pf-sources/ChangeLog?r1=1.129&r2=1.130
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-kernel/pf-sources/ChangeLog,v
20 retrieving revision 1.129
21 retrieving revision 1.130
22 diff -u -r1.129 -r1.130
23 --- ChangeLog 17 Apr 2015 22:20:19 -0000 1.129
24 +++ ChangeLog 27 Apr 2015 20:36:19 -0000 1.130
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-kernel/pf-sources
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pf-sources/ChangeLog,v 1.129 2015/04/17 22:20:19 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pf-sources/ChangeLog,v 1.130 2015/04/27 20:36:19 hwoarang Exp $
30 +
31 +*pf-sources-4.0_p2 (27 Apr 2015)
32 +
33 + 27 Apr 2015; Markos Chandras <hwoarang@g.o> +pf-sources-4.0_p2.ebuild:
34 + Version bump. Check for active gcc >= 4.9. Bug #547868
35
36 *pf-sources-4.0_p1 (17 Apr 2015)
37
38
39
40
41 1.1 sys-kernel/pf-sources/pf-sources-4.0_p2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/pf-sources/pf-sources-4.0_p2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/pf-sources/pf-sources-4.0_p2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pf-sources-4.0_p2.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/pf-sources/pf-sources-4.0_p2.ebuild,v 1.1 2015/04/27 20:36:19 hwoarang Exp $
51
52 EAPI="5"
53 inherit readme.gentoo toolchain-funcs versionator
54
55 COMPRESSTYPE=".xz"
56 K_USEPV="yes"
57 UNIPATCH_STRICTORDER="yes"
58 K_SECURITY_UNSUPPORTED="1"
59
60 CKV="$(get_version_component_range 1-2)"
61 ETYPE="sources"
62 inherit kernel-2
63 detect_version
64 K_NOSETEXTRAVERSION="don't_set_it"
65
66 DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM"
67 HOMEPAGE="http://pf.natalenko.name/"
68
69 PF_VERS="1"
70 PF_FILE="patch-${PV/_p*/}-pf${PV/*_p/}${COMPRESSTYPE}"
71 PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}"
72 SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI}
73
74 KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
75 IUSE=""
76
77 KV_FULL="${PVR}-pf"
78 S="${WORKDIR}"/linux-"${KV_FULL}"
79
80 DISABLE_AUTOFORMATTING="yes"
81 DOC_CONTENTS="
82 ${P} has the following optional runtime dependencies:
83 - sys-apps/tuxonice-userui: provides minimal userspace progress
84 information related to suspending and resuming process.
85 - sys-power/hibernate-script or sys-power/pm-utils: runtime utilities
86 for hibernating and suspending your computer."
87
88 pkg_pretend() {
89 # 547868
90 if [[ $(gcc-version) < 4.9 ]]; then
91 eerror ""
92 eerror "${P} needs an active GCC 4.9+ compiler"
93 eerror
94 die "${P} needs sys-devel/gcc >= 4.9"
95 fi
96 }
97
98 pkg_setup(){
99 ewarn
100 ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
101 ewarn "If you need support, please contact the pf developers directly."
102 ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
103 ewarn "the ebuilds. Thank you."
104 ewarn
105 kernel-2_pkg_setup
106 }
107
108 src_prepare(){
109 epatch "${DISTDIR}"/"${PF_FILE}"
110 }
111
112 src_install() {
113 kernel-2_src_install
114 readme.gentoo_create_doc
115 }
116
117 pkg_postinst() {
118 kernel-2_pkg_postinst
119 readme.gentoo_print_elog
120 }
121
122 K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
123 see: ${HOMEPAGE}."