commit:     7328d16f90c90b0e6e6d411acbd5d1879a34c786
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Jul  5 07:04:56 2022 +0000
Commit:     Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
CommitDate: Tue Jul  5 21:18:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=7328d16f

app-crypt/tpm2-tools: Remove package

Works with libressl-3.5.x and tpm2-tools-5.2-r1::gentoo.

Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/libressl/pull/434
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>

 app-crypt/tpm2-tools/Manifest                      |  2 --
 .../files/tpm2-tools-4.2.1-libressl.patch          | 26 --------------
 .../files/tpm2-tools-4.3.0-Remove-WError.patch     | 12 -------
 app-crypt/tpm2-tools/metadata.xml                  | 18 ----------
 app-crypt/tpm2-tools/tpm2-tools-4.3.0.ebuild       | 40 ----------------------
 app-crypt/tpm2-tools/tpm2-tools-5.0.ebuild         | 40 ----------------------
 6 files changed, 138 deletions(-)

diff --git a/app-crypt/tpm2-tools/Manifest b/app-crypt/tpm2-tools/Manifest
deleted file mode 100644
index 23b297e..0000000
--- a/app-crypt/tpm2-tools/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST tpm2-tools-4.3.0.tar.gz 881544 BLAKE2B 
0415f30845658e84e97a964abebc3082e45fb880c10bec405cd89c7bfa373ace10b669c4af78e7e47f2d2bb62fc7cc34b2e54e392a95c8f9b8956b8c92af6aee
 SHA512 
4e622bbc8642ba7fd93a7343900560fe3779cba03e363d16f391fc8929724a11913d238e3986de06982cbced27c3c2ca8c7e73d75796407b8646c101ccf393a8
-DIST tpm2-tools-5.0.tar.gz 990855 BLAKE2B 
5d39bbef0bc6f0d84f37c64c697260343a9f9e134bce015a6b529176195adb907672f35b85382b0a4785e40e368030ac347083086c3799bdfe86dced1ac69848
 SHA512 
ea57a28a61e28b78cae7067ff58facd8754fafab7a2689fd93f8b3374073b6ac30301a75f8ff5c654800ab469ee6604d0b8a86c310631b9545b816ecaa05968e

diff --git a/app-crypt/tpm2-tools/files/tpm2-tools-4.2.1-libressl.patch 
b/app-crypt/tpm2-tools/files/tpm2-tools-4.2.1-libressl.patch
deleted file mode 100644
index 2f39db3..0000000
--- a/app-crypt/tpm2-tools/files/tpm2-tools-4.2.1-libressl.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From a1ac2ee0c6592e6f730458c03a2abd1532c66046 Mon Sep 17 00:00:00 2001
-From: Salah Coronya <salah.coro...@gmail.com>
-Date: Sun, 12 Jan 2020 19:17:48 -0600
-Subject: [PATCH] lib/tpm2_openssl.c: Fix build for libressl
-
-Signed-off-by: Salah Coronya <salah.coro...@gmail.com>
----
- lib/tpm2_openssl.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/tpm2_openssl.c b/lib/tpm2_openssl.c
-index 505dd7a0..fd3861d9 100644
---- a/lib/tpm2_openssl.c
-+++ b/lib/tpm2_openssl.c
-@@ -14,7 +14,7 @@
- #include "tpm2_openssl.h"
- 
- /* compatibility function for OpenSSL versions < 1.1.0 */
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- static int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen) {
-     int r;
-     int topad;
--- 
-2.24.1
-

diff --git a/app-crypt/tpm2-tools/files/tpm2-tools-4.3.0-Remove-WError.patch 
b/app-crypt/tpm2-tools/files/tpm2-tools-4.3.0-Remove-WError.patch
deleted file mode 100644
index caa3fac..0000000
--- a/app-crypt/tpm2-tools/files/tpm2-tools-4.3.0-Remove-WError.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 7b5c2196..d07d5433 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -210,7 +210,6 @@ AS_IF([test x"$enable_hardening" != x"no"], [
- 
-   add_hardened_c_flag([-Wall])
-   add_hardened_c_flag([-Wextra])
--  add_hardened_c_flag([-Werror])
- 
-   add_hardened_c_flag([-Wformat])
-   add_hardened_c_flag([-Wformat-security])

diff --git a/app-crypt/tpm2-tools/metadata.xml 
b/app-crypt/tpm2-tools/metadata.xml
deleted file mode 100644
index 26b4dcb..0000000
--- a/app-crypt/tpm2-tools/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="person">
-               <email>salah.coro...@gmail.com</email>
-               <name>Salah Coronya</name>
-       </maintainer>
-       <maintainer type="project">
-               <email>proxy-ma...@gentoo.org</email>
-               <name>Proxy Maintainers</name>
-       </maintainer>
-       <use>
-               <flag name="fapi">Enable feature API tools</flag>
-       </use>
-       <upstream>
-               <remote-id type="github">tpm2-software/tpm2-tools</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/app-crypt/tpm2-tools/tpm2-tools-4.3.0.ebuild 
b/app-crypt/tpm2-tools/tpm2-tools-4.3.0.ebuild
deleted file mode 100644
index cf80d2e..0000000
--- a/app-crypt/tpm2-tools/tpm2-tools-4.3.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="Tools for the TPM 2.0 TSS"
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tools";
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+fapi"
-
-# Integration test are now run as part of the testing suite, which will fail
-# because none of the supported TPM emulators are in Portage. In a future
-# version of tpm2-tools, swtpm will be supported and the tests can be run.
-RESTRICT="test"
-
-RDEPEND="net-misc/curl:=
-       >=app-crypt/tpm2-tss-2.4.0:=[fapi?]
-       dev-libs/openssl:0="
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-PATCHES=(
-       "${FILESDIR}/${PN}-4.2.1-libressl.patch"
-       "${FILESDIR}/${PN}-4.3.0-Remove-WError.patch"
-)
-
-src_prepare() {
-       eautoreconf
-       default
-}
-
-src_configure() {
-       econf \
-               $(use_enable fapi)
-}

diff --git a/app-crypt/tpm2-tools/tpm2-tools-5.0.ebuild 
b/app-crypt/tpm2-tools/tpm2-tools-5.0.ebuild
deleted file mode 100644
index 7a3ac1d..0000000
--- a/app-crypt/tpm2-tools/tpm2-tools-5.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="Tools for the TPM 2.0 TSS"
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tools";
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+fapi"
-
-# Integration test are now run as part of the testing suite, which will fail
-# because none of the supported TPM emulators are in Portage. In a future
-# version of tpm2-tools, swtpm will be supported and the tests can be run.
-RESTRICT="test"
-
-RDEPEND="net-misc/curl:=
-       >=app-crypt/tpm2-tss-3.0.1:=[fapi?]
-       dev-libs/openssl:0="
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-PATCHES=(
-       "${FILESDIR}/${PN}-4.2.1-libressl.patch"
-       "${FILESDIR}/${PN}-4.3.0-Remove-WError.patch"
-)
-
-src_prepare() {
-       eautoreconf
-       default
-}
-
-src_configure() {
-       econf \
-               $(use_enable fapi)
-}

Reply via email to