1 |
commit: b44f3eda36601f43ca4ae3d767e8064810305a85 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 23 14:05:38 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 23 14:06:35 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b44f3eda |
7 |
|
8 |
sys-apps/kexec-tools: Bump to version 2.0.13 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
sys-apps/kexec-tools/Manifest | 1 + |
13 |
sys-apps/kexec-tools/kexec-tools-2.0.13.ebuild | 77 ++++++++++++++++++++++++++ |
14 |
2 files changed, 78 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/kexec-tools/Manifest b/sys-apps/kexec-tools/Manifest |
17 |
index 99653fe..f97be56 100644 |
18 |
--- a/sys-apps/kexec-tools/Manifest |
19 |
+++ b/sys-apps/kexec-tools/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST kexec-tools-2.0.12.tar.xz 274776 SHA256 14ce67b6242426a7ded10f58b7d29d3cfef5c1379850e8ba3816bb42053f920d SHA512 d192f841180daf534f7214b6c7c5dcd9de0e5616e8cb0da164c24e8b5903a2f65bb1fbe6ca29a3b9077fa6f6435cc33fda19a96584e1f393ee7a2fe56f374dab WHIRLPOOL 9895716544987682f4ba9cc0622afa14c7dc844482fedce29ec9780b8ff74f87cf2bd79ef58febe651fa3bc5934b6d54aaae31d2593fb32ea9fffdca1e5f8c91 |
22 |
+DIST kexec-tools-2.0.13.tar.xz 276824 SHA256 874baf421171dbfca0084af2da71ccf5a67749dd2a27c3023da5f72460bae5cc SHA512 19ff83eb25f492de5d87c0d5c3df9189ec5af225c3343ae61ae595fcb02638c0d7b8474edfa569c46e7203ae68e6c358db929a7dcfbf908518a00d6b5a597081 WHIRLPOOL 9281a2141892972657a02d6374dfa42474ce7c83955d9d54a1fd50456c34b8b2018aa3ab179a393e365c7ed2bfd43b2a94d3397e2bb09e25e9751eb19eace4e7 |
23 |
DIST kexec-tools-2.0.4.tar.xz 271604 SHA256 e5f5ab00d746eb15b4714eca6a8ec5a1a86a62ce2bbdad1b3000161138a978c6 SHA512 2514f407d9150d2615dffc91a525fb28f159bef92b9543f9802e2618746b7d4c04137668ad8a8d8f0b75f68ed9057d09629ce736b6a061b5cf817b9d904f549e WHIRLPOOL 70ad298512e700cd1cdee7698e4fa68a769d91d3080d5d8387b8362ad49126ad68b0b6dbd1f13305958bdc988f805fa610e487682fd0eb5e4e9bcda0a9022627 |
24 |
DIST kexec-tools-2.0.9.tar.xz 272728 SHA256 8ae34a9ceb76350954e1e1e3ca9ab51da15862bd5f2fd14392208e60fb454f71 SHA512 b58f8f0872f1a6a3a93bc67068d7035c4b39e985dafadc573585d92259ff289bf98d5a567293a5286668315ac2158b232919e0c6847fdefc68b7ecbcfab5109e WHIRLPOOL 840d9d17ce9facc131736ef52acabb03bcc6d21f671896ff5603bd8d6bd629519e169ca878a127b863235b236dafd3b29f598424b272f599503bb3f1a5f70050 |
25 |
|
26 |
diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.13.ebuild b/sys-apps/kexec-tools/kexec-tools-2.0.13.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000..2a2d160 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/kexec-tools/kexec-tools-2.0.13.ebuild |
31 |
@@ -0,0 +1,77 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI="5" |
37 |
+ |
38 |
+if [[ ${PV} == "9999" ]] ; then |
39 |
+ inherit git-r3 |
40 |
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git" |
41 |
+ AUTOTOOLS_AUTORECONF=true |
42 |
+else |
43 |
+ SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P}.tar.xz" |
44 |
+ KEYWORDS="~amd64 ~x86" |
45 |
+fi |
46 |
+ |
47 |
+inherit autotools-utils linux-info systemd |
48 |
+ |
49 |
+DESCRIPTION="Load another kernel from the currently executing Linux kernel" |
50 |
+HOMEPAGE="https://kernel.org/pub/linux/utils/kernel/kexec/" |
51 |
+ |
52 |
+LICENSE="GPL-2" |
53 |
+SLOT="0" |
54 |
+IUSE="booke lzma xen zlib" |
55 |
+ |
56 |
+REQUIRED_USE="lzma? ( zlib )" |
57 |
+ |
58 |
+DEPEND=" |
59 |
+ lzma? ( app-arch/xz-utils ) |
60 |
+ zlib? ( sys-libs/zlib )" |
61 |
+RDEPEND="${DEPEND}" |
62 |
+ |
63 |
+CONFIG_CHECK="~KEXEC" |
64 |
+ |
65 |
+PATCHES=( |
66 |
+ "${FILESDIR}"/${PN}-2.0.4-disable-kexec-test.patch |
67 |
+ "${FILESDIR}"/${PN}-2.0.4-out-of-source.patch |
68 |
+) |
69 |
+ |
70 |
+pkg_setup() { |
71 |
+ # GNU Make's $(COMPILE.S) passes ASFLAGS to $(CCAS), CCAS=$(CC) |
72 |
+ export ASFLAGS="${CCASFLAGS}" |
73 |
+} |
74 |
+ |
75 |
+src_configure() { |
76 |
+ local myeconfargs=( |
77 |
+ $(use_with booke) |
78 |
+ $(use_with lzma) |
79 |
+ $(use_with xen) |
80 |
+ $(use_with zlib) |
81 |
+ ) |
82 |
+ autotools-utils_src_configure |
83 |
+} |
84 |
+ |
85 |
+src_install() { |
86 |
+ autotools-utils_src_install |
87 |
+ |
88 |
+ dodoc "${FILESDIR}"/README.Gentoo |
89 |
+ |
90 |
+ newinitd "${FILESDIR}"/kexec.init-2.0.12 kexec |
91 |
+ newconfd "${FILESDIR}"/kexec.conf-2.0.4 kexec |
92 |
+ |
93 |
+ insinto /etc |
94 |
+ doins "${FILESDIR}"/kexec.conf |
95 |
+ |
96 |
+ insinto /etc/kernel/postinst.d |
97 |
+ doins "${FILESDIR}"/90_kexec |
98 |
+ |
99 |
+ systemd_dounit "${FILESDIR}"/kexec.service |
100 |
+} |
101 |
+ |
102 |
+pkg_postinst() { |
103 |
+ if systemd_is_booted || has_version sys-apps/systemd; then |
104 |
+ elog "For systemd support the new config file is" |
105 |
+ elog " /etc/kexec.conf" |
106 |
+ elog "Please adopt it to your needs as there is no autoconfig anymore" |
107 |
+ fi |
108 |
+} |