Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(635)

Side by Side Diff: dev-libs/opencryptoki/opencryptoki-2.2.8.ebuild

Issue 5179001: Fix to openCryptoki PKCS#11 TPM generated key handling (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/chromiumos-overlay.git@master
Patch Set: Addressing code review comments. Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dev-libs/opencryptoki/files/opencryptoki-2.2.8-tpm_pubexp.patch ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 1999-2009 Gentoo Foundation 1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2 2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/opencryptoki-2.2.8.ebui ld,v 1.1 2009/06/28 10:48:58 arfrever Exp $ 3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/opencryptoki-2.2.8.ebui ld,v 1.1 2009/06/28 10:48:58 arfrever Exp $
4 4
5 EAPI="2" 5 EAPI="2"
6 6
7 inherit autotools eutils multilib 7 inherit autotools eutils multilib
8 8
9 DESCRIPTION="PKCS#11 provider for IBM cryptographic hardware" 9 DESCRIPTION="PKCS#11 provider for IBM cryptographic hardware"
10 HOMEPAGE="http://sourceforge.net/projects/opencryptoki" 10 HOMEPAGE="http://sourceforge.net/projects/opencryptoki"
(...skipping 17 matching lines...) Expand all
28 sed -i '/groupadd/d' usr/lib/pkcs11/api/Makefile.am 28 sed -i '/groupadd/d' usr/lib/pkcs11/api/Makefile.am
29 sed -i 's|$(DESTDIR)||' usr/include/pkcs11/Makefile.am 29 sed -i 's|$(DESTDIR)||' usr/include/pkcs11/Makefile.am
30 30
31 # Enable fallback operation mode for imported keys. 31 # Enable fallback operation mode for imported keys.
32 # Patch written by Kent Yoder. 32 # Patch written by Kent Yoder.
33 epatch "${WORKDIR}/opencryptoki-tpm_stdll-sw_fallback-June012006.patch" 33 epatch "${WORKDIR}/opencryptoki-tpm_stdll-sw_fallback-June012006.patch"
34 epatch "${FILESDIR}/opencryptoki-2.2.4.1-tpm_util.c.patch" 34 epatch "${FILESDIR}/opencryptoki-2.2.4.1-tpm_util.c.patch"
35 epatch "${FILESDIR}/opencryptoki-2.2.8-steal_shmem.patch" 35 epatch "${FILESDIR}/opencryptoki-2.2.8-steal_shmem.patch"
36 epatch "${FILESDIR}/opencryptoki-2.2.8-remove_openlog.patch" 36 epatch "${FILESDIR}/opencryptoki-2.2.8-remove_openlog.patch"
37 epatch "${FILESDIR}/opencryptoki-2.2.8-remove_recursive_chmod.patch" 37 epatch "${FILESDIR}/opencryptoki-2.2.8-remove_recursive_chmod.patch"
38 epatch "${FILESDIR}/opencryptoki-2.2.8-tpm_pubexp.patch"
38 eautoreconf 39 eautoreconf
39 } 40 }
40 41
41 src_configure() { 42 src_configure() {
42 econf $(use_enable tpmtok) 43 econf $(use_enable tpmtok)
43 } 44 }
44 45
45 src_install() { 46 src_install() {
46 emake install DESTDIR="${D}" || die "emake install failed" 47 emake install DESTDIR="${D}" || die "emake install failed"
47 48
48 newinitd "${FILESDIR}/pkcsslotd.init" pkcsslotd 49 newinitd "${FILESDIR}/pkcsslotd.init" pkcsslotd
49 50
50 # No need for this. 51 # No need for this.
51 rm -rf "${D}/etc/ld.so.conf.d" # TODO(cmasone): Are we sure? 52 rm -rf "${D}/etc/ld.so.conf.d" # TODO(cmasone): Are we sure?
52 53
53 # tpmtoken_* binaries expect to find the libraries in /usr/lib/. 54 # tpmtoken_* binaries expect to find the libraries in /usr/lib/.
54 dosym opencryptoki/stdll/libpkcs11_sw.so.0.0.0 "/usr/$(get_libdir)/libpk cs11_sw.so" 55 dosym opencryptoki/stdll/libpkcs11_sw.so.0.0.0 "/usr/$(get_libdir)/libpk cs11_sw.so"
55 dosym opencryptoki/stdll/libpkcs11_tpm.so.0.0.0 "/usr/$(get_libdir)/libp kcs11_tpm.so" 56 dosym opencryptoki/stdll/libpkcs11_tpm.so.0.0.0 "/usr/$(get_libdir)/libp kcs11_tpm.so"
56 dosym opencryptoki/libopencryptoki.so.0.0.0 "/usr/$(get_libdir)/libopenc ryptoki.so" 57 dosym opencryptoki/libopencryptoki.so.0.0.0 "/usr/$(get_libdir)/libopenc ryptoki.so"
57 dosym opencryptoki/stdll/libpkcs11_sw.so.0.0.0 "/usr/$(get_libdir)/libpk cs11_sw.so.0" 58 dosym opencryptoki/stdll/libpkcs11_sw.so.0.0.0 "/usr/$(get_libdir)/libpk cs11_sw.so.0"
58 dosym opencryptoki/stdll/libpkcs11_tpm.so.0.0.0 "/usr/$(get_libdir)/libp kcs11_tpm.so.0" 59 dosym opencryptoki/stdll/libpkcs11_tpm.so.0.0.0 "/usr/$(get_libdir)/libp kcs11_tpm.so.0"
59 dosym opencryptoki/libopencryptoki.so.0.0.0 "/usr/$(get_libdir)/libopenc ryptoki.so.0" 60 dosym opencryptoki/libopencryptoki.so.0.0.0 "/usr/$(get_libdir)/libopenc ryptoki.so.0"
60 61
61 dodoc doc/openCryptoki-HOWTO.pdf 62 dodoc doc/openCryptoki-HOWTO.pdf
62 } 63 }
OLDNEW
« no previous file with comments | « dev-libs/opencryptoki/files/opencryptoki-2.2.8-tpm_pubexp.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698