diff options
-rw-r--r-- | dev-libs/opencryptoki/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/opencryptoki/Manifest | 14 | ||||
-rw-r--r-- | dev-libs/opencryptoki/opencryptoki-2.2.8.ebuild | 53 |
3 files changed, 64 insertions, 13 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/Manifest b/dev-libs/opencryptoki/Manifest index ce31910e2e19..cba0c3a09d71 100644 --- a/dev-libs/opencryptoki/Manifest +++ b/dev-libs/opencryptoki/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX opencryptoki-2.2.4.1-tpm_util.c.patch 482 RMD160 35c367185c0b02c37a4b507c38373c6eb4bd0aa8 SHA1 2bcfde7b8ca02c57af7903e8cbd65cb45cf5f18a SHA256 1cab3094e34e12ba2418b81d5143abde8f7ebd26b20826e22462e2e1cf603787 AUX pkcsslotd.init 607 RMD160 2df71e5f00dcedb4f386f6046348e0f0ad840811 SHA1 ab9c7e350ec55077290255c2a8fdf58f49c6a204 SHA256 02da6e1290363e2ef8abfe883e98dd0212a9ed8e406f3c77dd154b1623633553 DIST opencryptoki-2.2.4.1.tar.bz2 1025518 RMD160 32ee4f642637a83145ba5ebb54b382e6d00f36cf SHA1 a8766f542c419aab0844c15cf76524a0c406f7ce SHA256 ceef11d1c32e08fc34d2becf319dfd163ac89482180dd10c8e0e1795c603899e +DIST opencryptoki-2.2.8.tar.bz2 639054 RMD160 f600ebe470272f5a1c8b1b31894a458f281b7d5a SHA1 c20e52f19a22cb9695b8298ca11481f3106e3c8d SHA256 f4ec8438c2527a4945dc7b8b9d324f186f4e286772c56a07c8f2b83516de2f22 DIST opencryptoki-tpm_stdll-sw_fallback-June012006.patch.bz2 3199 RMD160 779cdb6c86c1d3b923f2349d4d3f3ff9bf720c54 SHA1 8835c4ed3a55d48d2b45d3867eedbb7d29ef17d9 SHA256 599b4ce1daea201756bbe1a615b74cc40c8a9a635bc1baffa942fe91f5f82f8b EBUILD opencryptoki-2.2.4.1.ebuild 1806 RMD160 73e85a68e8f59e5df9d59afb9f94fe1ce6ec6f93 SHA1 0eefe49cecb9e6a8ffe76dfd9dd43bf6ee0b7e07 SHA256 9bd98c286ab4c043d4b1c3729090d50f606d737c95a7e55eb351d5c763a322cb -MISC ChangeLog 954 RMD160 5b6e79be59e775a6f39edfe5d174500159610b59 SHA1 20eeae75bbdae478e846bf6e247660ceeccea080 SHA256 e21985814a5e72406554988a3c8a1369535a140f260d1b141b98127c332735f3 +EBUILD opencryptoki-2.2.8.ebuild 1524 RMD160 aaf800b6e90b7b646576fa9859f34497a8dc04d4 SHA1 e459552aec36723454ea31487f8bd56f91c30981 SHA256 ba2e042f39170e0e12cdfa1992fb9e4c8fbf2293e906386c1f931c0d53b0e0fb +MISC ChangeLog 1114 RMD160 d79d7822f52f6b36b11937f6ee56d9c22d41f48e SHA1 5c2a729bf371fea22fc47ca4bf664500e8dd7071 SHA256 6fdac5fbf9e2f710b9b3acc15d8ff89026b43e0e138250a921da359d01050126 MISC metadata.xml 317 RMD160 29b2083731f550fd91be45b521793989fef57c07 SHA1 26d8b4e99732dbda127e204d87accc229d334750 SHA256 251d7b21e1b6d4cf93194e69a591ce1cdb910706215c50b411e71ae43a37246a ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.9 (GNU/Linux) - -iEYEARECAAYFAkiZgiMACgkQOeoy/oIi7uxjIACeLrImGh5YAUmQy5covY0wbcUq -x3YAoNJMxChH6bTA2VU36lgBxWD2GOVv -=on0S ------END PGP SIGNATURE----- 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 +} |