Gentoo Archives: gentoo-commits

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