* [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-pkcs11/files/, app-crypt/tpm2-pkcs11/
@ 2020-10-08 6:57 Joonas Niilola
0 siblings, 0 replies; 4+ messages in thread
From: Joonas Niilola @ 2020-10-08 6:57 UTC (permalink / raw
To: gentoo-commits
commit: bd6af1944ccbf81a3d43df39ecc45e874493b87f
Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Thu Sep 24 18:40:32 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Oct 8 06:46:44 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd6af194
app-crypt/tpm2-pkcs11: Remove -WError, fix clang compile
Closes: https://bugs.gentoo.org/744439
Closes: https://bugs.gentoo.org/744457
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17653
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
.../tpm2-pkcs11/files/tpm2-pkcs11-1.3.2-Remove-WError.patch | 12 ++++++++++++
app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.2.ebuild | 13 ++++++++++++-
app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.4.0.ebuild | 11 ++++++++++-
3 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.3.2-Remove-WError.patch b/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.3.2-Remove-WError.patch
new file mode 100644
index 00000000000..7aae19c7c71
--- /dev/null
+++ b/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.3.2-Remove-WError.patch
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+index 3088817..d789ce9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -460,7 +460,6 @@ AS_IF([test x"$enable_hardening" != xno], [
+
+ add_hardened_c_flag([-Wall])
+ add_hardened_c_flag([-Wextra])
+- add_hardened_c_flag([-Werror])
+
+ add_hardened_c_flag([-Wformat])
+ add_hardened_c_flag([-Wformat-security])
diff --git a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.2.ebuild b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.2.ebuild
index eacca8899f5..6e609d4e5f4 100644
--- a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.2.ebuild
+++ b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.3.2.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_REQ_USE="sqlite"
-inherit distutils-r1
+inherit autotools distutils-r1
DESCRIPTION="A PKCS#11 interface for TPM2 hardware"
HOMEPAGE="https://tpm2-software.github.io/"
@@ -35,7 +35,18 @@ DEPEND="${RDEPEND}"
BDEPEND="sys-devel/autoconf-archive
virtual/pkgconfig"
+PATCHES=(
+ "$FILESDIR/${PN}-1.3.2-Remove-WError.patch"
+ )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
+# we need the default version of src_configure, not the one exported
+# by distutils-r1
default
}
diff --git a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.4.0.ebuild b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.4.0.ebuild
index be28c64da7e..b413d95cb6a 100644
--- a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.4.0.ebuild
+++ b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.4.0.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_REQ_USE="sqlite"
-inherit distutils-r1
+inherit autotools distutils-r1
DESCRIPTION="A PKCS#11 interface for TPM2 hardware"
HOMEPAGE="https://tpm2-software.github.io/"
@@ -38,6 +38,15 @@ DEPEND="${RDEPEND}"
BDEPEND="sys-devel/autoconf-archive
virtual/pkgconfig"
+PATCHES=(
+ "$FILESDIR/${PN}-1.3.2-Remove-WError.patch"
+ )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
econf \
$(use_enable fapi)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-pkcs11/files/, app-crypt/tpm2-pkcs11/
@ 2024-03-04 14:54 Joonas Niilola
0 siblings, 0 replies; 4+ messages in thread
From: Joonas Niilola @ 2024-03-04 14:54 UTC (permalink / raw
To: gentoo-commits
commit: 8c8a679b7997b0ebce87e9377d309e4eaf7a0390
Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Wed Feb 7 21:11:04 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 4 14:54:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c8a679b
app-crypt/tpm2-pkcs11: Fix stripping logic
Closes: https://bugs.gentoo.org/923991
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35220
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
...0-Remove-incorrect-append-in-configure-ac.patch | 26 ++++++++
app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.9.0-r1.ebuild | 70 ++++++++++++++++++++++
2 files changed, 96 insertions(+)
diff --git a/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.9.0-Remove-incorrect-append-in-configure-ac.patch b/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.9.0-Remove-incorrect-append-in-configure-ac.patch
new file mode 100644
index 000000000000..10272341fe42
--- /dev/null
+++ b/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.9.0-Remove-incorrect-append-in-configure-ac.patch
@@ -0,0 +1,26 @@
+From 03bc2732826443328550358ba8f2c79195922bc8 Mon Sep 17 00:00:00 2001
+From: Christopher Byrne <salah.coronya@gmail.com>
+Date: Wed, 7 Feb 2024 14:55:38 -0600
+Subject: [PATCH] configure: Change mistaken += to =
+
+Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 771004b..0f1457e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -540,7 +540,7 @@ and submitting patches upstream!])
+ # Rather than nesting these and making them ugly just use a counter.
+ AX_CHECK_COMPILE_FLAG([-fdata-sections], [strip=y])
+ AX_CHECK_COMPILE_FLAG([-ffunction-sections], [strip="y$strip"])
+-AX_CHECK_LINK_FLAG([[-Wl,--gc-sections]], [strip+="y$strip"])
++AX_CHECK_LINK_FLAG([[-Wl,--gc-sections]], [strip="y$strip"])
+
+ AS_IF([test x"$strip" = xyyy], [
+ EXTRA_CFLAGS="$EXTRA_CFLAGS -fdata-sections -ffunction-sections"
+--
+2.43.0
+
diff --git a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.9.0-r1.ebuild b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.9.0-r1.ebuild
new file mode 100644
index 000000000000..9f263b30a998
--- /dev/null
+++ b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.9.0-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="sqlite"
+
+inherit autotools python-single-r1
+
+DESCRIPTION="A PKCS#11 interface for TPM2 hardware"
+HOMEPAGE="https://tpm2-software.github.io/"
+SRC_URI="https://github.com/tpm2-software/tpm2-pkcs11/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="fapi test"
+REQUIRED_USE="( ${PYTHON_REQUIRED_USE} )"
+
+# Units tests only for now
+RESTRICT="!test? ( test )"
+
+RDEPEND="${PYTHON_DEPS}
+ app-crypt/p11-kit
+ app-crypt/tpm2-abrmd
+ app-crypt/tpm2-tools[fapi?]
+ !fapi? ( app-crypt/tpm2-tss:= )
+ fapi? ( >=app-crypt/tpm2-tss-3.0.1:=[fapi] )
+ dev-db/sqlite:3
+ dev-libs/libyaml
+ dev-libs/openssl:=
+ $(python_gen_cond_dep '
+ dev-python/bcrypt[${PYTHON_USEDEP}]
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/pyasn1[${PYTHON_USEDEP}]
+ dev-python/pyasn1-modules[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/tpm2-pytss[${PYTHON_USEDEP}]
+ ')
+"
+
+DEPEND="test? ( dev-util/cmocka )
+ ${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}
+ dev-build/autoconf-archive
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.9.0-Remove-incorrect-append-in-configure-ac.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable fapi) \
+ $(use_enable test unit)
+}
+
+src_install() {
+ default
+ python_domodule tools/tpm2_pkcs11
+ python_newscript tools/tpm2_ptool.py tpm2_ptool
+ find "${ED}" -name '*.la' -delete || die
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-pkcs11/files/, app-crypt/tpm2-pkcs11/
@ 2024-12-21 21:01 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-12-21 21:01 UTC (permalink / raw
To: gentoo-commits
commit: e7792f342301ca7627fb707aa19daab6da06edda
Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Sun Dec 15 02:47:26 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 21 21:01:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7792f34
app-crypt/tpm2-pkcs11: drop 1.9.0-r2
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39718
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-crypt/tpm2-pkcs11/Manifest | 1 -
...0-Remove-incorrect-append-in-configure-ac.patch | 26 --------
app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.9.0-r2.ebuild | 70 ----------------------
3 files changed, 97 deletions(-)
diff --git a/app-crypt/tpm2-pkcs11/Manifest b/app-crypt/tpm2-pkcs11/Manifest
index 5a8d2da20c56..a3f45badeaaa 100644
--- a/app-crypt/tpm2-pkcs11/Manifest
+++ b/app-crypt/tpm2-pkcs11/Manifest
@@ -1,2 +1 @@
-DIST tpm2-pkcs11-1.9.0.tar.gz 1396590 BLAKE2B a5880b61463154d8f17549c442c7eca49b7a438335c264022d81fa93079b83633cba8ff8c3377f5829a896e6f5f55688018d8c3a78cb8223a888c7d6bfcaf555 SHA512 e88e78790a8d4d5a67713855106860e90dd18da00dc738ca7bfebf7979cdde54ce5089d0be015e7a208117bf393db700ca7739986c5e8138ee0e3b37344614b0
DIST tpm2-pkcs11-1.9.1.tar.gz 1412372 BLAKE2B 79a40f124e8b00a1dce3f9fe180b6d4f05a45639128592739c64878ff6d9764b3c861d4cfb57759562ac9135f61ad02c1c42831ed04fad86cdb98b260a91d1ad SHA512 c0f76ef941f51f8637906da42917596725dbe15bbd7ab56de9efdb81cbf0ec1a846e752702eb84e08d8c539098755402c519e5f95dce101ac44143de6602c393
diff --git a/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.9.0-Remove-incorrect-append-in-configure-ac.patch b/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.9.0-Remove-incorrect-append-in-configure-ac.patch
deleted file mode 100644
index 10272341fe42..000000000000
--- a/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.9.0-Remove-incorrect-append-in-configure-ac.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 03bc2732826443328550358ba8f2c79195922bc8 Mon Sep 17 00:00:00 2001
-From: Christopher Byrne <salah.coronya@gmail.com>
-Date: Wed, 7 Feb 2024 14:55:38 -0600
-Subject: [PATCH] configure: Change mistaken += to =
-
-Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 771004b..0f1457e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -540,7 +540,7 @@ and submitting patches upstream!])
- # Rather than nesting these and making them ugly just use a counter.
- AX_CHECK_COMPILE_FLAG([-fdata-sections], [strip=y])
- AX_CHECK_COMPILE_FLAG([-ffunction-sections], [strip="y$strip"])
--AX_CHECK_LINK_FLAG([[-Wl,--gc-sections]], [strip+="y$strip"])
-+AX_CHECK_LINK_FLAG([[-Wl,--gc-sections]], [strip="y$strip"])
-
- AS_IF([test x"$strip" = xyyy], [
- EXTRA_CFLAGS="$EXTRA_CFLAGS -fdata-sections -ffunction-sections"
---
-2.43.0
-
diff --git a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.9.0-r2.ebuild b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.9.0-r2.ebuild
deleted file mode 100644
index 2efa0a2d8d04..000000000000
--- a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.9.0-r2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-PYTHON_REQ_USE="sqlite"
-
-inherit autotools python-single-r1
-
-DESCRIPTION="A PKCS#11 interface for TPM2 hardware"
-HOMEPAGE="https://tpm2-software.github.io/"
-SRC_URI="https://github.com/tpm2-software/tpm2-pkcs11/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="fapi test"
-REQUIRED_USE="( ${PYTHON_REQUIRED_USE} )"
-
-# Units tests only for now
-RESTRICT="!test? ( test )"
-
-RDEPEND="${PYTHON_DEPS}
- app-crypt/p11-kit
- app-crypt/tpm2-abrmd
- app-crypt/tpm2-tools[fapi?]
- !fapi? ( app-crypt/tpm2-tss:= )
- fapi? ( >=app-crypt/tpm2-tss-3.0.1:=[fapi] )
- dev-db/sqlite:3
- dev-libs/libyaml
- dev-libs/openssl:=
- $(python_gen_cond_dep '
- dev-python/bcrypt[${PYTHON_USEDEP}]
- dev-python/cryptography[${PYTHON_USEDEP}]
- dev-python/pyasn1[${PYTHON_USEDEP}]
- dev-python/pyasn1-modules[${PYTHON_USEDEP}]
- dev-python/pyyaml[${PYTHON_USEDEP}]
- dev-python/tpm2-pytss[${PYTHON_USEDEP}]
- ')
-"
-
-DEPEND="test? ( dev-util/cmocka )
- ${RDEPEND}"
-BDEPEND="${PYTHON_DEPS}
- dev-build/autoconf-archive
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.9.0-Remove-incorrect-append-in-configure-ac.patch"
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable fapi) \
- $(use_enable test unit)
-}
-
-src_install() {
- default
- python_domodule tools/tpm2_pkcs11
- python_newscript tools/tpm2_ptool.py tpm2_ptool
- find "${ED}" -name '*.la' -delete || die
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-pkcs11/files/, app-crypt/tpm2-pkcs11/
@ 2024-12-21 21:01 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-12-21 21:01 UTC (permalink / raw
To: gentoo-commits
commit: 55379946dc00dfd6169ebfd4f42865cd05cba2f3
Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Sun Dec 15 02:46:58 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 21 21:01:10 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55379946
app-crypt/tpm2-pkcs11: add 1.9.1
Also support Python 3.13
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-crypt/tpm2-pkcs11/Manifest | 1 +
...-pkcs11-1.9.1-Fix-prefix-install-variable.patch | 13 ++++
app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.9.1.ebuild | 70 ++++++++++++++++++++++
3 files changed, 84 insertions(+)
diff --git a/app-crypt/tpm2-pkcs11/Manifest b/app-crypt/tpm2-pkcs11/Manifest
index bc5672346cb0..5a8d2da20c56 100644
--- a/app-crypt/tpm2-pkcs11/Manifest
+++ b/app-crypt/tpm2-pkcs11/Manifest
@@ -1 +1,2 @@
DIST tpm2-pkcs11-1.9.0.tar.gz 1396590 BLAKE2B a5880b61463154d8f17549c442c7eca49b7a438335c264022d81fa93079b83633cba8ff8c3377f5829a896e6f5f55688018d8c3a78cb8223a888c7d6bfcaf555 SHA512 e88e78790a8d4d5a67713855106860e90dd18da00dc738ca7bfebf7979cdde54ce5089d0be015e7a208117bf393db700ca7739986c5e8138ee0e3b37344614b0
+DIST tpm2-pkcs11-1.9.1.tar.gz 1412372 BLAKE2B 79a40f124e8b00a1dce3f9fe180b6d4f05a45639128592739c64878ff6d9764b3c861d4cfb57759562ac9135f61ad02c1c42831ed04fad86cdb98b260a91d1ad SHA512 c0f76ef941f51f8637906da42917596725dbe15bbd7ab56de9efdb81cbf0ec1a846e752702eb84e08d8c539098755402c519e5f95dce101ac44143de6602c393
diff --git a/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.9.1-Fix-prefix-install-variable.patch b/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.9.1-Fix-prefix-install-variable.patch
new file mode 100644
index 000000000000..e698ceb12806
--- /dev/null
+++ b/app-crypt/tpm2-pkcs11/files/tpm2-pkcs11-1.9.1-Fix-prefix-install-variable.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 1ec6eb4..9e47feb 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -487,7 +487,7 @@ AM_CONDITIONAL([HAVE_P11KIT], [test "x$have_p11kit" = "xyes"])
+
+ # check for --prefix and set flag HAVE_PREFIX if found
+ # do not change install location if --prefix is given and with P11_KIT found
+-AM_CONDITIONAL([HAVE_PREFIX], [test ! -z "$(prefix)"])
++AM_CONDITIONAL([HAVE_PREFIX], [test ! -z "${prefix}"])
+
+ # END P11 CONFIG
+
diff --git a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.9.1.ebuild b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.9.1.ebuild
new file mode 100644
index 000000000000..f2b1d9c12716
--- /dev/null
+++ b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.9.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="sqlite"
+
+inherit autotools python-single-r1
+
+DESCRIPTION="A PKCS#11 interface for TPM2 hardware"
+HOMEPAGE="https://tpm2-software.github.io/"
+SRC_URI="https://github.com/tpm2-software/tpm2-pkcs11/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="fapi test"
+REQUIRED_USE="( ${PYTHON_REQUIRED_USE} )"
+
+# Units tests only for now
+RESTRICT="!test? ( test )"
+
+RDEPEND="${PYTHON_DEPS}
+ app-crypt/p11-kit
+ app-crypt/tpm2-abrmd
+ app-crypt/tpm2-tools[fapi?]
+ !fapi? ( app-crypt/tpm2-tss:= )
+ fapi? ( >=app-crypt/tpm2-tss-3.0.1:=[fapi] )
+ dev-db/sqlite:3
+ dev-libs/libyaml
+ dev-libs/openssl:=
+ $(python_gen_cond_dep '
+ dev-python/bcrypt[${PYTHON_USEDEP}]
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/pyasn1[${PYTHON_USEDEP}]
+ dev-python/pyasn1-modules[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/tpm2-pytss[${PYTHON_USEDEP}]
+ ')
+"
+
+DEPEND="test? ( dev-util/cmocka )
+ ${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}
+ dev-build/autoconf-archive
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.9.1-Fix-prefix-install-variable.patch"
+ )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with fapi) \
+ $(use_enable test unit)
+}
+
+src_install() {
+ default
+ python_domodule tools/tpm2_pkcs11
+ python_newscript tools/tpm2_ptool.py tpm2_ptool
+ find "${ED}" -name '*.la' -delete || die
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-21 21:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04 14:54 [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-pkcs11/files/, app-crypt/tpm2-pkcs11/ Joonas Niilola
-- strict thread matches above, loose matches on Subject: below --
2024-12-21 21:01 Sam James
2024-12-21 21:01 Sam James
2020-10-08 6:57 Joonas Niilola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox