[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2026-03-11 Thread Sam James
commit: 0d6c26a7336989252a116ff01fcbac3e74dd982d
Author: Brett A C Sheffield  librecast  net>
AuthorDate: Tue Mar 10 12:19:27 2026 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 11 13:14:04 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d6c26a7

dev-libs/libtpms: drop 0.9.6, 0.10.0, 0.10.0-r1

Bug: https://bugs.gentoo.org/957795
Bug: https://bugs.gentoo.org/968286
Signed-off-by: Brett A C Sheffield  librecast.net>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/284
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/Manifest |  3 --
 dev-libs/libtpms/libtpms-0.10.0-r1.ebuild | 52 ---
 dev-libs/libtpms/libtpms-0.10.0.ebuild| 51 --
 dev-libs/libtpms/libtpms-0.10.1.ebuild| 51 --
 dev-libs/libtpms/libtpms-0.9.6.ebuild | 48 
 5 files changed, 205 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 89fc3843d125..8f7234e46bd9 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,4 +1 @@
-DIST libtpms-0.10.0.tar.gz 1397526 BLAKE2B 
8d05023f5f0fc8dd20cbf5606fa7be391b7dfdc45710c76387c97cef6afb555bd5f0920f73e4578719bdad8e64ba239c14f8c63ed1232c4c3e1b4a80c247b8e0
 SHA512 
a728188c26447656f43298d1475ebccf0f074d9474780a71fc64baf1ac8b6f6569c90e5ad07098dddc711ba1080eef409c1ac5334d054e7f144e48fa21b66df9
-DIST libtpms-0.10.1.tar.gz 1399253 BLAKE2B 
39feead951a84b715e8e4db8cd6eab7f19728c00423df16150c99004230061691cde90fcf7aafc6a5748647ac58cb696b89a709368da4b8f0c684b22321ff1ea
 SHA512 
a1087fb404d199755e38c0c45bd39d3b18686076ec12326e118a0d5c493339ef2a6e4092f451869aa468ff1b69ee024dfdbff9d5c4e0f874c70af3f36d293fe4
 DIST libtpms-0.10.2.tar.gz 1399529 BLAKE2B 
19c881d60f8124b6ffe1622731cf73593a38a683cd0a593445ca93033e927c94e1ba75cd30e2847da2137155934f17f785e7dfb96731596361b7a77476cc5a94
 SHA512 
e30297289a03d4fefb2cdf44654d6f77719a021deb9b721f08d4a23e20706b903ef5e979ba05ad333d052cf35681ba5e143fb883bed0dc37626eca2807d0c01f
-DIST libtpms-0.9.6.tar.gz 1264338 BLAKE2B 
7b127ef370a48214814bb9ad0e8461ed0af21f32ab84f243945980c5e36ba5e374b4de7a83bf9c67c29264609063d48eae2dae83832daed70170bb1ed39eafea
 SHA512 
35f26e4849eb98cd73461aff439c19f77bbbcde9b7661402e3d419354c4dcddd057349c4f7178573f1ceea2e95326498eb9afea3bd48064bbff534fc7f6939c3

diff --git a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
deleted file mode 100644
index c8ebd9ffab69..
--- a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools eapi9-ver
-
-DESCRIPTION="Library providing software emulation 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 ~loong ~ppc ppc64 ~riscv x86"
-
-DEPEND="dev-libs/openssl:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.10.0-Remove-WError.patch"
-   
"${FILESDIR}/${PN}-0.10.0-tpm2-Add-padding-to-OBJECT-for-32bit-targets.patch"
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   # --disable-hardening because it just sets what our toolchain
-   # already does. If the user wants to disable that in their *FLAGS,
-   # or via USE on toolchain packages, honour that.
-   econf \
-   --with-openssl \
-   --disable-hardening
-}
-
-src_install() {
-   default
-   find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-   if ver_replacing -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.10.0.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0.ebuild
deleted file mode 100644
index d6828749e312..
--- a/dev-libs/libtpms/libtpms-0.10.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools eapi9-ver
-
-DESCRIPTION="Library providing software emulation of a TPM"
-HOMEPAGE="https://github.com/stefanberger/libtpms";
-SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> 
${P

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2026-01-07 Thread Eli Schwartz
commit: 923ff8b2d14dfe48ea0367ffe76c79859bcb0923
Author: Eli Schwartz  gentoo  org>
AuthorDate: Thu Jan  8 04:01:18 2026 +
Commit: Eli Schwartz  gentoo  org>
CommitDate: Thu Jan  8 04:01:26 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=923ff8b2

dev-libs/libtpms: Stabilize 0.10.2 ppc64, #968470

Signed-off-by: Eli Schwartz  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.2.ebuild 
b/dev-libs/libtpms/libtpms-0.10.2.ebuild
index 3b389e6d5bca..6690a5eb78ec 100644
--- a/dev-libs/libtpms/libtpms-0.10.2.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.2.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2026-01-07 Thread Eli Schwartz
commit: 4ac8494b042296703b313d3476f380b17e71ea68
Author: Eli Schwartz  gentoo  org>
AuthorDate: Thu Jan  8 02:22:27 2026 +
Commit: Eli Schwartz  gentoo  org>
CommitDate: Thu Jan  8 02:45:55 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac8494b

dev-libs/libtpms: Stabilize 0.10.2 arm64, #968470

Signed-off-by: Eli Schwartz  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.2.ebuild 
b/dev-libs/libtpms/libtpms-0.10.2.ebuild
index eb0cbcd9e429..0d3b68ef28bf 100644
--- a/dev-libs/libtpms/libtpms-0.10.2.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.2.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2026-01-07 Thread Eli Schwartz
commit: 227ba00304a05c81382ef7e725724f2dfada6efc
Author: Eli Schwartz  gentoo  org>
AuthorDate: Thu Jan  8 02:22:28 2026 +
Commit: Eli Schwartz  gentoo  org>
CommitDate: Thu Jan  8 02:45:55 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=227ba003

dev-libs/libtpms: Stabilize 0.10.2 arm, #968470

Signed-off-by: Eli Schwartz  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.2.ebuild 
b/dev-libs/libtpms/libtpms-0.10.2.ebuild
index 0d3b68ef28bf..3b389e6d5bca 100644
--- a/dev-libs/libtpms/libtpms-0.10.2.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.2.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2026-01-07 Thread Sam James
commit: 8a51b3da85bbdd47fddf729ff925a48b5c56d69b
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan  7 20:25:14 2026 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan  7 20:25:14 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a51b3da

dev-libs/libtpms: Stabilize 0.10.2 amd64, #968470

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.2.ebuild 
b/dev-libs/libtpms/libtpms-0.10.2.ebuild
index 01a609b453ff..24be47ec88be 100644
--- a/dev-libs/libtpms/libtpms-0.10.2.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.2.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2026-01-07 Thread Sam James
commit: aeb10eba15d04ec875f6bfa9ae5a95fd6e855892
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan  7 20:25:16 2026 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan  7 20:25:16 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb10eba

dev-libs/libtpms: Stabilize 0.10.2 x86, #968470

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.2.ebuild 
b/dev-libs/libtpms/libtpms-0.10.2.ebuild
index 24be47ec88be..eb0cbcd9e429 100644
--- a/dev-libs/libtpms/libtpms-0.10.2.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.2.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2026-01-03 Thread Sam James
commit: 09cdc263c233c29925fa507de2b4cbc103447ccf
Author: Christopher Byrne  gmail  com>
AuthorDate: Fri Jan  2 20:28:56 2026 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan  4 02:54:40 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09cdc263

dev-libs/libtpms: add 0.10.2

Fixes CVE-2026-21444.

Bug: https://bugs.gentoo.org/968286
Signed-off-by: Christopher Byrne  gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45235
Closes: https://github.com/gentoo/gentoo/pull/45235
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/Manifest  |  1 +
 dev-libs/libtpms/libtpms-0.10.2.ebuild | 51 ++
 2 files changed, 52 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index cefa6f859711..89fc3843d125 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,3 +1,4 @@
 DIST libtpms-0.10.0.tar.gz 1397526 BLAKE2B 
8d05023f5f0fc8dd20cbf5606fa7be391b7dfdc45710c76387c97cef6afb555bd5f0920f73e4578719bdad8e64ba239c14f8c63ed1232c4c3e1b4a80c247b8e0
 SHA512 
a728188c26447656f43298d1475ebccf0f074d9474780a71fc64baf1ac8b6f6569c90e5ad07098dddc711ba1080eef409c1ac5334d054e7f144e48fa21b66df9
 DIST libtpms-0.10.1.tar.gz 1399253 BLAKE2B 
39feead951a84b715e8e4db8cd6eab7f19728c00423df16150c99004230061691cde90fcf7aafc6a5748647ac58cb696b89a709368da4b8f0c684b22321ff1ea
 SHA512 
a1087fb404d199755e38c0c45bd39d3b18686076ec12326e118a0d5c493339ef2a6e4092f451869aa468ff1b69ee024dfdbff9d5c4e0f874c70af3f36d293fe4
+DIST libtpms-0.10.2.tar.gz 1399529 BLAKE2B 
19c881d60f8124b6ffe1622731cf73593a38a683cd0a593445ca93033e927c94e1ba75cd30e2847da2137155934f17f785e7dfb96731596361b7a77476cc5a94
 SHA512 
e30297289a03d4fefb2cdf44654d6f77719a021deb9b721f08d4a23e20706b903ef5e979ba05ad333d052cf35681ba5e143fb883bed0dc37626eca2807d0c01f
 DIST libtpms-0.9.6.tar.gz 1264338 BLAKE2B 
7b127ef370a48214814bb9ad0e8461ed0af21f32ab84f243945980c5e36ba5e374b4de7a83bf9c67c29264609063d48eae2dae83832daed70170bb1ed39eafea
 SHA512 
35f26e4849eb98cd73461aff439c19f77bbbcde9b7661402e3d419354c4dcddd057349c4f7178573f1ceea2e95326498eb9afea3bd48064bbff534fc7f6939c3

diff --git a/dev-libs/libtpms/libtpms-0.10.2.ebuild 
b/dev-libs/libtpms/libtpms-0.10.2.ebuild
new file mode 100644
index ..01a609b453ff
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.10.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools eapi9-ver
+
+DESCRIPTION="Library providing software emulation 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+
+DEPEND="dev-libs/openssl:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.10.0-Remove-WError.patch"
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # --disable-hardening because it just sets what our toolchain
+   # already does. If the user wants to disable that in their *FLAGS,
+   # or via USE on toolchain packages, honour that.
+   econf \
+   --with-openssl \
+   --disable-hardening
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   if ver_replacing -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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-06-20 Thread Sam James
commit: d2f0fd6eefe91af53fd86cabf19bb417b593494a
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 21 03:16:30 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 21 03:16:30 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2f0fd6e

dev-libs/libtpms: Stabilize 0.10.1 arm, #957959

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.1.ebuild
index 404b14d9f22c..d6828749e312 100644
--- a/dev-libs/libtpms/libtpms-0.10.1.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.1.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-06-14 Thread Sam James
commit: fa76b4b10b7a5e4f899489da4abf1e79f1b55a00
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 14 10:05:01 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 14 10:05:01 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa76b4b1

dev-libs/libtpms: Stabilize 0.10.1 x86, #957959

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.1.ebuild
index 8a6f59bec9f7..404b14d9f22c 100644
--- a/dev-libs/libtpms/libtpms-0.10.1.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.1.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-06-14 Thread Sam James
commit: 84331e6094dcfc2123f403564404169125d6a04a
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 14 09:35:44 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 14 09:35:44 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84331e60

dev-libs/libtpms: Stabilize 0.10.1 amd64, #957959

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.1.ebuild
index d0446b6a48ec..8a6f59bec9f7 100644
--- a/dev-libs/libtpms/libtpms-0.10.1.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.1.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-06-12 Thread Sam James
commit: b1a5474e10682a32fe530220cd6b232eb8e85b93
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 12 17:45:40 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 12 17:45:40 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a5474e

dev-libs/libtpms: Stabilize 0.10.1 ppc64, #957959

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.1.ebuild
index 7b61a4912577..d0446b6a48ec 100644
--- a/dev-libs/libtpms/libtpms-0.10.1.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.1.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-06-12 Thread Sam James
commit: 1d8052a7fcfff13f049e148a004dcdd28d3b14bd
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 12 17:45:38 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 12 17:45:38 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d8052a7

dev-libs/libtpms: Stabilize 0.10.1 arm64, #957959

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.1.ebuild
index b5f4099af95a..7b61a4912577 100644
--- a/dev-libs/libtpms/libtpms-0.10.1.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.1.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-06-12 Thread Viorel Munteanu
commit: 4ebcd140e1396af63d577bbb286feb15d6e3dd1b
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Thu Jun 12 10:55:01 2025 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Thu Jun 12 10:58:17 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ebcd140

dev-libs/libtpms: destabilize 0.10.1

Signed-off-by: Viorel Munteanu  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.1.ebuild
index d6828749e312..b5f4099af95a 100644
--- a/dev-libs/libtpms/libtpms-0.10.1.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.1.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ppc64 ~riscv x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-06-12 Thread Viorel Munteanu
commit: 713e0521ed8ebea9cd90d20172274919983dce9a
Author: Christopher Byrne  gmail  com>
AuthorDate: Wed Jun 11 17:38:10 2025 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Thu Jun 12 10:58:17 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=713e0521

dev-libs/libtpms: add 0.10.1

Bug: https://bugs.gentoo.org/957795
Signed-off-by: Christopher Byrne  gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42551
Closes: https://github.com/gentoo/gentoo/pull/42551
Signed-off-by: Viorel Munteanu  gentoo.org>

 dev-libs/libtpms/Manifest  |  1 +
 dev-libs/libtpms/libtpms-0.10.1.ebuild | 51 ++
 2 files changed, 52 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index eabf8c7eadc2..cefa6f859711 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1,3 @@
 DIST libtpms-0.10.0.tar.gz 1397526 BLAKE2B 
8d05023f5f0fc8dd20cbf5606fa7be391b7dfdc45710c76387c97cef6afb555bd5f0920f73e4578719bdad8e64ba239c14f8c63ed1232c4c3e1b4a80c247b8e0
 SHA512 
a728188c26447656f43298d1475ebccf0f074d9474780a71fc64baf1ac8b6f6569c90e5ad07098dddc711ba1080eef409c1ac5334d054e7f144e48fa21b66df9
+DIST libtpms-0.10.1.tar.gz 1399253 BLAKE2B 
39feead951a84b715e8e4db8cd6eab7f19728c00423df16150c99004230061691cde90fcf7aafc6a5748647ac58cb696b89a709368da4b8f0c684b22321ff1ea
 SHA512 
a1087fb404d199755e38c0c45bd39d3b18686076ec12326e118a0d5c493339ef2a6e4092f451869aa468ff1b69ee024dfdbff9d5c4e0f874c70af3f36d293fe4
 DIST libtpms-0.9.6.tar.gz 1264338 BLAKE2B 
7b127ef370a48214814bb9ad0e8461ed0af21f32ab84f243945980c5e36ba5e374b4de7a83bf9c67c29264609063d48eae2dae83832daed70170bb1ed39eafea
 SHA512 
35f26e4849eb98cd73461aff439c19f77bbbcde9b7661402e3d419354c4dcddd057349c4f7178573f1ceea2e95326498eb9afea3bd48064bbff534fc7f6939c3

diff --git a/dev-libs/libtpms/libtpms-0.10.1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.1.ebuild
new file mode 100644
index ..d6828749e312
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.10.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools eapi9-ver
+
+DESCRIPTION="Library providing software emulation 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 ~loong ~ppc ppc64 ~riscv x86"
+
+DEPEND="dev-libs/openssl:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.10.0-Remove-WError.patch"
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # --disable-hardening because it just sets what our toolchain
+   # already does. If the user wants to disable that in their *FLAGS,
+   # or via USE on toolchain packages, honour that.
+   econf \
+   --with-openssl \
+   --disable-hardening
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   if ver_replacing -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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-04-26 Thread Arthur Zamarin
commit: 1147870e2a604dfd176963b58bfde05dcd63b541
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 26 19:11:16 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 26 19:11:16 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1147870e

dev-libs/libtpms: Stabilize 0.10.0-r1 amd64, #954565

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
index 97f46e2f67ec..c8ebd9ffab69 100644
--- a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-04-26 Thread Sam James
commit: 2c120f1ba6acd5bc9a95b9366a04ad177b24bd82
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 26 10:54:02 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 26 10:54:02 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c120f1b

dev-libs/libtpms: Stabilize 0.10.0-r1 x86, #954565

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
index cb34313bd7e6..97f46e2f67ec 100644
--- a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-04-25 Thread Arthur Zamarin
commit: c229d5faf043565e7c57154d0cd9a030405f22c7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 26 06:09:07 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 26 06:09:07 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c229d5fa

dev-libs/libtpms: Stabilize 0.10.0-r1 ppc64, #954565

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
index b9f16acd6908..cb34313bd7e6 100644
--- a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-04-25 Thread Sam James
commit: 959345fc89659487680e053873ba64ee16e70632
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 26 04:11:11 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 26 04:11:11 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=959345fc

dev-libs/libtpms: Stabilize 0.10.0-r1 arm64, #954565

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
index c049f4c9eeb5..b9f16acd6908 100644
--- a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-04-25 Thread Sam James
commit: 4ea19862fff5fd6e1333e50a6bc40af40d80973a
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 26 04:09:46 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 26 04:09:46 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea19862

dev-libs/libtpms: Stabilize 0.10.0-r1 arm, #954565

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
index 6bb387ee03b5..c049f4c9eeb5 100644
--- a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/files/, dev-libs/libtpms/

2025-02-25 Thread Sam James
commit: 7dffb121b44164c788806b71c16fec40f39754d1
Author: Christopher Byrne  gmail  com>
AuthorDate: Tue Feb 25 00:36:04 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 25 04:14:47 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dffb121

dev-libs/libtpms: Fix nvram_offsets test on 32-bit platforms

Closes: https://bugs.gentoo.org/948139
Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40742
Signed-off-by: Sam James  gentoo.org>

 ...2-Add-padding-to-OBJECT-for-32bit-targets.patch | 32 +
 dev-libs/libtpms/libtpms-0.10.0-r1.ebuild  | 52 ++
 2 files changed, 84 insertions(+)

diff --git 
a/dev-libs/libtpms/files/libtpms-0.10.0-tpm2-Add-padding-to-OBJECT-for-32bit-targets.patch
 
b/dev-libs/libtpms/files/libtpms-0.10.0-tpm2-Add-padding-to-OBJECT-for-32bit-targets.patch
new file mode 100644
index ..d9a3c17b57fb
--- /dev/null
+++ 
b/dev-libs/libtpms/files/libtpms-0.10.0-tpm2-Add-padding-to-OBJECT-for-32bit-targets.patch
@@ -0,0 +1,32 @@
+Bug: https://bugs.gentoo.org/948139
+
+From 095a085b6f447551110e09b2013c6a21c2a29f2d Mon Sep 17 00:00:00 2001
+From: Stefan Berger 
+Date: Fri, 15 Nov 2024 08:07:23 -0500
+Subject: [PATCH] tpm2: Add padding to OBJECT for 32bit targets
+
+The nvram_offsets test fails on 32bit targets due to an unexpected size
+of an OBJECT. This was due to missing padding.
+
+Signed-off-by: Stefan Berger 
+---
+ src/tpm2/Global.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/tpm2/Global.h b/src/tpm2/Global.h
+index 910b940..c4d7176 100644
+--- a/src/tpm2/Global.h
 b/src/tpm2/Global.h
+@@ -265,6 +265,9 @@ typedef struct OBJECT
+ // this field carries additional metadata
+ // needed to derive the proof value for
+ // the object.
++#if __LONG_WIDTH__ == 32
++UINT8   _pad1[4]; /* 32 bit targets need padding */
++#endif
+ 
+ // libtpms added: SEED_COMPAT_LEVEL to use for deriving child keys
+ SEED_COMPAT_LEVEL   seedCompatLevel;
+-- 
+2.45.3
+

diff --git a/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
new file mode 100644
index ..6bb387ee03b5
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.10.0-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools eapi9-ver
+
+DESCRIPTION="Library providing software emulation 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+
+DEPEND="dev-libs/openssl:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.10.0-Remove-WError.patch"
+   
"${FILESDIR}/${PN}-0.10.0-tpm2-Add-padding-to-OBJECT-for-32bit-targets.patch"
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # --disable-hardening because it just sets what our toolchain
+   # already does. If the user wants to disable that in their *FLAGS,
+   # or via USE on toolchain packages, honour that.
+   econf \
+   --with-openssl \
+   --disable-hardening
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   if ver_replacing -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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-02-22 Thread Ulrich Müller
commit: 64c641204a261616d7a855b80ff1c6f89658fc2c
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Feb 14 16:16:40 2025 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Feb 22 07:57:50 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c64120

dev-libs/libtpms: Fix incorrect REPLACING_VERSIONS usage

Signed-off-by: Ulrich Müller  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.0.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0.ebuild
index c8d8fd24e619..d6828749e312 100644
--- a/dev-libs/libtpms/libtpms-0.10.0.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools
+inherit autotools eapi9-ver
 
 DESCRIPTION="Library providing software emulation of a TPM"
 HOMEPAGE="https://github.com/stefanberger/libtpms";
@@ -40,7 +40,7 @@ src_install() {
 }
 
 pkg_postinst() {
-   if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 
0.8.0; then
+   if ver_replacing -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"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-01-05 Thread Sam James
commit: c3f986e211feb65141696bd61a76b0dadf5412cb
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  6 04:16:07 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  6 04:16:07 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3f986e2

dev-libs/libtpms: Stabilize 0.10.0 x86, #947578

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.0.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0.ebuild
index ee0c84dad04d..a44e38dd85ed 100644
--- a/dev-libs/libtpms/libtpms-0.10.0.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.0.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-01-05 Thread Sam James
commit: 2e515aa3143a06036726c2e20408381c0337ca53
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  6 03:35:32 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  6 03:35:32 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e515aa3

dev-libs/libtpms: Stabilize 0.10.0 amd64, #947578

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.0.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0.ebuild
index 5644807a7787..ee0c84dad04d 100644
--- a/dev-libs/libtpms/libtpms-0.10.0.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.0.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-01-05 Thread Sam James
commit: f604dfdcd8a1ba4c973310015d46039960950fe5
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  6 03:32:32 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  6 03:32:32 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f604dfdc

dev-libs/libtpms: Stabilize 0.10.0 ppc64, #947578

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.0.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0.ebuild
index c3ecb44b4b6b..5644807a7787 100644
--- a/dev-libs/libtpms/libtpms-0.10.0.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.0.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-01-05 Thread Sam James
commit: 80248f8e6cea00056e0d0c0097bc9d472d7c8666
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  6 03:28:09 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  6 03:28:13 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80248f8e

dev-libs/libtpms: update DESCRIPTION (fix typo)

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.0.ebuild | 2 +-
 dev-libs/libtpms/libtpms-0.9.6.ebuild  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.0.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0.ebuild
index c30b819c2b66..c3ecb44b4b6b 100644
--- a/dev-libs/libtpms/libtpms-0.10.0.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 inherit autotools
 
-DESCRIPTION="Library providing software emultion of a TPM"
+DESCRIPTION="Library providing software emulation 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"

diff --git a/dev-libs/libtpms/libtpms-0.9.6.ebuild 
b/dev-libs/libtpms/libtpms-0.9.6.ebuild
index b78b99d4a24a..5dda33f6cd23 100644
--- a/dev-libs/libtpms/libtpms-0.9.6.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.6.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 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"
+DESCRIPTION="Library providing software emulation 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"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-01-05 Thread Sam James
commit: f421034bb08d374bcba520e9c10b43c4d203405e
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  6 03:24:17 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  6 03:24:17 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f421034b

dev-libs/libtpms: Stabilize 0.10.0 arm64, #947578

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.0.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0.ebuild
index d49f427900cd..c30b819c2b66 100644
--- a/dev-libs/libtpms/libtpms-0.10.0.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.0.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2025-01-05 Thread Sam James
commit: 02b986feec259644d74513da8cb6f079e881697c
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  6 03:24:16 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  6 03:24:16 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b986fe

dev-libs/libtpms: Stabilize 0.10.0 arm, #947578

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.10.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libtpms/libtpms-0.10.0.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0.ebuild
index e7a56cee6fd5..d49f427900cd 100644
--- a/dev-libs/libtpms/libtpms-0.10.0.ebuild
+++ b/dev-libs/libtpms/libtpms-0.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/, dev-libs/libtpms/files/

2024-11-23 Thread Sam James
commit: 2f59830928d528f1935dafa4906554bdc9d79425
Author: Christopher Byrne  gmail  com>
AuthorDate: Thu Nov 14 17:30:24 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 23 19:48:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f598309

dev-libs/libtpms: add 0.10.0

Signed-off-by: Christopher Byrne  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/Manifest  |  1 +
 .../files/libtpms-0.10.0-Remove-WError.patch   | 13 ++
 dev-libs/libtpms/libtpms-0.10.0.ebuild | 47 ++
 3 files changed, 61 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index b2530480bc0a..eabf8c7eadc2 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
+DIST libtpms-0.10.0.tar.gz 1397526 BLAKE2B 
8d05023f5f0fc8dd20cbf5606fa7be391b7dfdc45710c76387c97cef6afb555bd5f0920f73e4578719bdad8e64ba239c14f8c63ed1232c4c3e1b4a80c247b8e0
 SHA512 
a728188c26447656f43298d1475ebccf0f074d9474780a71fc64baf1ac8b6f6569c90e5ad07098dddc711ba1080eef409c1ac5334d054e7f144e48fa21b66df9
 DIST libtpms-0.9.6.tar.gz 1264338 BLAKE2B 
7b127ef370a48214814bb9ad0e8461ed0af21f32ab84f243945980c5e36ba5e374b4de7a83bf9c67c29264609063d48eae2dae83832daed70170bb1ed39eafea
 SHA512 
35f26e4849eb98cd73461aff439c19f77bbbcde9b7661402e3d419354c4dcddd057349c4f7178573f1ceea2e95326498eb9afea3bd48064bbff534fc7f6939c3

diff --git a/dev-libs/libtpms/files/libtpms-0.10.0-Remove-WError.patch 
b/dev-libs/libtpms/files/libtpms-0.10.0-Remove-WError.patch
new file mode 100644
index ..1516dbe48bcc
--- /dev/null
+++ b/dev-libs/libtpms/files/libtpms-0.10.0-Remove-WError.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 6fe0b21..5c0ca29 100644
+--- a/configure.ac
 b/configure.ac
+@@ -349,7 +349,7 @@ if test "x$enable_hardening" != "xno"; then
+   AC_SUBST([HARDENING_LDFLAGS])
+ fi
+ 
+-AM_CFLAGS="$CFLAGS $COVERAGE_CFLAGS -Wall -Werror -Wshadow -Wreturn-type 
-Wsign-compare -Wno-self-assign -Wmissing-prototypes"
++AM_CFLAGS="$CFLAGS $COVERAGE_CFLAGS -Wall -Wshadow -Wreturn-type 
-Wsign-compare -Wno-self-assign -Wmissing-prototypes"
+ AM_CFLAGS="$AM_CFLAGS"
+ AM_LDFLAGS="$LDFLAGS $COVERAGE_LDFLAGS"
+ 

diff --git a/dev-libs/libtpms/libtpms-0.10.0.ebuild 
b/dev-libs/libtpms/libtpms-0.10.0.ebuild
new file mode 100644
index ..e7a56cee6fd5
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.10.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+
+DEPEND="dev-libs/openssl:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.10.0-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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2023-04-18 Thread John Helmert III
commit: ecb866a1c0c6d1136257f3d4abb1d45638d15480
Author: John Helmert III  gentoo  org>
AuthorDate: Wed Apr 19 04:28:45 2023 +
Commit: John Helmert III  gentoo  org>
CommitDate: Wed Apr 19 04:28:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecb866a1

dev-libs/libtpms: drop 0.9.4, 0.9.5

Bug: https://bugs.gentoo.org/898504
Signed-off-by: John Helmert III  gentoo.org>

 dev-libs/libtpms/Manifest |  2 --
 dev-libs/libtpms/libtpms-0.9.4.ebuild | 47 --
 dev-libs/libtpms/libtpms-0.9.5.ebuild | 48 ---
 3 files changed, 97 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index f12b36ff8c9b..b2530480bc0a 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,3 +1 @@
-DIST libtpms-0.9.4.tar.gz 1264030 BLAKE2B 
56731b913145afcd49fae13f0fcbe4fc147edf206a44849cef45ed34a7644f0894bb6ab5dcb72d620eb1ab121bf4e821fe7893557508af394585171133d659e2
 SHA512 
ae3e2613bc31d98c10def546c70d0c25bd1246af5090268afa0411502bfd0e454967046ebcd9025350976817441e595fa4e21562f800285db98331e4c2743505
-DIST libtpms-0.9.5.tar.gz 1264086 BLAKE2B 
3e6da08dd31414bdf19260f47fce6ba7ace0ae72b152b681f1c1fbc9d75b7708238e5c2a161827c7a6e2b9a6ae4786dfbf921ec37b9f0b7c044835c974a111a3
 SHA512 
96b8d6dd66a6c4bc7b72d172d0b75444c7725a7fb5b0f792cd1cff9d8f7ec894c51e94493816f033198cc8adf2f95cf473629431dadb70b423068d834de09e21
 DIST libtpms-0.9.6.tar.gz 1264338 BLAKE2B 
7b127ef370a48214814bb9ad0e8461ed0af21f32ab84f243945980c5e36ba5e374b4de7a83bf9c67c29264609063d48eae2dae83832daed70170bb1ed39eafea
 SHA512 
35f26e4849eb98cd73461aff439c19f77bbbcde9b7661402e3d419354c4dcddd057349c4f7178573f1ceea2e95326498eb9afea3bd48064bbff534fc7f6939c3

diff --git a/dev-libs/libtpms/libtpms-0.9.4.ebuild 
b/dev-libs/libtpms/libtpms-0.9.4.ebuild
deleted file mode 100644
index 3b5f046772a9..
--- a/dev-libs/libtpms/libtpms-0.9.4.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2022 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 ~riscv x86"
-
-DEPEND="dev-libs/openssl:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.9.0-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
-}

diff --git a/dev-libs/libtpms/libtpms-0.9.5.ebuild 
b/dev-libs/libtpms/libtpms-0.9.5.ebuild
deleted file mode 100644
index b78b99d4a24a..
--- a/dev-libs/libtpms/libtpms-0.9.5.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2023 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 ~loong ~ppc ppc64 ~riscv x86"
-
-DEPEND="dev-libs/openssl:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.9.0-Remove-WError.patch"
-   "${FILESDIR}/${PN}-0.9.5-slibtool.patch" # 858671
-)
-
-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"
- 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2023-03-30 Thread Arthur Zamarin
commit: 156ee6bf38f6a5ed0b7f4a513903b3db952667ea
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 30 17:17:44 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 30 17:17:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=156ee6bf

dev-libs/libtpms: Stabilize 0.9.5 x86, #895170

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.5.ebuild 
b/dev-libs/libtpms/libtpms-0.9.5.ebuild
index cd94466b5655..b78b99d4a24a 100644
--- a/dev-libs/libtpms/libtpms-0.9.5.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.5.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2023-03-17 Thread Arthur Zamarin
commit: 7150fce48ab73844fbf4dcd06322c8b7de44f6d6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 17 11:44:44 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 17 11:44:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7150fce4

dev-libs/libtpms: Stabilize 0.9.6 arm, #901383

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.6.ebuild 
b/dev-libs/libtpms/libtpms-0.9.6.ebuild
index 4acf0310384b..1f6096095608 100644
--- a/dev-libs/libtpms/libtpms-0.9.6.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.6.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2023-03-17 Thread Arthur Zamarin
commit: 6fb91439ebcb9e6b7228a0e98beaadcd37cf36f4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 17 11:38:23 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 17 11:38:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb91439

dev-libs/libtpms: Stabilize 0.9.6 ppc64, #901383

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.6.ebuild 
b/dev-libs/libtpms/libtpms-0.9.6.ebuild
index c8bc1b7946c2..4acf0310384b 100644
--- a/dev-libs/libtpms/libtpms-0.9.6.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.6.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2023-03-17 Thread Arthur Zamarin
commit: 02592f870118bbd8ac585fb2638db8367744ee1e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 17 09:04:00 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 17 09:04:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02592f87

dev-libs/libtpms: Stabilize 0.9.6 arm64, #901383

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.6.ebuild 
b/dev-libs/libtpms/libtpms-0.9.6.ebuild
index 79acc47b57eb..c8bc1b7946c2 100644
--- a/dev-libs/libtpms/libtpms-0.9.6.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.6.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2023-03-11 Thread Sam James
commit: 23a58fcc488cbf098048cc82d65461c05ef629c0
Author: Christopher Byrne  gmail  com>
AuthorDate: Tue Feb 28 23:52:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 11 17:15:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a58fcc

dev-libs/libtpms: add 0.9.6

Bug: https://bugs.gentoo.org/898504
Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29913
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.9.6.ebuild | 48 +++
 dev-libs/libtpms/metadata.xml |  3 +++
 3 files changed, 52 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index cdb18c0fe3a7..f12b36ff8c9b 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1,3 @@
 DIST libtpms-0.9.4.tar.gz 1264030 BLAKE2B 
56731b913145afcd49fae13f0fcbe4fc147edf206a44849cef45ed34a7644f0894bb6ab5dcb72d620eb1ab121bf4e821fe7893557508af394585171133d659e2
 SHA512 
ae3e2613bc31d98c10def546c70d0c25bd1246af5090268afa0411502bfd0e454967046ebcd9025350976817441e595fa4e21562f800285db98331e4c2743505
 DIST libtpms-0.9.5.tar.gz 1264086 BLAKE2B 
3e6da08dd31414bdf19260f47fce6ba7ace0ae72b152b681f1c1fbc9d75b7708238e5c2a161827c7a6e2b9a6ae4786dfbf921ec37b9f0b7c044835c974a111a3
 SHA512 
96b8d6dd66a6c4bc7b72d172d0b75444c7725a7fb5b0f792cd1cff9d8f7ec894c51e94493816f033198cc8adf2f95cf473629431dadb70b423068d834de09e21
+DIST libtpms-0.9.6.tar.gz 1264338 BLAKE2B 
7b127ef370a48214814bb9ad0e8461ed0af21f32ab84f243945980c5e36ba5e374b4de7a83bf9c67c29264609063d48eae2dae83832daed70170bb1ed39eafea
 SHA512 
35f26e4849eb98cd73461aff439c19f77bbbcde9b7661402e3d419354c4dcddd057349c4f7178573f1ceea2e95326498eb9afea3bd48064bbff534fc7f6939c3

diff --git a/dev-libs/libtpms/libtpms-0.9.6.ebuild 
b/dev-libs/libtpms/libtpms-0.9.6.ebuild
new file mode 100644
index ..79acc47b57eb
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.9.6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+
+DEPEND="dev-libs/openssl:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.9.0-Remove-WError.patch"
+   "${FILESDIR}/${PN}-0.9.5-slibtool.patch" # 858671
+)
+
+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
+}

