diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-06-28 10:48:58 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-06-28 10:48:58 +0000 |
commit | b8ffb3f9e78189f972b1fbb5f5c34b625f67d60c (patch) | |
tree | 24606455d513cc636cea9321edaa2a3546fbc1c4 | |
parent | aqbanking gcc44 fix (diff) | |
download | gentoo-2-b8ffb3f9e78189f972b1fbb5f5c34b625f67d60c.tar.gz gentoo-2-b8ffb3f9e78189f972b1fbb5f5c34b625f67d60c.tar.bz2 gentoo-2-b8ffb3f9e78189f972b1fbb5f5c34b625f67d60c.zip |
Version bump.
(Portage version: 13717-svn/cvs/Linux x86_64)
-rw-r--r-- | dev-libs/opencryptoki/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/opencryptoki/opencryptoki-2.2.8.ebuild | 53 |
2 files changed, 61 insertions, 2 deletions
diff --git a/dev-libs/opencryptoki/ChangeLog b/dev-libs/opencryptoki/ChangeLog index 834285cefea7..2c4d1b32afdc 100644 --- a/dev-libs/opencryptoki/ChangeLog +++ b/dev-libs/opencryptoki/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/opencryptoki -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/ChangeLog,v 1.6 2008/08/06 10:50:58 ulm Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/ChangeLog,v 1.7 2009/06/28 10:48:58 arfrever Exp $ + +*opencryptoki-2.2.8 (28 Jun 2009) + + 28 Jun 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +opencryptoki-2.2.8.ebuild: + Version bump. 06 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml: Add USE flag description to metadata wrt GLEP 56. diff --git a/dev-libs/opencryptoki/opencryptoki-2.2.8.ebuild b/dev-libs/opencryptoki/opencryptoki-2.2.8.ebuild new file mode 100644 index 000000000000..8ce6b68634e5 --- /dev/null +++ b/dev-libs/opencryptoki/opencryptoki-2.2.8.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/opencryptoki-2.2.8.ebuild,v 1.1 2009/06/28 10:48:58 arfrever Exp $ + +EAPI="2" + +inherit autotools eutils multilib + +DESCRIPTION="PKCS#11 provider for IBM cryptographic hardware" +HOMEPAGE="http://sourceforge.net/projects/opencryptoki" +SRC_URI="mirror://sourceforge/opencryptoki/${P}.tar.bz2 + mirror://gentoo/opencryptoki-tpm_stdll-sw_fallback-June012006.patch.bz2" +LICENSE="CPL-0.5" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="tpmtok" + +RDEPEND="" +DEPEND="${RDEPEND}" + +pkg_setup() { + enewgroup pkcs11 +} + +src_prepare() { + sed -i '/groupadd/d' usr/lib/pkcs11/api/Makefile.am + sed -i 's|$(DESTDIR)||' usr/include/pkcs11/Makefile.am + + # Enable fallback operation mode for imported keys. + # Patch written by Kent Yoder. + epatch "${WORKDIR}/opencryptoki-tpm_stdll-sw_fallback-June012006.patch" + epatch "${FILESDIR}/opencryptoki-2.2.4.1-tpm_util.c.patch" + eautoreconf +} + +src_configure() { + econf $(use_enable tpmtok) +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + + newinitd "${FILESDIR}/pkcsslotd.init" pkcsslotd + + # No need for this. + rm -rf "${D}/etc/ld.so.conf.d" + + # tpmtoken_* binaries expect to find the libraries in /usr/lib/. + dosym opencryptoki/stdll/libpkcs11_sw.so.0.0.0 "/usr/$(get_libdir)/libpkcs11_sw.so" + dosym opencryptoki/stdll/libpkcs11_tpm.so.0.0.0 "/usr/$(get_libdir)/libpkcs11_tpm.so" + + dodoc doc/openCryptoki-HOWTO.pdf +} |