From 7ef0a54f9e5cc53b6f0eb75144a94d0ad98aeef5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 22 Dec 2022 19:57:35 +0000 Subject: gentoo auto-resync : 22:12:2022 - 19:57:35 --- app-crypt/Manifest.gz | Bin 23941 -> 23943 bytes app-crypt/tpm2-abrmd/Manifest | 2 +- app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0-r1.ebuild | 64 ++++++++++++++++++++++++ app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0.ebuild | 60 ---------------------- 4 files changed, 65 insertions(+), 61 deletions(-) create mode 100644 app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0-r1.ebuild delete mode 100644 app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0.ebuild (limited to 'app-crypt') diff --git a/app-crypt/Manifest.gz b/app-crypt/Manifest.gz index b1a2d029f844..774f15d2249e 100644 Binary files a/app-crypt/Manifest.gz and b/app-crypt/Manifest.gz differ diff --git a/app-crypt/tpm2-abrmd/Manifest b/app-crypt/tpm2-abrmd/Manifest index 8ca0d5be9840..2bd937ac463b 100644 --- a/app-crypt/tpm2-abrmd/Manifest +++ b/app-crypt/tpm2-abrmd/Manifest @@ -3,5 +3,5 @@ AUX tpm2-abrmd.initd 390 BLAKE2B 5dbaccf073eba208e13c24f92127e41c4c71fe62dd9bf20 DIST tpm2-abrmd-2.4.1.tar.gz 577259 BLAKE2B 7d97e1069a171f3693fb11b8e2ce0243993f4352aae9fd691bfbf1b8fcef8615b79957f8f662ac00fe59bf7e3830d8abb79c67790f7be1cd3140fd1c7b1ed560 SHA512 0335285678cfceca4f185981ded90d213ff796cadddc9b5d6dbf2db533f81023a0f1089bbd8a8017bccb95190889be23b24d38a176d3368d221479aff4ff7d6c DIST tpm2-abrmd-3.0.0.tar.gz 576822 BLAKE2B cdcb677a2dec59cdc454b98793bb0784ba3403c276b618cd37c5748ab1d883ee8f3f69c0ae95c7bf262e2e993dcc0b12ae39010de12c6c211fe3de8c21515160 SHA512 65a39cd0518dfbcbd5835ac6c6628444d412e36471702f2cd1f1077d788330a477778e6403899ea2fa0497b643e5db9ca3e746845492eff78c4c78d8dd8f9e7d EBUILD tpm2-abrmd-2.4.1-r1.ebuild 1580 BLAKE2B 9598e8a6d2b1dd25cffd6bc23c2fe6c68369dbba39a584101a8b65a743eae09e3ac6aee930517e8c6fedd4f83f451f531ac254fb132687210d074159aa5169f9 SHA512 b46319faf9d9b8b5e626afcbdc30fbdc88a1f0660fc11f38eb9cc4ed3ac8e7d2e835318d732463de6580765effb0bd2faf48c5c91662b21b7bc1582fb3366722 -EBUILD tpm2-abrmd-3.0.0.ebuild 1415 BLAKE2B bb6e785f7fac4de00470a3b79b9ea3d23b36e1294310c1c6efc20cd39d7b8fde50064ed6ba7ec618a5c9153c1d0721fb1318786d5532e446cf92a9d3aaba7172 SHA512 1c37efd331d75fcc8784a7f1aee29438a90ced1239f027eb8844fea8acfccb8a279f742b0a09d2dacdf519737176190c53a9847a082c783f782896cd4a2fdb3c +EBUILD tpm2-abrmd-3.0.0-r1.ebuild 1467 BLAKE2B 0c253d1e0b5bebb9891acf1e91c55f648871bc89ce0e2c24d16f33a4fb24e3f023dd75c7cb2892e54ea0a54a61947c5dd2ce6cb527c91b30c092ce0fd56076e2 SHA512 6fa52e0cc8293b02a3f4708b802eea17fba57421749d5bd243dc98e553c36254afc551547d700fe8f8e1ef52a728a07dffe97e3fe6b8c307770b58793ccf9564 MISC metadata.xml 493 BLAKE2B fd3fd8c23a18d535957ac767d6f1a8cc49a91ad362d02b3df87e14040d856c7f01341561fed23090b6776937d9cb11e7015d869fc5399620e9047f1644591e9d SHA512 2f72ada33f64c867a9b0a453919d0dbd444ba072abe3212fd6a3c2fb5bd337fb38b6ff0b8474345e6843160822d6c065261881799a9598de3a57045f09208667 diff --git a/app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0-r1.ebuild b/app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0-r1.ebuild new file mode 100644 index 000000000000..56f9d03e0cbe --- /dev/null +++ b/app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic systemd + +DESCRIPTION="TPM2 Access Broker & Resource Manager" +HOMEPAGE="https://github.com/tpm2-software/tpm2-abrmd" +SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="static-libs test" + +RESTRICT="!test? ( test )" + +RDEPEND="acct-group/tss + acct-user/tss + sys-apps/dbus + dev-libs/glib:= + app-crypt/tpm2-tss:=" +DEPEND="${RDEPEND} + test? ( + app-crypt/swtpm + >=app-crypt/tpm2-tss-3.0.0:= + dev-util/cmocka + )" +BDEPEND="virtual/pkgconfig + dev-util/gdbus-codegen" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # tests fail with LTO enabbled. See bug 865275 + filter-lto + econf \ + $(use_enable static-libs static) \ + $(use_enable test unit) \ + $(use_enable test integration) \ + --disable-defaultflags \ + --with-dbuspolicydir="${EPREFIX}/etc/dbus-1/system.d" \ + --with-systemdpresetdir="$(systemd_get_systemunitdir)/../system-preset" \ + --with-systemdpresetdisable \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} +} + +pkg_postinst() { + einfo "As of tpm2-abrmd 3.0.0, users must be in the tss group" + einfo "to access the TPM" +} diff --git a/app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0.ebuild b/app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0.ebuild deleted file mode 100644 index 454cad2eeaee..000000000000 --- a/app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic systemd - -DESCRIPTION="TPM2 Access Broker & Resource Manager" -HOMEPAGE="https://github.com/tpm2-software/tpm2-abrmd" -SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="static-libs test" - -RESTRICT="!test? ( test )" - -RDEPEND="acct-group/tss - acct-user/tss - sys-apps/dbus - dev-libs/glib:= - app-crypt/tpm2-tss:=" -DEPEND="${RDEPEND} - test? ( - app-crypt/swtpm - >=app-crypt/tpm2-tss-3.0.0:= - dev-util/cmocka - )" -BDEPEND="virtual/pkgconfig - dev-util/gdbus-codegen" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # tests fail with LTO enabbled. See bug 865275 - filter-lto - econf \ - $(use_enable static-libs static) \ - $(use_enable test unit) \ - $(use_enable test integration) \ - --disable-defaultflags \ - --with-dbuspolicydir="${EPREFIX}/etc/dbus-1/system.d" \ - --with-systemdpresetdir="$(systemd_get_systemunitdir)/../system-preset" \ - --with-systemdpresetdisable \ - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" -} - -src_install() { - newinitd "${FILESDIR}"/${PN}.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} -} - -pkg_postinst() { - einfo "As of tpm2-abrmd 3.0.0, users must be in the tss group" - einfo "to access the TPM" -} -- cgit v1.2.3