diff --git a/dev-libs/libtpms/metadata.xml b/dev-libs/libtpms/metadata.xml
index b22f99269a84..655ec184708d 100644
--- a/dev-libs/libtpms/metadata.xml
+++ b/dev-libs/libtpms/metadata.xml
@@ -13,4 +13,7 @@
[email protected]
Gentoo Virtualization Project

+   
+   stefanberger/libtpms
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2023-02-20 Thread Arthur Zamarin
commit: 251b762e08bc2e7b9f31a207cbf85d62f7c5667c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Feb 20 14:47:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Feb 20 14:47:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=251b762e

dev-libs/libtpms: Stabilize 0.9.5 arm64, #895170

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.5.ebuild 
b/dev-libs/libtpms/libtpms-0.9.5.ebuild
index d5f2dfda6e28..cd94466b5655 100644
--- a/dev-libs/libtpms/libtpms-0.9.5.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.5.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2023-02-20 Thread Sam James
commit: 32d8cbee1ef47274c0deb0cad8a7411af6d458aa
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 20 13:49:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 20 13:49:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32d8cbee

dev-libs/libtpms: Stabilize 0.9.5 arm, #895170

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.5.ebuild 
b/dev-libs/libtpms/libtpms-0.9.5.ebuild
index 8084c421d04c..d5f2dfda6e28 100644
--- a/dev-libs/libtpms/libtpms-0.9.5.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.5.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2023-02-20 Thread Sam James
commit: 50cf6236319524c0430141db9cc9ae4119506334
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 20 13:49:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 20 13:49:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50cf6236

