From c719fdcee603a5a706a45d10cb598762d56a727d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Sep 2021 20:21:45 +0100 Subject: gentoo resync : 25.09.2021 --- dev-libs/libtpms/Manifest | 6 +-- .../files/libtpms-0.8.0-Remove-WError.patch | 13 ------ .../files/libtpms-0.8.7-Remove-WError.patch | 13 ++++++ dev-libs/libtpms/libtpms-0.8.6.ebuild | 49 ---------------------- dev-libs/libtpms/libtpms-0.8.7.ebuild | 47 +++++++++++++++++++++ 5 files changed, 63 insertions(+), 65 deletions(-) delete mode 100644 dev-libs/libtpms/files/libtpms-0.8.0-Remove-WError.patch create mode 100644 dev-libs/libtpms/files/libtpms-0.8.7-Remove-WError.patch delete mode 100644 dev-libs/libtpms/libtpms-0.8.6.ebuild create mode 100644 dev-libs/libtpms/libtpms-0.8.7.ebuild (limited to 'dev-libs/libtpms') diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest index c5431498c9fc..994f78f8903a 100644 --- a/dev-libs/libtpms/Manifest +++ b/dev-libs/libtpms/Manifest @@ -1,4 +1,4 @@ -AUX libtpms-0.8.0-Remove-WError.patch 472 BLAKE2B 08bf1379957d35b123180d0e2434ee9f0bb050bb420e3ab176467f517489890491edf12a14d1ed28a6eb6d5adb3d7aabe274870de7ea691a9f53b169c269761c SHA512 2e7dcd146f8ac438c574ac662c513a95f4d99277c7123b86f633ea1b4c2d3c8dc758f4675258c519b6b1449cfe6f3573eb13241b7b255d09967965627eddf997 -DIST libtpms-0.8.6.tar.gz 1255964 BLAKE2B 44d9b1f78944ede5842b3cbef09900899f53ba3525e63f09de8263b9c1878a889db80eaf3ba35334a2233334bcb4ebd03d2bb841e4184059f9a155ad4a2aa244 SHA512 d57d52d140d582a6a7d2146aa9a10445c5c50807da53b26f6efbb8632ac83afa3c67e1a47ffa6a898a45cbac3aff199fe61947d69bc5af727e9623564bac45d8 -EBUILD libtpms-0.8.6.ebuild 1334 BLAKE2B 3a2ac7cf3e8e7fa9467c6e69bf6e5cc22ce4eb053e05a8462a530cb80d7c6b9bafd65dae53cf010c95e648da6f3d8f198b1a27afe16756b265d1b8dfa4c06d66 SHA512 7072a4ec6e5b4e388791216afb2586f62a0cb5330fc742aa282198600f609cdc24366665c1ce843b166adfc7e1653e3704ca88ef5a91500e9dd20be579433c49 +AUX libtpms-0.8.7-Remove-WError.patch 501 BLAKE2B 6fef81cd6b20519c693e4389a679bdd039ef0f415e0313e3baf867ba1581e9ff51fbb909f143cfde98c6135995807e1ffd08ab02332ff4ba7a568eecd437cc14 SHA512 5eb9d1f1e1124ac07b453d514f0c6cdbf5f0947dbf046593df19ab93d29e1a75854df0d6e3a37d9c20b7f01bd5b33694d8103b9796a0fbf4a118e1d9e0570790 +DIST libtpms-0.8.7.tar.gz 1256807 BLAKE2B d3630ece39a78dcc99d15ad603eec5c3d858d1d0c928ae2d3ae5ad5e4d419e186fa23b25ad15824806838401aac33e7224d7cc7ce6fb79647500d4b3a3871223 SHA512 061ec66bbeee9838f12c6a9724ba953cd604981148d6f3a8ebe444e89e59b228b763d8f98c55d67b9477277ccbf9987f2e5632d1b518e78d182f5d7066020ed4 +EBUILD libtpms-0.8.7.ebuild 1297 BLAKE2B 0a756e5c7642cd78740685a7b2484183d5830855580c3fd408a09e6a3b639d096affc86974a8d8ad27f1318afe658d8ecd40cd41dc4ff47e72d03a57da3ff715 SHA512 f3b689949c3a164ab2e53edfa84c7c5369a51fd2ed205c641a0e17c0652509e7c5db07ba91523a1e60285c7d1295c41b959b1a072381f82c0095c03250afa42d MISC metadata.xml 536 BLAKE2B 75236814e21cb3e98feaa2646ccf680973a71e168d5ccd95cdd12f06214a1b18454cb40b1825df9335e3c4881b7d8d3cffdf03c48dcedd99da4a0dd50d81fe1b SHA512 3abebe84fc62f5082d22e0a3d146a22e7e799d0b1d0f3cfa282aac408ca8c0b8f396f7b081c92aec290037bb7405e672ce7f6f4f8da5b1966a0b4eda8005d721 diff --git a/dev-libs/libtpms/files/libtpms-0.8.0-Remove-WError.patch b/dev-libs/libtpms/files/libtpms-0.8.0-Remove-WError.patch deleted file mode 100644 index 05988734f59a..000000000000 --- a/dev-libs/libtpms/files/libtpms-0.8.0-Remove-WError.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 40d2c7f..809f8e0 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -304,7 +304,7 @@ if test "x$enable_hardening" != "xno"; then - AC_SUBST([HARDENING_LDFLAGS]) - fi - --CFLAGS="$CFLAGS $COVERAGE_CFLAGS -Wall -Werror -Wreturn-type -Wsign-compare -Wno-self-assign" -+CFLAGS="$CFLAGS $COVERAGE_CFLAGS -Wall -Wreturn-type -Wsign-compare -Wno-self-assign" - CFLAGS="$CFLAGS -Wmissing-prototypes" - LDFLAGS="$LDFLAGS $COVERAGE_LDFLAGS" - diff --git a/dev-libs/libtpms/files/libtpms-0.8.7-Remove-WError.patch b/dev-libs/libtpms/files/libtpms-0.8.7-Remove-WError.patch new file mode 100644 index 000000000000..54b7150cfbd1 --- /dev/null +++ b/dev-libs/libtpms/files/libtpms-0.8.7-Remove-WError.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac +index 180bcc0..2efb801 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -311,7 +311,7 @@ if test "x$enable_hardening" != "xno"; then + AC_SUBST([HARDENING_LDFLAGS]) + fi + +-CFLAGS="$CFLAGS $COVERAGE_CFLAGS -Wall -Werror -Wreturn-type -Wsign-compare -Wno-self-assign" ++CFLAGS="$CFLAGS $COVERAGE_CFLAGS -Wall -Wreturn-type -Wsign-compare -Wno-self-assign" + CFLAGS="$CFLAGS -Wmissing-prototypes -Wno-deprecated-declarations" + LDFLAGS="$LDFLAGS $COVERAGE_LDFLAGS" + diff --git a/dev-libs/libtpms/libtpms-0.8.6.ebuild b/dev-libs/libtpms/libtpms-0.8.6.ebuild deleted file mode 100644 index fe5361b4519b..000000000000 --- a/dev-libs/libtpms/libtpms-0.8.6.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Library providing software emultion of a TPM" -HOMEPAGE="https://github.com/stefanberger/libtpms" -SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" - -DEPEND="dev-libs/openssl:=" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-0.8.0-Remove-WError.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --disable-static \ - --with-openssl \ - --with-tpm2 -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 0.8.0; then - elog "Versions of libtpms prior to 0.8.0 generate weaker than expected TPM 2.0 RSA" - elog "keys due to a flawed key creation algorithm. Because fixing this would render" - elog "existing sealed data inaccessible, to use the corrected algorithm, the old" - elog "TPM state file must be deleted and a new TPM state file created. Data still" - elog "sealed using the old state file will be permanently inaccessible. For the" - elog "details see https://github.com/stefanberger/libtpms/issues/183" - fi -} diff --git a/dev-libs/libtpms/libtpms-0.8.7.ebuild b/dev-libs/libtpms/libtpms-0.8.7.ebuild new file mode 100644 index 000000000000..3e913f4e034d --- /dev/null +++ b/dev-libs/libtpms/libtpms-0.8.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library providing software emultion of a TPM" +HOMEPAGE="https://github.com/stefanberger/libtpms" +SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + +DEPEND="dev-libs/openssl:=" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-0.8.7-Remove-WError.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --with-openssl +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 0.8.0; then + elog "Versions of libtpms prior to 0.8.0 generate weaker than expected TPM 2.0 RSA" + elog "keys due to a flawed key creation algorithm. Because fixing this would render" + elog "existing sealed data inaccessible, to use the corrected algorithm, the old" + elog "TPM state file must be deleted and a new TPM state file created. Data still" + elog "sealed using the old state file will be permanently inaccessible. For the" + elog "details see https://github.com/stefanberger/libtpms/issues/183" + fi +} -- cgit v1.2.3