commit: bef102fc801a9db6078314e3e95786620b7c0612 Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com> AuthorDate: Wed Dec 4 00:55:45 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Dec 11 01:52:02 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bef102fc
app-crypt/swtpm: drop 0.8.1-r2 Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> app-crypt/swtpm/Manifest | 1 - ...pm-0.7.2-Conditionalize-test-dependencies.patch | 42 ------------- app-crypt/swtpm/swtpm-0.8.1-r2.ebuild | 73 ---------------------- 3 files changed, 116 deletions(-) diff --git a/app-crypt/swtpm/Manifest b/app-crypt/swtpm/Manifest index 1a1a41801d8a..3be9b536af96 100644 --- a/app-crypt/swtpm/Manifest +++ b/app-crypt/swtpm/Manifest @@ -1,4 +1,3 @@ DIST swtpm-0.10.0.tar.gz 414698 BLAKE2B 62ebc5638e7c0b6c2be42d8da5369dfce708339882b582b154aa46d5ae6ed4a59f4e6cc31a05b062190b98a461caed82281bf64b05e8941d3923d200cfde501c SHA512 6f1848b0514799417582c1a5bedf9b7110e3627ab14f02ea193ad76ce8a188eba596494f410405c5f7226e2daf7d9ee889983a2265285839e72de12e6368180d -DIST swtpm-0.8.1.tar.gz 364169 BLAKE2B 4b364ed581ea97d78c5c6248870503b1612d7d164b05b76c1f02644aade6fd09f204396f0a2d0db4e0ecec2792dc512f7c4393c44bf7ce447a3a7fbb8754594f SHA512 07276519b0e20c9c4167ce78e789d2072eb90172ed9bcba2a11eef46ee03a77860f7a2218f4dc013a2ddb8471079e3cbe43f8ab02174bd704a78aea8eee3d2fc DIST swtpm-0.8.2.tar.gz 364432 BLAKE2B 1ffa6feed88a67a2eeea1fca1c034f6513347173d59ae0c0654696faa1e791529e7fa044c478e5fb7e016117ce5f3151b875014d85eac528e4b6d92d5cf9017b SHA512 3b63116b1ed56087e05b0b697462720a10fe384ea2b8ec7115b549df8f557f6a9cf4de8e7d65b8061a1c85e54e015e0249bfbb613d35c1b64453a98d23ce334f DIST swtpm-0.9.0.tar.gz 370942 BLAKE2B bed63851dfdb94f463bbac962044114f75abd36f6558f173fd67be608f50c8954c6038d33bb6e3d2e88427238c7c06048beae23b84b2a1e186c0de98a9bd5ad8 SHA512 4f1723679b85218e80ea6aacdffa687e541ee309ddab9bcb8d8e5aa0b461ee431c880f2e300f1dcae112646f3636593005a342ee0cb762ec115aa599369e111c diff --git a/app-crypt/swtpm/files/swtpm-0.7.2-Conditionalize-test-dependencies.patch b/app-crypt/swtpm/files/swtpm-0.7.2-Conditionalize-test-dependencies.patch deleted file mode 100644 index b17e1c2470fc..000000000000 --- a/app-crypt/swtpm/files/swtpm-0.7.2-Conditionalize-test-dependencies.patch +++ /dev/null @@ -1,42 +0,0 @@ -configure.ac: Conditionalize test dependencies - -Signed-off-by: Christopher Byrne <[email protected]> ---- a/configure.ac -+++ b/configure.ac -@@ -369,20 +369,25 @@ else - fi - AC_SUBST([DEFAULT_PCR_BANKS]) - --AC_PATH_PROG([EXPECT], expect) --if test "x$EXPECT" = "x"; then -- AC_MSG_ERROR([expect is required: expect package]) --fi -+AC_ARG_ENABLE([test], -+ [AS_HELP_STRING([--enable-test], -+ [enable tests (default is yes)])], -+ [enable_test=$enableval], -+ [enable_test=yes]) -+ -+AS_IF([test "x$enable_test" != xno], -+ [AC_PATH_PROG([EXPECT], expect) -+ AS_IF([test "x$EXPECT" = "x"], -+ AC_MSG_ERROR([expect is required: expect package])) -+ AC_PATH_PROG([SOCAT], socat) -+ AS_IF([test "x$SOCAT" = "x"], -+ AC_MSG_ERROR([socat is required: socat package]))]) - - AC_PATH_PROG([GAWK], gawk) - if test "x$GAWK" = "x"; then - AC_MSG_ERROR([gawk is required: gawk package]) - fi - --AC_PATH_PROG([SOCAT], socat) --if test "x$SOCAT" = "x"; then -- AC_MSG_ERROR([socat is required: socat package]) --fi - - AC_PATH_PROG([BASE64], base64) - if test "x$BASE64" = "x"; then --- -2.34.1 - diff --git a/app-crypt/swtpm/swtpm-0.8.1-r2.ebuild b/app-crypt/swtpm/swtpm-0.8.1-r2.ebuild deleted file mode 100644 index 650e54402d13..000000000000 --- a/app-crypt/swtpm/swtpm-0.8.1-r2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -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 )" - -# net-libs/gnutls[pkcs11,tools] is required otherwsie it not possible to -# provision new vTPMs. swtpm_cert spawns certttool, and upstream expects -# pkcs11 in gnutls: https://github.com/stefanberger/swtpm/issues/477. - -RDEPEND="fuse? ( - dev-libs/glib:2 - sys-fs/fuse:0 - ) - seccomp? ( sys-libs/libseccomp ) - acct-group/tss - acct-user/tss - dev-libs/openssl:0= - dev-libs/json-glib - dev-libs/libtpms - dev-libs/libtasn1:= - net-libs/gnutls[pkcs11,tools] -" - -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 \ - --with-gnutls \ - --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 -}