dev-libs/libtpms: Stabilize 0.9.5 ppc64, #895170

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.5.ebuild 
b/dev-libs/libtpms/libtpms-0.9.5.ebuild
index 4a6783406a19..8084c421d04c 100644
--- a/dev-libs/libtpms/libtpms-0.9.5.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.5.ebuild
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2023-02-20 Thread Joonas Niilola
commit: c0508a2e960f495ea5c7c527c8c039baa5c8bf64
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Feb 20 09:38:59 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 20 09:39:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0508a2e

dev-libs/libtpms: Stabilize 0.9.5 amd64, #895170

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.5.ebuild 
b/dev-libs/libtpms/libtpms-0.9.5.ebuild
index cebb18cc9148..4a6783406a19 100644
--- a/dev-libs/libtpms/libtpms-0.9.5.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ 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 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2022-07-09 Thread Matthew Smith
commit: 0bfbb814409fc9204f3bc39421cd148ad2319420
Author: Christopher Byrne  gmail  com>
AuthorDate: Mon Jul  4 18:38:42 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sat Jul  9 12:26:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bfbb814

dev-libs/libtpms: add 0.9.5

Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26222
Signed-off-by: Matthew Smith  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.9.5.ebuild | 47 +++
 2 files changed, 48 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index a74cf7c93759..cdb18c0fe3a7 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
 DIST libtpms-0.9.4.tar.gz 1264030 BLAKE2B 
56731b913145afcd49fae13f0fcbe4fc147edf206a44849cef45ed34a7644f0894bb6ab5dcb72d620eb1ab121bf4e821fe7893557508af394585171133d659e2
 SHA512 
ae3e2613bc31d98c10def546c70d0c25bd1246af5090268afa0411502bfd0e454967046ebcd9025350976817441e595fa4e21562f800285db98331e4c2743505
+DIST libtpms-0.9.5.tar.gz 1264086 BLAKE2B 
3e6da08dd31414bdf19260f47fce6ba7ace0ae72b152b681f1c1fbc9d75b7708238e5c2a161827c7a6e2b9a6ae4786dfbf921ec37b9f0b7c044835c974a111a3
 SHA512 
96b8d6dd66a6c4bc7b72d172d0b75444c7725a7fb5b0f792cd1cff9d8f7ec894c51e94493816f033198cc8adf2f95cf473629431dadb70b423068d834de09e21

diff --git a/dev-libs/libtpms/libtpms-0.9.5.ebuild 
b/dev-libs/libtpms/libtpms-0.9.5.ebuild
new file mode 100644
index ..fc15af9bf0f4
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.9.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 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 ~riscv ~x86"
+
+DEPEND="dev-libs/openssl:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.9.0-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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2022-05-20 Thread Agostino Sarubbo
commit: 8fdcc3ea4ea1e041a7388a99e01ce8ad5d9a621d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 20 09:17:02 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 20 09:17:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fdcc3ea

dev-libs/libtpms: arm64 stable wrt bug #843800

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.4.ebuild 
b/dev-libs/libtpms/libtpms-0.9.4.ebuild
index d114a2f1724e..3b5f046772a9 100644
--- a/dev-libs/libtpms/libtpms-0.9.4.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.4.ebuild
@@ -10,7 +10,7 @@ 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 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2022-05-19 Thread Agostino Sarubbo
commit: 8dcb11014f306e07bcce1e05577b7f035f1ff97e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu May 19 09:27:47 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu May 19 09:27:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dcb1101

dev-libs/libtpms: arm stable wrt bug #843800

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.4.ebuild 
b/dev-libs/libtpms/libtpms-0.9.4.ebuild
index 44a014fe0741..d114a2f1724e 100644
--- a/dev-libs/libtpms/libtpms-0.9.4.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.4.ebuild
@@ -10,7 +10,7 @@ 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 ~riscv x86"
+KEYWORDS="amd64 arm ~arm64 ~ppc ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2022-05-17 Thread Agostino Sarubbo
commit: 1e50397f7bc87910a2e89e4dbd52e2ea2fc17f86
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May 17 12:38:14 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May 17 12:38:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e50397f

dev-libs/libtpms: ppc64 stable wrt bug #843800

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.4.ebuild 
b/dev-libs/libtpms/libtpms-0.9.4.ebuild
index 3027b76d088a..44a014fe0741 100644
--- a/dev-libs/libtpms/libtpms-0.9.4.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.4.ebuild
@@ -10,7 +10,7 @@ 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 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2022-05-17 Thread Agostino Sarubbo
commit: 670f7fce513b2e047f3e23aa372318d5430277f9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May 17 12:37:38 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May 17 12:37:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=670f7fce

dev-libs/libtpms: amd64 stable wrt bug #843800

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.4.ebuild 
b/dev-libs/libtpms/libtpms-0.9.4.ebuild
index f7b1c7ab7d20..3027b76d088a 100644
--- a/dev-libs/libtpms/libtpms-0.9.4.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.4.ebuild
@@ -10,7 +10,7 @@ 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 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2022-05-17 Thread Agostino Sarubbo
commit: 1e112d67965719132e1e847746c3a18c03d22f78
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May 17 09:58:57 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May 17 09:58:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e112d67

dev-libs/libtpms: x86 stable wrt bug #843800

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.4.ebuild 
b/dev-libs/libtpms/libtpms-0.9.4.ebuild
index fc15af9bf0f4..f7b1c7ab7d20 100644
--- a/dev-libs/libtpms/libtpms-0.9.4.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.4.ebuild
@@ -10,7 +10,7 @@ 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 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2022-04-27 Thread Joonas Niilola
commit: 3f2ed76012951719bfa73216b6a56c68a6fa079e
Author: Christopher Byrne  gmail  com>
AuthorDate: Mon Apr 25 21:22:35 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Apr 27 09:41:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f2ed760

dev-libs/libtpms: drop 0.9.3

Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25203
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 -
 dev-libs/libtpms/libtpms-0.9.3.ebuild | 47 ---
 2 files changed, 48 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 1daa4b399f98..a74cf7c93759 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1 @@
-DIST libtpms-0.9.3.tar.gz 1263192 BLAKE2B 
a58cc2f76775f0a0a266cf6da898d6c8e310998c201dc47a802d67fc07dbe1632a68e81b78da68a6350e1d64727c7b47154479b4d9bc19a55324a2d881cad94f
 SHA512 
