1 |
jlec 14/07/10 06:11:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: kexec-tools-2.0.7.ebuild |
5 |
Log: |
6 |
sys-apps/kexec-tools: Version Bump, #516778 |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.62 sys-apps/kexec-tools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?rev=1.62&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?rev=1.62&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?r1=1.61&r2=1.62 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v |
20 |
retrieving revision 1.61 |
21 |
retrieving revision 1.62 |
22 |
diff -u -r1.61 -r1.62 |
23 |
--- ChangeLog 28 Dec 2013 20:27:31 -0000 1.61 |
24 |
+++ ChangeLog 10 Jul 2014 06:11:15 -0000 1.62 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-apps/kexec-tools |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.61 2013/12/28 20:27:31 jlec Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.62 2014/07/10 06:11:15 jlec Exp $ |
31 |
+ |
32 |
+*kexec-tools-2.0.7 (10 Jul 2014) |
33 |
+ |
34 |
+ 10 Jul 2014; Justin Lecher <jlec@g.o> +kexec-tools-2.0.7.ebuild: |
35 |
+ Version Bump, #516778 |
36 |
|
37 |
28 Dec 2013; Justin Lecher <jlec@g.o> kexec-tools-9999.ebuild, |
38 |
files/kexec.init-9999: |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-apps/kexec-tools/kexec-tools-2.0.7.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.7.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.7.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: kexec-tools-2.0.7.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.7.ebuild,v 1.1 2014/07/10 06:11:15 jlec Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit autotools-utils flag-o-matic linux-info systemd |
56 |
|
57 |
DESCRIPTION="Load another kernel from the currently executing Linux kernel" |
58 |
HOMEPAGE="http://kernel.org/pub/linux/utils/kernel/kexec/" |
59 |
SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P}.tar.xz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="booke lzma xen zlib" |
65 |
|
66 |
REQUIRED_USE="lzma? ( zlib )" |
67 |
|
68 |
DEPEND=" |
69 |
lzma? ( app-arch/xz-utils ) |
70 |
zlib? ( sys-libs/zlib )" |
71 |
RDEPEND="${DEPEND}" |
72 |
|
73 |
CONFIG_CHECK="~KEXEC" |
74 |
|
75 |
PATCHES=( |
76 |
"${FILESDIR}"/${PN}-2.0.4-disable-kexec-test.patch |
77 |
"${FILESDIR}"/${PN}-2.0.4-out-of-source.patch |
78 |
) |
79 |
|
80 |
pkg_setup() { |
81 |
# GNU Make's $(COMPILE.S) passes ASFLAGS to $(CCAS), CCAS=$(CC) |
82 |
export ASFLAGS="${CCASFLAGS}" |
83 |
# to disable the -fPIE -pie in the hardened compiler |
84 |
if gcc-specs-pie ; then |
85 |
filter-flags -fPIE |
86 |
append-ldflags -nopie |
87 |
fi |
88 |
} |
89 |
|
90 |
src_configure() { |
91 |
local myeconfargs=( |
92 |
$(use_with booke) |
93 |
$(use_with lzma) |
94 |
$(use_with xen) |
95 |
$(use_with zlib) |
96 |
) |
97 |
autotools-utils_src_configure |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
autotools-utils_src_install |
102 |
|
103 |
dodoc "${FILESDIR}"/README.Gentoo |
104 |
|
105 |
newinitd "${FILESDIR}"/kexec.init-2.0.4-r2 kexec |
106 |
newconfd "${FILESDIR}"/kexec.conf-2.0.4 kexec |
107 |
|
108 |
insinto /etc |
109 |
doins "${FILESDIR}"/kexec.conf |
110 |
|
111 |
insinto /etc/kernel/postinst.d |
112 |
doins "${FILESDIR}"/90_kexec |
113 |
|
114 |
systemd_dounit "${FILESDIR}"/kexec.service |
115 |
} |
116 |
|
117 |
pkg_postinst() { |
118 |
if systemd_is_booted || has_version sys-apps/systemd; then |
119 |
elog "For systemd support the new config file is" |
120 |
elog " /etc/kexec.conf" |
121 |
elog "Please adopt it to your needs as there is no autoconfig anymore" |
122 |
fi |
123 |
} |