1 |
radhermit 10/10/29 17:14:29 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: kexec-tools-2.0.2.ebuild |
5 |
Log: |
6 |
Version bump (bug #343209 by jlec). Update SRC_URI, add lzma USE flag and dependency, and add a couple die statements to helper functions. |
7 |
|
8 |
(Portage version: 2.2.0_alpha2/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 sys-apps/kexec-tools/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/metadata.xml?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/metadata.xml?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/metadata.xml?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/metadata.xml,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- metadata.xml 18 Jul 2010 23:48:27 -0000 1.6 |
24 |
+++ metadata.xml 29 Oct 2010 17:14:29 -0000 1.7 |
25 |
@@ -3,6 +3,7 @@ |
26 |
<pkgmetadata> |
27 |
<herd>kernel-misc</herd> |
28 |
<use> |
29 |
+ <flag name='lzma'>Enables support for LZMA compressed kernel images</flag> |
30 |
<flag name='xen'>Enable extended xen support</flag> |
31 |
</use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.37 sys-apps/kexec-tools/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?rev=1.37&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?rev=1.37&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?r1=1.36&r2=1.37 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v |
45 |
retrieving revision 1.36 |
46 |
retrieving revision 1.37 |
47 |
diff -u -r1.36 -r1.37 |
48 |
--- ChangeLog 29 Oct 2010 06:44:51 -0000 1.36 |
49 |
+++ ChangeLog 29 Oct 2010 17:14:29 -0000 1.37 |
50 |
@@ -1,6 +1,13 @@ |
51 |
# ChangeLog for sys-apps/kexec-tools |
52 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.36 2010/10/29 06:44:51 jlec Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.37 2010/10/29 17:14:29 radhermit Exp $ |
55 |
+ |
56 |
+*kexec-tools-2.0.2 (29 Oct 2010) |
57 |
+ |
58 |
+ 29 Oct 2010; Tim Harder <radhermit@g.o> +kexec-tools-2.0.2.ebuild, |
59 |
+ metadata.xml: |
60 |
+ Version bump (bug #343209 by jlec). Update SRC_URI, add lzma USE flag and |
61 |
+ dependency, and add a couple die statements to helper functions. |
62 |
|
63 |
29 Oct 2010; Justin Lecher <jlec@g.o> files/kexec.init: |
64 |
Cleaned extra whitespaces in init script |
65 |
|
66 |
|
67 |
|
68 |
1.1 sys-apps/kexec-tools/kexec-tools-2.0.2.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.2.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.2.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: kexec-tools-2.0.2.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2010 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.2.ebuild,v 1.1 2010/10/29 17:14:29 radhermit Exp $ |
78 |
|
79 |
EAPI=2 |
80 |
|
81 |
inherit eutils flag-o-matic |
82 |
|
83 |
DESCRIPTION="Load another kernel from the currently executing Linux kernel" |
84 |
HOMEPAGE="http://kernel.org/pub/linux/utils/kernel/kexec/" |
85 |
SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P}.tar.bz2" |
86 |
|
87 |
LICENSE="GPL-2" |
88 |
SLOT="0" |
89 |
KEYWORDS="~amd64 ~x86" |
90 |
IUSE="lzma xen zlib" |
91 |
|
92 |
DEPEND="zlib? ( sys-libs/zlib ) |
93 |
lzma? ( app-arch/xz-utils )" |
94 |
RDEPEND="${DEPEND}" |
95 |
|
96 |
src_prepare() { |
97 |
epatch "${FILESDIR}/${PN}-2.0.0-respect-LDFLAGS.patch" |
98 |
|
99 |
# to disable the -fPIE -pie in the hardened compiler |
100 |
if gcc-specs-pie ; then |
101 |
filter-flags -fPIE |
102 |
append-ldflags -nopie |
103 |
fi |
104 |
} |
105 |
|
106 |
src_configure() { |
107 |
econf $(use_with lzma) $(use_with xen) $(use_with zlib) |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
emake DESTDIR="${D}" install || die "emake install failed" |
112 |
|
113 |
doman kexec/kexec.8 || die "doman failed" |
114 |
dodoc News AUTHORS TODO || die "dodoc failed" |
115 |
|
116 |
newinitd "${FILESDIR}"/kexec.init kexec || die |
117 |
newconfd "${FILESDIR}"/kexec.conf kexec || die |
118 |
} |