8616c712f958c28a415b0a97a3a24f439f757682c4b60642584eb13e4ab2d7895838e8e6e57936ff583259506f9b379ec47c76d5780c1b257f25513a5911c3cb
 DIST libtpms-0.9.4.tar.gz 1264030 BLAKE2B 
56731b913145afcd49fae13f0fcbe4fc147edf206a44849cef45ed34a7644f0894bb6ab5dcb72d620eb1ab121bf4e821fe7893557508af394585171133d659e2
 SHA512 
ae3e2613bc31d98c10def546c70d0c25bd1246af5090268afa0411502bfd0e454967046ebcd9025350976817441e595fa4e21562f800285db98331e4c2743505

diff --git a/dev-libs/libtpms/libtpms-0.9.3.ebuild 
b/dev-libs/libtpms/libtpms-0.9.3.ebuild
deleted file mode 100644
index fc15af9bf0f4..
--- a/dev-libs/libtpms/libtpms-0.9.3.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2022 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 ~riscv ~x86"
-
-DEPEND="dev-libs/openssl:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.9.0-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2022-04-27 Thread Joonas Niilola
commit: e40f9c59e293df44f1cae8ac2a28d7efec9fdd15
Author: Christopher Byrne  gmail  com>
AuthorDate: Mon Apr 25 21:21:17 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Apr 27 09:41:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e40f9c59

dev-libs/libtpms: add 0.9.4

Signed-off-by: Christopher Byrne  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.9.4.ebuild | 47 +++
 2 files changed, 48 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 90ac3d3e08ab..1daa4b399f98 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
 DIST libtpms-0.9.3.tar.gz 1263192 BLAKE2B 
a58cc2f76775f0a0a266cf6da898d6c8e310998c201dc47a802d67fc07dbe1632a68e81b78da68a6350e1d64727c7b47154479b4d9bc19a55324a2d881cad94f
 SHA512 
8616c712f958c28a415b0a97a3a24f439f757682c4b60642584eb13e4ab2d7895838e8e6e57936ff583259506f9b379ec47c76d5780c1b257f25513a5911c3cb
+DIST libtpms-0.9.4.tar.gz 1264030 BLAKE2B 
56731b913145afcd49fae13f0fcbe4fc147edf206a44849cef45ed34a7644f0894bb6ab5dcb72d620eb1ab121bf4e821fe7893557508af394585171133d659e2
 SHA512 
ae3e2613bc31d98c10def546c70d0c25bd1246af5090268afa0411502bfd0e454967046ebcd9025350976817441e595fa4e21562f800285db98331e4c2743505

diff --git a/dev-libs/libtpms/libtpms-0.9.4.ebuild 
b/dev-libs/libtpms/libtpms-0.9.4.ebuild
new file mode 100644
index ..fc15af9bf0f4
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.9.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 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 ~riscv ~x86"
+
+DEPEND="dev-libs/openssl:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.9.0-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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2022-03-10 Thread Ionen Wolkens
commit: 9a1826f282ffdd96649015da88f4ef128605be81
Author: Christopher Byrne  gmail  com>
AuthorDate: Tue Mar  8 23:07:11 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Mar 11 00:03:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1826f2

dev-libs/libtpms: Remove old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24457
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/libtpms/Manifest |  1 -
 dev-libs/libtpms/libtpms-0.9.1.ebuild | 47 ---
 2 files changed, 48 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 9be59aa15f5f..90ac3d3e08ab 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1 @@
-DIST libtpms-0.9.1.tar.gz 1261528 BLAKE2B 
8a81fbea7dff44fe55da048f5121511c22ce264aaa64778ec28b6e55be64677f46f8266bed9edaeb57605ccede755ddfa7463a10e8fc806a86ea09d7a1f9283e
 SHA512 
15ae14bca4ac24391ba06accae37d7e914e410ac9dc1aeae0743295371c9a0e0851f191c55bffb765cb731e8d397188be6441d2b6c1f5011b56a354428c4dad1
 DIST libtpms-0.9.3.tar.gz 1263192 BLAKE2B 
a58cc2f76775f0a0a266cf6da898d6c8e310998c201dc47a802d67fc07dbe1632a68e81b78da68a6350e1d64727c7b47154479b4d9bc19a55324a2d881cad94f
 SHA512 
8616c712f958c28a415b0a97a3a24f439f757682c4b60642584eb13e4ab2d7895838e8e6e57936ff583259506f9b379ec47c76d5780c1b257f25513a5911c3cb

diff --git a/dev-libs/libtpms/libtpms-0.9.1.ebuild 
b/dev-libs/libtpms/libtpms-0.9.1.ebuild
deleted file mode 100644
index fc15af9bf0f4..
--- a/dev-libs/libtpms/libtpms-0.9.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2022 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 ~riscv ~x86"
-
-DEPEND="dev-libs/openssl:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.9.0-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2022-03-10 Thread Ionen Wolkens
commit: d4219669bd696fa7ab9efa3378e65ec4d6afeedf
Author: Christopher Byrne  gmail  com>
AuthorDate: Tue Mar  8 23:06:12 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Mar 11 00:03:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4219669

dev-libs/libtpms: Bump to 0.9.3

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.9.3.ebuild | 47 +++
 2 files changed, 48 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 04de1f7e43a9..9be59aa15f5f 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
 DIST libtpms-0.9.1.tar.gz 1261528 BLAKE2B 
8a81fbea7dff44fe55da048f5121511c22ce264aaa64778ec28b6e55be64677f46f8266bed9edaeb57605ccede755ddfa7463a10e8fc806a86ea09d7a1f9283e
 SHA512 
15ae14bca4ac24391ba06accae37d7e914e410ac9dc1aeae0743295371c9a0e0851f191c55bffb765cb731e8d397188be6441d2b6c1f5011b56a354428c4dad1
+DIST libtpms-0.9.3.tar.gz 1263192 BLAKE2B 
a58cc2f76775f0a0a266cf6da898d6c8e310998c201dc47a802d67fc07dbe1632a68e81b78da68a6350e1d64727c7b47154479b4d9bc19a55324a2d881cad94f
 SHA512 
8616c712f958c28a415b0a97a3a24f439f757682c4b60642584eb13e4ab2d7895838e8e6e57936ff583259506f9b379ec47c76d5780c1b257f25513a5911c3cb

diff --git a/dev-libs/libtpms/libtpms-0.9.3.ebuild 
b/dev-libs/libtpms/libtpms-0.9.3.ebuild
new file mode 100644
index ..fc15af9bf0f4
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.9.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 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 ~riscv ~x86"
+
+DEPEND="dev-libs/openssl:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.9.0-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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2022-03-09 Thread Yixun Lan
commit: e9abf57efabf85155b398ea1fc713ed208cc16e8
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Mar 10 06:07:18 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Mar 10 06:07:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9abf57e

dev-libs/libtpms: keyword ~riscv, #834868

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/libtpms/libtpms-0.9.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libtpms/libtpms-0.9.1.ebuild 
b/dev-libs/libtpms/libtpms-0.9.1.ebuild
index 0eed7e6454dd..fc15af9bf0f4 100644
--- a/dev-libs/libtpms/libtpms-0.9.1.ebuild
+++ b/dev-libs/libtpms/libtpms-0.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ 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"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/files/

2021-11-28 Thread Ionen Wolkens
commit: db66eed3675ec80402dc040a5613ae38f2da019d
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sun Nov 28 08:47:37 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun Nov 28 08:48:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db66eed3

dev-libs/libtpms: remove unused patch

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/libtpms/files/libtpms-0.8.7-Remove-WError.patch | 13 -
 1 file changed, 13 deletions(-)

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
deleted file mode 100644
index 54b7150cfbd1..
--- a/dev-libs/libtpms/files/libtpms-0.8.7-Remove-WError.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-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"
- 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-11-27 Thread Ionen Wolkens
commit: 51cc231f083c6c97e828d4acfd81e77b77eb350b
Author: Christopher Byrne  gmail  com>
AuthorDate: Wed Nov 24 19:59:51 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun Nov 28 00:19:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51cc231f

dev-libs/libtpms: Remove old

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23069
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/libtpms/Manifest |  2 --
 dev-libs/libtpms/libtpms-0.8.7.ebuild | 47 ---
 dev-libs/libtpms/libtpms-0.9.0.ebuild | 47 ---
 3 files changed, 96 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 88784e0d2704..04de1f7e43a9 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,3 +1 @@
-DIST libtpms-0.8.7.tar.gz 1256807 BLAKE2B 
d3630ece39a78dcc99d15ad603eec5c3d858d1d0c928ae2d3ae5ad5e4d419e186fa23b25ad15824806838401aac33e7224d7cc7ce6fb79647500d4b3a3871223
 SHA512 
061ec66bbeee9838f12c6a9724ba953cd604981148d6f3a8ebe444e89e59b228b763d8f98c55d67b9477277ccbf9987f2e5632d1b518e78d182f5d7066020ed4
-DIST libtpms-0.9.0.tar.gz 1261212 BLAKE2B 
06b065c47bd151cc0001bfffb8aa54aa6d7ef81340f244fb235958bf5801df0fe8cb8a62c51168284e40f34d1a467b4456862087f35f6ac256dcc5e2d12527c5
 SHA512 
8e9c9e3d1c0c2fb0de3a40b1a84e866e0de662cd00b3bf75dbe01c35d6558a0b325b9c91508d80eeb2bc5162b1413cc624a1f0de1876b9ebe4573cb6343c8287
 DIST libtpms-0.9.1.tar.gz 1261528 BLAKE2B 
8a81fbea7dff44fe55da048f5121511c22ce264aaa64778ec28b6e55be64677f46f8266bed9edaeb57605ccede755ddfa7463a10e8fc806a86ea09d7a1f9283e
 SHA512 
15ae14bca4ac24391ba06accae37d7e914e410ac9dc1aeae0743295371c9a0e0851f191c55bffb765cb731e8d397188be6441d2b6c1f5011b56a354428c4dad1

diff --git a/dev-libs/libtpms/libtpms-0.8.7.ebuild 
b/dev-libs/libtpms/libtpms-0.8.7.ebuild
deleted file mode 100644
index 3e913f4e034d..
--- a/dev-libs/libtpms/libtpms-0.8.7.ebuild
+++ /dev/null
@@ -1,47 +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.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
-}

diff --git a/dev-libs/libtpms/libtpms-0.9.0.ebuild 
b/dev-libs/libtpms/libtpms-0.9.0.ebuild
deleted file mode 100644
index 0eed7e6454dd..
--- a/dev-libs/libtpms/libtpms-0.9.0.ebuild
+++ /dev/null
@@ -1,47 +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.9.0-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 
algorit

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-11-27 Thread Ionen Wolkens
commit: ba3496859148c769144d5b975c49453a8cfc18c1
Author: Christopher Byrne  gmail  com>
AuthorDate: Wed Nov 24 19:54:49 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun Nov 28 00:19:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba349685

dev-libs/libtpms: Bump to 0.9.1

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.9.1.ebuild | 47 +++
 2 files changed, 48 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index e634b5473961..88784e0d2704 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1,3 @@
 DIST libtpms-0.8.7.tar.gz 1256807 BLAKE2B 
d3630ece39a78dcc99d15ad603eec5c3d858d1d0c928ae2d3ae5ad5e4d419e186fa23b25ad15824806838401aac33e7224d7cc7ce6fb79647500d4b3a3871223
 SHA512 
061ec66bbeee9838f12c6a9724ba953cd604981148d6f3a8ebe444e89e59b228b763d8f98c55d67b9477277ccbf9987f2e5632d1b518e78d182f5d7066020ed4
 DIST libtpms-0.9.0.tar.gz 1261212 BLAKE2B 
06b065c47bd151cc0001bfffb8aa54aa6d7ef81340f244fb235958bf5801df0fe8cb8a62c51168284e40f34d1a467b4456862087f35f6ac256dcc5e2d12527c5
 SHA512 
8e9c9e3d1c0c2fb0de3a40b1a84e866e0de662cd00b3bf75dbe01c35d6558a0b325b9c91508d80eeb2bc5162b1413cc624a1f0de1876b9ebe4573cb6343c8287
+DIST libtpms-0.9.1.tar.gz 1261528 BLAKE2B 
8a81fbea7dff44fe55da048f5121511c22ce264aaa64778ec28b6e55be64677f46f8266bed9edaeb57605ccede755ddfa7463a10e8fc806a86ea09d7a1f9283e
 SHA512 
15ae14bca4ac24391ba06accae37d7e914e410ac9dc1aeae0743295371c9a0e0851f191c55bffb765cb731e8d397188be6441d2b6c1f5011b56a354428c4dad1

diff --git a/dev-libs/libtpms/libtpms-0.9.1.ebuild 
b/dev-libs/libtpms/libtpms-0.9.1.ebuild
new file mode 100644
index ..0eed7e6454dd
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.9.1.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.9.0-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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/, dev-libs/libtpms/files/

2021-10-06 Thread Ionen Wolkens
commit: 93587254f82cffb914ee9cb4a32dfd9f57e5b323
Author: Christopher Byrne  gmail  com>
AuthorDate: Wed Sep 29 16:21:37 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Oct  6 10:56:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93587254

dev-libs/libtpms: Bump to 0.9.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22442
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/libtpms/Manifest  |  1 +
 .../files/libtpms-0.9.0-Remove-WError.patch| 13 ++
 dev-libs/libtpms/libtpms-0.9.0.ebuild  | 47 ++
 3 files changed, 61 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 356d8760a53..e634b547396 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
 DIST libtpms-0.8.7.tar.gz 1256807 BLAKE2B 
d3630ece39a78dcc99d15ad603eec5c3d858d1d0c928ae2d3ae5ad5e4d419e186fa23b25ad15824806838401aac33e7224d7cc7ce6fb79647500d4b3a3871223
 SHA512 
061ec66bbeee9838f12c6a9724ba953cd604981148d6f3a8ebe444e89e59b228b763d8f98c55d67b9477277ccbf9987f2e5632d1b518e78d182f5d7066020ed4
+DIST libtpms-0.9.0.tar.gz 1261212 BLAKE2B 
06b065c47bd151cc0001bfffb8aa54aa6d7ef81340f244fb235958bf5801df0fe8cb8a62c51168284e40f34d1a467b4456862087f35f6ac256dcc5e2d12527c5
 SHA512 
8e9c9e3d1c0c2fb0de3a40b1a84e866e0de662cd00b3bf75dbe01c35d6558a0b325b9c91508d80eeb2bc5162b1413cc624a1f0de1876b9ebe4573cb6343c8287

