summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2008-06-15 19:51:15 +0000
committerSven Wegener <swegener@gentoo.org>2008-06-15 19:51:15 +0000
commit11754dd398b334930ede25a59299863d8a32ed06 (patch)
treef0f3338bb994b75ed5bb2832cb5ce3dab9f65986 /sys-apps
parentDrop useless autotools inherit. (diff)
downloadhistorical-11754dd398b334930ede25a59299863d8a32ed06.tar.gz
historical-11754dd398b334930ede25a59299863d8a32ed06.tar.bz2
historical-11754dd398b334930ede25a59299863d8a32ed06.zip
Fixup the makefile-fixup patch to install correct symlinks and add gen_usr_ldscript.
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/keyutils/ChangeLog9
-rw-r--r--sys-apps/keyutils/Manifest15
-rw-r--r--sys-apps/keyutils/files/keyutils-1.2-makefile-fixup.patch7
-rw-r--r--sys-apps/keyutils/keyutils-1.2-r2.ebuild36
4 files changed, 60 insertions, 7 deletions
diff --git a/sys-apps/keyutils/ChangeLog b/sys-apps/keyutils/ChangeLog
index 888ec1378c2b..fe3de28e186e 100644
--- a/sys-apps/keyutils/ChangeLog
+++ b/sys-apps/keyutils/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/keyutils
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/ChangeLog,v 1.9 2008/06/07 02:48:07 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/ChangeLog,v 1.10 2008/06/15 19:51:14 swegener Exp $
+
+*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)
diff --git a/sys-apps/keyutils/Manifest b/sys-apps/keyutils/Manifest
index 837570eec467..610da1a9a864 100644
--- a/sys-apps/keyutils/Manifest
+++ b/sys-apps/keyutils/Manifest
@@ -1,10 +1,21 @@
-AUX keyutils-1.2-makefile-fixup.patch 1080 RMD160 b2583a2b89e57977de3b7c0d449b01b82032bb96 SHA1 23cc8ca884f81b2712e7af84ed42c70f3195ff67 SHA256 ff500f9eafe6006a49755fc1dbcad99d468b401dbbd465c52bd934cb84e9076c
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX keyutils-1.2-makefile-fixup.patch 1059 RMD160 9216207704fbe7cb91bbb1e2e64628be6bef70b7 SHA1 3256837557e6f4ba806e6705562c8ab5ffab72c2 SHA256 77e27c53659c6f26e681cf471a662275ef6b97ed02950ffc6365b3955e2b0beb
DIST keyutils-1.0.tar.bz2 32410 RMD160 44bda073e6d0cbc363c8dabd622f5b39a644cf6a SHA1 753316779bf8bd6661213250ac841fcb19dcf7b9 SHA256 dc9182bb1d0f7874c153ae4eafbb301730fa1635384b93f3a1cd723f8d73fe8f
DIST keyutils-1.1.tar.bz2 39206 RMD160 7fad7364ef59b4933ce108317abd606fb727c592 SHA1 e3e523e42d7cedb39d57e5f9a7315b30cf7d9d96 SHA256 a67456986bbdce8872d75f3d537ea2a398ddae412a2a0bf8b9fa62bdd2ade002
DIST keyutils-1.2.tar.bz2 37935 RMD160 ae624bf2d34bc965546ed1828e2e4fe5095c12fb SHA1 3d92a95fb2015835b883a5477e00ab87d339c92d SHA256 306d9b2f8f3ca68805e695b90ae7e316da59cbe1410a605f6686ab95d9219b3d
EBUILD keyutils-1.0.ebuild 590 RMD160 640e66940784feca8dd7322da105c81c655c1e5f SHA1 17531d7c63db938f94b9dc290a5074499ed10874 SHA256 ed08914143dc19e4781b4f584d2e6ed5eadb35ac293bc208f2db101deefe617d
EBUILD keyutils-1.1.ebuild 696 RMD160 96aeee0de7c14624b4202633d2420f5af38c8d49 SHA1 f575ed27fa2afa92d3b9c7ee957f48a908bb648f SHA256 dd12f6ddb917aabdffed634caf7cf213742c22d6bf3d653320b85a80089b6832
EBUILD keyutils-1.2-r1.ebuild 837 RMD160 f7b4cca65644729218ea5e904c0b1ddbeb163705 SHA1 e3481ed296d3dec4a2d6d5affa75ba0362705225 SHA256 1915ef0d91a5358e722e545441b9d391201d7356cc03c31c2ef7facd09198bdd
+EBUILD keyutils-1.2-r2.ebuild 888 RMD160 408fe43997b5ab22e15d2a531310a71ca31c087f SHA1 3c3391dc435c1b11dbf2276790b03377f0941290 SHA256 3804034943334b39378d64965adebd9241f4570b9989fe1693fccfcd2a7481c9
EBUILD keyutils-1.2.ebuild 774 RMD160 a55660d2c999c78336cf466e5a2dd879e7ae6caf SHA1 e7a072e20cf51830bb918807d4c23e6942d2713f SHA256 8c1311e587f9b32576fda8665572118289e3e0fd56190f915752318e7f740c41
-MISC ChangeLog 1510 RMD160 b2b299d53250699f6e0d41a3fa246f3fe9a77552 SHA1 7f5f34cbf590a5902706f70f8c8adeffc4ab2e51 SHA256 081c7187b09502daa0074a4efecdd3bbbe937080facea5ebb7bc25d4e78730fd
+MISC ChangeLog 1752 RMD160 7abddc09fc1fbc34b9cd934235958edc593e0d07 SHA1 5cc1e603668c49b667013a57ed783343a244017a SHA256 1dae98c2f950e738089c696536746971ec125d3e8ba22fca3ffca6afa7c7c4e7
MISC metadata.xml 227 RMD160 e54f63c709ba122fa8d5931652deb3821a967981 SHA1 84c05df3fda91de26beaaf15ffdbf4ea15b3784b SHA256 eb6179099f91f31168c95bd4a018a01f37aa1eb8d9ba8d3ed039056bac71bcf8
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFIVXK4I1lqEGTUzyQRAv2SAKCWzAXiaHUeFIs0OqauZOKEykBMmQCgzF+2
+q+W+XtCVTfd96iqT3MSvAxA=
+=rg3c
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/keyutils/files/keyutils-1.2-makefile-fixup.patch b/sys-apps/keyutils/files/keyutils-1.2-makefile-fixup.patch
index 73b7bf2258fe..8110ec69d862 100644
--- a/sys-apps/keyutils/files/keyutils-1.2-makefile-fixup.patch
+++ b/sys-apps/keyutils/files/keyutils-1.2-makefile-fixup.patch
@@ -14,13 +14,12 @@ diff -Nuar keyutils-1.2.orig/Makefile keyutils-1.2/Makefile
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
-@@ -89,9 +89,7 @@
- $(INSTALL) -D -m 0644 $(ARLIB) $(DESTDIR)$(USRLIBDIR)/$(ARLIB)
- endif
+@@ -91,7 +91,7 @@
$(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
-- $(LNS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
+ $(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
diff --git a/sys-apps/keyutils/keyutils-1.2-r2.ebuild b/sys-apps/keyutils/keyutils-1.2-r2.ebuild
new file mode 100644
index 000000000000..e2a756924de1
--- /dev/null
+++ b/sys-apps/keyutils/keyutils-1.2-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/keyutils-1.2-r2.ebuild,v 1.1 2008/06/15 19:51:14 swegener Exp $
+
+inherit multilib eutils toolchain-funcs
+
+DESCRIPTION="Linux Key Management Utilities"
+HOMEPAGE="http://www.kernel.org/"
+SRC_URI="http://people.redhat.com/~dhowells/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=sys-kernel/linux-headers-2.6.11"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${PN}-1.2-makefile-fixup.patch
+ cd "${S}"
+ sed -i \
+ -e '/CFLAGS/s|:= -g -O2|+=|' \
+ Makefile || die
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ LIBDIR="/$(get_libdir)" \
+ USRLIBDIR="/usr/$(get_libdir)" \
+ install || die
+ dodoc README
+
+ gen_usr_ldscript libkeyutils.so
+}