summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2013-07-20 21:02:57 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2013-07-20 21:02:57 +0000
commite2b67e61c3bb32a96b4dc2d8d3bbbc788af3bd43 (patch)
treeac8299ee6c9bbdfec2fcd1a4b5249a0ecde61970 /app-crypt
parentmask profile-sync-daemon (diff)
downloadgentoo-2-e2b67e61c3bb32a96b4dc2d8d3bbbc788af3bd43.tar.gz
gentoo-2-e2b67e61c3bb32a96b4dc2d8d3bbbc788af3bd43.tar.bz2
gentoo-2-e2b67e61c3bb32a96b4dc2d8d3bbbc788af3bd43.zip
Version bump
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/tpm-tools/ChangeLog10
-rw-r--r--app-crypt/tpm-tools/files/tpm-tools-1.3.8-gold.patch10
-rw-r--r--app-crypt/tpm-tools/tpm-tools-1.3.8.ebuild51
3 files changed, 69 insertions, 2 deletions
diff --git a/app-crypt/tpm-tools/ChangeLog b/app-crypt/tpm-tools/ChangeLog
index d56917c05d23..b93d352f34b5 100644
--- a/app-crypt/tpm-tools/ChangeLog
+++ b/app-crypt/tpm-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-crypt/tpm-tools
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/tpm-tools/ChangeLog,v 1.20 2012/12/23 18:20:22 vapier Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/tpm-tools/ChangeLog,v 1.21 2013/07/20 21:02:57 alonbl Exp $
+
+*tpm-tools-1.3.8 (20 Jul 2013)
+
+ 20 Jul 2013; Alon Bar-Lev <alonbl@gentoo.org>
+ +files/tpm-tools-1.3.8-gold.patch, +tpm-tools-1.3.8.ebuild:
+ Version bump
23 Dec 2012; Mike Frysinger <vapier@gentoo.org> tpm-tools-1.3.5-r1.ebuild:
Use EAPI=4 default src_install and usex.
diff --git a/app-crypt/tpm-tools/files/tpm-tools-1.3.8-gold.patch b/app-crypt/tpm-tools/files/tpm-tools-1.3.8-gold.patch
new file mode 100644
index 000000000000..bc52c30f4fcf
--- /dev/null
+++ b/app-crypt/tpm-tools/files/tpm-tools-1.3.8-gold.patch
@@ -0,0 +1,10 @@
+diff --git a/lib/Makefile.am b/lib/Makefile.am
+index cef6a2f..d7092a7 100644
+--- a/lib/Makefile.am
++++ b/lib/Makefile.am
+@@ -80,4 +80,4 @@ endif
+ # Unseal library - for addition to existing apps, counter part of seal cmd
+ libtpm_unseal_la_SOURCES = tpm_unseal.c
+ libtpm_unseal_la_LDFLAGS = -shared -version-info 1:0:0
+-libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la
++libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la -lcrypto
diff --git a/app-crypt/tpm-tools/tpm-tools-1.3.8.ebuild b/app-crypt/tpm-tools/tpm-tools-1.3.8.ebuild
new file mode 100644
index 000000000000..03dd2e773209
--- /dev/null
+++ b/app-crypt/tpm-tools/tpm-tools-1.3.8.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 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.3.8.ebuild,v 1.1 2013/07/20 21:02:57 alonbl Exp $
+
+EAPI=4
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules"
+HOMEPAGE="http://trousers.sourceforge.net"
+SRC_URI="mirror://sourceforge/trousers/${P}.tar.gz"
+
+LICENSE="CPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="nls pkcs11 debug"
+
+COMMON_DEPEND="
+ >=app-crypt/trousers-0.3.0
+ dev-libs/openssl
+ pkcs11? ( dev-libs/opencryptoki )
+ "
+RDEPEND="${COMMON_DEPEND}
+ nls? ( virtual/libintl )"
+DEPEND="${COMMON_DEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ sed -i -r \
+ -e '/CFLAGS/s/ -(Werror|m64)//' \
+ configure.in || die
+ epatch "${FILESDIR}/${P}-gold.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+ # don't use --enable-pkcs11-support, configure is a mess.
+ use pkcs11 || myconf+=" --disable-pkcs11-support"
+
+ append-cppflags $(usex debug -DDEBUG -DNDEBUG)
+
+ econf \
+ $(use_enable nls) \
+ ${myconf}
+}
+
+src_install() {
+ default
+ rm -f "${ED}"/usr/lib*/libtpm_unseal.la
+}