diff --git a/dev-libs/libtpms/files/libtpms-0.9.0-Remove-WError.patch 
b/dev-libs/libtpms/files/libtpms-0.9.0-Remove-WError.patch
new file mode 100644
index 000..14fe4c5a878
--- /dev/null
+++ b/dev-libs/libtpms/files/libtpms-0.9.0-Remove-WError.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 5f995a8..957c461 100644
+--- a/configure.ac
 b/configure.ac
+@@ -321,7 +321,7 @@ if test "x$enable_hardening" != "xno"; then
+   AC_SUBST([HARDENING_LDFLAGS])
+ fi
+ 
+-AM_CFLAGS="$CFLAGS $COVERAGE_CFLAGS -Wall -Werror -Wreturn-type 
-Wsign-compare -Wno-self-assign -Wmissing-prototypes"
++AM_CFLAGS="$CFLAGS $COVERAGE_CFLAGS -Wall -Wreturn-type -Wsign-compare 
-Wno-self-assign -Wmissing-prototypes"
+ AM_CFLAGS="$AM_CFLAGS"
+ AM_LDFLAGS="$LDFLAGS $COVERAGE_LDFLAGS"
+ 

diff --git a/dev-libs/libtpms/libtpms-0.9.0.ebuild 
b/dev-libs/libtpms/libtpms-0.9.0.ebuild
new file mode 100644
index 000..0eed7e6454d
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.9.0.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.9.0-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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/, dev-libs/libtpms/files/

2021-09-24 Thread Joonas Niilola
commit: 88916a1ebd27aeae7d6dc6d6d5739f8521af5329
Author: Christopher Byrne  gmail  com>
AuthorDate: Tue Sep 21 21:39:45 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 24 07:21:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88916a1e

dev-libs/libtpms: Bump to 0.8.7

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest  |  1 +
 .../files/libtpms-0.8.7-Remove-WError.patch| 13 ++
 dev-libs/libtpms/libtpms-0.8.7.ebuild  | 47 ++
 3 files changed, 61 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 5afffbf543e..d341cd25e0a 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
 DIST libtpms-0.8.6.tar.gz 1255964 BLAKE2B 
44d9b1f78944ede5842b3cbef09900899f53ba3525e63f09de8263b9c1878a889db80eaf3ba35334a224bcb4ebd03d2bb841e4184059f9a155ad4a2aa244
 SHA512 
d57d52d140d582a6a7d2146aa9a10445c5c50807da53b26f6efbb8632ac83afa3c67e1a47ffa6a898a45cbac3aff199fe61947d69bc5af727e9623564bac45d8
+DIST libtpms-0.8.7.tar.gz 1256807 BLAKE2B 
d3630ece39a78dcc99d15ad603eec5c3d858d1d0c928ae2d3ae5ad5e4d419e186fa23b25ad15824806838401aac33e7224d7cc7ce6fb79647500d4b3a3871223
 SHA512 
061ec66bbeee9838f12c6a9724ba953cd604981148d6f3a8ebe444e89e59b228b763d8f98c55d67b9477277ccbf9987f2e5632d1b518e78d182f5d7066020ed4

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 000..54b7150cfbd
--- /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.7.ebuild 
b/dev-libs/libtpms/libtpms-0.8.7.ebuild
new file mode 100644
index 000..3e913f4e034
--- /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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/files/, dev-libs/libtpms/

2021-09-24 Thread Joonas Niilola
commit: cf3c5e5d55eeb993e05f797309c074a8446444d7
Author: Christopher Byrne  gmail  com>
AuthorDate: Tue Sep 21 21:40:34 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 24 07:21:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf3c5e5d

dev-libs/libtpms: Remove old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22362
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest  |  1 -
 .../files/libtpms-0.8.0-Remove-WError.patch| 13 --
 dev-libs/libtpms/libtpms-0.8.6.ebuild  | 49 --
 3 files changed, 63 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index d341cd25e0a..356d8760a53 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1 @@
-DIST libtpms-0.8.6.tar.gz 1255964 BLAKE2B 
44d9b1f78944ede5842b3cbef09900899f53ba3525e63f09de8263b9c1878a889db80eaf3ba35334a224bcb4ebd03d2bb841e4184059f9a155ad4a2aa244
 SHA512 
d57d52d140d582a6a7d2146aa9a10445c5c50807da53b26f6efbb8632ac83afa3c67e1a47ffa6a898a45cbac3aff199fe61947d69bc5af727e9623564bac45d8
 DIST libtpms-0.8.7.tar.gz 1256807 BLAKE2B 
d3630ece39a78dcc99d15ad603eec5c3d858d1d0c928ae2d3ae5ad5e4d419e186fa23b25ad15824806838401aac33e7224d7cc7ce6fb79647500d4b3a3871223
 SHA512 
061ec66bbeee9838f12c6a9724ba953cd604981148d6f3a8ebe444e89e59b228b763d8f98c55d67b9477277ccbf9987f2e5632d1b518e78d182f5d7066020ed4

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 05988734f59..000
--- 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/libtpms-0.8.6.ebuild 
b/dev-libs/libtpms/libtpms-0.8.6.ebuild
deleted file mode 100644
index fe5361b4519..000
--- 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-09-14 Thread Joonas Niilola
commit: 1bf883626df68b27a48424b98c9e77095ab3dfef
Author: Christopher Byrne  gmail  com>
AuthorDate: Sat Sep 11 01:09:17 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep 14 07:38:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf88362

dev-libs/libtpms: Remove old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22272
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 -
 dev-libs/libtpms/libtpms-0.8.5.ebuild | 49 ---
 2 files changed, 50 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index a2583854903..5afffbf543e 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1 @@
-DIST libtpms-0.8.5.tar.gz 1255741 BLAKE2B 
a9960d4f58093f9291ee718c4577138cfd36f637a2911b2bacc3dde68b9def5ab1fd085e38a46b8a57d15f68072e7268a132687f5cc8c593390b1ef986aa0813
 SHA512 
7f1591b6b655ec99d3737ee41e37e4c0fc05f2e9676463a44c88015b37b2a39291a576e81e394cdf3deac3f1227774c6c60baca445befb24339515773e20b766
 DIST libtpms-0.8.6.tar.gz 1255964 BLAKE2B 
44d9b1f78944ede5842b3cbef09900899f53ba3525e63f09de8263b9c1878a889db80eaf3ba35334a224bcb4ebd03d2bb841e4184059f9a155ad4a2aa244
 SHA512 
d57d52d140d582a6a7d2146aa9a10445c5c50807da53b26f6efbb8632ac83afa3c67e1a47ffa6a898a45cbac3aff199fe61947d69bc5af727e9623564bac45d8

diff --git a/dev-libs/libtpms/libtpms-0.8.5.ebuild 
b/dev-libs/libtpms/libtpms-0.8.5.ebuild
deleted file mode 100644
index fe5361b4519..000
--- a/dev-libs/libtpms/libtpms-0.8.5.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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-09-14 Thread Joonas Niilola
commit: 6025273d3ca145017bbc447e768fb821a1cc0161
Author: Christopher Byrne  gmail  com>
AuthorDate: Sat Sep 11 01:08:46 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep 14 07:38:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6025273d

dev-libs/libtpms: Bump to 0.8.6

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.8.6.ebuild | 49 +++
 2 files changed, 50 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 0751f4736c8..a2583854903 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
 DIST libtpms-0.8.5.tar.gz 1255741 BLAKE2B 
a9960d4f58093f9291ee718c4577138cfd36f637a2911b2bacc3dde68b9def5ab1fd085e38a46b8a57d15f68072e7268a132687f5cc8c593390b1ef986aa0813
 SHA512 
7f1591b6b655ec99d3737ee41e37e4c0fc05f2e9676463a44c88015b37b2a39291a576e81e394cdf3deac3f1227774c6c60baca445befb24339515773e20b766
+DIST libtpms-0.8.6.tar.gz 1255964 BLAKE2B 
44d9b1f78944ede5842b3cbef09900899f53ba3525e63f09de8263b9c1878a889db80eaf3ba35334a224bcb4ebd03d2bb841e4184059f9a155ad4a2aa244
 SHA512 
d57d52d140d582a6a7d2146aa9a10445c5c50807da53b26f6efbb8632ac83afa3c67e1a47ffa6a898a45cbac3aff199fe61947d69bc5af727e9623564bac45d8

diff --git a/dev-libs/libtpms/libtpms-0.8.6.ebuild 
b/dev-libs/libtpms/libtpms-0.8.6.ebuild
new file mode 100644
index 000..fe5361b4519
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.8.6.ebuild
@@ -0,0 +1,49 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-09-12 Thread Joonas Niilola
commit: 0569f33c6f5bf4ce46eae60cc26cd5f0540afb55
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Sep 13 06:31:10 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Sep 13 06:33:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0569f33c

dev-libs/libtpms: keyword 0.8.5 for ~x86

Bug: https://bugs.gentoo.org/798753
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/libtpms-0.8.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.8.5.ebuild 
b/dev-libs/libtpms/libtpms-0.8.5.ebuild
index 38bdaedfcb6..fe5361b4519 100644
--- a/dev-libs/libtpms/libtpms-0.8.5.ebuild
+++ b/dev-libs/libtpms/libtpms-0.8.5.ebuild
@@ -10,7 +10,7 @@ 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"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-09-07 Thread Sam James
commit: 98d498c7d671dd4263979d1cb8da91587cba9c3f
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep  8 01:25:26 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep  8 01:25:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98d498c7

dev-libs/libtpms: Keyword 0.8.5 arm, #798753

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.8.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.8.5.ebuild 
b/dev-libs/libtpms/libtpms-0.8.5.ebuild
index 0b3f7bf3d83..38bdaedfcb6 100644
--- a/dev-libs/libtpms/libtpms-0.8.5.ebuild
+++ b/dev-libs/libtpms/libtpms-0.8.5.ebuild
@@ -10,7 +10,7 @@ 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 ~arm64 ~ppc ~ppc64"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-09-03 Thread Joonas Niilola
commit: 8abd3a18294498fd888fdd9e381e2cc2c5d29fd7
Author: Christopher Byrne  gmail  com>
AuthorDate: Thu Sep  2 20:15:38 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep  4 06:05:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8abd3a18

dev-libs/libtpms: Remove old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22197
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  2 --
 dev-libs/libtpms/libtpms-0.8.3.ebuild | 46 -
 dev-libs/libtpms/libtpms-0.8.4.ebuild | 48 ---
 3 files changed, 96 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index dcf7baba26f..0751f4736c8 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,3 +1 @@
-DIST libtpms-0.8.3.tar.gz 1254474 BLAKE2B 
c71f52d6475d4328e93a35f88557de3400308984ec086f7e6b3c32ebc266e078b3a9864396546ba11fc310c1572efa1521bdac89075c5eba18cb35eef883e706
 SHA512 
07cf78c2a5b03f3c9179b041db57d5ec049dc0085c09e4fd5c9b54a247cf81a3b9982f0fb1cd571cd6b21b3d9824b061f8f38508fc25b6a23a6a6b06dea7115b
-DIST libtpms-0.8.4.tar.gz 1255255 BLAKE2B 
0786b19dc8f3226508548ab16544ee8ac05e8d9de057eed840a0cb7577c1d1386d83af1a725ec91e64344e2459f9d4836268e2c9a097136cf76d59ea8e23b0c8
 SHA512 
58244a774cb6ec5dcbbc2d795628fca9eb64936874c72b169ea8288f2bf0cafa8127b1e89ed3ddbf5694df5a5944a7d61254dc729d75b63b3e4f9346b2f0a7b5
 DIST libtpms-0.8.5.tar.gz 1255741 BLAKE2B 
a9960d4f58093f9291ee718c4577138cfd36f637a2911b2bacc3dde68b9def5ab1fd085e38a46b8a57d15f68072e7268a132687f5cc8c593390b1ef986aa0813
 SHA512 
7f1591b6b655ec99d3737ee41e37e4c0fc05f2e9676463a44c88015b37b2a39291a576e81e394cdf3deac3f1227774c6c60baca445befb24339515773e20b766

diff --git a/dev-libs/libtpms/libtpms-0.8.3.ebuild 
b/dev-libs/libtpms/libtpms-0.8.3.ebuild
deleted file mode 100644
index 506699ace35..000
--- a/dev-libs/libtpms/libtpms-0.8.3.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 ~arm64 ~ppc"
-
-DEPEND="dev-libs/openssl:0="
-RDEPEND="${DEPEND}"
-
-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 "${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";
-}

diff --git a/dev-libs/libtpms/libtpms-0.8.4.ebuild 
b/dev-libs/libtpms/libtpms-0.8.4.ebuild
deleted file mode 100644
index 5efa7fe4f9e..000
--- a/dev-libs/libtpms/libtpms-0.8.4.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 ~arm64 ~ppc ~ppc64"
-
-DEPEND="dev-libs/openssl:="
-RDEPEND="${DEPEND}"
-
-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

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-09-03 Thread Joonas Niilola
commit: 6fbddca63f9daa5aed810d71a02450d526d020b5
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Sep  4 06:05:24 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep  4 06:05:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fbddca6

dev-libs/libtpms: add missing BDEPEND="virtual/pkgconfig"

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/libtpms-0.8.5.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/libtpms/libtpms-0.8.5.ebuild 
b/dev-libs/libtpms/libtpms-0.8.5.ebuild
index 72093b56297..0b3f7bf3d83 100644
--- a/dev-libs/libtpms/libtpms-0.8.5.ebuild
+++ b/dev-libs/libtpms/libtpms-0.8.5.ebuild
@@ -14,6 +14,7 @@ KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
"${FILESDIR}/${PN}-0.8.0-Remove-WError.patch"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-09-03 Thread Joonas Niilola
commit: 95b07883ea66954424ef4bbc5b94cbbff9f6913c
Author: Christopher Byrne  gmail  com>
AuthorDate: Thu Sep  2 18:35:13 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep  4 06:05:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b07883

dev-libs/libtpms: Bump to 0.8.5

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.8.5.ebuild | 48 +++
 2 files changed, 49 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 06243131e7d..dcf7baba26f 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1,3 @@
 DIST libtpms-0.8.3.tar.gz 1254474 BLAKE2B 
c71f52d6475d4328e93a35f88557de3400308984ec086f7e6b3c32ebc266e078b3a9864396546ba11fc310c1572efa1521bdac89075c5eba18cb35eef883e706
 SHA512 
