summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-06-19 13:12:08 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-06-19 13:12:08 +0000
commit0c572f8ce13b8ce90b9b76563efe11558a5617d3 (patch)
tree26c80298472c9ef45ac34f3d8681d827ae1efd54 /app-crypt/tpm-tools
parentstable on amd64, 95920 (diff)
downloadgentoo-2-0c572f8ce13b8ce90b9b76563efe11558a5617d3.tar.gz
gentoo-2-0c572f8ce13b8ce90b9b76563efe11558a5617d3.tar.bz2
gentoo-2-0c572f8ce13b8ce90b9b76563efe11558a5617d3.zip
Initial Import thanks to TGL in bug #96516
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-crypt/tpm-tools')
-rw-r--r--app-crypt/tpm-tools/ChangeLog10
-rw-r--r--app-crypt/tpm-tools/Manifest2
-rw-r--r--app-crypt/tpm-tools/files/digest-tpm-tools-1.0.01
-rw-r--r--app-crypt/tpm-tools/metadata.xml9
-rw-r--r--app-crypt/tpm-tools/tpm-tools-1.0.0.ebuild49
5 files changed, 71 insertions, 0 deletions
diff --git a/app-crypt/tpm-tools/ChangeLog b/app-crypt/tpm-tools/ChangeLog
new file mode 100644
index 000000000000..f378ee547def
--- /dev/null
+++ b/app-crypt/tpm-tools/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-crypt/tpm-tools
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/tpm-tools/ChangeLog,v 1.1 2005/06/19 13:12:08 dragonheart Exp $
+
+*tpm-tools-1.0.0 (19 Jun 2005)
+
+ 19 Jun 2005; Daniel Black <dragonheart@gentoo.org>
+ +tpm-tools-1.0.0.ebuild, +metadata.xml:
+ Initial Import thanks to TGL in bug #96516
+
diff --git a/app-crypt/tpm-tools/Manifest b/app-crypt/tpm-tools/Manifest
new file mode 100644
index 000000000000..bbca8c9426b6
--- /dev/null
+++ b/app-crypt/tpm-tools/Manifest
@@ -0,0 +1,2 @@
+MD5 d3aa41e9cde182191e5c7ff6c4e13724 tpm-tools-1.0.0.ebuild 1148
+MD5 5026ce216838dfc282373d4c323210ec files/digest-tpm-tools-1.0.0 66
diff --git a/app-crypt/tpm-tools/files/digest-tpm-tools-1.0.0 b/app-crypt/tpm-tools/files/digest-tpm-tools-1.0.0
new file mode 100644
index 000000000000..e65678901763
--- /dev/null
+++ b/app-crypt/tpm-tools/files/digest-tpm-tools-1.0.0
@@ -0,0 +1 @@
+MD5 0ba930d307a9dea8ba290388a10c9d0b tpm-tools-1.0.0.tar.gz 48606
diff --git a/app-crypt/tpm-tools/metadata.xml b/app-crypt/tpm-tools/metadata.xml
new file mode 100644
index 000000000000..61e19f95d1e7
--- /dev/null
+++ b/app-crypt/tpm-tools/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/tpm-tools/tpm-tools-1.0.0.ebuild b/app-crypt/tpm-tools/tpm-tools-1.0.0.ebuild
new file mode 100644
index 000000000000..59275bdfc556
--- /dev/null
+++ b/app-crypt/tpm-tools/tpm-tools-1.0.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/tpm-tools/tpm-tools-1.0.0.ebuild,v 1.1 2005/06/19 13:12:08 dragonheart Exp $
+
+inherit gnuconfig
+
+DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules"
+HOMEPAGE="http://trousers.sf.net"
+SRC_URI="mirror://sourceforge/trousers/${P}.tar.gz"
+LICENSE="CPL-1.0"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="virtual/libc
+ >=dev-libs/openssl-0.9.7
+ >=app-crypt/trousers-0.1.1"
+# TODO: add optionnal opencryptoki support
+
+DEPEND="${RDEPEND}
+ sys-devel/automake
+ sys-devel/autoconf"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # workaround econf "updating config.sub" sandbox violation
+ # (bug #96242 for instance):
+ touch config.sub
+
+ # no translation so far -> no need to gettextize it
+ # (makes compilation a bit simpler...):
+ sed -i '/^gettextize/d' ./bootstrap.sh
+ sed -i '/\<po\>/d' Makefile.am
+ sed -i -e '/AM_GNU_GETTEXT/d' -e '\:po/Makefile.in:d' configure.in
+
+ ./bootstrap.sh || die "bootstrap.sh failed"
+}
+
+src_compile() {
+ econf --disable-nls || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc README
+}