Gentoo Archives: gentoo-commits

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