07cf78c2a5b03f3c9179b041db57d5ec049dc0085c09e4fd5c9b54a247cf81a3b9982f0fb1cd571cd6b21b3d9824b061f8f38508fc25b6a23a6a6b06dea7115b
 DIST libtpms-0.8.4.tar.gz 1255255 BLAKE2B 
0786b19dc8f3226508548ab16544ee8ac05e8d9de057eed840a0cb7577c1d1386d83af1a725ec91e64344e2459f9d4836268e2c9a097136cf76d59ea8e23b0c8
 SHA512 
58244a774cb6ec5dcbbc2d795628fca9eb64936874c72b169ea8288f2bf0cafa8127b1e89ed3ddbf5694df5a5944a7d61254dc729d75b63b3e4f9346b2f0a7b5
+DIST libtpms-0.8.5.tar.gz 1255741 BLAKE2B 
a9960d4f58093f9291ee718c4577138cfd36f637a2911b2bacc3dde68b9def5ab1fd085e38a46b8a57d15f68072e7268a132687f5cc8c593390b1ef986aa0813
 SHA512 
7f1591b6b655ec99d3737ee41e37e4c0fc05f2e9676463a44c88015b37b2a39291a576e81e394cdf3deac3f1227774c6c60baca445befb24339515773e20b766

diff --git a/dev-libs/libtpms/libtpms-0.8.5.ebuild 
b/dev-libs/libtpms/libtpms-0.8.5.ebuild
new file mode 100644
index 000..72093b56297
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.8.5.ebuild
@@ -0,0 +1,48 @@
+# 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 ~arm64 ~ppc ~ppc64"
+
+DEPEND="dev-libs/openssl:="
+RDEPEND="${DEPEND}"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-07-24 Thread Sam James
commit: 0d9d275ec85874ddc7b5118dbea9c8cc1954f755
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 24 15:21:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 24 15:21:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9d275e

dev-libs/libtpms: Keyword 0.8.4 ppc64, #798753

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.8.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.8.4.ebuild 
b/dev-libs/libtpms/libtpms-0.8.4.ebuild
index 3eab05684d9..5efa7fe4f9e 100644
--- a/dev-libs/libtpms/libtpms-0.8.4.ebuild
+++ b/dev-libs/libtpms/libtpms-0.8.4.ebuild
@@ -10,7 +10,7 @@ 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 ~arm64 ~ppc"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64"
 
 DEPEND="dev-libs/openssl:="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-07-14 Thread Ionen Wolkens
commit: 27f298f964bf756128a2e75773dd3619cd4eb25b
Author: Christopher Byrne  gmail  com>
AuthorDate: Thu Jul  1 02:48:15 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Jul 15 06:01:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27f298f9

dev-libs/libtpms: Bump to 0.8.4

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21492
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.8.4.ebuild | 48 +++
 2 files changed, 49 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index ed6e38e9225..06243131e7d 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
 DIST libtpms-0.8.3.tar.gz 1254474 BLAKE2B 
c71f52d6475d4328e93a35f88557de3400308984ec086f7e6b3c32ebc266e078b3a9864396546ba11fc310c1572efa1521bdac89075c5eba18cb35eef883e706
 SHA512 
07cf78c2a5b03f3c9179b041db57d5ec049dc0085c09e4fd5c9b54a247cf81a3b9982f0fb1cd571cd6b21b3d9824b061f8f38508fc25b6a23a6a6b06dea7115b
+DIST libtpms-0.8.4.tar.gz 1255255 BLAKE2B 
0786b19dc8f3226508548ab16544ee8ac05e8d9de057eed840a0cb7577c1d1386d83af1a725ec91e64344e2459f9d4836268e2c9a097136cf76d59ea8e23b0c8
 SHA512 
58244a774cb6ec5dcbbc2d795628fca9eb64936874c72b169ea8288f2bf0cafa8127b1e89ed3ddbf5694df5a5944a7d61254dc729d75b63b3e4f9346b2f0a7b5

diff --git a/dev-libs/libtpms/libtpms-0.8.4.ebuild 
b/dev-libs/libtpms/libtpms-0.8.4.ebuild
new file mode 100644
index 000..3eab05684d9
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.8.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~arm64 ~ppc"
+
+DEPEND="dev-libs/openssl:="
+RDEPEND="${DEPEND}"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-07-12 Thread Sam James
commit: e062a43786ef7dbfe7dc82454a6d81a05fac4327
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 12 21:54:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 12 21:54:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e062a437

dev-libs/libtpms: Keyword 0.8.3 ppc, #798753

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.8.3.ebuild 
b/dev-libs/libtpms/libtpms-0.8.3.ebuild
index b7031ae9a4d..506699ace35 100644
--- a/dev-libs/libtpms/libtpms-0.8.3.ebuild
+++ b/dev-libs/libtpms/libtpms-0.8.3.ebuild
@@ -10,7 +10,7 @@ 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 ~arm64"
+KEYWORDS="~amd64 ~arm64 ~ppc"
 
 DEPEND="dev-libs/openssl:0="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-07-06 Thread Sam James
commit: 9415434a93aface11ac9247cf934edaadef65e47
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul  6 17:59:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  6 17:59:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9415434a

dev-libs/libtpms: Keyword 0.8.3 arm64, #798753

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libtpms/libtpms-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/libtpms-0.8.3.ebuild 
b/dev-libs/libtpms/libtpms-0.8.3.ebuild
index d8fb23739da..b7031ae9a4d 100644
--- a/dev-libs/libtpms/libtpms-0.8.3.ebuild
+++ b/dev-libs/libtpms/libtpms-0.8.3.ebuild
@@ -10,7 +10,7 @@ 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"
+KEYWORDS="~amd64 ~arm64"
 
 DEPEND="dev-libs/openssl:0="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-06-27 Thread Matthias Maier
commit: 90e269a62dbd1cfec2c4c108ede1ab0db350169a
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Jun 27 17:19:00 2021 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sun Jun 27 17:29:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e269a6

dev-libs/libtpms: add virtualization project

Add virtualization project to the list of maintainers to better track
app-emulation/qemu firmware dependencies.

In preparation of adding app-crypt/swtpm as unconditional RDEPEND to
app-emulation/qemu.

Bug: https://bugs.gentoo.org/776751
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Matthias Maier  gentoo.org>

 dev-libs/libtpms/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-libs/libtpms/metadata.xml b/dev-libs/libtpms/metadata.xml
index 69ca4c8149b..10d230e2042 100644
--- a/dev-libs/libtpms/metadata.xml
+++ b/dev-libs/libtpms/metadata.xml
@@ -9,4 +9,8 @@
[email protected]
Proxy Maintainers

+   
+   [email protected]
+   Gentoo Virtualization Project
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-06-22 Thread Joonas Niilola
commit: a88129cec9b0fba20f944fd2510ae52bd3588f83
Author: Christopher Byrne  gmail  com>
AuthorDate: Tue Jun  1 19:24:31 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Jun 22 08:29:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a88129ce

dev-libs/libtpms: Bump to 0.8.3

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Christopher Byrne  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.8.3.ebuild | 46 +++
 2 files changed, 47 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 93f2642fb36..fa9ee38e060 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
 DIST libtpms-0.8.2.tar.gz 1253915 BLAKE2B 
48281512f2611376f0f3a67a2646fdc406c2d28bfd560a07b23c122a1b4d68c2840c5cd23f41beae4a13eab419e722aed821cecd919ae6219da325724d55e3b3
 SHA512 
635f1b30265f1752602caefa1fa87f0032e4d38f1b7113137b7e25a85da10e34f89f9d928b960660e9451306807f111ed96c2a11cbb2de4fb4beb7e638f83727
+DIST libtpms-0.8.3.tar.gz 1254474 BLAKE2B 
c71f52d6475d4328e93a35f88557de3400308984ec086f7e6b3c32ebc266e078b3a9864396546ba11fc310c1572efa1521bdac89075c5eba18cb35eef883e706
 SHA512 
07cf78c2a5b03f3c9179b041db57d5ec049dc0085c09e4fd5c9b54a247cf81a3b9982f0fb1cd571cd6b21b3d9824b061f8f38508fc25b6a23a6a6b06dea7115b

diff --git a/dev-libs/libtpms/libtpms-0.8.3.ebuild 
b/dev-libs/libtpms/libtpms-0.8.3.ebuild
new file mode 100644
index 000..d8fb23739da
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.8.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+DEPEND="dev-libs/openssl:0="
+RDEPEND="${DEPEND}"
+
+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 "${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";
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-06-22 Thread Joonas Niilola
commit: 8dfc357f8adc8b060752158aff185571ec158ae8
Author: Christopher Byrne  gmail  com>
AuthorDate: Tue Jun  1 19:25:23 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Jun 22 08:29:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dfc357f

dev-libs/libtpms: Remove old

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21080
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 -
 dev-libs/libtpms/libtpms-0.8.2.ebuild | 46 ---
 2 files changed, 47 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index fa9ee38e060..ed6e38e9225 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1 @@
-DIST libtpms-0.8.2.tar.gz 1253915 BLAKE2B 
48281512f2611376f0f3a67a2646fdc406c2d28bfd560a07b23c122a1b4d68c2840c5cd23f41beae4a13eab419e722aed821cecd919ae6219da325724d55e3b3
 SHA512 
635f1b30265f1752602caefa1fa87f0032e4d38f1b7113137b7e25a85da10e34f89f9d928b960660e9451306807f111ed96c2a11cbb2de4fb4beb7e638f83727
 DIST libtpms-0.8.3.tar.gz 1254474 BLAKE2B 
c71f52d6475d4328e93a35f88557de3400308984ec086f7e6b3c32ebc266e078b3a9864396546ba11fc310c1572efa1521bdac89075c5eba18cb35eef883e706
 SHA512 
07cf78c2a5b03f3c9179b041db57d5ec049dc0085c09e4fd5c9b54a247cf81a3b9982f0fb1cd571cd6b21b3d9824b061f8f38508fc25b6a23a6a6b06dea7115b

diff --git a/dev-libs/libtpms/libtpms-0.8.2.ebuild 
b/dev-libs/libtpms/libtpms-0.8.2.ebuild
deleted file mode 100644
index d8fb23739da..000
--- a/dev-libs/libtpms/libtpms-0.8.2.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-
-DEPEND="dev-libs/openssl:0="
-RDEPEND="${DEPEND}"
-
-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 "${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";
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-05-01 Thread Mikle Kolyada
commit: c40085fe9aa934e1610b2b927f944bcd72ecaba2
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May  1 07:35:10 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May  1 07:37:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c40085fe

dev-libs/libtpms: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-libs/libtpms/libtpms-0.8.2.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-libs/libtpms/libtpms-0.8.2.ebuild 
b/dev-libs/libtpms/libtpms-0.8.2.ebuild
index 49098b44476..d8fb23739da 100644
--- a/dev-libs/libtpms/libtpms-0.8.2.ebuild
+++ b/dev-libs/libtpms/libtpms-0.8.2.ebuild
@@ -11,10 +11,8 @@ 
SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="libressl"
 
-DEPEND=" !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )"
+DEPEND="dev-libs/openssl:0="
 RDEPEND="${DEPEND}"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2021-04-25 Thread Michał Górny
commit: 3356b8b0deac122f0735e7cce5b13734d0d9a00f
Author: Christopher Byrne  gmail  com>
AuthorDate: Sun Apr 25 07:16:22 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 25 07:59:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3356b8b0

dev-libs/libtpms: Update maintainer name

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20533
Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libtpms/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libtpms/metadata.xml b/dev-libs/libtpms/metadata.xml
index f2b95e14715..69ca4c8149b 100644
--- a/dev-libs/libtpms/metadata.xml
+++ b/dev-libs/libtpms/metadata.xml
@@ -3,7 +3,7 @@
 

[email protected]
-   Salah Coronya
+   Christopher Byrne


[email protected]



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/files/, dev-libs/libtpms/

2021-03-06 Thread Joonas Niilola
commit: 305e05f1c3ab5ed8927cb0ffc773837e0e352c65
Author: Salah Coronya  gmail  com>
AuthorDate: Sat Feb 27 02:41:03 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar  6 15:12:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=305e05f1

dev-libs/libtpms: Remove old

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Salah Coronya  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19630
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest  |  1 -
 .../files/libtpms-0.7.3-Remove-WError.patch| 13 
 dev-libs/libtpms/libtpms-0.7.4.ebuild  | 39 --
 3 files changed, 53 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index ccefcd58721..93f2642fb36 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1 @@
-DIST libtpms-0.7.4.tar.gz 1212986 BLAKE2B 
ff34a9c35167a251eb8ba55f6be316503d67dde7fba46b6cbc32a1f4eb5ff5a2bb5f0c21963b8d879481f6f4b09646e8e0c5fcddb12cb73309c47505070f
 SHA512 
5a396a7e8273bed1159b0c48d2bf9f02550fed06656240e336778587b7fbe53859dab8f2ba479683e02fedfde4260a9083641be161aec0cb38a605399300997a
 DIST libtpms-0.8.2.tar.gz 1253915 BLAKE2B 
48281512f2611376f0f3a67a2646fdc406c2d28bfd560a07b23c122a1b4d68c2840c5cd23f41beae4a13eab419e722aed821cecd919ae6219da325724d55e3b3
 SHA512 
635f1b30265f1752602caefa1fa87f0032e4d38f1b7113137b7e25a85da10e34f89f9d928b960660e9451306807f111ed96c2a11cbb2de4fb4beb7e638f83727

