summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-02-16 22:13:00 +0000
committerJustin Lecher <jlec@gentoo.org>2012-02-16 22:13:00 +0000
commitad738f724f865bfe4046ed02bdd70b164b7a4364 (patch)
tree67c67607c904ad4c6879668f712f3ef663feaaeb /sys-apps
parentCommit missing Changelog (diff)
downloadgentoo-2-ad738f724f865bfe4046ed02bdd70b164b7a4364.tar.gz
gentoo-2-ad738f724f865bfe4046ed02bdd70b164b7a4364.tar.bz2
gentoo-2-ad738f724f865bfe4046ed02bdd70b164b7a4364.zip
Add myself as maintainer, version bump
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/kexec-tools/ChangeLog10
-rw-r--r--sys-apps/kexec-tools/kexec-tools-2.0.3.ebuild44
-rw-r--r--sys-apps/kexec-tools/metadata.xml14
3 files changed, 61 insertions, 7 deletions
diff --git a/sys-apps/kexec-tools/ChangeLog b/sys-apps/kexec-tools/ChangeLog
index d089fcc952d4..0f670e2ba6e0 100644
--- a/sys-apps/kexec-tools/ChangeLog
+++ b/sys-apps/kexec-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/kexec-tools
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.44 2011/09/21 18:16:18 radhermit Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.45 2012/02/16 22:13:00 jlec Exp $
+
+*kexec-tools-2.0.3 (16 Feb 2012)
+
+ 16 Feb 2012; Justin Lecher <jlec@gentoo.org> +kexec-tools-2.0.3.ebuild,
+ metadata.xml:
+ Add myself as maintainer, version bump
21 Sep 2011; Tim Harder <radhermit@gentoo.org> -kexec-tools-2.0.0-r1.ebuild,
-kexec-tools-2.0.0-r2.ebuild, -files/kexec-tools-2.0.0-asneeded.patch,
diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.3.ebuild b/sys-apps/kexec-tools/kexec-tools-2.0.3.ebuild
new file mode 100644
index 000000000000..9dd795602945
--- /dev/null
+++ b/sys-apps/kexec-tools/kexec-tools-2.0.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.3.ebuild,v 1.1 2012/02/16 22:13:00 jlec Exp $
+
+EAPI=4
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Load another kernel from the currently executing Linux kernel"
+HOMEPAGE="http://kernel.org/pub/linux/utils/kernel/kexec/"
+SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="booke lzma xen zlib"
+
+DEPEND="
+ lzma? ( app-arch/xz-utils )
+ zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.0.0-respect-LDFLAGS.patch"
+
+ # to disable the -fPIE -pie in the hardened compiler
+ if gcc-specs-pie ; then
+ filter-flags -fPIE
+ append-ldflags -nopie
+ fi
+}
+
+src_configure() {
+ # GNU Make's $(COMPILE.S) passes ASFLAGS to $(CCAS), CCAS=$(CC)
+ export ASFLAGS="${CCASFLAGS}"
+ econf $(use_with lzma) $(use_with xen) $(use_with zlib) $(use_with booke)
+}
+
+src_install() {
+ default
+
+ newinitd "${FILESDIR}"/kexec.init-ng kexec
+ newconfd "${FILESDIR}"/kexec.conf kexec
+}
diff --git a/sys-apps/kexec-tools/metadata.xml b/sys-apps/kexec-tools/metadata.xml
index 3692ea1be93b..ca45fa44c725 100644
--- a/sys-apps/kexec-tools/metadata.xml
+++ b/sys-apps/kexec-tools/metadata.xml
@@ -1,9 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>kernel-misc</herd>
- <use>
- <flag name='lzma'>Enables support for LZMA compressed kernel images</flag>
- <flag name='xen'>Enable extended xen support</flag>
- </use>
+ <herd>kernel-misc</herd>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="lzma">Enables support for LZMA compressed kernel images</flag>
+ <flag name="booke">Include support for Book-E memory management</flag>
+ <flag name="xen">Enable extended xen support</flag>
+ </use>
</pkgmetadata>