diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /app-crypt/tpm2-tools | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'app-crypt/tpm2-tools')
-rw-r--r-- | app-crypt/tpm2-tools/Manifest | 7 | ||||
-rw-r--r-- | app-crypt/tpm2-tools/files/tpm2-tools-4.3.0-Remove-WError.patch | 12 | ||||
-rw-r--r-- | app-crypt/tpm2-tools/tpm2-tools-4.3.0.ebuild (renamed from app-crypt/tpm2-tools/tpm2-tools-4.2.1-r1.ebuild) | 10 | ||||
-rw-r--r-- | app-crypt/tpm2-tools/tpm2-tools-5.0.ebuild | 42 |
4 files changed, 68 insertions, 3 deletions
diff --git a/app-crypt/tpm2-tools/Manifest b/app-crypt/tpm2-tools/Manifest index 741b1437cdb9..d5b9f54e1603 100644 --- a/app-crypt/tpm2-tools/Manifest +++ b/app-crypt/tpm2-tools/Manifest @@ -1,4 +1,7 @@ AUX tpm2-tools-4.2.1-libressl.patch 825 BLAKE2B c6cd9fd6f8aaacd3aa672a31fd727cfae6c64a015e95e2e0fb282b541168a8ad7a45c65186a18651c3bf6d4252de951891b03719c472b0b23639fd1c09729132 SHA512 202aef9a49c9ace31cac0030867c9842c7426e1c11a16c95740fc8818ef83d7e4c7723b09ef372dc8958576f8204f94aa1bd0a8fb7782c6e7b3eb1f37b675cf5 -DIST tpm2-tools-4.2.1.tar.gz 879294 BLAKE2B 7619f72f0fe39360f111822b4ec7a0bb90156f295977115c4612efac33059dd786abfa5d5f46a8fcc134fce11d099b03cb7f9ee01aa3addf5a3bb2455e1eb2d4 SHA512 4da103e70880d72a9aa402dea39ea439a0657729af22f08ac7275022c475ab46cb3dd6123d6846669d9b7f8f9af7b3e3df7c3b1d33cd0149b649b7941c84c339 -EBUILD tpm2-tools-4.2.1-r1.ebuild 920 BLAKE2B 59f32bcbb807f20891c5205a03b437c849878131f436090b309907c431b1b2ab57be199d1a3979df7dbd98ed3d60126ab33bc6631238b7ce9d3dac43e89299b1 SHA512 71efa17243b2831214d292e210e05d12ae4049f6b9c28070daf4184d4edab8b028e3da769072238095dfa9fba9d9667a58e285ac600dd82ea1000a6c47df9ba0 +AUX tpm2-tools-4.3.0-Remove-WError.patch 360 BLAKE2B 440f48fca6e8aaf9b2c0fd094011738c467a22dc31bd94b53f6788b8fa52c00c5d7ebe074434be60b6370dcf1e94ee4d57bcfc93857fcf03dbdff30c8e157445 SHA512 0d246d1446b5b2ebca0e12467c746a731897311448840a7aac35b57d22edcdec0c9f424d1c95c9614d969a57dba458bbbad8826516cc05329b47d2dad05318fe +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 +EBUILD tpm2-tools-4.3.0.ebuild 1034 BLAKE2B bd21c6df2ee04a4142106433037c5b128dd640ef3682ad95337fa02ab26ab9db8a83634f6c4da96626b7e0561cacc0c9caaa76f176d734ec7c3bc391c58e6908 SHA512 8fee1ec42475cddb2c0ba7944f3535481baf084ee10235ba61b2b45fc321dc9d96b9dd976aa3568370e7d1dc8daef4515d58c32a633739a06e999ef7a627e3e6 +EBUILD tpm2-tools-5.0.ebuild 1034 BLAKE2B a00c8bf40b3484ab0e35945db2d8c6731ab3caa28b8df935f3dab6292e0c9210a371c9ec612850a7e19f15f67a39f1009b373d975cf603e3a0725bbc81805072 SHA512 b48935ce3f285b8b8a72d1e22055b1365d6bf54bd576770023b4a6a4a0c8f2ff7b6cc092c4583a5553efe5cce422ff7026182c66d06a51a159af1f09985caaa6 MISC metadata.xml 525 BLAKE2B 5fa89e3cfb69fe00abe745690aafc6e45b8394e1673521049ae2bb834454f3100ef65d4080010c4fed7265bcd6c9dd6cb9015a159674bb71622646d5dd5dd57b SHA512 533cc4a3dc31600a948c931d144eeee3cdb265286677966ed7bf26953deec79f1c9e0c2c7152e1a5ef3bc067bbc3d88a7ae0678b9395be3a7b01d76976a9a4d9 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 new file mode 100644 index 000000000000..caa3fac23bf4 --- /dev/null +++ b/app-crypt/tpm2-tools/files/tpm2-tools-4.3.0-Remove-WError.patch @@ -0,0 +1,12 @@ +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/tpm2-tools-4.2.1-r1.ebuild b/app-crypt/tpm2-tools/tpm2-tools-4.3.0.ebuild index ea91b076cb65..7ccea9899c4b 100644 --- a/app-crypt/tpm2-tools/tpm2-tools-4.2.1-r1.ebuild +++ b/app-crypt/tpm2-tools/tpm2-tools-4.3.0.ebuild @@ -3,6 +3,8 @@ 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" @@ -24,9 +26,15 @@ RDEPEND="net-misc/curl:= DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" PATCHES=( - "${FILESDIR}/${P}-libressl.patch" + "${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 new file mode 100644 index 000000000000..3252b0db14e7 --- /dev/null +++ b/app-crypt/tpm2-tools/tpm2-tools-5.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 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 libressl" + +# 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?] + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl: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) \ + $(use_enable !libressl hardening) +} |