mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
app-crypt/tpm-tools: cleanup
Bug: 611492 Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
@@ -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
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user