summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2010-10-29 17:14:29 +0000
committerTim Harder <radhermit@gentoo.org>2010-10-29 17:14:29 +0000
commit5cd1a16a5bd2c0a10fe2b4757b15d5cb84927e86 (patch)
treecb4b676e1a1787b129b174b80e725f4ef32b4781 /sys-apps
parentAutomated update of use.local.desc (diff)
downloadhistorical-5cd1a16a5bd2c0a10fe2b4757b15d5cb84927e86.tar.gz
historical-5cd1a16a5bd2c0a10fe2b4757b15d5cb84927e86.tar.bz2
historical-5cd1a16a5bd2c0a10fe2b4757b15d5cb84927e86.zip
Version bump (bug #343209 by jlec). Update SRC_URI, add lzma USE flag and dependency, and add a couple die statements to helper functions.
Package-Manager: portage-2.2.0_alpha2/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/kexec-tools/ChangeLog9
-rw-r--r--sys-apps/kexec-tools/Manifest16
-rw-r--r--sys-apps/kexec-tools/kexec-tools-2.0.2.ebuild44
-rw-r--r--sys-apps/kexec-tools/metadata.xml1
4 files changed, 64 insertions, 6 deletions
diff --git a/sys-apps/kexec-tools/ChangeLog b/sys-apps/kexec-tools/ChangeLog
index 72bd3f8ee4fe..2624b80a2522 100644
--- a/sys-apps/kexec-tools/ChangeLog
+++ b/sys-apps/kexec-tools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/kexec-tools
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.36 2010/10/29 06:44:51 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.37 2010/10/29 17:14:29 radhermit Exp $
+
+*kexec-tools-2.0.2 (29 Oct 2010)
+
+ 29 Oct 2010; Tim Harder <radhermit@gentoo.org> +kexec-tools-2.0.2.ebuild,
+ metadata.xml:
+ Version bump (bug #343209 by jlec). Update SRC_URI, add lzma USE flag and
+ dependency, and add a couple die statements to helper functions.
29 Oct 2010; Justin Lecher <jlec@gentoo.org> files/kexec.init:
Cleaned extra whitespaces in init script
diff --git a/sys-apps/kexec-tools/Manifest b/sys-apps/kexec-tools/Manifest
index 9850a3aa07dd..0c9c90c2be27 100644
--- a/sys-apps/kexec-tools/Manifest
+++ b/sys-apps/kexec-tools/Manifest
@@ -7,17 +7,23 @@ AUX kexec.conf 397 RMD160 a366158ef7a24764c7e42bd0a246e035587d0c42 SHA1 46760b27
AUX kexec.init 2106 RMD160 498f7a47af6bf151561d0e2ae1ec659d716918d7 SHA1 797bb66e29c55a1e22d2b7d60141a8cdaa14058e SHA256 34c97c9d11ab741cb13160bab16e322929d2c84bbefaa13d33171bdf02b0dc98
DIST kexec-tools-2.0.0.tar.bz2 262331 RMD160 88b8e0cf6fc7772f5f5d63536996f6afe67c2232 SHA1 5e822216553258c788480984cd214f7d13b212ca SHA256 41439d49957d0400c7bd9e26b7573049025133cb5edac18c1eb08993953e2044
DIST kexec-tools-2.0.1.tar.bz2 269432 RMD160 42726138bcd4342df768f41d0aef4e003c2a2090 SHA1 d3711794a2161bb88c75b74b5d6b41596e505b25 SHA256 f61f7be8896d4e3ee788712c564296bcb431e2e0b0564cc14b40a81b6df8d311
+DIST kexec-tools-2.0.2.tar.bz2 305961 RMD160 cc1dd7806cbb31a5125904beab004ee8abf1a903 SHA1 cc0fcb1c258d46ac21cb064b73c19cee458f4ee7 SHA256 f9acb94dcf4cee2a04da18112a6e5732cdcbe98f893039a93582d88307e0103f
EBUILD kexec-tools-2.0.0-r1.ebuild 980 RMD160 dcab5ea71bc1c7d557266484bfc1dd5aef3b960d SHA1 11b8b853d3f392e4acc70631b6379e3753288dbf SHA256 64a88190241d05f59f604c6530ee6312e6864238d652d6626705bac33c9147f1
EBUILD kexec-tools-2.0.0-r2.ebuild 982 RMD160 7c25bfff187e27eb3d519f8197c860f442cb58fb SHA1 1bbde91eff0fe3fa7c27a396d079274feed02873 SHA256 91e443092399f480b01c7c95a7e9fb863d5ac903ac9e26831a8d2bca7b2d7355
EBUILD kexec-tools-2.0.1-r1.ebuild 1159 RMD160 43edc3cff5def64b7fa06f29a2451d97a717f715 SHA1 21a47381b6a773e51ca8747583f62fa8433c1295 SHA256 5712536caf1136dfa9ca0900e312a9716eec4bcc2978bfed3c8253515be5c6f8
EBUILD kexec-tools-2.0.1.ebuild 1014 RMD160 64bb22451c8d1e0b6960fc99a34245a7581ef747 SHA1 64c2202177957fdcf6d5e43892f88c26b0b17235 SHA256 9c07845c330ed503c54aa8ead279cafa5b4c9f05e40587e888a43dca4acd19b5
+EBUILD kexec-tools-2.0.2.ebuild 1169 RMD160 821e8d18bc01b39bd14bc1f7a8db5e5e258d59af SHA1 58581e8481ed6b4132370fbdb869c72870e10f37 SHA256 fd75c5ef33869addea7d0ec637c14c53f910bea91badbcd2a3b99221eea4246f
EBUILD kexec-tools-9999.ebuild 949 RMD160 449abe4325d093bf94b762928257d50462c5c0cc SHA1 92c5b72fe84f14161c3de5e84b2b3c6439667da1 SHA256 e8d9a4c42e98ed5069cb11d3a17d4505e1d195bafe4bf20bf42da40439fc7b89
-MISC ChangeLog 7654 RMD160 abc6ca10ba3c0a3a46c29cdcecf89bdb7af01932 SHA1 bf2a1b39eab5b0cbf6baf8325fbb8c99a047f59d SHA256 ebba3c8c056fd45452f403bb0452e732227996166b24faf05abd0cebc859434a
-MISC metadata.xml 238 RMD160 67ceadfb109c0ccb062ffa61251a97fbd5353cab SHA1 42479aba573ada75492c7e0603564533de53bd25 SHA256 195cd17ad1ea2a7be604b662cb9069c6a867efba0d2a45fdd86606a0ba033eaf
+MISC ChangeLog 7929 RMD160 3d897f266bb55f43dc65e8a2967091f32751b325 SHA1 a2c90b8590e75c51d1c92b5065da5d039e53b719 SHA256 643b81253d366c097df0b8309249ad4f4559f823b5f2dce7dcb5c37f6537754d
+MISC metadata.xml 316 RMD160 703798016ff4d6e906592935aac0b7685f7c30cd SHA1 380ce8fb414dedadfcafac0fe79d04fd30af8b5a SHA256 73d854dead69f6caa5038d9aed3b624f59be9c818ae9958bf8205a79664b9e64
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkzKbWgACgkQgAnW8HDreRaTyACdEikfIGHCw2RpbBSnzrqxo2aw
-iL8Anjqn71nWWlkaVa1HLYKb1nnY5GXx
-=hr4w
+iQEcBAEBAgAGBQJMywD+AAoJEEqz6FtPBkyjMiUH+gIbGvlv1LIIdwSVpVQtN9/0
+3ZdLnlup+qSkdgQOMsZPTS7VjuJQIFix1pkbIMJF6uajPeXCNpDSIEsuAmHD+BCo
+/lwae6nI1OthLF2/fhKpM31LOnVRuAugzXN2soDhA1/5r9dv3Q1ru1UQJPJG4p+2
+kFPnFbHy6Hj+ThxCMtU5xOdz7XC24QUCH06GvyhpQd1DLSQnp4FXrrRFeWiu0drk
+lTK7YauHZQabY0WDMOkjGNTRbUegMpw4R5JyWQ56L9ofpq80YmDedXGlGOzeeLBQ
+f8LUwYOA/jktxCZFbpjyzCUEVeIJkrp5JZkOdVf11V7+/u/4JjOC/6BKFayqCK8=
+=YLl/
-----END PGP SIGNATURE-----
diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.2.ebuild b/sys-apps/kexec-tools/kexec-tools-2.0.2.ebuild
new file mode 100644
index 000000000000..c29e7a38186e
--- /dev/null
+++ b/sys-apps/kexec-tools/kexec-tools-2.0.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 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.2.ebuild,v 1.1 2010/10/29 17:14:29 radhermit Exp $
+
+EAPI=2
+
+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.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="lzma xen zlib"
+
+DEPEND="zlib? ( sys-libs/zlib )
+ lzma? ( app-arch/xz-utils )"
+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() {
+ econf $(use_with lzma) $(use_with xen) $(use_with zlib)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ doman kexec/kexec.8 || die "doman failed"
+ dodoc News AUTHORS TODO || die "dodoc failed"
+
+ newinitd "${FILESDIR}"/kexec.init kexec || die
+ newconfd "${FILESDIR}"/kexec.conf kexec || die
+}
diff --git a/sys-apps/kexec-tools/metadata.xml b/sys-apps/kexec-tools/metadata.xml
index 41a2195c6d5f..3692ea1be93b 100644
--- a/sys-apps/kexec-tools/metadata.xml
+++ b/sys-apps/kexec-tools/metadata.xml
@@ -3,6 +3,7 @@
<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>
</pkgmetadata>