summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-05-07 05:46:38 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-05-07 05:46:38 +0000
commit12a85ef6ed46b342d0b351ceba80a5110e78d0ef (patch)
tree92d8dc7166101f707c9870f8ed650fbc66cc8458 /app-crypt/openssl-tpm-engine
parentVersion bump for bug #124787. (diff)
downloadgentoo-2-12a85ef6ed46b342d0b351ceba80a5110e78d0ef.tar.gz
gentoo-2-12a85ef6ed46b342d0b351ceba80a5110e78d0ef.tar.bz2
gentoo-2-12a85ef6ed46b342d0b351ceba80a5110e78d0ef.zip
add openssl-tpm-engine
(Portage version: 2.1_pre10-r3)
Diffstat (limited to 'app-crypt/openssl-tpm-engine')
-rw-r--r--app-crypt/openssl-tpm-engine/ChangeLog11
-rw-r--r--app-crypt/openssl-tpm-engine/Manifest20
-rw-r--r--app-crypt/openssl-tpm-engine/files/digest-openssl-tpm-engine-0.33
-rw-r--r--app-crypt/openssl-tpm-engine/files/openssl-tpm-engine-0.3-openssl.patch45
-rw-r--r--app-crypt/openssl-tpm-engine/metadata.xml9
-rw-r--r--app-crypt/openssl-tpm-engine/openssl-tpm-engine-0.3.ebuild35
6 files changed, 123 insertions, 0 deletions
diff --git a/app-crypt/openssl-tpm-engine/ChangeLog b/app-crypt/openssl-tpm-engine/ChangeLog
new file mode 100644
index 000000000000..15ef469b91ed
--- /dev/null
+++ b/app-crypt/openssl-tpm-engine/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-crypt/openssl-tpm-engine
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/openssl-tpm-engine/ChangeLog,v 1.1 2006/05/07 05:46:38 dragonheart Exp $
+
+*openssl-tpm-engine-0.3 (07 May 2006)
+
+ 07 May 2006; Daniel Black <dragonheart@gentoo.org>
+ +files/openssl-tpm-engine-0.3-openssl.patch, +metadata.xml,
+ +openssl-tpm-engine-0.3.ebuild:
+ initial import by Daniel Black.
+
diff --git a/app-crypt/openssl-tpm-engine/Manifest b/app-crypt/openssl-tpm-engine/Manifest
new file mode 100644
index 000000000000..4cc4dc2557ea
--- /dev/null
+++ b/app-crypt/openssl-tpm-engine/Manifest
@@ -0,0 +1,20 @@
+AUX openssl-tpm-engine-0.3-openssl.patch 1425 RMD160 2aaa50d7325b3a65ef58b1747741d53f3fb27ccf SHA1 050f9e4d5491b38601b70e82b32c6d50a7475b78 SHA256 f4b14ce8ad39edd85e05d3b5e2125141bd4e9117e747e2644d64c0c4eda22322 size 1425
+MD5 e67b1152c21ec8bc50bf597e9ee707b8 files/openssl-tpm-engine-0.3-openssl.patch 1425
+RMD160 2aaa50d7325b3a65ef58b1747741d53f3fb27ccf files/openssl-tpm-engine-0.3-openssl.patch 1425
+SHA256 f4b14ce8ad39edd85e05d3b5e2125141bd4e9117e747e2644d64c0c4eda22322 files/openssl-tpm-engine-0.3-openssl.patch 1425
+DIST openssl_tpm_engine-0.3.tar.gz 639149 RMD160 7b5360621e21cc253b573b45c0e510d371399aeb SHA256 00582e4a416de468e9e92c6e33e08a4b0827a4a33a0f93ebef80f0792b12464b size 639149
+EBUILD openssl-tpm-engine-0.3.ebuild 843 RMD160 99500818855814c37cfaecbed3c3348b5ce1e767 SHA1 79cbca0ab5cc427b84c4a6e6db90dc95d3efef0a SHA256 6a13ee36e1bb704c97836f05b7324de0ac17b72cd8b87d1044731fcd3da4feab size 843
+MD5 9daa450c8c1b9dd7f61d7f5d41679d20 openssl-tpm-engine-0.3.ebuild 843
+RMD160 99500818855814c37cfaecbed3c3348b5ce1e767 openssl-tpm-engine-0.3.ebuild 843
+SHA256 6a13ee36e1bb704c97836f05b7324de0ac17b72cd8b87d1044731fcd3da4feab openssl-tpm-engine-0.3.ebuild 843
+MISC ChangeLog 352 RMD160 9f78b1a87907f50c416337fc59d7ee52e018dec6 SHA1 950a130b965b4b2d1213e0df3ecb76f915abdeac SHA256 2c29e8720bec1fc9beb245d74a576c3ef1338816b2263503cbb9d214b9faf580 size 352
+MD5 0774c21caf6b080f2a5a718f4145ef33 ChangeLog 352
+RMD160 9f78b1a87907f50c416337fc59d7ee52e018dec6 ChangeLog 352
+SHA256 2c29e8720bec1fc9beb245d74a576c3ef1338816b2263503cbb9d214b9faf580 ChangeLog 352
+MISC metadata.xml 251 RMD160 9c13ff790c7419d4e0d2d370036b7f4e4594ea4f SHA1 563aa19984b291a6cade6d6487dbf4a2a17e6874 SHA256 1739a4e8833a2a5b9501182eb830cbd3e26014ccef5e9ae1b4d7a0686c665c1b size 251
+MD5 2603eeeb20b24caddac3e9ce6996f357 metadata.xml 251
+RMD160 9c13ff790c7419d4e0d2d370036b7f4e4594ea4f metadata.xml 251
+SHA256 1739a4e8833a2a5b9501182eb830cbd3e26014ccef5e9ae1b4d7a0686c665c1b metadata.xml 251
+MD5 e7e4d4cf6c6e2cc9f3a587cb52202cea files/digest-openssl-tpm-engine-0.3 268
+RMD160 6d24c71e8d04f05f9d73a1b1fddfbe5384a98325 files/digest-openssl-tpm-engine-0.3 268
+SHA256 cab1002531f1b0ab7d97eadfaba27ca65b0960e9df58c186eaa701aeb787a86b files/digest-openssl-tpm-engine-0.3 268
diff --git a/app-crypt/openssl-tpm-engine/files/digest-openssl-tpm-engine-0.3 b/app-crypt/openssl-tpm-engine/files/digest-openssl-tpm-engine-0.3
new file mode 100644
index 000000000000..f70207a37f1c
--- /dev/null
+++ b/app-crypt/openssl-tpm-engine/files/digest-openssl-tpm-engine-0.3
@@ -0,0 +1,3 @@
+MD5 873e185dc646a574944cf7df39f127e5 openssl_tpm_engine-0.3.tar.gz 639149
+RMD160 7b5360621e21cc253b573b45c0e510d371399aeb openssl_tpm_engine-0.3.tar.gz 639149
+SHA256 00582e4a416de468e9e92c6e33e08a4b0827a4a33a0f93ebef80f0792b12464b openssl_tpm_engine-0.3.tar.gz 639149
diff --git a/app-crypt/openssl-tpm-engine/files/openssl-tpm-engine-0.3-openssl.patch b/app-crypt/openssl-tpm-engine/files/openssl-tpm-engine-0.3-openssl.patch
new file mode 100644
index 000000000000..d785295381be
--- /dev/null
+++ b/app-crypt/openssl-tpm-engine/files/openssl-tpm-engine-0.3-openssl.patch
@@ -0,0 +1,45 @@
+--- openssl_tpm_engine-0.3/configure.in 2005-12-03 06:03:27.000000000 +1100
++++ /tmp/configure.in 2006-05-07 13:17:55.000000000 +1000
+@@ -21,7 +21,12 @@
+ fi
+ fi
+
+-OPENSSL_LIB_DIR="/usr/local/ssl/lib"
++if test "${OPENSSL_LIB_DIR+set}" != set; then
++ OPENSSL_LIB_DIR="/usr/local/ssl/lib"
++fi
++if test "${OPENSSL_INCLUDE_DIR+set}" != set; then
++ OPENSSL_INCLUDE_DIR="/usr/local/ssl/include"
++fi
+
+ # Non-standard OpenSSL
+ AC_MSG_CHECKING([Non-standard OpenSSL])
+@@ -36,8 +41,8 @@
+ CFLAGS="$CFLAGS -L$OPENSSL_LIB_DIR -I$OPENSSL_INCLUDE_DIR"
+ fi],
+ [AC_MSG_RESULT([no])
+- AC_SUBST([OPENSSL_LIB_DIR], [/usr/local/ssl/lib])
+- AC_SUBST([OPENSSL_INCLUDE_DIR], [/usr/local/ssl/include]) ] )
++ AC_SUBST(OPENSSL_LIB_DIR)
++ AC_SUBST(OPENSSL_INCLUDE_DIR)])
+
+ # for the correct install target
+ libdir="$OPENSSL_LIB_DIR/engines"
+--- openssl_tpm_engine-0.3/Makefile.am.orig 2006-05-07 13:49:41.000000000 +1000
++++ openssl_tpm_engine-0.3/Makefile.am 2006-05-07 13:58:10.000000000 +1000
+@@ -1,10 +1,11 @@
++EXTRA_DIST = README openssl.cnf.sample
++
+ lib_LTLIBRARIES=libtpm.la
+-noinst_PROGRAMS=create_tpm_key
++bin_PROGRAMS=create_tpm_key
+
+-libtpm_la_LIBADD=@OPENSSL_LIB_DIR@/libcrypto.a
+-libtpm_la_LDFLAGS=-lc
++libtpm_la_LIBADD=-lcrypto -lc
+ libtpm_la_CFLAGS=-I@OPENSSL_INCLUDE_DIR@
+ libtpm_la_SOURCES=e_tpm.c e_tpm.h e_tpm_err.c
+
+ create_tpm_key_SOURCES=create_tpm_key.c
+-create_tpm_key_LDFLAGS=-ltspi
++create_tpm_key_LDADD=-ltspi
diff --git a/app-crypt/openssl-tpm-engine/metadata.xml b/app-crypt/openssl-tpm-engine/metadata.xml
new file mode 100644
index 000000000000..61e19f95d1e7
--- /dev/null
+++ b/app-crypt/openssl-tpm-engine/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>crypto</herd>
+ <maintainer>
+ <email>crypto@gentoo.org</email>
+ <name>Crypto Herd</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-crypt/openssl-tpm-engine/openssl-tpm-engine-0.3.ebuild b/app-crypt/openssl-tpm-engine/openssl-tpm-engine-0.3.ebuild
new file mode 100644
index 000000000000..da20a5b2124a
--- /dev/null
+++ b/app-crypt/openssl-tpm-engine/openssl-tpm-engine-0.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/openssl-tpm-engine/openssl-tpm-engine-0.3.ebuild,v 1.1 2006/05/07 05:46:38 dragonheart Exp $
+
+inherit autotools eutils
+
+MY_P="${P/-tpm-/_tpm_}"
+
+DESCRIPTION="This provides a OpenSSL engine that uses private keys stored in TPM hardware"
+HOMEPAGE="http://trousers.sourceforge.net"
+SRC_URI="mirror://sourceforge/trousers/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-*"
+IUSE=""
+DEPEND=">=dev-libs/openssl-0.9.8"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-openssl.patch"
+ eautoreconf || die 'eautoreconf failed'
+}
+
+src_compile() {
+ econf OPENSSL_LIB_DIR=/usr/lib OPENSSL_INCLUDE_DIR=/usr/include/openssl || die 'configure failed'
+ emake || die 'make failed'
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die 'install failed'
+ dodoc openssl.cnf.sample README
+}