Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/swtpm/
Date: Wed, 11 May 2022 21:31:33
Message-Id: 1652304683.f03141ef7ad3ac0c1b1032c33281a0ae60365d50.mattst88@gentoo
1 commit: f03141ef7ad3ac0c1b1032c33281a0ae60365d50
2 Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
3 AuthorDate: Fri Apr 29 16:32:23 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed May 11 21:31:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f03141ef
7
8 app-crypt/swtpm: drop 0.7.2
9
10 Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/25260
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 app-crypt/swtpm/Manifest | 1 -
15 app-crypt/swtpm/swtpm-0.7.2.ebuild | 71 --------------------------------------
16 2 files changed, 72 deletions(-)
17
18 diff --git a/app-crypt/swtpm/Manifest b/app-crypt/swtpm/Manifest
19 index 61a540486411..ce286fe6d27c 100644
20 --- a/app-crypt/swtpm/Manifest
21 +++ b/app-crypt/swtpm/Manifest
22 @@ -1,2 +1 @@
23 -DIST swtpm-0.7.2.tar.gz 353941 BLAKE2B e4d69919b5d255cff5eb9cda4c98e84e9fd53290360312742f95d63444ad5279fc7808e7f2e040cc2c87475c409b3c0f22e54ca301e8cb18bee71290f661ecc8 SHA512 91a8f9371a13f5f6bb329ef4bd7638fb9abe5ec84631b1d22e7eb9abcb91b7f3cccfdf147f65d54c03bf4d8a141b6b5fb6385d90f78d35096bd3b8ce140d39cb
24 DIST swtpm-0.7.3.tar.gz 354088 BLAKE2B 687e3161cbc08be68427648187ba2fb05749bcaaf9929b951eea4884bd4210c6105a2494f5e7d51915e5be1b700b13889cd83c96d22e00d621ea9336221ee67b SHA512 7f4cdf7ca2539f28e3a78e2a081b24983f3305905c7cafcac0957b14f5c06c8ee9485a0adaf3710561091f9ee85e00822fe1ff874389808218c1e17f938c45d9
25
26 diff --git a/app-crypt/swtpm/swtpm-0.7.2.ebuild b/app-crypt/swtpm/swtpm-0.7.2.ebuild
27 deleted file mode 100644
28 index 5563aa1b7f60..000000000000
29 --- a/app-crypt/swtpm/swtpm-0.7.2.ebuild
30 +++ /dev/null
31 @@ -1,71 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -PYTHON_COMPAT=( python3_{8,9,10} )
38 -
39 -inherit autotools python-single-r1
40 -
41 -DESCRIPTION="Libtpms-based TPM emulator"
42 -HOMEPAGE="https://github.com/stefanberger/swtpm"
43 -SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="BSD"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
48 -IUSE="fuse +gnutls seccomp test"
49 -RESTRICT="!test? ( test )"
50 -
51 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
52 -
53 -RDEPEND="fuse? (
54 - dev-libs/glib:2
55 - sys-fs/fuse:0
56 - )
57 - gnutls? (
58 - dev-libs/libtasn1:=
59 - >=net-libs/gnutls-3.1.0:=[tools,pkcs11]
60 - )
61 - seccomp? ( sys-libs/libseccomp )
62 - acct-group/tss
63 - acct-user/tss
64 - dev-libs/openssl:0=
65 - dev-libs/json-glib
66 - dev-libs/libtpms
67 - ${PYTHON_DEPS}"
68 -
69 -DEPEND="${RDEPEND}
70 - test? (
71 - net-misc/socat
72 - dev-tcltk/expect
73 - )"
74 -
75 -PATCHES=(
76 - "${FILESDIR}/${PN}-0.6.0-fix-localca-path.patch"
77 - "${FILESDIR}/${PN}-0.5.0-build-sys-Remove-WError.patch"
78 - "${FILESDIR}/${PN}-0.7.2-Conditionalize-test-dependencies.patch"
79 -)
80 -
81 -src_prepare() {
82 - default
83 - eautoreconf
84 -}
85 -
86 -src_configure() {
87 - econf \
88 - --with-openssl \
89 - --without-selinux \
90 - $(use_with fuse cuse) \
91 - $(use_with gnutls) \
92 - $(use_with seccomp) \
93 - $(use_enable test)
94 -}
95 -
96 -src_install() {
97 - default
98 - fowners -R tss:root /var/lib/swtpm-localca
99 - fperms 750 /var/lib/swtpm-localca
100 - keepdir /var/lib/swtpm-localca
101 - find "${D}" -name '*.la' -delete || die
102 -}