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: Sun, 31 Jan 2021 13:09:55
Message-Id: 1612098584.c605345f03bc4e7b94fdeaa423c7736bdb02222b.juippis@gentoo
1 commit: c605345f03bc4e7b94fdeaa423c7736bdb02222b
2 Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com>
3 AuthorDate: Sat Dec 26 22:37:06 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 31 13:09:44 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c605345f
7
8 app-crypt/swtpm: Remove old
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/18820
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 app-crypt/swtpm/Manifest | 1 -
16 app-crypt/swtpm/swtpm-0.5.1-r1.ebuild | 92 -----------------------------------
17 2 files changed, 93 deletions(-)
18
19 diff --git a/app-crypt/swtpm/Manifest b/app-crypt/swtpm/Manifest
20 index d2aba521342..3516263e71e 100644
21 --- a/app-crypt/swtpm/Manifest
22 +++ b/app-crypt/swtpm/Manifest
23 @@ -1,2 +1 @@
24 -DIST swtpm-0.5.1.tar.gz 309464 BLAKE2B 630a9add9a17e016f0158666bd3f4eafa773b7a2645820346d5f2847023310f8df4c2491184c5f5d02a83aa2bb53f8c266e5f2a6b07ab92502f08c7f1fa697ea SHA512 8a034b1da916797b9869a4ff478a4c7093b1343ce2556054d2228214520f0e2a63a1d69709bf2cc62fe45710dd9a41c0eee488af9396e8baf8099e697593638c
25 DIST swtpm-0.5.2.tar.gz 309436 BLAKE2B 0518e59b052c9224d5db1c2720f74ff15717468f73b1665e67c017581dd2b52d7a4cf28f94a932eb6068de3bc50f2e5710b8c447e4a08e6b4a31019db542d910 SHA512 4554f1b7a534829f9fbef4a09e190f1d5e91692d270f4f668bd6ef79799a4186a38db172e37a18be9f203466e2d7c9cdf3a350c0020d25ff6126128085ebe3a3
26
27 diff --git a/app-crypt/swtpm/swtpm-0.5.1-r1.ebuild b/app-crypt/swtpm/swtpm-0.5.1-r1.ebuild
28 deleted file mode 100644
29 index 1e26f7a1957..00000000000
30 --- a/app-crypt/swtpm/swtpm-0.5.1-r1.ebuild
31 +++ /dev/null
32 @@ -1,92 +0,0 @@
33 -# Copyright 1999-2020 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 distutils-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"
49 -IUSE="fuse gnutls libressl seccomp test"
50 -RESTRICT="!test? ( test )"
51 -
52 -COMMON_DEPEND="
53 - 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]
60 - )
61 - !libressl? (
62 - dev-libs/openssl:0=
63 - dev-libs/libtpms[-libressl]
64 - )
65 - libressl? (
66 - dev-libs/libressl:0=
67 - dev-libs/libtpms[libressl]
68 - )
69 - seccomp? ( sys-libs/libseccomp )
70 -"
71 -
72 -DEPEND="${COMMON_DEPEND}
73 - test? (
74 - net-misc/socat
75 - dev-tcltk/expect
76 - )
77 -"
78 -
79 -RDEPEND="${COMMON_DEPEND}
80 - acct-group/tss
81 - acct-user/tss
82 - dev-python/cryptography[${PYTHON_USEDEP}]
83 -"
84 -
85 -PATCHES=(
86 - "${FILESDIR}/${PN}-0.5.0-fix-localca-path.patch"
87 - "${FILESDIR}/${PN}-0.5.0-build-sys-Remove-WError.patch"
88 -)
89 -
90 -src_prepare() {
91 - use test || eapply "${FILESDIR}/${PN}-0.5.0-disable-test-dependencies.patch"
92 - python_setup
93 - default
94 - eautoreconf
95 -}
96 -
97 -src_configure() {
98 - econf \
99 - --disable-static \
100 - --with-openssl \
101 - --without-selinux \
102 - $(use_with fuse cuse) \
103 - $(use_with gnutls) \
104 - $(use_with seccomp)
105 -}
106 -
107 -src_compile() {
108 - # We want the default src_compile, not the version distutils-r1 exports
109 - default
110 -}
111 -
112 -src_install() {
113 - default
114 - python_foreach_impl python_optimize
115 - fowners -R tss:root /var/lib/swtpm-localca
116 - fperms 750 /var/lib/swtpm-localca
117 - keepdir /var/lib/swtpm-localca
118 - find "${D}" -name '*.la' -delete || die
119 -}
120 -
121 -src_test() {
122 - # We want the default src_test, not the version distutils-r1 exports
123 - default
124 -}