diff options
author | Christopher Byrne <salah.coronya@gmail.com> | 2021-06-07 21:36:56 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2021-06-25 22:41:10 -0500 |
commit | 417a5098a4a58b89e7f54650156f09d38b5549d5 (patch) | |
tree | bec5d2403c4714a910f3100caeaddadd25e44787 /app-crypt/swtpm | |
parent | app-crypt/swtpm: Bump to 0.6.0 (diff) | |
download | gentoo-417a5098a4a58b89e7f54650156f09d38b5549d5.tar.gz gentoo-417a5098a4a58b89e7f54650156f09d38b5549d5.tar.bz2 gentoo-417a5098a4a58b89e7f54650156f09d38b5549d5.zip |
app-crypt/swtpm: Remove old
Closes: https://github.com/gentoo/gentoo/pull/21154
Closes: https://bugs.gentoo.org/798696
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'app-crypt/swtpm')
-rw-r--r-- | app-crypt/swtpm/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/swtpm/files/swtpm-0.5.0-fix-localca-path.patch | 31 | ||||
-rw-r--r-- | app-crypt/swtpm/swtpm-0.5.2.ebuild | 86 |
3 files changed, 0 insertions, 118 deletions
diff --git a/app-crypt/swtpm/Manifest b/app-crypt/swtpm/Manifest index 9405fc8ced42..bdcdcc6c2035 100644 --- a/app-crypt/swtpm/Manifest +++ b/app-crypt/swtpm/Manifest @@ -1,2 +1 @@ -DIST swtpm-0.5.2.tar.gz 309436 BLAKE2B 0518e59b052c9224d5db1c2720f74ff15717468f73b1665e67c017581dd2b52d7a4cf28f94a932eb6068de3bc50f2e5710b8c447e4a08e6b4a31019db542d910 SHA512 4554f1b7a534829f9fbef4a09e190f1d5e91692d270f4f668bd6ef79799a4186a38db172e37a18be9f203466e2d7c9cdf3a350c0020d25ff6126128085ebe3a3 DIST swtpm-0.6.0.tar.gz 326049 BLAKE2B 52b310e4da1f256f440d9e0022cb6d5f5987b10aa85c8bf2837f5a5c61bc076f7d24d0a027987ef28ba0e7983a2fb04476103b88c33e3312536777366bf9b0cd SHA512 b12bb9cc486c50d0689a5655799c0d52f85d320a1d849fd56ee5c4b497472102c61b5d368f46a81e0b9feacc63b25b434bd6229f492951097af1e9c74a37cc96 diff --git a/app-crypt/swtpm/files/swtpm-0.5.0-fix-localca-path.patch b/app-crypt/swtpm/files/swtpm-0.5.0-fix-localca-path.patch deleted file mode 100644 index 27d29fc55aed..000000000000 --- a/app-crypt/swtpm/files/swtpm-0.5.0-fix-localca-path.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/samples/Makefile.am b/samples/Makefile.am -index 7d69bf8..9fb8338 100644 ---- a/samples/Makefile.am -+++ b/samples/Makefile.am -@@ -56,10 +56,10 @@ endif - - - install-data-local: -- $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/swtpm-localca -+ $(MKDIR_P) $(DESTDIR)$(localstatedir)/swtpm-localca - if test -z $(DESTDIR); then \ -- chown -R @TSS_USER@:root $(DESTDIR)$(localstatedir)/lib/swtpm-localca || true; \ -- chmod 0750 $(DESTDIR)$(localstatedir)/lib/swtpm-localca || true; \ -+ chown -R @TSS_USER@:root $(DESTDIR)$(localstatedir)/swtpm-localca || true; \ -+ chmod 0750 $(DESTDIR)$(localstatedir)/swtpm-localca || true; \ - fi - - # for out-of-tree builds we need to clean up -diff --git a/samples/swtpm-localca.conf.in b/samples/swtpm-localca.conf.in -index 1f0b48d..63f1fed 100644 ---- a/samples/swtpm-localca.conf.in -+++ b/samples/swtpm-localca.conf.in -@@ -1,4 +1,4 @@ --statedir = @LOCALSTATEDIR@/lib/swtpm-localca --signingkey = @LOCALSTATEDIR@/lib/swtpm-localca/signkey.pem --issuercert = @LOCALSTATEDIR@/lib/swtpm-localca/issuercert.pem --certserial = @LOCALSTATEDIR@/lib/swtpm-localca/certserial -+statedir = @LOCALSTATEDIR@/swtpm-localca -+signingkey = @LOCALSTATEDIR@/swtpm-localca/signkey.pem -+issuercert = @LOCALSTATEDIR@/swtpm-localca/issuercert.pem -+certserial = @LOCALSTATEDIR@/swtpm-localca/certserial diff --git a/app-crypt/swtpm/swtpm-0.5.2.ebuild b/app-crypt/swtpm/swtpm-0.5.2.ebuild deleted file mode 100644 index 0042a1df1f80..000000000000 --- a/app-crypt/swtpm/swtpm-0.5.2.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit autotools distutils-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" -IUSE="fuse gnutls seccomp test" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - fuse? ( - dev-libs/glib:2 - sys-fs/fuse:0 - ) - gnutls? ( - dev-libs/libtasn1:= - >=net-libs/gnutls-3.1.0[tools] - ) - dev-libs/openssl:0= - dev-libs/libtpms - seccomp? ( sys-libs/libseccomp ) -" - -DEPEND="${COMMON_DEPEND} - test? ( - net-misc/socat - dev-tcltk/expect - ) -" - -RDEPEND="${COMMON_DEPEND} - acct-group/tss - acct-user/tss - dev-python/cryptography[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}/${PN}-0.5.0-fix-localca-path.patch" - "${FILESDIR}/${PN}-0.5.0-build-sys-Remove-WError.patch" -) - -src_prepare() { - use test || eapply "${FILESDIR}/${PN}-0.5.0-disable-test-dependencies.patch" - python_setup - default - eautoreconf -} - -src_configure() { - econf \ - --disable-static \ - --with-openssl \ - --without-selinux \ - $(use_with fuse cuse) \ - $(use_with gnutls) \ - $(use_with seccomp) -} - -src_compile() { - # We want the default src_compile, not the version distutils-r1 exports - default -} - -src_install() { - default - python_foreach_impl python_optimize - 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 -} - -src_test() { - # We want the default src_test, not the version distutils-r1 exports - default -} |