sys-apps/kexec-tools: Removed old.
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 29 Jul 2019 07:53:13 +0000 (09:53 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 29 Jul 2019 07:53:13 +0000 (09:53 +0200)
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-apps/kexec-tools/Manifest
sys-apps/kexec-tools/files/kexec-tools-2.0.17-fix-unhandled-rela-relocation-R_X86_64_PLT32-error.patch [deleted file]
sys-apps/kexec-tools/kexec-tools-2.0.17-r1.ebuild [deleted file]

index 744431e4b9db675d371d71e8ec8f7a830e30128e..a318c88ab4885fbcad3406e169e5d2472ba2d1f0 100644 (file)
@@ -1,3 +1,2 @@
-DIST kexec-tools-2.0.17.tar.xz 290612 BLAKE2B 57ec5b5ed33a5c5bbe433099d6e80663717c8a086bdb8b95f4a1d81fd7e546619c0064698454dc79f489313f98696ee6dee4cafbc8b1b93db5c7909cdf7a6234 SHA512 e0f254ca2b26fa02cb61ba9a0735423b26bac2693fbd920eaf7cc2822c298de958bd65f7c37947ca1f6811a3752a58f7cf8aa903494f0109ea76b7159a037fa6
 DIST kexec-tools-2.0.19.tar.xz 292348 BLAKE2B c9827d77c82f11351086f4cdf4bacd076a03c744969952706ffd6f17395f28fba2437dac976e12e8e5648ca09fac6ff241daf9b8d3fee215519ded9f18441ff0 SHA512 68b15fe46f9633d55c5ae51a6e7114b0c66bd8f4fe81197f581121939a7b21990a2eea89a0961ac6eb7af364ba0d3981ea504df81c7b4cc0b288ca6ac896730f
 DIST kexec-tools-2.0.20.tar.xz 297476 BLAKE2B 7e29e7f7d85296dd3e614c45f14c27eca74ce4426d5de2d20387d89f2f63afed318d6157cc4001849a04bb83505bbae87c43d34683ebaf9a70f5f29e3979ade3 SHA512 3112b6202c1030705c53e3f65a2b58aec14d65333a35aad681d48b9f2bd1c51a2e05c985a1e5e867ab02f8a9c97708483d9d225619db7c6993676f1a242e2d99
diff --git a/sys-apps/kexec-tools/files/kexec-tools-2.0.17-fix-unhandled-rela-relocation-R_X86_64_PLT32-error.patch b/sys-apps/kexec-tools/files/kexec-tools-2.0.17-fix-unhandled-rela-relocation-R_X86_64_PLT32-error.patch
deleted file mode 100644 (file)
index 5d691b3..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From b9de21ef51a7ceab7122a707c188602eae22c4ee Mon Sep 17 00:00:00 2001
-From: Chris Clayton <chris2553@googlemail.com>
-Date: Mon, 20 Aug 2018 12:00:31 +0100
-Subject: kexec: fix for "Unhandled rela relocation: R_X86_64_PLT32" error
-
-In response to a change in binutils, commit b21ebf2fb4c
-(x86: Treat R_X86_64_PLT32 as R_X86_64_PC32) was applied to
-the linux kernel during the 4.16 development cycle and has
-since been backported to earlier stable kernel series. The
-change results in the failure message in $SUBJECT when
-rebooting via kexec.
-
-Fix this by replicating the change in kexec.
-
-Signed-off-by: Chris Clayton <chris2553@googlemail.com>
-Acked-by: Baoquan He <bhe@redhat.com>
-Tested-by: Bhupesh Sharma <bhsharma@redhat.com>
-Acked-by: Bhupesh Sharma <bhsharma@redhat.com>
-Signed-off-by: Simon Horman <horms@verge.net.au>
----
- kexec/arch/x86_64/kexec-elf-rel-x86_64.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/kexec/arch/x86_64/kexec-elf-rel-x86_64.c b/kexec/arch/x86_64/kexec-elf-rel-x86_64.c
-index 7fdde73..db85b44 100644
---- a/kexec/arch/x86_64/kexec-elf-rel-x86_64.c
-+++ b/kexec/arch/x86_64/kexec-elf-rel-x86_64.c
-@@ -79,6 +79,7 @@ void machine_apply_elf_rel(struct mem_ehdr *UNUSED(ehdr),
-                       goto overflow;
-               break;
-       case R_X86_64_PC32: 
-+      case R_X86_64_PLT32:
-               *(uint32_t *)location = value - address;
-               break;
-       default:
--- 
-cgit 1.2-0.3.lf.el7
-
diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.17-r1.ebuild b/sys-apps/kexec-tools/kexec-tools-2.0.17-r1.ebuild
deleted file mode 100644 (file)
index b11b9c2..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-if [[ ${PV} == "9999" ]] ; then
-       inherit git-r3 autotools
-       EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git"
-else
-       SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P}.tar.xz"
-       KEYWORDS="amd64 ~arm64 x86"
-fi
-
-inherit flag-o-matic libtool linux-info systemd
-
-DESCRIPTION="Load another kernel from the currently executing Linux kernel"
-HOMEPAGE="https://kernel.org/pub/linux/utils/kernel/kexec/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="booke lzma xen zlib"
-
-REQUIRED_USE="lzma? ( zlib )"
-
-DEPEND="
-       lzma? ( app-arch/xz-utils )
-       zlib? ( sys-libs/zlib )"
-RDEPEND="${DEPEND}"
-
-CONFIG_CHECK="~KEXEC"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-2.0.4-disable-kexec-test.patch
-       "${FILESDIR}"/${PN}-2.0.4-out-of-source.patch
-       "${FILESDIR}"/${P}-fix-unhandled-rela-relocation-R_X86_64_PLT32-error.patch
-)
-
-pkg_setup() {
-       # GNU Make's $(COMPILE.S) passes ASFLAGS to $(CCAS), CCAS=$(CC)
-       export ASFLAGS="${CCASFLAGS}"
-}
-
-src_prepare() {
-       default
-       if [[ ${PV} == "9999" ]] ; then
-               eautoreconf
-       else
-               elibtoolize
-       fi
-       filter-flags '-mindirect-branch=thunk*'
-}
-
-src_configure() {
-       local myeconfargs=(
-               $(use_with booke)
-               $(use_with lzma)
-               $(use_with xen)
-               $(use_with zlib)
-       )
-       econf "${myeconfargs[@]}"
-}
-
-src_install() {
-       default
-
-       dodoc "${FILESDIR}"/README.Gentoo
-
-       newinitd "${FILESDIR}"/kexec.init-2.0.13-r1 kexec
-       newconfd "${FILESDIR}"/kexec.conf-2.0.4 kexec
-
-       insinto /etc
-       doins "${FILESDIR}"/kexec.conf
-
-       insinto /etc/kernel/postinst.d
-       doins "${FILESDIR}"/90_kexec
-
-       systemd_dounit "${FILESDIR}"/kexec.service
-}
-
-pkg_postinst() {
-       if systemd_is_booted || has_version sys-apps/systemd; then
-               elog "For systemd support the new config file is"
-               elog "   /etc/kexec.conf"
-               elog "Please adopt it to your needs as there is no autoconfig anymore"
-       fi
-}