diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-12 21:55:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-12 21:55:15 +0000 |
commit | 7218e1b46bceac05841e90472501742d905fb3fc (patch) | |
tree | 56fae051db521b8fce8014cbc8b11484885b14b3 /dev-libs/libtpms | |
parent | 6d691ad5b6239929063441bbd14c489e92e7396e (diff) |
gentoo resync : 12.03.2021
Diffstat (limited to 'dev-libs/libtpms')
-rw-r--r-- | dev-libs/libtpms/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/libtpms/files/libtpms-0.8.0-Remove-WError.patch (renamed from dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch) | 6 | ||||
-rw-r--r-- | dev-libs/libtpms/libtpms-0.8.2.ebuild (renamed from dev-libs/libtpms/libtpms-0.7.4.ebuild) | 13 |
3 files changed, 17 insertions, 8 deletions
diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest index 51120026417d..4dba74baa762 100644 --- a/dev-libs/libtpms/Manifest +++ b/dev-libs/libtpms/Manifest @@ -1,4 +1,4 @@ -AUX libtpms-0.7.3-Remove-WError.patch 479 BLAKE2B b0cf706227212f8cdf15b41ae516cb436ae21248454251121778c785a09ff98ac844ddabd5bbf4426020c7f5925c5cc1d3913af4dcc37f0d0c6beb136ff28a84 SHA512 b69c13d8c30fce436cecc091bc1bf201ed0ca049fd1f4a48af24b9cad7e7fdf8f7eff951c941ab0e93a94783e680ba3c7ab139e7283297d325ee016984787534 -DIST libtpms-0.7.4.tar.gz 1212986 BLAKE2B ff34a9c35167a251eb8ba222255f6be316503d67dde7fba46b6cbc32a1f4eb5ff5a2bb5f0c21963b8d879481f6f4b09646e8e0c5fcddb12cb73309c47505070f SHA512 5a396a7e8273bed1159b0c48d2bf9f02550fed06656240e336778587b7fbe53859dab8f2ba479683e02fedfde4260a9083641be161aec0cb38a605399300997a -EBUILD libtpms-0.7.4.ebuild 742 BLAKE2B 8dbd305866a715b3191cb61db3e9e16a335f89a2d9c5f1c55e11d56cb41818d95c730598c3dd66113321b807e9bc5a1b2bcd9093f139ae1f13aaf5ca455775da SHA512 efebeca4aa086bf63dce3a493959a66326b5be2053a3914c8f914595385f046991c6d23413fa7a3f3ca7aef7849f58bbaa2d53cad258de0ad930d8b50b87d28e +AUX libtpms-0.8.0-Remove-WError.patch 472 BLAKE2B 08bf1379957d35b123180d0e2434ee9f0bb050bb420e3ab176467f517489890491edf12a14d1ed28a6eb6d5adb3d7aabe274870de7ea691a9f53b169c269761c SHA512 2e7dcd146f8ac438c574ac662c513a95f4d99277c7123b86f633ea1b4c2d3c8dc758f4675258c519b6b1449cfe6f3573eb13241b7b255d09967965627eddf997 +DIST libtpms-0.8.2.tar.gz 1253915 BLAKE2B 48281512f2611376f0f3a67a2646fdc406c2d28bfd560a07b23c122a1b4d68c2840c5cd23f41beae4a13eab419e722aed821cecd919ae6219da325724d55e3b3 SHA512 635f1b30265f1752602caefa1fa87f0032e4d38f1b7113137b7e25a85da10e34f89f9d928b960660e9451306807f111ed96c2a11cbb2de4fb4beb7e638f83727 +EBUILD libtpms-0.8.2.ebuild 1253 BLAKE2B df095e423e0020bd75c7507eb49802b077747ee619ff001664905f70f41540fdf93fb485c2cc4095ef77ae5253423bcb07913ce7b4332d2360fef35d29abb305 SHA512 96b9caf1d2c761f93a98926a16edd6be5ec828d4c45142bb1c9bf3de878203af9ef9e952edf405b9864c3ec2f4e041b7e8351ac9875760e7fa5758dc4009a69b MISC metadata.xml 370 BLAKE2B eb4d1a4a8e56cbdcb5b7f86029feb6e2151967f7b4801fbb3a8c2de35840969a4987ca2aada95792cb35ab03702715b1f66fe966c176969de743c64775bed0cb SHA512 5a2f5a0089bb0c54dd36821005a65cbe8c4fd05f1d7e0367eaff02031a39c749e005e5432da334081304af8c55b330b549821819455f1f0919d4525a254ca5c6 diff --git a/dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch b/dev-libs/libtpms/files/libtpms-0.8.0-Remove-WError.patch index fe17f898f5e6..05988734f59a 100644 --- a/dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch +++ b/dev-libs/libtpms/files/libtpms-0.8.0-Remove-WError.patch @@ -1,13 +1,13 @@ diff --git a/configure.ac b/configure.ac -index 1bb45d1..147aa84 100644 +index 40d2c7f..809f8e0 100644 --- a/configure.ac +++ b/configure.ac -@@ -283,7 +283,7 @@ if test "x$enable_hardening" != "xno"; then +@@ -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" - AC_CONFIG_FILES(Makefile \ diff --git a/dev-libs/libtpms/libtpms-0.7.4.ebuild b/dev-libs/libtpms/libtpms-0.8.2.ebuild index e11a466ade7a..49098b44476e 100644 --- a/dev-libs/libtpms/libtpms-0.7.4.ebuild +++ b/dev-libs/libtpms/libtpms-0.8.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,7 @@ DEPEND=" !libressl? ( dev-libs/openssl:0= ) RDEPEND="${DEPEND}" PATCHES=( - "${FILESDIR}/${PN}-0.7.3-Remove-WError.patch" + "${FILESDIR}/${PN}-0.8.0-Remove-WError.patch" ) src_prepare() { @@ -37,3 +37,12 @@ src_install() { default find "${D}" -name '*.la' -delete || die } + +pkg_postinst() { + 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" +} |