sys-apps/keyutils: move to coreos-overlay

This commit is contained in:
mischief 2015-03-11 13:18:45 -07:00
parent 1562f9e10f
commit 3e6a4732da
8 changed files with 0 additions and 551 deletions

View File

@ -1,198 +0,0 @@
# ChangeLog for sys-apps/keyutils
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/ChangeLog,v 1.51 2014/08/10 17:25:33 ago Exp $
10 Aug 2014; Agostino Sarubbo <ago@gentoo.org> keyutils-1.5.9-r1.ebuild:
Stable for sparc, wrt bug #517936
10 Aug 2014; Agostino Sarubbo <ago@gentoo.org> keyutils-1.5.9-r1.ebuild:
Stable for ia64, wrt bug #517936
10 Aug 2014; Agostino Sarubbo <ago@gentoo.org> keyutils-1.5.9-r1.ebuild:
Stable for ppc64, wrt bug #517936
07 Aug 2014; Jeroen Roovers <jer@gentoo.org> keyutils-1.5.9-r1.ebuild:
Stable for HPPA (bug #512012).
05 Aug 2014; Markus Meier <maekke@gentoo.org> keyutils-1.5.9-r1.ebuild:
arm stable, bug #512012
31 Jul 2014; Tobias Klausmann <klausman@gentoo.org> keyutils-1.5.9-r1.ebuild:
Stable on alpha, bug #517936
28 Jul 2014; Agostino Sarubbo <ago@gentoo.org> keyutils-1.5.9-r1.ebuild:
Stable for ppc, wrt bug #512012
23 Jul 2014; Agostino Sarubbo <ago@gentoo.org> keyutils-1.5.9-r1.ebuild:
Stable for x86, wrt bug #512012
22 Jul 2014; Agostino Sarubbo <ago@gentoo.org> keyutils-1.5.9-r1.ebuild:
Stable for amd64, wrt bug #512912
14 Jul 2014; <tgall@gentoo.org> keyutils-1.5.9-r1.ebuild:
arm64 stable, bug #516116
*keyutils-1.5.9-r1 (14 May 2014)
14 May 2014; Michał Górny <mgorny@gentoo.org> +keyutils-1.5.9-r1.ebuild:
Enable multilib support, bug #505006.
*keyutils-1.5.9 (01 Mar 2014)
01 Mar 2014; Tim Harder <radhermit@gentoo.org> +keyutils-1.5.9.ebuild:
Version bump.
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> keyutils-1.5.5.ebuild,
keyutils-1.5.8.ebuild:
Add arm64 love.
04 Jan 2014; Robin H. Johnson <robbat2@gentoo.org>
-files/keyutils-1.5.3-makefile-fixup.patch:
Missed a file cleanup.
04 Jan 2014; Robin H. Johnson <robbat2@gentoo.org>
-files/keyutils-1.2-makefile-fixup.patch, -keyutils-1.0.ebuild,
-keyutils-1.1.ebuild, -keyutils-1.2-r1.ebuild, -keyutils-1.2-r2.ebuild,
-keyutils-1.2.ebuild, -keyutils-1.4-r1.ebuild, -keyutils-1.4.ebuild,
-keyutils-1.5.3.ebuild:
Clean up old versions, stable has been in the tree for 11 months.
*keyutils-1.5.8 (04 Jan 2014)
04 Jan 2014; Robin H. Johnson <robbat2@gentoo.org> +keyutils-1.5.8.ebuild,
keyutils-1.5.5.ebuild:
Version bump, also fix bug #484452 (AR) and bug #421531 (checking kernel
config).
01 Jul 2012; Raúl Porcel <armin76@gentoo.org> keyutils-1.5.5.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #417445
05 Jun 2012; Brent Baude <ranger@gentoo.org> keyutils-1.5.5.ebuild:
Marking keyutils-1.5.5 ppc64 for bug 417445
30 May 2012; Markus Meier <maekke@gentoo.org> keyutils-1.5.5.ebuild:
arm stable, bug #417445
29 May 2012; Brent Baude <ranger@gentoo.org> keyutils-1.5.5.ebuild:
Marking keyutils-1.5.5 ppc for bug 417445
29 May 2012; Jeroen Roovers <jer@gentoo.org> keyutils-1.5.5.ebuild:
Stable for HPPA (bug #417445).
25 May 2012; Agostino Sarubbo <ago@gentoo.org> keyutils-1.5.5.ebuild:
Stable for amd64, wrt bug #417445
25 May 2012; Jeff Horelick <jdhore@gentoo.org> keyutils-1.5.5.ebuild:
marked x86 per bug 417445
25 May 2012; Mike Frysinger <vapier@gentoo.org> keyutils-1.5.5.ebuild:
Make the tests work reliably #405293 by Patrick Lauer.
*keyutils-1.5.5 (21 Feb 2012)
21 Feb 2012; Robin H. Johnson <robbat2@gentoo.org>
+files/keyutils-1.5.5-makefile-fixup.patch, +keyutils-1.5.5.ebuild:
Version bump.
*keyutils-1.5.3 (02 Sep 2011)
02 Sep 2011; Mike Frysinger <vapier@gentoo.org> +keyutils-1.5.3.ebuild,
+files/keyutils-1.5.3-makefile-fixup.patch:
Version bump #381467 by teidakankan. Fixes rpath issues #328467 by William
Throwe and multilib issues #339173 by Matt McAdoo.
08 Jul 2011; Matt Turner <mattst88@gentoo.org> keyutils-1.4-r1.ebuild:
Added ~mips, bug 201744
08 Dec 2010; Raúl Porcel <armin76@gentoo.org> keyutils-1.2-r2.ebuild:
alpha/arm/ia64/s390/sh/sparc stable
17 Sep 2010; Michael Haubenwallner <haubi@gentoo.org>
keyutils-1.4-r1.ebuild:
do not depend on linux-headers in prefix
*keyutils-1.4-r1 (17 Sep 2010)
17 Sep 2010; Michael Haubenwallner <haubi@gentoo.org>
+keyutils-1.4-r1.ebuild:
add EAPI 3 support and prefix (*-linux only) keywords.
15 Aug 2010; Harald van Dijk <truedfx@gentoo.org> keyutils-1.4.ebuild:
Fix quoting
12 Aug 2010; Joseph Jezak <josejx@gentoo.org> keyutils-1.2-r2.ebuild:
Marked ppc/ppc64 stable for bug #300158.
04 Jul 2010; Mike Frysinger <vapier@gentoo.org> keyutils-1.4.ebuild:
Add m68k #326709 by Eray Aslan.
*keyutils-1.4 (18 Jun 2010)
18 Jun 2010; Robin H. Johnson <robbat2@gentoo.org> +keyutils-1.4.ebuild:
Bug #323273: version bump
05 Jun 2010; Raúl Porcel <armin76@gentoo.org> keyutils-1.2-r1.ebuild:
alpha/arm/ia64/s390/sh/sparc stable wrt #300158
19 May 2010; Jeroen Roovers <jer@gentoo.org> keyutils-1.2-r2.ebuild:
Actually use toolchain-funcs.eclass and respect CFLAGS and LDFLAGS too.
Stable for HPPA (bug #300158).
18 May 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
keyutils-1.2-r2.ebuild:
x86 stable wrt bug #300158
03 May 2010; Olivier Crête <tester@gentoo.org> ChangeLog:
amd64 stable, bug #300158
30 Nov 2009; Raúl Porcel <armin76@gentoo.org> keyutils-1.2-r2.ebuild:
Add ~sh/~s390
22 Sep 2009; Markus Meier <maekke@gentoo.org> keyutils-1.2-r2.ebuild:
add ~arm
*keyutils-1.2-r2 (15 Jun 2008)
15 Jun 2008; Sven Wegener <swegener@gentoo.org>
files/keyutils-1.2-makefile-fixup.patch, +keyutils-1.2-r2.ebuild:
Fixup the makefile-fixup patch to install correct symlinks and add
gen_usr_ldscript.
*keyutils-1.2-r1 (07 Jun 2008)
07 Jun 2008; Robin H. Johnson <robbat2@gentoo.org>
+files/keyutils-1.2-makefile-fixup.patch, +keyutils-1.2-r1.ebuild:
Resolve bug #198352 where the binaries were built before the new lib
sometimes, leading to bad linking.
10 Dec 2007; Raúl Porcel <armin76@gentoo.org> keyutils-1.2.ebuild:
Add ~alpha/~ia64/~sparc wrt #201744
10 Dec 2007; Jeroen Roovers <jer@gentoo.org> keyutils-1.2.ebuild:
Marked ~hppa (bug #201744).
09 Dec 2007; Markus Rothe <corsair@gentoo.org> keyutils-1.2.ebuild:
Added ~ppc64; bug #201744
*keyutils-1.2 (06 Oct 2007)
06 Oct 2007; Mike Frysinger <vapier@gentoo.org> +keyutils-1.2.ebuild:
Version bump #194534 by Alon Bar-Lev.
22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
26 Nov 2006; Piotr Jaroszyński <peper@gentoo.org> keyutils-1.1.ebuild:
Fix multilib support and add ~amd64. Thanks to Christoph Mende
<ch.mende@gmail.com>, bug #156226.
*keyutils-1.1 (12 May 2006)
12 May 2006; Robin H. Johnson <robbat2@gentoo.org> +keyutils-1.1.ebuild:
Version bump, add ppc support.
*keyutils-1.0 (15 Dec 2005)
15 Dec 2005; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
+keyutils-1.0.ebuild:
Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>.

View File

@ -1,30 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX keyutils-1.5.5-makefile-fixup.patch 879 SHA256 b68e7fab7293c680e5f44f3b116622b2d7dba2039e849ec53ab577c4e12f3a5b SHA512 d3628be5cd759fd59e3fb07897db2f23615cc4b2b12d537438c4c186e5588d8d7c22438fdb26003be29ace4910db24a889d4e35550b74a91958a4fcb4bc654c0 WHIRLPOOL 69a9ec2b8386e39c6c133395b96b7a50cc12e1a4644ce06198f4a77431b685e0e962938b97c7a757074beae8794ceafc9f36cf270064b855f91db0c91475ba1e
DIST keyutils-1.5.5.tar.bz2 63397 SHA256 8fab781fb2d1450b2112a7fbfe6629522ae5a6b901f875a74a201012025a3fc5 SHA512 372a4881ca5cd679de0e6baa4e0e8c61ec8163b9259b018e1eb4db51fca68c0326d82a745abce96d22de367e88c88fa13b8afe438acfb38af799893630d3ba75 WHIRLPOOL 15c03983e18471b97e10f378d97c6e7e9ac7045c1f4721382f500cd8796f4a55575420b515b870ef94714bfb3dc62cb954e66efb2835fcb671c98d2f9ab33ae9
DIST keyutils-1.5.8.tar.bz2 64880 SHA256 6c7da37272eb39abc2ebafc9ba4a580d7cf8725b61e1db21e508de7ab24b819c SHA512 f69b1acd3bff2a821ce31c6a772eea68dfbe57bb1d6128fa344ab9688c9110733b1432176e42b67648ff3a01200f4adbb92e4577132539b4c4af817027ed8f19 WHIRLPOOL e4c8d18c8ea48346a759f0e379a2bb3e6faf30f9c4a4b794485a612e25bbe86a81833e68e28b2def668faa4ff41d476ed5a6cbf105ef76bb31a02169b879f9b6
DIST keyutils-1.5.9.tar.bz2 74683 SHA256 4da2c5552c688b65ab14d4fd40fbdf720c8b396d8ece643e040cf6e707e083ae SHA512 d4ee1dabb87844e18bfd8d094a5bc9ce792c96720b71e77961b6c36bb1addb9acea2a7004ddfba1d09b167af908368162312e5c3656b22a6266955bb57b887e2 WHIRLPOOL 0509cce076a32d2f319f596506d4aaeb83e1853ee6337e6a3041e6957e9098f4482ae56a9c6455605b72b3f34701a890e9be666b6fdd752ff14a3d3564dcba19
EBUILD keyutils-1.5.5.ebuild 2161 SHA256 e66586007b06f8a0ae6f3c515bdfed3efb95e2b1e54de4d6ee8b795d09d7a47f SHA512 dec3f3c4afae48898ce6713473d2d92e128d5f20961c88dc2341300e688afe6d93bab1e03e2b2982d8d5826147e7b001fc85986087486df6333f822bf605b49b WHIRLPOOL 60fb2820a673fedd56548aba7031c4cb435cf5bd3c2999d73012116e55daaaff3d6daa952f7c48cf3d12a17c90a01de2d21c5af0f81c3fdb1710aa51c95eec55
EBUILD keyutils-1.5.8.ebuild 2173 SHA256 f672e30e23bccf463c1ebc0cf3aabc75420eb17294e67164d63df9d864c5bfb9 SHA512 97835426ef8916420757cf911204376acee2548fdeace07688db5970ee0356feeda48f5efaa2ec4a2a381e74b49cf4cdc30e27561802efc8c791d9ec7ced24fb WHIRLPOOL 7bc0d1a607b86d8327c26eeb8cead421fe32461ddb8b36f610a1722b032b6a643776642be5edf1c11c400bdc8666181524dc3e2676d5800d2771d1b0c7204373
EBUILD keyutils-1.5.9-r1.ebuild 2417 SHA256 6344979b64f751551129af5177a520ced2743a919536c2e53bcf7ff125f6ff9f SHA512 324a82dc97c33fcd2b1a216273d25b71a3fdb809902efcdabb4285d1f1f3f1d6f455b8cdb8975be8ba58504fe5248a42592a79f56c5ea3e458e5c22e0c4d9672 WHIRLPOOL 172d5d0e40c2eacd0442e12e87b9de71fa5ebe3283852bc46aa2d6e709c72f3e18fbe62a57aef7ba670d8ca839f000c9455d2be94132b291a71e029ade4f6f33
EBUILD keyutils-1.5.9.ebuild 2162 SHA256 72f2197c3ecf07656a55b0bdcf9bc799a010771f1113f9bd0f6136003145abe6 SHA512 960700b46d94d7c56ab87001f382f31f31b368cb3c6c827f033bcbf29ee6cd4e19d2b530b18a0dbd56e503436bac1d26965e09349afd5ff591c4941a63a21877 WHIRLPOOL 033f835d5f1fbdcb2bd11fbe865616156725105984e22d3514df981017dab0a963f9a734f4135dc9f31906c0f804ee76c0d2d6cbd0dfd5a50343b94e8cb42227
MISC ChangeLog 6901 SHA256 c6e0940ead17152bb9c90af88625720e41261a8c7c7ef59a290c7113e0393859 SHA512 6566f6f84c4dfc4b15c0f802026aaf278f09c92c7695e94f60c77ab1ee6b5ab7fe4e3c06c293bbded5c42d84b3bd2d0f5c4771472484d3042d778e07f15c4a83 WHIRLPOOL 159be13fc9221e989b8f41fb8dceb5a92c746fabbf7060476b2b7131a99efa1366c84bcc03e6482b2ded51ad2fe54c31ce3d89041051ad30dc91e0609e8551cb
MISC metadata.xml 227 SHA256 eb6179099f91f31168c95bd4a018a01f37aa1eb8d9ba8d3ed039056bac71bcf8 SHA512 1e52da091741cb67f6a61955ebf0c314c3634d5cab187a27820fa76f36307cb9c404271360de061f9b2076dfa1e4f3fadb46a3834ad9fc6685fbc437e5c7c789 WHIRLPOOL 0baafc1e244b376dc66e10952a10ec634fabb384431da1bec9be95bb344109c7943c6e74ae249070a9c5ee93410714e2c9343a65e01309bac7918239b6492820
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJT56sOAAoJELp701BxlEWfsvoP/RuD1RB0FT9c0jfL7ytlLf6D
+9EvATALIjek3p1au6dZLgOty7WtglGoe8eDnszAHXY6JyGAFH2UbETBlSXW+DDx
0EnnRbASkQjIEXeDw+LrMZ8k0Z/OpFVJHXkrBnR1eJSGGKFPlciZpG+KxkDgFrhh
Gt5Q9YTt61ft3T61CysTpxIdzq29aDnecB4ZYP+PqYEX2wct1Fex5tr+NovLH3gl
kPsvtEOVWZTiVwoj0fjDpIKNkLasvD+oVnaFPCFUwx7iC/R7pywbLPGusCN1iSEw
PY5KhC7cTaVYLisHVpFIW+gZPb81w+BAuFtImGNQgWvHNg2IHOUteyEZEEOrI/7D
etw7//cPJVNJMj6l82bMuhkpm1o9gq6tD05G5sGnoCjwAd2PnAp1IR6Rp0OdP86S
bHVyzU01KfZseAXkNRnTIRRaynObZmIfnTcrBFVHQbxOS5M6ZHOl+RXg7ty2MOFs
ZD7zu7JP+HHEJ1sVPlqW4VxPvHMUwnGdYJkqzesxFPmCNUAh5B/gp5xytwLeEfvX
WPaoMimWOk2dV2rI8/sty21eKOZDTMSjFYu+e3/U9h73vQ+tyPfOCf6PJefVqyyW
Mtup5o9xK0ow3au4PNP57fAY0T8U6Y2HwC6r0LtwxzLcXSWbAxYRFchCkTSixi94
OfGb+b4MTCbWFX++VWw+
=hVjz
-----END PGP SIGNATURE-----

View File

@ -1,27 +0,0 @@
Raw patch edit based on:
From af14e945bd617bb82ebc4c6c8d4fb948d715f16a Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Fri, 2 Sep 2011 13:30:30 -0400
Subject: [PATCH] depend on $(DEVELLIB) not -lkeyutils
---
Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 9e3fa9b..46695d1 100644
--- a/Makefile
+++ b/Makefile
@@ -91,7 +91,7 @@
$(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
$(LNS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
mkdir -p $(DESTDIR)$(USRLIBDIR)
- $(LNS) $(LIBDIR)/$(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB)
+ $(LNS) $(SONAME) $(DESTDIR)$(LIBDIR)/$(DEVELLIB)
$(INSTALL) -D keyctl $(DESTDIR)$(BINDIR)/keyctl
$(INSTALL) -D request-key $(DESTDIR)$(SBINDIR)/request-key
$(INSTALL) -D request-key-debug.sh $(DESTDIR)$(SHAREDIR)/request-key-debug.sh
--
1.7.6

View File

@ -1,69 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/keyutils-1.5.5.ebuild,v 1.11 2014/01/18 04:49:23 vapier Exp $
EAPI="3"
inherit multilib eutils toolchain-funcs linux-info
DESCRIPTION="Linux Key Management Utilities"
HOMEPAGE="http://people.redhat.com/dhowells/keyutils/"
SRC_URI="http://people.redhat.com/dhowells/${PN}/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
IUSE="test"
DEPEND="!prefix? ( >=sys-kernel/linux-headers-2.6.11 )"
pkg_setup() {
CONFIG_CHECK="~KEYS"
use test && CONFIG_CHECK="${CONFIG_CHECK} ~KEYS_DEBUG_PROC_KEYS"
ERROR_KEYS="You must have CONFIG_KEYS to use this package!"
ERROR_KEYS_DEBUG_PROC_KEYS="You must have CONFIG_KEYS_DEBUG_PROC_KEYS to run the package testsuite!"
linux-info_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.5.5-makefile-fixup.patch
sed -i \
-e '1iRPATH=' \
-e '/^C.*FLAGS/s|:=|+=|' \
-e 's:-Werror::' \
-e '/^BUILDFOR/s:=.*:=:' \
-e "/^LIBDIR/s:=.*:=/usr/$(get_libdir):" \
-e '/^USRLIBDIR/s:=.*:=$(LIBDIR):' \
Makefile || die
# The lsb check is useless, so avoid spurious command not found messages.
sed -i -e 's,lsb_release,:,' tests/prepare.inc.sh || die
# All the test files are bash, but try to execute via `sh`.
sed -i -r \
-e 's:([[:space:]])sh([[:space:]]):\1bash\2:' \
tests/{Makefile*,*.sh} || die
find tests/ -name '*.sh' -exec sed -i '1s:/sh$:/bash:' {} +
# Some tests call the kernel which calls userspace, but that will
# run the install keyutils rather than the locally compiled one,
# so disable round trip tests.
rm -rf tests/keyctl/requesting/{bad-args,piped,valid}
}
src_configure() {
tc-export CC
tc-export AR
}
src_test() {
# Execute the locally compiled code rather than the
# older versions already installed in the system.
LD_LIBRARY_PATH=${S} \
PATH="${S}:${PATH}" \
emake test || die
}
src_install() {
emake DESTDIR="${ED}" install || die
dodoc README
gen_usr_ldscript -a keyutils
}

View File

@ -1,69 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/keyutils-1.5.8.ebuild,v 1.2 2014/01/18 04:49:23 vapier Exp $
EAPI="5"
inherit multilib eutils toolchain-funcs linux-info
DESCRIPTION="Linux Key Management Utilities"
HOMEPAGE="http://people.redhat.com/dhowells/keyutils/"
SRC_URI="http://people.redhat.com/dhowells/${PN}/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
IUSE="test"
DEPEND="!prefix? ( >=sys-kernel/linux-headers-2.6.11 )"
pkg_setup() {
CONFIG_CHECK="~KEYS"
use test && CONFIG_CHECK="${CONFIG_CHECK} ~KEYS_DEBUG_PROC_KEYS"
ERROR_KEYS="You must have CONFIG_KEYS to use this package!"
ERROR_KEYS_DEBUG_PROC_KEYS="You must have CONFIG_KEYS_DEBUG_PROC_KEYS to run the package testsuite!"
linux-info_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.5.5-makefile-fixup.patch
sed -i \
-e '1iRPATH=' \
-e '/^C.*FLAGS/s|:=|+=|' \
-e 's:-Werror::' \
-e '/^BUILDFOR/s:=.*:=:' \
-e "/^LIBDIR/s:=.*:=/usr/$(get_libdir):" \
-e '/^USRLIBDIR/s:=.*:=$(LIBDIR):' \
Makefile || die
# The lsb check is useless, so avoid spurious command not found messages.
sed -i -e 's,lsb_release,:,' tests/prepare.inc.sh || die
# All the test files are bash, but try to execute via `sh`.
sed -i -r \
-e 's:([[:space:]])sh([[:space:]]):\1bash\2:' \
tests/{Makefile*,*.sh} || die
find tests/ -name '*.sh' -exec sed -i '1s:/sh$:/bash:' {} +
# Some tests call the kernel which calls userspace, but that will
# run the install keyutils rather than the locally compiled one,
# so disable round trip tests.
rm -rf tests/keyctl/requesting/{bad-args,piped,valid}
}
src_configure() {
tc-export CC
tc-export AR
}
src_test() {
# Execute the locally compiled code rather than the
# older versions already installed in the system.
LD_LIBRARY_PATH=${S} \
PATH="${S}:${PATH}" \
emake test || die
}
src_install() {
emake DESTDIR="${ED}" install || die
dodoc README
gen_usr_ldscript -a keyutils
}

View File

@ -1,81 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/keyutils-1.5.9-r1.ebuild,v 1.11 2014/08/10 17:25:33 ago Exp $
EAPI="5"
inherit multilib eutils toolchain-funcs linux-info multilib-minimal
DESCRIPTION="Linux Key Management Utilities"
HOMEPAGE="http://people.redhat.com/dhowells/keyutils/"
SRC_URI="http://people.redhat.com/dhowells/${PN}/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
IUSE="test"
RDEPEND="
abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20140508-r1
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
DEPEND="!prefix? ( >=sys-kernel/linux-headers-2.6.11 )"
pkg_setup() {
CONFIG_CHECK="~KEYS"
use test && CONFIG_CHECK="${CONFIG_CHECK} ~KEYS_DEBUG_PROC_KEYS"
ERROR_KEYS="You must have CONFIG_KEYS to use this package!"
ERROR_KEYS_DEBUG_PROC_KEYS="You must have CONFIG_KEYS_DEBUG_PROC_KEYS to run the package testsuite!"
linux-info_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.5.5-makefile-fixup.patch
# The lsb check is useless, so avoid spurious command not found messages.
sed -i -e 's,lsb_release,:,' tests/prepare.inc.sh || die
# All the test files are bash, but try to execute via `sh`.
sed -i -r \
-e 's:([[:space:]])sh([[:space:]]):\1bash\2:' \
tests/{Makefile*,*.sh} || die
find tests/ -name '*.sh' -exec sed -i '1s:/sh$:/bash:' {} +
# Some tests call the kernel which calls userspace, but that will
# run the install keyutils rather than the locally compiled one,
# so disable round trip tests.
rm -rf tests/keyctl/requesting/{bad-args,piped,valid}
multilib_copy_sources
}
multilib_src_compile() {
tc-export CC
tc-export AR
sed -i \
-e '1iRPATH=' \
-e '/^C.*FLAGS/s|:=|+=|' \
-e 's:-Werror::' \
-e '/^BUILDFOR/s:=.*:=:' \
-e "/^LIBDIR/s:=.*:=/usr/$(get_libdir):" \
-e '/^USRLIBDIR/s:=.*:=$(LIBDIR):' \
Makefile || die
emake
}
multilib_src_test() {
# Execute the locally compiled code rather than the
# older versions already installed in the system.
LD_LIBRARY_PATH=${BUILD_DIR} \
PATH="${BUILD_DIR}:${PATH}" \
emake test
}
multilib_src_install() {
default
multilib_is_native_abi && gen_usr_ldscript -a keyutils
}
multilib_src_install_all() {
dodoc README
}

View File

@ -1,69 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/keyutils-1.5.9.ebuild,v 1.1 2014/03/01 04:44:51 radhermit Exp $
EAPI="5"
inherit multilib eutils toolchain-funcs linux-info
DESCRIPTION="Linux Key Management Utilities"
HOMEPAGE="http://people.redhat.com/dhowells/keyutils/"
SRC_URI="http://people.redhat.com/dhowells/${PN}/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
IUSE="test"
DEPEND="!prefix? ( >=sys-kernel/linux-headers-2.6.11 )"
pkg_setup() {
CONFIG_CHECK="~KEYS"
use test && CONFIG_CHECK="${CONFIG_CHECK} ~KEYS_DEBUG_PROC_KEYS"
ERROR_KEYS="You must have CONFIG_KEYS to use this package!"
ERROR_KEYS_DEBUG_PROC_KEYS="You must have CONFIG_KEYS_DEBUG_PROC_KEYS to run the package testsuite!"
linux-info_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.5.5-makefile-fixup.patch
sed -i \
-e '1iRPATH=' \
-e '/^C.*FLAGS/s|:=|+=|' \
-e 's:-Werror::' \
-e '/^BUILDFOR/s:=.*:=:' \
-e "/^LIBDIR/s:=.*:=/usr/$(get_libdir):" \
-e '/^USRLIBDIR/s:=.*:=$(LIBDIR):' \
Makefile || die
# The lsb check is useless, so avoid spurious command not found messages.
sed -i -e 's,lsb_release,:,' tests/prepare.inc.sh || die
# All the test files are bash, but try to execute via `sh`.
sed -i -r \
-e 's:([[:space:]])sh([[:space:]]):\1bash\2:' \
tests/{Makefile*,*.sh} || die
find tests/ -name '*.sh' -exec sed -i '1s:/sh$:/bash:' {} +
# Some tests call the kernel which calls userspace, but that will
# run the install keyutils rather than the locally compiled one,
# so disable round trip tests.
rm -rf tests/keyctl/requesting/{bad-args,piped,valid}
}
src_configure() {
tc-export CC
tc-export AR
}
src_test() {
# Execute the locally compiled code rather than the
# older versions already installed in the system.
LD_LIBRARY_PATH=${S} \
PATH="${S}:${PATH}" \
emake test
}
src_install() {
emake DESTDIR="${ED}" install
dodoc README
gen_usr_ldscript -a keyutils
}

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
<maintainer>
<email>robbat2@gentoo.org</email>
</maintainer>
</pkgmetadata>