Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/kexec-tools/
Date: Thu, 23 Nov 2017 20:48:53
Message-Id: 1511470097.c80c43db437068101e893143b3de253bd9976b1b.whissi@gentoo
1 commit: c80c43db437068101e893143b3de253bd9976b1b
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 23 19:16:33 2017 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 23 20:48:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c80c43db
7
8 sys-apps/kexec-tools: Bump to v2.0.16
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 sys-apps/kexec-tools/Manifest | 3 +-
13 sys-apps/kexec-tools/kexec-tools-2.0.16.ebuild | 81 ++++++++++++++++++++++++++
14 2 files changed, 83 insertions(+), 1 deletion(-)
15
16 diff --git a/sys-apps/kexec-tools/Manifest b/sys-apps/kexec-tools/Manifest
17 index 257e7124b8e..1fc594df788 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.14.tar.xz 283640 SHA256 ffb2e7e99d9d08754c6bc1922aed3c000094f318665d82a72ecc76c4ff1c0dc6 SHA512 8c1f9d1f4bb69a621961d45091f9c8349535ae69b80168423663685b44d89e1b9324d5cd11c83e86d805a3371f4f1600b0def551c52efb3c6cf020e9c11c273f WHIRLPOOL 1f9cc414724bf2d710876b2fbf721543cbd973b272a66b86bf134774b946ec540579b698fa3bcb56a2041d226da2c4298f750180c671ece17633067370a9df8e
22 -DIST kexec-tools-2.0.15.tar.xz 286944 SHA256 899b7b861431eb51886d0c12866e91b036228244d35a5fb04762dd1a3c0194e7 SHA512 0bddf31b9bb0e203b813d820e1e248974c2d62cb388dfaf4f2f4971f764cc71e54edbaeaeb663c15d6fa06574beceb87d9ffd7d822ac6699d86c54645096e7e9 WHIRLPOOL 8d40f03cc9cbaf90a9ab9bcb009dfd3c5b1130eec6ac515c3d3a2f7d7205d856fb43ff748a4ef51a1d3169f7ba068d998baafc155c7400a8e96245e326d62558
23 +DIST kexec-tools-2.0.15.tar.xz 286944 BLAKE2B 00344b607fbbca77398e74bf7f6506efa124ddb4ad0f2e55424a40b90ac0d1a6336dd43f4c8804323e12598f1647cd105880960abfda7df8215c787dae150bda SHA512 0bddf31b9bb0e203b813d820e1e248974c2d62cb388dfaf4f2f4971f764cc71e54edbaeaeb663c15d6fa06574beceb87d9ffd7d822ac6699d86c54645096e7e9
24 +DIST kexec-tools-2.0.16.tar.xz 287888 BLAKE2B 7e7bbe11dc2792be3cab6318c12b6866bf6b373fb7bf2d7601ef68a39dd5882aceab7c8905ce0d9b0af1da2072b3f3d2677bd9e006676c484e1d6506ac7036fa SHA512 f2f06e7702fef20c8d7d6aabe1b264e2e2689e5c38cc00dbc2186dd7fa0479edb2dc9e307dd2ad7f03db47015e966e577f11576172604ef01c1bcca471fe2c24
25 DIST kexec-tools-2.0.4.tar.xz 271604 SHA256 e5f5ab00d746eb15b4714eca6a8ec5a1a86a62ce2bbdad1b3000161138a978c6 SHA512 2514f407d9150d2615dffc91a525fb28f159bef92b9543f9802e2618746b7d4c04137668ad8a8d8f0b75f68ed9057d09629ce736b6a061b5cf817b9d904f549e WHIRLPOOL 70ad298512e700cd1cdee7698e4fa68a769d91d3080d5d8387b8362ad49126ad68b0b6dbd1f13305958bdc988f805fa610e487682fd0eb5e4e9bcda0a9022627
26
27 diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.16.ebuild b/sys-apps/kexec-tools/kexec-tools-2.0.16.ebuild
28 new file mode 100644
29 index 00000000000..f3f01574c05
30 --- /dev/null
31 +++ b/sys-apps/kexec-tools/kexec-tools-2.0.16.ebuild
32 @@ -0,0 +1,81 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
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 ~arm64 ~x86"
45 +fi
46 +
47 +inherit libtool 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_prepare() {
76 + default
77 + elibtoolize
78 +}
79 +
80 +src_configure() {
81 + local myeconfargs=(
82 + $(use_with booke)
83 + $(use_with lzma)
84 + $(use_with xen)
85 + $(use_with zlib)
86 + )
87 + econf "${myeconfargs[@]}"
88 +}
89 +
90 +src_install() {
91 + default
92 +
93 + dodoc "${FILESDIR}"/README.Gentoo
94 +
95 + newinitd "${FILESDIR}"/kexec.init-2.0.13-r1 kexec
96 + newconfd "${FILESDIR}"/kexec.conf-2.0.4 kexec
97 +
98 + insinto /etc
99 + doins "${FILESDIR}"/kexec.conf
100 +
101 + insinto /etc/kernel/postinst.d
102 + doins "${FILESDIR}"/90_kexec
103 +
104 + systemd_dounit "${FILESDIR}"/kexec.service
105 +}
106 +
107 +pkg_postinst() {
108 + if systemd_is_booted || has_version sys-apps/systemd; then
109 + elog "For systemd support the new config file is"
110 + elog " /etc/kexec.conf"
111 + elog "Please adopt it to your needs as there is no autoconfig anymore"
112 + fi
113 +}