diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2023-02-02 01:18:18 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-02-14 03:13:16 +0000 |
commit | 37ecf6b971e037cf7413136835e5575a5553d985 (patch) | |
tree | ca091059776611b975e98bc4a50c674e816f145b /app-crypt | |
parent | app-crypt/trousers: add musl patch (diff) | |
download | gentoo-37ecf6b971e037cf7413136835e5575a5553d985.tar.gz gentoo-37ecf6b971e037cf7413136835e5575a5553d985.tar.bz2 gentoo-37ecf6b971e037cf7413136835e5575a5553d985.zip |
app-crypt/tpm-tools: revbump to depend on app-crypt/trousers-0.3.15-r1
Closes: https://bugs.gentoo.org/713444
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Closes: https://github.com/gentoo/gentoo/pull/29384
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/tpm-tools/tpm-tools-1.3.9.2-r1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-crypt/tpm-tools/tpm-tools-1.3.9.2-r1.ebuild b/app-crypt/tpm-tools/tpm-tools-1.3.9.2-r1.ebuild new file mode 100644 index 000000000000..68163a060786 --- /dev/null +++ b/app-crypt/tpm-tools/tpm-tools-1.3.9.2-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic + +DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules" +HOMEPAGE="http://trousers.sourceforge.net" +SRC_URI="mirror://sourceforge/trousers/${PN}/${P}.tar.gz" + +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~s390 ~x86" +IUSE="nls pkcs11 debug" + +DEPEND=">=app-crypt/trousers-0.3.15-r1 + dev-libs/openssl:0= + pkcs11? ( dev-libs/opencryptoki )" +RDEPEND="${DEPEND}" +BDEPEND="nls? ( sys-devel/gettext )" + +src_prepare() { + default + +# upstream didn't generate the tarball correctly so we must bootstrap +# ouselves + mkdir -p po || die + mkdir -p m4 || die + cp -R po_/* po/ || die + touch po/Makefile.in.in || die + touch m4/Makefile.am || die + + sed -i -r \ + -e '/CFLAGS/s/ -m64//' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + append-cppflags $(usex debug -DDEBUG -DNDEBUG) + + econf \ + $(use_enable nls) \ + $(use pkcs11 || echo --disable-pkcs11-support) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |