diff options
author | Petre Rodan <kaiowas@gentoo.org> | 2006-06-03 04:50:30 +0000 |
---|---|---|
committer | Petre Rodan <kaiowas@gentoo.org> | 2006-06-03 04:50:30 +0000 |
commit | 2bc874a9e9e948169f49d13376f7ef20c4abbff1 (patch) | |
tree | bf3d4d5c27359b3621b1cdd6bfe00e2c2062f0ad /dev-libs/opencryptoki | |
parent | 2.1_rc4 release candidate (diff) | |
download | historical-2bc874a9e9e948169f49d13376f7ef20c4abbff1.tar.gz historical-2bc874a9e9e948169f49d13376f7ef20c4abbff1.tar.bz2 historical-2bc874a9e9e948169f49d13376f7ef20c4abbff1.zip |
initial commit
Package-Manager: portage-2.1_rc3-r5
Diffstat (limited to 'dev-libs/opencryptoki')
-rw-r--r-- | dev-libs/opencryptoki/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/opencryptoki/Manifest | 21 | ||||
-rw-r--r-- | dev-libs/opencryptoki/files/digest-opencryptoki-2.2.4-r1 | 6 | ||||
-rwxr-xr-x | dev-libs/opencryptoki/files/pkcsslotd.init | 28 | ||||
-rw-r--r-- | dev-libs/opencryptoki/metadata.xml | 12 | ||||
-rw-r--r-- | dev-libs/opencryptoki/opencryptoki-2.2.4-r1.ebuild | 57 |
6 files changed, 132 insertions, 0 deletions
diff --git a/dev-libs/opencryptoki/ChangeLog b/dev-libs/opencryptoki/ChangeLog new file mode 100644 index 000000000000..00c9281832a7 --- /dev/null +++ b/dev-libs/opencryptoki/ChangeLog @@ -0,0 +1,8 @@ + + +*opencryptoki-2.2.4-r1 (03 Jun 2006) + + 03 Jun 2006; Petre Rodan <kaiowas@gentoo.org> +files/pkcsslotd.init, + +metadata.xml, +opencryptoki-2.2.4-r1.ebuild: + initial commit + diff --git a/dev-libs/opencryptoki/Manifest b/dev-libs/opencryptoki/Manifest new file mode 100644 index 000000000000..dc27faff9381 --- /dev/null +++ b/dev-libs/opencryptoki/Manifest @@ -0,0 +1,21 @@ +AUX pkcsslotd.init 619 RMD160 e3ca02b88007777eff2a3e4f5724d6142969d039 SHA1 52f0023434e130043b0dddd22a41940d4612c2d3 SHA256 a0b3ae6517d2ee0a7b7efb748b9a8939acf594d935d0d6d7f9af8371b664b01d +MD5 4292ab599c655bb9e93351306c96d3c7 files/pkcsslotd.init 619 +RMD160 e3ca02b88007777eff2a3e4f5724d6142969d039 files/pkcsslotd.init 619 +SHA256 a0b3ae6517d2ee0a7b7efb748b9a8939acf594d935d0d6d7f9af8371b664b01d files/pkcsslotd.init 619 +DIST opencryptoki-2.2.4.tar.bz2 606881 RMD160 fc31c97c4ae269d00b756a29212629ab90f40177 SHA1 aa9f360e2cd5f68901477401a587bbaeed7733f3 SHA256 802d8034fddf0dd73d444682c9f197d6f764bb306caf9fdee98dbea23999b043 +DIST opencryptoki-tpm_stdll-sw_fallback-June012006.patch.bz2 3199 RMD160 779cdb6c86c1d3b923f2349d4d3f3ff9bf720c54 SHA1 8835c4ed3a55d48d2b45d3867eedbb7d29ef17d9 SHA256 599b4ce1daea201756bbe1a615b74cc40c8a9a635bc1baffa942fe91f5f82f8b +EBUILD opencryptoki-2.2.4-r1.ebuild 1667 RMD160 519523923941f345265f2154a2bee0e7ddb45b74 SHA1 3cea4f7e6128f8ab5eb4d52d362fc837917db9c9 SHA256 f7c216bd149934de5c254a230a6f8386d2de4ff0c6c97ce87ec8b5d6127c6171 +MD5 100f8eaf55ba657d5a2ce69f14c25cde opencryptoki-2.2.4-r1.ebuild 1667 +RMD160 519523923941f345265f2154a2bee0e7ddb45b74 opencryptoki-2.2.4-r1.ebuild 1667 +SHA256 f7c216bd149934de5c254a230a6f8386d2de4ff0c6c97ce87ec8b5d6127c6171 opencryptoki-2.2.4-r1.ebuild 1667 +MISC ChangeLog 177 RMD160 9753a789672a160ef3b8c76fcfdca6151a880bb8 SHA1 e4fc38cfbf6dda5007463c5ad81d7910b3e4d965 SHA256 a7d11f761f4774fdcc987f7fd1f974cd93fff26cba7add9d0040a53b539a1e98 +MD5 07d2c59ff5bc069dca351a6986511e0e ChangeLog 177 +RMD160 9753a789672a160ef3b8c76fcfdca6151a880bb8 ChangeLog 177 +SHA256 a7d11f761f4774fdcc987f7fd1f974cd93fff26cba7add9d0040a53b539a1e98 ChangeLog 177 +MISC metadata.xml 336 RMD160 559bf87720f6d79ea0ef7c49a953bd8499ae4707 SHA1 eda7fdae39835d0b5f22bbd1e224612aa411657d SHA256 e51fd1c6ac5a62e4459c80c9326bf9afab23b684cb942bbbc4709bd6835b1537 +MD5 14b2ec1cefc5a6428a0995aa522fe091 metadata.xml 336 +RMD160 559bf87720f6d79ea0ef7c49a953bd8499ae4707 metadata.xml 336 +SHA256 e51fd1c6ac5a62e4459c80c9326bf9afab23b684cb942bbbc4709bd6835b1537 metadata.xml 336 +MD5 0437931c9ce6602f9032c5f85f54538e files/digest-opencryptoki-2.2.4-r1 599 +RMD160 4c8f4f4bf47cfb8f5c594f2f4d8e74356ea1ffec files/digest-opencryptoki-2.2.4-r1 599 +SHA256 4b2973eabdd063346c81d4e38b1d0d32da45e1ade246050a3d6ada45d727fcb4 files/digest-opencryptoki-2.2.4-r1 599 diff --git a/dev-libs/opencryptoki/files/digest-opencryptoki-2.2.4-r1 b/dev-libs/opencryptoki/files/digest-opencryptoki-2.2.4-r1 new file mode 100644 index 000000000000..e7109d86f67a --- /dev/null +++ b/dev-libs/opencryptoki/files/digest-opencryptoki-2.2.4-r1 @@ -0,0 +1,6 @@ +MD5 f27dfd8e680fe8321ba3a2fa39d816d2 opencryptoki-2.2.4.tar.bz2 606881 +RMD160 fc31c97c4ae269d00b756a29212629ab90f40177 opencryptoki-2.2.4.tar.bz2 606881 +SHA256 802d8034fddf0dd73d444682c9f197d6f764bb306caf9fdee98dbea23999b043 opencryptoki-2.2.4.tar.bz2 606881 +MD5 56d44fa2c280937d8ebdeb834d017192 opencryptoki-tpm_stdll-sw_fallback-June012006.patch.bz2 3199 +RMD160 779cdb6c86c1d3b923f2349d4d3f3ff9bf720c54 opencryptoki-tpm_stdll-sw_fallback-June012006.patch.bz2 3199 +SHA256 599b4ce1daea201756bbe1a615b74cc40c8a9a635bc1baffa942fe91f5f82f8b opencryptoki-tpm_stdll-sw_fallback-June012006.patch.bz2 3199 diff --git a/dev-libs/opencryptoki/files/pkcsslotd.init b/dev-libs/opencryptoki/files/pkcsslotd.init new file mode 100755 index 000000000000..76fd6f1d2c8a --- /dev/null +++ b/dev-libs/opencryptoki/files/pkcsslotd.init @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +PKCSSLOTDPID="/var/run/pkcsslotd.pid" + +depend() { + need tcsd +} + +start() { + ebegin "Starting ${SVCNAME}" + + # detect available tokens and + # set up /var/lib/opencryptoki/pk_config_data + /usr/sbin/pkcs11_startup + + start-stop-daemon --start --exec /usr/sbin/pkcsslotd --pidfile "${PKCSSLOTDPID}" + eend $? "Check your logs to see why startup failed" +} + +stop() { + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --exec /usr/sbin/pkcsslotd --pidfile "${PKCSSLOTDPID}" + eend $? +} + +# vim: ts=4 diff --git a/dev-libs/opencryptoki/metadata.xml b/dev-libs/opencryptoki/metadata.xml new file mode 100644 index 000000000000..eb2d4536289f --- /dev/null +++ b/dev-libs/opencryptoki/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>crypto</herd> +<maintainer> + <email>kaiowas@gentoo.org</email> + <name>Petre Rodan</name> +</maintainer> +<longdescription> +PKCS#11 provider for IBM cryptographic hardware +</longdescription> +</pkgmetadata> diff --git a/dev-libs/opencryptoki/opencryptoki-2.2.4-r1.ebuild b/dev-libs/opencryptoki/opencryptoki-2.2.4-r1.ebuild new file mode 100644 index 000000000000..53d12d39fc39 --- /dev/null +++ b/dev-libs/opencryptoki/opencryptoki-2.2.4-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/opencryptoki-2.2.4-r1.ebuild,v 1.1 2006/06/03 04:50:30 kaiowas Exp $ + +inherit autotools eutils + +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="~x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + sys-devel/autoconf" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i '/groupadd/d' ${S}/usr/lib/pkcs11/api/Makefile.am + sed -i 's|$(DESTDIR)||' ${S}/usr/include/pkcs11/Makefile.am + + # enable fallback operation mode for imported keys + # patch written by Kent Yoder + epatch "${DISTDIR}/opencryptoki-tpm_stdll-sw_fallback-June012006.patch.bz2" || die + + eautoreconf +} + +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 libs in /usr/lib/ + ln -s pkcs11/stdll/libpkcs11_sw.so.0.0.0 "${D}/usr/lib/libpkcs11_sw.so" + ln -s pkcs11/stdll/libpkcs11_tpm.so.0.0.0 "${D}/usr/lib/libpkcs11_tpm.so" + + # we have no man pages so at least these should be installed + dodoc ${S}/doc/openCryptoki-HOWTO.pdf + dodoc ${S}/doc/opencryptoki_man.txt + dodoc ${S}/doc/pk_config_data_man.txt + dodoc ${S}/doc/pkcs11_startup_man.txt + dodoc ${S}/doc/pkcsconf_man.txt + dodoc ${S}/doc/pkcsslotd_man.txt +} + +pkg_setup() { + enewgroup pkcs11 +} + |