diff --git a/dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch 
b/dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch
deleted file mode 100644
index fe17f898f5e..000
--- a/dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 1bb45d1..147aa84 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -283,7 +283,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"
- 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.7.4.ebuild
deleted file mode 100644
index e11a466ade7..000
--- a/dev-libs/libtpms/libtpms-0.7.4.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-IUSE="libressl"
-
-DEPEND=" !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.7.3-Remove-WError.patch"
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --disable-static \
-   --with-openssl \
-   --with-tpm2
-}
-
-src_install() {
-   default
-   find "${D}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/, dev-libs/libtpms/files/

2021-03-06 Thread Joonas Niilola
commit: ac52bd092b79ddbbaa2be30822d27dc4eb563f0c
Author: Salah Coronya  gmail  com>
AuthorDate: Sat Feb 27 02:36:28 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar  6 15:12:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac52bd09

dev-libs/libtpms: Bump to 0.8.2

Bug: https://bugs.gentoo.org/772410
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Salah Coronya  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest  |  1 +
 .../files/libtpms-0.8.0-Remove-WError.patch| 13 ++
 dev-libs/libtpms/libtpms-0.8.2.ebuild  | 48 ++
 3 files changed, 62 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 02b2cdfd1d8..ccefcd58721 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
 DIST libtpms-0.7.4.tar.gz 1212986 BLAKE2B 
ff34a9c35167a251eb8ba55f6be316503d67dde7fba46b6cbc32a1f4eb5ff5a2bb5f0c21963b8d879481f6f4b09646e8e0c5fcddb12cb73309c47505070f
 SHA512 
5a396a7e8273bed1159b0c48d2bf9f02550fed06656240e336778587b7fbe53859dab8f2ba479683e02fedfde4260a9083641be161aec0cb38a605399300997a
+DIST libtpms-0.8.2.tar.gz 1253915 BLAKE2B 
48281512f2611376f0f3a67a2646fdc406c2d28bfd560a07b23c122a1b4d68c2840c5cd23f41beae4a13eab419e722aed821cecd919ae6219da325724d55e3b3
 SHA512 
635f1b30265f1752602caefa1fa87f0032e4d38f1b7113137b7e25a85da10e34f89f9d928b960660e9451306807f111ed96c2a11cbb2de4fb4beb7e638f83727

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
new file mode 100644
index 000..05988734f59
--- /dev/null
+++ b/dev-libs/libtpms/files/libtpms-0.8.0-Remove-WError.patch
@@ -0,0 +1,13 @@
+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/libtpms-0.8.2.ebuild 
b/dev-libs/libtpms/libtpms-0.8.2.ebuild
new file mode 100644
index 000..49098b44476
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.8.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+IUSE="libressl"
+
+DEPEND=" !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )"
+RDEPEND="${DEPEND}"
+
+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 "${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";
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2020-10-31 Thread Joonas Niilola
commit: 871ee3e6a2fffa618627cd9a2647e99bb9a77e4e
Author: Salah Coronya  gmail  com>
AuthorDate: Sat Oct 31 01:51:06 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Nov  1 06:13:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=871ee3e6

dev-libs/libtpms: Bump to 0.7.4

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Salah Coronya  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.7.4.ebuild | 39 +++
 2 files changed, 40 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index fd103f61d20..b4c691c5cba 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
 DIST libtpms-0.7.3.tar.gz 1206014 BLAKE2B 
32636be3e15e27a53de1c935144d2363a80689456bd70493b4eef38214ef1b9ef84ae43d1da253c9dd3e362d385b6e1638eace7a1f105736ca54f581a5f474f0
 SHA512 
bfd573f909965991e266434391de5f1e52c724e679e5580b7839032a1ee57f8d36cdec6d892b1d22fb7285335801a6fe17ea8559ea7ba43704fbf57c6a06dd05
+DIST libtpms-0.7.4.tar.gz 1212986 BLAKE2B 
ff34a9c35167a251eb8ba55f6be316503d67dde7fba46b6cbc32a1f4eb5ff5a2bb5f0c21963b8d879481f6f4b09646e8e0c5fcddb12cb73309c47505070f
 SHA512 
5a396a7e8273bed1159b0c48d2bf9f02550fed06656240e336778587b7fbe53859dab8f2ba479683e02fedfde4260a9083641be161aec0cb38a605399300997a

diff --git a/dev-libs/libtpms/libtpms-0.7.4.ebuild 
b/dev-libs/libtpms/libtpms-0.7.4.ebuild
new file mode 100644
index 000..e11a466ade7
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.7.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+IUSE="libressl"
+
+DEPEND=" !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.7.3-Remove-WError.patch"
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --disable-static \
+   --with-openssl \
+   --with-tpm2
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2020-10-31 Thread Joonas Niilola
commit: eee876998465c991890fb4e69c9bf5a0026c2a31
Author: Salah Coronya  gmail  com>
AuthorDate: Sat Oct 31 01:52:11 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Nov  1 06:13:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee87699

dev-libs/libtpms: Remove old

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Salah Coronya  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18086
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 -
 dev-libs/libtpms/libtpms-0.7.3.ebuild | 39 ---
 2 files changed, 40 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index b4c691c5cba..02b2cdfd1d8 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1 @@
-DIST libtpms-0.7.3.tar.gz 1206014 BLAKE2B 
32636be3e15e27a53de1c935144d2363a80689456bd70493b4eef38214ef1b9ef84ae43d1da253c9dd3e362d385b6e1638eace7a1f105736ca54f581a5f474f0
 SHA512 
bfd573f909965991e266434391de5f1e52c724e679e5580b7839032a1ee57f8d36cdec6d892b1d22fb7285335801a6fe17ea8559ea7ba43704fbf57c6a06dd05
 DIST libtpms-0.7.4.tar.gz 1212986 BLAKE2B 
ff34a9c35167a251eb8ba55f6be316503d67dde7fba46b6cbc32a1f4eb5ff5a2bb5f0c21963b8d879481f6f4b09646e8e0c5fcddb12cb73309c47505070f
 SHA512 
5a396a7e8273bed1159b0c48d2bf9f02550fed06656240e336778587b7fbe53859dab8f2ba479683e02fedfde4260a9083641be161aec0cb38a605399300997a

diff --git a/dev-libs/libtpms/libtpms-0.7.3.ebuild 
b/dev-libs/libtpms/libtpms-0.7.3.ebuild
deleted file mode 100644
index e11a466ade7..000
--- a/dev-libs/libtpms/libtpms-0.7.3.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-IUSE="libressl"
-
-DEPEND=" !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.7.3-Remove-WError.patch"
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --disable-static \
-   --with-openssl \
-   --with-tpm2
-}
-
-src_install() {
-   default
-   find "${D}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/files/, dev-libs/libtpms/

2020-10-07 Thread Joonas Niilola
commit: e6ddcb72a8738fc10d1cbf3812d4764bbe2db009
Author: Salah Coronya  gmail  com>
AuthorDate: Thu Sep 24 19:28:15 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Oct  8 06:48:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ddcb72

dev-libs/libtpms: Remove -WError

Closes: https://bugs.gentoo.org/75
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Salah Coronya  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17654
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch | 13 +
 dev-libs/libtpms/libtpms-0.7.3.ebuild|  4 
 2 files changed, 17 insertions(+)

diff --git a/dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch 
b/dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch
new file mode 100644
index 000..fe17f898f5e
--- /dev/null
+++ b/dev-libs/libtpms/files/libtpms-0.7.3-Remove-WError.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 1bb45d1..147aa84 100644
+--- a/configure.ac
 b/configure.ac
+@@ -283,7 +283,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"
+ LDFLAGS="$LDFLAGS $COVERAGE_LDFLAGS"
+ 
+ AC_CONFIG_FILES(Makefile   \

diff --git a/dev-libs/libtpms/libtpms-0.7.3.ebuild 
b/dev-libs/libtpms/libtpms-0.7.3.ebuild
index 1daf31882dc..ad9f41f5b8a 100644
--- a/dev-libs/libtpms/libtpms-0.7.3.ebuild
+++ b/dev-libs/libtpms/libtpms-0.7.3.ebuild
@@ -17,6 +17,10 @@ DEPEND=" !libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )"
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+   "${FILESDIR}/${PN}-0.7.3-Remove-WError.patch"
+   )
+
 src_prepare() {
default
eautoreconf



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2020-10-07 Thread Joonas Niilola
commit: 048b5cdd26f003cf563938035eb0c054513d2108
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Oct  8 06:49:21 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Oct  8 06:49:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=048b5cdd

dev-libs/libtpms: fix indentation, swap spaces to tabs

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/libtpms-0.7.3.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-libs/libtpms/libtpms-0.7.3.ebuild 
b/dev-libs/libtpms/libtpms-0.7.3.ebuild
index ad9f41f5b8a..e11a466ade7 100644
--- a/dev-libs/libtpms/libtpms-0.7.3.ebuild
+++ b/dev-libs/libtpms/libtpms-0.7.3.ebuild
@@ -19,7 +19,7 @@ RDEPEND="${DEPEND}"
 
 PATCHES=(
"${FILESDIR}/${PN}-0.7.3-Remove-WError.patch"
-   )
+)
 
 src_prepare() {
default
@@ -28,9 +28,9 @@ src_prepare() {
 
 src_configure() {
econf \
- --disable-static \
- --with-openssl \
- --with-tpm2
+   --disable-static \
+   --with-openssl \
+   --with-tpm2
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2020-08-05 Thread Joonas Niilola
commit: 3bc5a054be3b3620a72849cc2745177d7ca19a92
Author: Salah Coronya  gmail  com>
AuthorDate: Wed Jul 22 04:37:22 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug  5 12:18:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bc5a054

dev-libs/libtpms: Bump to 0.7.3

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Salah Coronya  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.7.3.ebuild | 35 +++
 2 files changed, 36 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 1ad68862d4d..7b23c0510c3 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
 DIST libtpms-0.7.2.tar.gz 1205662 BLAKE2B 
e549d94b6915b3a126aac76bc65c743acf9295fa4b4b836cfc34fb4cbe52e6da000d11d2995de377ccf5d0e2366d763dd1a881c4f4ab87631c52ad62b3792b7a
 SHA512 
ddc1e00e01fe91977ac78e069a0005b7b6a4e34f41c2d53bfb24f3fdaea73945a83ae5aa344d01b6636fdd2f3dd30c4ec54b1ef58d0964700ba4cf688d436739
+DIST libtpms-0.7.3.tar.gz 1206014 BLAKE2B 
32636be3e15e27a53de1c935144d2363a80689456bd70493b4eef38214ef1b9ef84ae43d1da253c9dd3e362d385b6e1638eace7a1f105736ca54f581a5f474f0
 SHA512 
bfd573f909965991e266434391de5f1e52c724e679e5580b7839032a1ee57f8d36cdec6d892b1d22fb7285335801a6fe17ea8559ea7ba43704fbf57c6a06dd05

diff --git a/dev-libs/libtpms/libtpms-0.7.3.ebuild 
b/dev-libs/libtpms/libtpms-0.7.3.ebuild
new file mode 100644
index 000..1daf31882dc
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.7.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+IUSE="libressl"
+
+DEPEND=" !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+ --disable-static \
+ --with-openssl \
+ --with-tpm2
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2020-08-05 Thread Joonas Niilola
commit: c69bfd883e1039a0cccd8264e511e9e6db42a773
Author: Salah Coronya  gmail  com>
AuthorDate: Wed Jul 22 04:38:43 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug  5 12:18:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c69bfd88

dev-libs/libtpms: Remove old

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Salah Coronya  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16773
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 -
 dev-libs/libtpms/libtpms-0.7.2.ebuild | 35 ---
 2 files changed, 36 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 7b23c0510c3..fd103f61d20 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1 @@
-DIST libtpms-0.7.2.tar.gz 1205662 BLAKE2B 
e549d94b6915b3a126aac76bc65c743acf9295fa4b4b836cfc34fb4cbe52e6da000d11d2995de377ccf5d0e2366d763dd1a881c4f4ab87631c52ad62b3792b7a
 SHA512 
ddc1e00e01fe91977ac78e069a0005b7b6a4e34f41c2d53bfb24f3fdaea73945a83ae5aa344d01b6636fdd2f3dd30c4ec54b1ef58d0964700ba4cf688d436739
 DIST libtpms-0.7.3.tar.gz 1206014 BLAKE2B 
32636be3e15e27a53de1c935144d2363a80689456bd70493b4eef38214ef1b9ef84ae43d1da253c9dd3e362d385b6e1638eace7a1f105736ca54f581a5f474f0
 SHA512 
bfd573f909965991e266434391de5f1e52c724e679e5580b7839032a1ee57f8d36cdec6d892b1d22fb7285335801a6fe17ea8559ea7ba43704fbf57c6a06dd05

diff --git a/dev-libs/libtpms/libtpms-0.7.2.ebuild 
b/dev-libs/libtpms/libtpms-0.7.2.ebuild
deleted file mode 100644
index 1daf31882dc..000
--- a/dev-libs/libtpms/libtpms-0.7.2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-IUSE="libressl"
-
-DEPEND=" !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   econf \
- --disable-static \
- --with-openssl \
- --with-tpm2
-}
-
-src_install() {
-   default
-   find "${D}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/, dev-libs/libtpms/files/

2020-06-24 Thread Joonas Niilola
commit: b80383ce163074e6c5ae6da62fc0070749a8af31
Author: Salah Coronya  gmail  com>
AuthorDate: Thu May 28 15:05:00 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jun 24 15:33:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80383ce

dev-libs/libtpms: Remove old

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Salah Coronya  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15939
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest  |   1 -
 ...tial-buffer-overflow-in-filename-creation.patch | 105 
 ...Initialize-a-few-variables-for-x86-gcc-O3.patch | 108 -
 ...0-tpm12-Initialize-some-variables-for-gcc.patch |  74 --
 ...pms-0.7.0-tpm2-Fix-a-gcc-10.1.0-complaint.patch |  53 --
 dev-libs/libtpms/libtpms-0.7.0-r1.ebuild   |  41 
 6 files changed, 382 deletions(-)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 4ebba2ea779..1ad68862d4d 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1,2 +1 @@
-DIST libtpms-0.7.0.tar.gz 1203837 BLAKE2B 
ca5a3b78dc63c09c4ff084124838fedeb5be0580f709ad6165680159ba7ba4b1f751b9fbc67f6b5a8f39b82bdd420afb47087412a47b72cbe5b418a97a4860fe
 SHA512 
92d1eb5d1a1cae08e97cceaca56fc9bc6d43c54a93edae2accf19807a4e93e19d88064a0b11db796c79d32c821e6b320ebbacb65cd20da3e5b1205f3b861cef2
 DIST libtpms-0.7.2.tar.gz 1205662 BLAKE2B 
e549d94b6915b3a126aac76bc65c743acf9295fa4b4b836cfc34fb4cbe52e6da000d11d2995de377ccf5d0e2366d763dd1a881c4f4ab87631c52ad62b3792b7a
 SHA512 
ddc1e00e01fe91977ac78e069a0005b7b6a4e34f41c2d53bfb24f3fdaea73945a83ae5aa344d01b6636fdd2f3dd30c4ec54b1ef58d0964700ba4cf688d436739

diff --git 
a/dev-libs/libtpms/files/libtpms-0.7.0-tpm12-Fix-potential-buffer-overflow-in-filename-creation.patch
 
b/dev-libs/libtpms/files/libtpms-0.7.0-tpm12-Fix-potential-buffer-overflow-in-filename-creation.patch
deleted file mode 100644
index 9e7af9e88ed..000
--- 
a/dev-libs/libtpms/files/libtpms-0.7.0-tpm12-Fix-potential-buffer-overflow-in-filename-creation.patch
+++ /dev/null
@@ -1,105 +0,0 @@
-From 1cdd950e7342240ed8edc695372365cf57fbc6cb Mon Sep 17 00:00:00 2001
-From: Stefan Berger 
-Date: Thu, 17 Oct 2019 10:19:23 -0400
-Subject: [PATCH 2/2] tpm12: Fix potential buffer overflow in filename creation
-
-Fix a potential buffer overflow bug in the creation of filenames
-that were using sprintf() rather than snprintf(). The buffer overflow
-could occurr if the buffer is longer than 4096 bytes. The state path
-may alone be 4096 bytes and could possibly trigger the overflow.
-
-Swtpm for example is not affected from this since it uses the callbacks
-that are invoked before the faulty function is called.
-
-Signed-off-by: Stefan Berger 

- src/tpm12/tpm_nvfile.c | 43 --
- 1 file changed, 33 insertions(+), 10 deletions(-)
-
-diff --git a/src/tpm12/tpm_nvfile.c b/src/tpm12/tpm_nvfile.c
-index c8e7bcf..0268bd0 100644
 a/src/tpm12/tpm_nvfile.c
-+++ b/src/tpm12/tpm_nvfile.c
-@@ -70,7 +70,8 @@
- 
- /* local prototypes */
- 
--static void   TPM_NVRAM_GetFilenameForName(char *filename,
-+static TPM_RESULT TPM_NVRAM_GetFilenameForName(char *filename,
-+   size_t filename_len,
-  uint32_t tpm_number,
-const char *name);
- 
-@@ -189,7 +190,10 @@ TPM_RESULT TPM_NVRAM_LoadData(unsigned char **data, 
/* freed by caller */
- /* open the file */
- if (rc == 0) {
- /* map name to the rooted filename */
--TPM_NVRAM_GetFilenameForName(filename, tpm_number, name);
-+rc = TPM_NVRAM_GetFilenameForName(filename, sizeof(filename),
-+  tpm_number, name);
-+}
-+if (rc == 0) {
- printf("  TPM_NVRAM_LoadData: Opening file %s\n", filename);
- file = fopen(filename, "rb");   /* closed @1 
*/
- if (file == NULL) { /* if failure, determine cause */
-@@ -297,7 +301,10 @@ TPM_RESULT TPM_NVRAM_StoreData(const unsigned char *data,
- printf(" TPM_NVRAM_StoreData: To name %s\n", name);
- if (rc == 0) {
- /* map name to the rooted filename */
--TPM_NVRAM_GetFilenameForName(filename, tpm_number, name);
-+rc = TPM_NVRAM_GetFilenameForName(filename, sizeof(filename),
-+  tpm_number, name);
-+}
-+if (rc == 0) {
- /* open the file */
- printf(" TPM_NVRAM_StoreData: Opening file %s\n", filename);
- file = fopen(filename, "wb");   /* closed @1 
*/
-@@ -339,14 +346,27 @@ TPM_RESULT TPM_NVRAM_StoreData(const unsigned char *data,
-state_directory/tpm_number.name
- */
- 
--static void TPM_NVRAM_GetFilenameForName(char *filename,/* output: 
root

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2020-06-24 Thread Joonas Niilola
commit: 0626aea1af50433b56fe97de5d9a69bff2e3ffcc
Author: Salah Coronya  gmail  com>
AuthorDate: Thu May 28 15:05:00 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jun 24 15:33:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0626aea1

dev-libs/libtpms: Bump to 0.7.2

Closes: https://bugs.gentoo.org/726488
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Salah Coronya  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.7.2.ebuild | 35 +++
 2 files changed, 36 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
index 84d03d4014d..4ebba2ea779 100644
--- a/dev-libs/libtpms/Manifest
+++ b/dev-libs/libtpms/Manifest
@@ -1 +1,2 @@
 DIST libtpms-0.7.0.tar.gz 1203837 BLAKE2B 
ca5a3b78dc63c09c4ff084124838fedeb5be0580f709ad6165680159ba7ba4b1f751b9fbc67f6b5a8f39b82bdd420afb47087412a47b72cbe5b418a97a4860fe
 SHA512 
92d1eb5d1a1cae08e97cceaca56fc9bc6d43c54a93edae2accf19807a4e93e19d88064a0b11db796c79d32c821e6b320ebbacb65cd20da3e5b1205f3b861cef2
+DIST libtpms-0.7.2.tar.gz 1205662 BLAKE2B 
e549d94b6915b3a126aac76bc65c743acf9295fa4b4b836cfc34fb4cbe52e6da000d11d2995de377ccf5d0e2366d763dd1a881c4f4ab87631c52ad62b3792b7a
 SHA512 
ddc1e00e01fe91977ac78e069a0005b7b6a4e34f41c2d53bfb24f3fdaea73945a83ae5aa344d01b6636fdd2f3dd30c4ec54b1ef58d0964700ba4cf688d436739

diff --git a/dev-libs/libtpms/libtpms-0.7.2.ebuild 
b/dev-libs/libtpms/libtpms-0.7.2.ebuild
new file mode 100644
index 000..1daf31882dc
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.7.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+IUSE="libressl"
+
+DEPEND=" !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+ --disable-static \
+ --with-openssl \
+ --with-tpm2
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/, dev-libs/libtpms/files/

2020-05-14 Thread Aaron Bauman
commit: 9570993b65a75260234df497710949db861ffd8f
Author: Salah Coronya  gmail  com>
AuthorDate: Mon May 11 16:40:04 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu May 14 22:12:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9570993b

dev-libs/libtpms: Fix compiliation under GCC10

Closes: https://bugs.gentoo.org/722056
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Salah Coronya  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15750
Signed-off-by: Aaron Bauman  gentoo.org>

 ...tial-buffer-overflow-in-filename-creation.patch | 105 
 ...Initialize-a-few-variables-for-x86-gcc-O3.patch | 108 +
 ...0-tpm12-Initialize-some-variables-for-gcc.patch |  74 ++
 ...pms-0.7.0-tpm2-Fix-a-gcc-10.1.0-complaint.patch |  53 ++
 dev-libs/libtpms/libtpms-0.7.0-r1.ebuild   |   7 ++
 5 files changed, 347 insertions(+)

diff --git 
a/dev-libs/libtpms/files/libtpms-0.7.0-tpm12-Fix-potential-buffer-overflow-in-filename-creation.patch
 
b/dev-libs/libtpms/files/libtpms-0.7.0-tpm12-Fix-potential-buffer-overflow-in-filename-creation.patch
new file mode 100644
index 000..9e7af9e88ed
--- /dev/null
+++ 
b/dev-libs/libtpms/files/libtpms-0.7.0-tpm12-Fix-potential-buffer-overflow-in-filename-creation.patch
@@ -0,0 +1,105 @@
+From 1cdd950e7342240ed8edc695372365cf57fbc6cb Mon Sep 17 00:00:00 2001
+From: Stefan Berger 
+Date: Thu, 17 Oct 2019 10:19:23 -0400
+Subject: [PATCH 2/2] tpm12: Fix potential buffer overflow in filename creation
+
+Fix a potential buffer overflow bug in the creation of filenames
+that were using sprintf() rather than snprintf(). The buffer overflow
+could occurr if the buffer is longer than 4096 bytes. The state path
+may alone be 4096 bytes and could possibly trigger the overflow.
+
+Swtpm for example is not affected from this since it uses the callbacks
+that are invoked before the faulty function is called.
+
+Signed-off-by: Stefan Berger 
+---
+ src/tpm12/tpm_nvfile.c | 43 --
+ 1 file changed, 33 insertions(+), 10 deletions(-)
+
+diff --git a/src/tpm12/tpm_nvfile.c b/src/tpm12/tpm_nvfile.c
+index c8e7bcf..0268bd0 100644
+--- a/src/tpm12/tpm_nvfile.c
 b/src/tpm12/tpm_nvfile.c
+@@ -70,7 +70,8 @@
+ 
+ /* local prototypes */
+ 
+-static void   TPM_NVRAM_GetFilenameForName(char *filename,
++static TPM_RESULT TPM_NVRAM_GetFilenameForName(char *filename,
++   size_t filename_len,
+  uint32_t tpm_number,
+const char *name);
+ 
+@@ -189,7 +190,10 @@ TPM_RESULT TPM_NVRAM_LoadData(unsigned char **data, 
/* freed by caller */
+ /* open the file */
+ if (rc == 0) {
+ /* map name to the rooted filename */
+-TPM_NVRAM_GetFilenameForName(filename, tpm_number, name);
++rc = TPM_NVRAM_GetFilenameForName(filename, sizeof(filename),
++  tpm_number, name);
++}
++if (rc == 0) {
+ printf("  TPM_NVRAM_LoadData: Opening file %s\n", filename);
+ file = fopen(filename, "rb");   /* closed @1 
*/
+ if (file == NULL) { /* if failure, determine cause */
+@@ -297,7 +301,10 @@ TPM_RESULT TPM_NVRAM_StoreData(const unsigned char *data,
+ printf(" TPM_NVRAM_StoreData: To name %s\n", name);
+ if (rc == 0) {
+ /* map name to the rooted filename */
+-TPM_NVRAM_GetFilenameForName(filename, tpm_number, name);
++rc = TPM_NVRAM_GetFilenameForName(filename, sizeof(filename),
++  tpm_number, name);
++}
++if (rc == 0) {
+ /* open the file */
+ printf(" TPM_NVRAM_StoreData: Opening file %s\n", filename);
+ file = fopen(filename, "wb");   /* closed @1 
*/
+@@ -339,14 +346,27 @@ TPM_RESULT TPM_NVRAM_StoreData(const unsigned char *data,
+state_directory/tpm_number.name
+ */
+ 
+-static void TPM_NVRAM_GetFilenameForName(char *filename,/* output: 
rooted filename */
+-   uint32_t tpm_number,
+- const char *name)  /* input: 
abstract name */
++static TPM_RESULT TPM_NVRAM_GetFilenameForName(char *filename,/* 
output: rooted filename */
++ size_t filename_len,
++ uint32_t tpm_number,
++   const char *name)  /* 
input: abstract name */
+ {
++int n;
++TPM_RESULT rc = TPM_FAIL;
++
+ printf(" TPM_NVRAM_GetFilenameForName: For name %s\n", name);
+-sprintf(filename, "%s/%02lx.%s", state_directory, (unsigned 
long)tpm_number, name);
+-printf("  TPM_NVRAM_GetFilenameForName: File name %s\n", filename);
+-return;
++n = snp

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2020-02-19 Thread Joonas Niilola
commit: 9749628a16ad3603f9c764a901987f1a069f07f2
Author: Salah Coronya  gmail  com>
AuthorDate: Mon Jan 13 14:41:12 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Feb 19 13:32:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9749628a

dev-libs/libtpms: Remove old

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Salah Coronya  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/libtpms-0.7.0.ebuild | 27 ---
 1 file changed, 27 deletions(-)

diff --git a/dev-libs/libtpms/libtpms-0.7.0.ebuild 
b/dev-libs/libtpms/libtpms-0.7.0.ebuild
deleted file mode 100644
index ea28c3dd94f..000
--- a/dev-libs/libtpms/libtpms-0.7.0.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-
-DEPEND="dev-libs/openssl:0="
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   econf \
- --with-openssl \
- --with-tpm2
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2020-02-19 Thread Joonas Niilola
commit: 42f7a28c7231bb4e3d17c73eace7989eae533c20
Author: Salah Coronya  gmail  com>
AuthorDate: Mon Jan 13 05:50:43 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Feb 19 13:32:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f7a28c

dev-libs/libtpms: Add libressl support

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Salah Coronya  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/libtpms-0.7.0-r1.ebuild | 34 
 1 file changed, 34 insertions(+)

diff --git a/dev-libs/libtpms/libtpms-0.7.0-r1.ebuild 
b/dev-libs/libtpms/libtpms-0.7.0-r1.ebuild
new file mode 100644
index 000..b13d07d5023
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.7.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+IUSE="libressl"
+
+DEPEND=" !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+ --with-openssl \
+ --with-tpm2
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/

2019-08-02 Thread Joonas Niilola
commit: c3a5d320ff902b26b5a89097408ee01ae3187dba
Author: Salah Coronya  gmail  com>
AuthorDate: Fri Aug  2 01:55:12 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Aug  2 11:24:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3a5d320

dev-libs/libtpms: New ebuild

libtpms is a library providing software emultion of a TPM. It is used by
swtpm.

Closes: https://bugs.gentoo.org/675296
Signed-off-by: Salah Coronya  gmail.com>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libtpms/Manifest |  1 +
 dev-libs/libtpms/libtpms-0.7.0.ebuild | 27 +++
 dev-libs/libtpms/metadata.xml | 13 +
 3 files changed, 41 insertions(+)

diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
new file mode 100644
index 000..84d03d4014d
--- /dev/null
+++ b/dev-libs/libtpms/Manifest
@@ -0,0 +1 @@
+DIST libtpms-0.7.0.tar.gz 1203837 BLAKE2B 
ca5a3b78dc63c09c4ff084124838fedeb5be0580f709ad6165680159ba7ba4b1f751b9fbc67f6b5a8f39b82bdd420afb47087412a47b72cbe5b418a97a4860fe
 SHA512 
92d1eb5d1a1cae08e97cceaca56fc9bc6d43c54a93edae2accf19807a4e93e19d88064a0b11db796c79d32c821e6b320ebbacb65cd20da3e5b1205f3b861cef2

diff --git a/dev-libs/libtpms/libtpms-0.7.0.ebuild 
b/dev-libs/libtpms/libtpms-0.7.0.ebuild
new file mode 100644
index 000..ea28c3dd94f
--- /dev/null
+++ b/dev-libs/libtpms/libtpms-0.7.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+DEPEND="dev-libs/openssl:0="
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+ --with-openssl \
+ --with-tpm2
+}

diff --git a/dev-libs/libtpms/metadata.xml b/dev-libs/libtpms/metadata.xml
new file mode 100644
index 000..6ddd104074b
--- /dev/null
+++ b/dev-libs/libtpms/metadata.xml
@@ -0,0 +1,13 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   [email protected]
+   Salah Coronya
+   
+   
+   [email protected]
+   Proxy Maintainers
+   
+
+