commit:     6754d3ce6adfc42aa7c7c8a3fd1982e1f9a3780e
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 15 18:27:26 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Wed Mar 15 18:27:26 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6754d3ce

app-crypt/tpm-tools: cleanup

Bug: 611492

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-crypt/tpm-tools/Manifest                       |  1 -
 .../tpm-tools/files/tpm-tools-1.3.8-build.patch    | 10 -----
 .../tpm-tools/files/tpm-tools-1.3.8-gold.patch     | 10 -----
 app-crypt/tpm-tools/tpm-tools-1.3.8-r1.ebuild      | 52 ----------------------
 app-crypt/tpm-tools/tpm-tools-1.3.8.ebuild         | 51 ---------------------
 5 files changed, 124 deletions(-)

diff --git a/app-crypt/tpm-tools/Manifest b/app-crypt/tpm-tools/Manifest
index 7218765a3ab..49a9b1ffab2 100644
--- a/app-crypt/tpm-tools/Manifest
+++ b/app-crypt/tpm-tools/Manifest
@@ -1,2 +1 @@
-DIST tpm-tools-1.3.8.tar.gz 473339 SHA256 
66eb4ff095542403db6b4bd4b574e8a5c08084fe4e9e5aa9a829ee84e20bea83 SHA512 
727113625645b01f8e77817d7f1cc6a8bf814f96061754fdfefceb125da4eebbea54804d1fec9e36559ffd61801b318bbc327907a3bdd661f872c32f811c7e74
 WHIRLPOOL 
201677976c97961a20578f7ca1b4dd0a8a9b105a718c0c67c34b9f1de0c75332532c62389711f732c99edda8fe45639dd3c8293df0a62a11f88ed4c9dc987270
 DIST tpm-tools-1.3.9.tar.gz 484023 SHA256 
ea126c5cd2ada56beb5118a141a498053f2d85f56263d215784f0ed86fff4213 SHA512 
460e56031aa65ede6b7aebf0c594d4093d870fb46f7c453c429e53cca442d4c7797ac29b519bca28d42133bc6d7701cdf938adbdf11f8be841157d4f4a3e17ca
 WHIRLPOOL 
96760809fb5f2029f51a4051621cb4dd3a39af08d2ecb091619f848d541b2bd1d6f5e9cbd2606fcde2fb55c554cb3baf74c8b58ec29660d95c42bfad178bd96c

diff --git a/app-crypt/tpm-tools/files/tpm-tools-1.3.8-build.patch 
b/app-crypt/tpm-tools/files/tpm-tools-1.3.8-build.patch
deleted file mode 100644
index 928f94f8e69..00000000000
--- a/app-crypt/tpm-tools/files/tpm-tools-1.3.8-build.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/tpm_mgmt/tpm_nvread.c        2015-06-07 13:00:30.250314575 +0000
-+++ b/src/tpm_mgmt/tpm_nvread.c        2015-06-07 12:54:45.590302275 +0000
-@@ -23,6 +23,7 @@
- #include <ctype.h>
- #include <fcntl.h>
- #include <unistd.h>
-+#include <sys/stat.h>
- 
- #include "tpm_nvcommon.h"
- #include "tpm_tspi.h"

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
deleted file mode 100644
index bc52c30f4fc..00000000000
--- a/app-crypt/tpm-tools/files/tpm-tools-1.3.8-gold.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-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-r1.ebuild 
b/app-crypt/tpm-tools/tpm-tools-1.3.8-r1.ebuild
deleted file mode 100644
index e5e76501c9f..00000000000
--- a/app-crypt/tpm-tools/tpm-tools-1.3.8-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-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 ~arm64 ~m68k ~s390 ~sh ~x86"
-IUSE="libressl nls pkcs11 debug"
-
-COMMON_DEPEND="
-       >=app-crypt/trousers-0.3.0
-       !libressl? ( dev-libs/openssl:0= )
-       libressl? ( dev-libs/libressl:0= )
-       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"
-       epatch "${FILESDIR}/${P}-build.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
-}

diff --git a/app-crypt/tpm-tools/tpm-tools-1.3.8.ebuild 
b/app-crypt/tpm-tools/tpm-tools-1.3.8.ebuild
deleted file mode 100644
index 2b48a9e19b2..00000000000
--- a/app-crypt/tpm-tools/tpm-tools-1.3.8.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 arm64 ~m68k ~s390 ~sh 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"
-       epatch "${FILESDIR}/${P}-build.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
-}

Reply via email to