From af951a33bb81b1d784c3f4ea7bb7ca472e5b8d2b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 29 Jul 2023 10:39:26 +0100 Subject: gentoo auto-resync : 29:07:2023 - 10:39:26 --- app-crypt/swtpm/Manifest | 4 +- app-crypt/swtpm/metadata.xml | 1 - app-crypt/swtpm/swtpm-0.8.0-r1.ebuild | 75 ----------------------------------- app-crypt/swtpm/swtpm-0.8.0-r2.ebuild | 66 ++++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+), 78 deletions(-) delete mode 100644 app-crypt/swtpm/swtpm-0.8.0-r1.ebuild create mode 100644 app-crypt/swtpm/swtpm-0.8.0-r2.ebuild (limited to 'app-crypt/swtpm') diff --git a/app-crypt/swtpm/Manifest b/app-crypt/swtpm/Manifest index d3129bb4ffbd..1722f536377e 100644 --- a/app-crypt/swtpm/Manifest +++ b/app-crypt/swtpm/Manifest @@ -4,6 +4,6 @@ AUX swtpm-0.7.2-Conditionalize-test-dependencies.patch 1065 BLAKE2B 359cf6e69269 DIST swtpm-0.7.3.tar.gz 354088 BLAKE2B 687e3161cbc08be68427648187ba2fb05749bcaaf9929b951eea4884bd4210c6105a2494f5e7d51915e5be1b700b13889cd83c96d22e00d621ea9336221ee67b SHA512 7f4cdf7ca2539f28e3a78e2a081b24983f3305905c7cafcac0957b14f5c06c8ee9485a0adaf3710561091f9ee85e00822fe1ff874389808218c1e17f938c45d9 DIST swtpm-0.8.0.tar.gz 363951 BLAKE2B 8ec91961c5ac145dc5d1c3c4a609d18bc425caef0efb4d2b18c08c76acacefa619617b6e7b6e8e4e707117a29e3ff3c0198b63d81d24fc747435c6e06e48e8e9 SHA512 7f70c19f732404061be6168c96c0dd3ec91ed8b50dddcafcb50d810062ce0e83ad85360191f97db5db9dc034e01d91cebe3912449d896d2cde68fe060a0adb09 EBUILD swtpm-0.7.3.ebuild 1416 BLAKE2B 4344cd948a48f8d6b576f058b3566dc836d7616af160ea19327df80e16f8b11b732b5425bdd1d94beeb144ec8ce7359bbb934ca915d3debf6e99315e12b102a6 SHA512 1ee0112873d63b7b33bd23496e0f92bf957da0cc5952fbe1302c79af1517312a50534a3c3dce70b407ce182efcb20775c3057898414ec45ce96fc1cdb7e04f1f -EBUILD swtpm-0.8.0-r1.ebuild 1516 BLAKE2B ec082c7772542e54001a3905ee9825721e541dae9caae1dc38711f31e87637987ff9c620c866139fe5b7443f64a372a43ef6a494ec9073f546831f65e9157e03 SHA512 eaa22665735c376a0b18aafda33792240be13899e6e8475a12e6d81dc434ffd7b34f8f2795ed0b75bfdba91ecbcd7891353c0547ff4bc40285134f8a5d34e53a +EBUILD swtpm-0.8.0-r2.ebuild 1340 BLAKE2B 7d8fb65105ff3fee6014a30955a947a7de340215057172e895c9e52c016cf4851c7b4c9ed44c027cf0883768e932be15ea0f7c54936d1679711f495fee45f3d4 SHA512 15d98c5a6fcb9f00718071b6035a585a8347d321d8dab1646b36714b31f1b3126978c11e15d78f23c2d5191840df21ef6486df4d4b725207c8e9a19ede3a3013 EBUILD swtpm-0.8.0.ebuild 1423 BLAKE2B a136fec1ca90e331569b9d8e0c8735fca8efba749dc27939d7d821cb9a00df8fb4bb34a352a94b087288758ad07f04d40ad7944c698841a429ac3994c547b370 SHA512 72bf70275da3c31c087db9498572685b0d052b82510311341aeff16ccc2df1f286e379aa4fca7beb624b0f99da27871993a9191ae931069b34ad2cb9234bc80d -MISC metadata.xml 873 BLAKE2B e947a2e4f499a1bced79cdaf87d7b0660822881a11e73bc897ef46d3671efb8673e08b0c77e3ea2feeacee9e32c1450e1d245a41926960d4bc1b387e237674e9 SHA512 ca4b8d5da1e162d7ad12abd791684d1c38539dcd05fe93ca2a080780ec3d4b7be2b7f307a6ac15ab2d65597706c6f2b684505efc193c62803b0933145051dfcf +MISC metadata.xml 794 BLAKE2B dba4f05f021693e7404cf11c978290f95002956abe33e4a1296ea485854fa8f3bbbb66ef10f11393c68a9a4ef06218b379e250ef9c3e764d0460e7fcd8121014 SHA512 e7f0800df5a146f216ead60faabaf6b590fb02a0518895714a6b7666798588a3301bb86225296ac4fc65ea8c1d243dfcab97cf6eca9962ae40ce566add3af542 diff --git a/app-crypt/swtpm/metadata.xml b/app-crypt/swtpm/metadata.xml index 56af2735d414..f93b188345c2 100644 --- a/app-crypt/swtpm/metadata.xml +++ b/app-crypt/swtpm/metadata.xml @@ -16,7 +16,6 @@ Support sys-fs/fuse based /dev/tpm interface Use net-libs/gnutls as crypto engine - Use dev-libs/openssl as crypto engine stefanberger/swtpm diff --git a/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild b/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild deleted file mode 100644 index dc312dd8bd52..000000000000 --- a/app-crypt/swtpm/swtpm-0.8.0-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11} ) - -inherit autotools python-any-r1 - -DESCRIPTION="Libtpms-based TPM emulator" -HOMEPAGE="https://github.com/stefanberger/swtpm" -SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="fuse gnutls seccomp +openssl test" -RESTRICT="!test? ( test )" - -RDEPEND="fuse? ( - dev-libs/glib:2 - sys-fs/fuse:0 - ) - gnutls? ( - dev-libs/libtasn1:= - >=net-libs/gnutls-3.4.0:=[tools,pkcs11] - ) - openssl? ( - dev-libs/libtasn1:= - dev-libs/openssl - ) - seccomp? ( sys-libs/libseccomp ) - acct-group/tss - acct-user/tss - dev-libs/openssl:0= - dev-libs/json-glib - dev-libs/libtpms" - -DEPEND="${RDEPEND} - test? ( - net-misc/socat - dev-tcltk/expect - )" - -BDEPEND="${PYTHON_DEPS}" - -PATCHES=( - "${FILESDIR}/${PN}-0.6.0-fix-localca-path.patch" - "${FILESDIR}/${PN}-0.5.0-build-sys-Remove-WError.patch" - "${FILESDIR}/${PN}-0.7.2-Conditionalize-test-dependencies.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --with-openssl \ - --without-selinux \ - $(use_with fuse cuse) \ - $(use_with gnutls) \ - $(use_with openssl) \ - $(use_with seccomp) \ - $(use_enable test) -} - -src_install() { - default - fowners -R tss:root /var/lib/swtpm-localca - fperms 750 /var/lib/swtpm-localca - keepdir /var/lib/swtpm-localca - find "${D}" -name '*.la' -delete || die -} diff --git a/app-crypt/swtpm/swtpm-0.8.0-r2.ebuild b/app-crypt/swtpm/swtpm-0.8.0-r2.ebuild new file mode 100644 index 000000000000..4f2d43053f44 --- /dev/null +++ b/app-crypt/swtpm/swtpm-0.8.0-r2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11} ) + +inherit autotools python-any-r1 + +DESCRIPTION="Libtpms-based TPM emulator" +HOMEPAGE="https://github.com/stefanberger/swtpm" +SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="fuse seccomp test" +RESTRICT="!test? ( test )" + +RDEPEND="fuse? ( + dev-libs/glib:2 + sys-fs/fuse:0 + ) + seccomp? ( sys-libs/libseccomp ) + dev-libs/libtasn1:= + acct-group/tss + acct-user/tss + dev-libs/openssl:0= + dev-libs/json-glib + dev-libs/libtpms" + +DEPEND="${RDEPEND} + test? ( + net-misc/socat + dev-tcltk/expect + )" + +BDEPEND="${PYTHON_DEPS}" + +PATCHES=( + "${FILESDIR}/${PN}-0.6.0-fix-localca-path.patch" + "${FILESDIR}/${PN}-0.5.0-build-sys-Remove-WError.patch" + "${FILESDIR}/${PN}-0.7.2-Conditionalize-test-dependencies.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --with-openssl \ + --without-selinux \ + $(use_with fuse cuse) \ + $(use_with seccomp) \ + $(use_enable test) +} + +src_install() { + default + fowners -R tss:root /var/lib/swtpm-localca + fperms 750 /var/lib/swtpm-localca + keepdir /var/lib/swtpm-localca + find "${D}" -name '*.la' -delete || die +} -- cgit v1.2.3