diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /app-crypt/tpm2-tss | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'app-crypt/tpm2-tss')
-rw-r--r-- | app-crypt/tpm2-tss/Manifest | 7 | ||||
-rw-r--r-- | app-crypt/tpm2-tss/tpm2-tss-3.1.0.ebuild | 76 | ||||
-rw-r--r-- | app-crypt/tpm2-tss/tpm2-tss-3.1.1.ebuild | 94 | ||||
-rw-r--r-- | app-crypt/tpm2-tss/tpm2-tss-3.2.0-r2.ebuild | 94 | ||||
-rw-r--r-- | app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild | 6 |
5 files changed, 6 insertions, 271 deletions
diff --git a/app-crypt/tpm2-tss/Manifest b/app-crypt/tpm2-tss/Manifest index ad05338f021c..cdfbf70df431 100644 --- a/app-crypt/tpm2-tss/Manifest +++ b/app-crypt/tpm2-tss/Manifest @@ -1,9 +1,4 @@ AUX tpm2-tss-3.1.0-Dont-run-systemd-sysusers-in-Makefile.patch 1214 BLAKE2B 40f1005626205d440fabda7f88444b0eef344df8f6ead5716807bcbaf490e7b24afc12580ae25c506fcc45dfb4bac0789d9b897dfcaae943c6ba9795b2f4f1d8 SHA512 adbff50c66a22659b563344c216d60bb80951016c3d7180c07c0498c285c9099a60e5573ed0ce29c7732de28d4c390b8eac16bf695c739d0c614dd344f1bfb46 -DIST tpm2-tss-3.1.0.tar.gz 1584690 BLAKE2B cee2807a030b8bab653045cb11dfc7a6a3f7b1e60c1ce4650ba5f0549f29f36ff307e7d53fb5ef9c950b4dae720bdaf35f7cd1e59ebc07b3f16740035e1d5738 SHA512 8967f172c92f1e3e5ba324dbe8afe07bf1bc7179dd755cef9812105f32634f312ee7cc7dfe8e13af69dc219432463f5dc9b93477743de47aba6af1d70b252405 -DIST tpm2-tss-3.1.1.tar.gz 1592495 BLAKE2B 0f021516700ca14a1c987d7078f1402eb2a6e2f7fc325df3ace3bd9104fe5a2211aa335af0b7f05f5e0d8c2038e0033ba498551021fa2fb5947c213813ef8796 SHA512 3010a32be2d41c2f2e06c2b745a18b3f36aaa0aec7568361902deed26779e8f76c84076ceb2a9447df8194cfc9d3b50116b7311d51d83d63037dbdca60c1384e DIST tpm2-tss-3.2.0.tar.gz 1629211 BLAKE2B a89aa4d89a50bdfb5a9652874d30e2138747bd022049f2be2d0b56e296329d0c41254033ec3a062dbd64fde54a62e952f54446c551e5788231827cd53fae045a SHA512 cabb411f074dfa94919ba914849aac77a0ac2f50622e28a1406cf575369148774748e0e2b7a7c566ec83561a96d4b883bac5a3b1763f4cf48668a0c5d68c0a23 -EBUILD tpm2-tss-3.1.0.ebuild 1730 BLAKE2B e240c1e2dbe8ec07ea76f3106b4193ed07c59c69b769259529579838500d2b8431119116fa03ee8b712778c59c8aaca680c4a20462a76deef81e7a19387b2f35 SHA512 1856795cde9db35aa62dbe81872c7b01c62f5383927b0f7f5dcad7f19cd4d92885eacebcec3a56e9e1389a57f5548a2dba7f52d11afc4080840ada1e3b924e01 -EBUILD tpm2-tss-3.1.1.ebuild 2463 BLAKE2B 8a7f65df052be128b54178a82eabd3d1374364e2cb779497fb306162a82cfda23656bafb5cbd86a4e12df0356b18701bcbe0290b6d73ff22fbd765f138d69429 SHA512 f1ac1ecb7cccdae3076e536a6bc08693221cf4ac1f1ecc2b43450a7a6502d31c2b91ef2d380ce485e4fdd19029e89bed29ea13e37af9d2c3b188061572597c56 -EBUILD tpm2-tss-3.2.0-r2.ebuild 2493 BLAKE2B 9f027015cc2bd37f220f0628a419985cde67cebbc910a7515c7a5498fc42588fbfc56c389effeed688e02d870e0fe033b06cbeafaaa4968c580ed75045e94b3d SHA512 51e754e89e83e6d9877b3715d7331fa39b4bc71d305f16ba7afb33d17bf4545d8b79789bdf5777ef5e74bac968364320c5cb7b991eb5c1117ac9d9c1a338b3e8 -EBUILD tpm2-tss-3.2.0-r3.ebuild 2508 BLAKE2B 351f163b26b452cdffeca84245826c29eace7e48b1eab6e08d2625e94f2e83227a6cabe15de4d7a2d43f684766d0537a174f090ed50f68d1490e39223e1dcbde SHA512 23fa5d59d93ef7d593a788a2bab0db22582746f4004c9b7106b0af715eb6dd4d3ab63f5187cf974c7fefb1021dfde21066cc39d86dafaa498269bcf831d8f5e1 +EBUILD tpm2-tss-3.2.0-r3.ebuild 2534 BLAKE2B c5a3f76cad79f06b1c0d2d6388dc454bcb91725948c0642112a25316f13aa72a1c561504f9c87022ccee8a854f1bc706427f402d0372138a09c989b1a8ccd95a SHA512 8cb08dfad94ddba79dfcb833d9f6f7d3e78d7973e3917162baaf167203bd3d9b9a828e7f5b1f8ec1ba62f09599dd6830850005844920559caf17f611f78a20e4 MISC metadata.xml 747 BLAKE2B 0462c5942012c444e13bf094be03e0cc142b3b5e3e613570506f84be45bb3019876f3f44454b078668c7e3cbd4a60819cd2ea57c588cab34bfe82f76f222bcf8 SHA512 dab6f379190e40b0321597f0c5fa03ee5731eb77e91dc5d82d2f57c896cf40a074598ba1dedd1575e4e23e1fc5ed306f83cb50992fca6cc2bc1a1db822765a7a diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.1.0.ebuild b/app-crypt/tpm2-tss/tpm2-tss-3.1.0.ebuild deleted file mode 100644 index ccfb50c8ea47..000000000000 --- a/app-crypt/tpm2-tss/tpm2-tss-3.1.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools linux-info tmpfiles udev - -DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" -HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" -SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86" -IUSE="doc +fapi +openssl mbedtls static-libs test" - -RESTRICT="!test? ( test )" - -REQUIRED_USE="^^ ( mbedtls openssl ) - fapi? ( openssl !mbedtls )" - -RDEPEND="acct-group/tss - acct-user/tss - fapi? ( dev-libs/json-c - net-misc/curl ) - mbedtls? ( net-libs/mbedtls:= ) - openssl? ( dev-libs/openssl:= )" -DEPEND="${RDEPEND} - test? ( dev-util/cmocka )" -BDEPEND="sys-apps/acl - virtual/pkgconfig - doc? ( app-doc/doxygen )" - -PATCHES=( - "${FILESDIR}/${PN}-3.1.0-Dont-run-systemd-sysusers-in-Makefile.patch" -) - -pkg_setup() { - local CONFIG_CHECK=" \ - ~TCG_TPM - " - linux-info_pkg_setup - kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --localstatedir=/var \ - $(use_enable doc doxygen-doc) \ - $(use_enable fapi) \ - $(use_enable static-libs static) \ - $(use_enable test unit) \ - --disable-tcti-mssim \ - --disable-defaultflags \ - --disable-weakcrypto \ - --with-crypto="$(usex mbedtls mbed ossl)" \ - --with-runstatedir=/run \ - --with-udevrulesdir="$(get_udevdir)/rules.d" \ - --with-udevrulesprefix=60- \ - --with-sysusersdir="/usr/lib/sysusers.d" \ - --with-tmpfilesdir="/usr/lib/tmpfiles.d" -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - tmpfiles_process tpm2-tss-fapi.conf -} diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.1.1.ebuild b/app-crypt/tpm2-tss/tpm2-tss-3.1.1.ebuild deleted file mode 100644 index 7d2a404b0018..000000000000 --- a/app-crypt/tpm2-tss/tpm2-tss-3.1.1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools linux-info multilib-minimal tmpfiles udev - -DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" -HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" -SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0/3" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="doc +fapi +openssl mbedtls static-libs test" - -RESTRICT="!test? ( test )" - -REQUIRED_USE="^^ ( mbedtls openssl ) - fapi? ( openssl !mbedtls )" - -RDEPEND="acct-group/tss - acct-user/tss - fapi? ( dev-libs/json-c:=[${MULTILIB_USEDEP}] - net-misc/curl[${MULTILIB_USEDEP}] ) - mbedtls? ( net-libs/mbedtls:=[${MULTILIB_USEDEP}] ) - openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )" - -DEPEND="${RDEPEND} - test? ( app-crypt/swtpm - dev-libs/uthash - dev-util/cmocka - fapi? ( net-misc/curl ) )" -BDEPEND="sys-apps/acl - virtual/pkgconfig - doc? ( app-doc/doxygen )" - -PATCHES=( - "${FILESDIR}/${PN}-3.1.0-Dont-run-systemd-sysusers-in-Makefile.patch" -) - -pkg_setup() { - local CONFIG_CHECK=" \ - ~TCG_TPM - " - linux-info_pkg_setup - kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" -} - -src_prepare() { - default - - # See bug #833887 (and similar); eautoreconf means .pc file gets wrong version. - sed -i \ - "s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \ - "configure.ac" || die - - eautoreconf -} - -multilib_src_configure() { - ECONF_SOURCE=${S} econf \ - --localstatedir=/var \ - $(use_enable doc doxygen-doc) \ - $(use_enable fapi) \ - $(use_enable static-libs static) \ - $(multilib_native_use_enable test unit) \ - $(multilib_native_use_enable test integration) \ - $(multilib_native_use_enable test self-generated-certificate) \ - --disable-defaultflags \ - --disable-weakcrypto \ - --with-crypto="$(usex mbedtls mbed ossl)" \ - --with-runstatedir=/run \ - --with-udevrulesdir="$(get_udevdir)/rules.d" \ - --with-udevrulesprefix=60- \ - --with-sysusersdir="/usr/lib/sysusers.d" \ - --with-tmpfilesdir="/usr/lib/tmpfiles.d" -} - -multilib_src_install() { - default - - if [[ ${PV} != $(sed -n -e 's/^Version: //p' "${ED}/usr/$(get_libdir)/pkgconfig/tss2-sys.pc" || die) ]] ; then - # Safeguard for bug #833887 - die "pkg-config file version doesn't match ${PV}! Please report a bug!" - fi - - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - tmpfiles_process tpm2-tss-fapi.conf - udev_reload -} diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r2.ebuild b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r2.ebuild deleted file mode 100644 index 63cf9eb2a511..000000000000 --- a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r2.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools linux-info multilib-minimal tmpfiles udev - -DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" -HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" -SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="doc +fapi +openssl mbedtls static-libs test" - -RESTRICT="!test? ( test )" - -REQUIRED_USE="^^ ( mbedtls openssl ) - fapi? ( openssl !mbedtls )" - -RDEPEND="acct-group/tss - acct-user/tss - fapi? ( dev-libs/json-c:=[${MULTILIB_USEDEP}] - >=net-misc/curl-7.80.0[${MULTILIB_USEDEP}] ) - mbedtls? ( net-libs/mbedtls:=[${MULTILIB_USEDEP}] ) - openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )" - -DEPEND="${RDEPEND} - test? ( app-crypt/swtpm - dev-libs/uthash - dev-util/cmocka - fapi? ( >=net-misc/curl-7.80.0 ) )" -BDEPEND="sys-apps/acl - virtual/pkgconfig - doc? ( app-doc/doxygen )" - -PATCHES=( - "${FILESDIR}/${PN}-3.1.0-Dont-run-systemd-sysusers-in-Makefile.patch" -) - -pkg_setup() { - local CONFIG_CHECK=" \ - ~TCG_TPM - " - linux-info_pkg_setup - kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" -} - -src_prepare() { - default - - # See bug #833887 (and similar); eautoreconf means .pc file gets wrong version. - sed -i \ - "s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \ - "configure.ac" || die - - eautoreconf -} - -multilib_src_configure() { - ECONF_SOURCE=${S} econf \ - --localstatedir=/var \ - $(use_enable doc doxygen-doc) \ - $(use_enable fapi) \ - $(use_enable static-libs static) \ - $(multilib_native_use_enable test unit) \ - $(multilib_native_use_enable test integration) \ - $(multilib_native_use_enable test self-generated-certificate) \ - --disable-tcti-libtpms \ - --disable-defaultflags \ - --disable-weakcrypto \ - --with-crypto="$(usex mbedtls mbed ossl)" \ - --with-runstatedir=/run \ - --with-udevrulesdir="$(get_udevdir)/rules.d" \ - --with-udevrulesprefix=60- \ - --with-sysusersdir="/usr/lib/sysusers.d" \ - --with-tmpfilesdir="/usr/lib/tmpfiles.d" -} - -multilib_src_install() { - default - - if [[ ${PV} != $(sed -n -e 's/^Version: //p' "${ED}/usr/$(get_libdir)/pkgconfig/tss2-sys.pc" || die) ]] ; then - # Safeguard for bug #833887 - die "pkg-config file version doesn't match ${PV}! Please report a bug!" - fi - - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - tmpfiles_process tpm2-tss-fapi.conf -} diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild index 76e430b121d9..0eeb09b94203 100644 --- a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild +++ b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar LICENSE="BSD-2" SLOT="0/3" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86" IUSE="doc +fapi +openssl mbedtls static-libs test" RESTRICT="!test? ( test )" @@ -93,3 +93,7 @@ pkg_postinst() { tmpfiles_process tpm2-tss-fapi.conf udev_reload } + +pkg_postrm() { + udev_reload +} |