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: Wed, 05 Aug 2020 12:19:10
Message-Id: 1596629920.8ef96f28ebcd38b0c65ca60cd1f61e0e459efc73.juippis@gentoo
1 commit: 8ef96f28ebcd38b0c65ca60cd1f61e0e459efc73
2 Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com>
3 AuthorDate: Wed Jul 22 04:27:34 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 5 12:18:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef96f28
7
8 app-crypt/swtpm: Remove old
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/16772
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 app-crypt/swtpm/Manifest | 1 -
16 app-crypt/swtpm/swtpm-0.3.1-r1.ebuild | 77 -----------------------------------
17 2 files changed, 78 deletions(-)
18
19 diff --git a/app-crypt/swtpm/Manifest b/app-crypt/swtpm/Manifest
20 index c4ace87338a..8866875bdcf 100644
21 --- a/app-crypt/swtpm/Manifest
22 +++ b/app-crypt/swtpm/Manifest
23 @@ -1,2 +1 @@
24 -DIST swtpm-0.3.1.tar.gz 308576 BLAKE2B 96c44654b92d453d91594aed6fdd4cb56853973c1215bfb131e750d38a3ed1e64e3283647e54ad9ad84747406f53d7ac4f221fc5b319d7fa80bab758fed04062 SHA512 4b3e58048336ee82a87d17905a7d0dc5fbe13160ebb8f072b91410e782dae7fafc72e572a2f6aa2b1d9f4377074c01afd30505b9e71d92b8d7066365811d3e3f
25 DIST swtpm-0.3.2.tar.gz 308843 BLAKE2B 501c600e36a437fc99f662f1c217169cab15b0d4ec4a4551a29dd83541c9718e182c7eb13a43e541da453fc28c48232354b617525e32d9721e697744eaa5a17a SHA512 5da668cd8091f0db70bec52cd8d26bacf7b18e4c27c83c1cba25e59c69bb2ba7a1d011d9bf4bafa44e1a49065538445eb56683806be6f1875cba383f8edb6a4f
26
27 diff --git a/app-crypt/swtpm/swtpm-0.3.1-r1.ebuild b/app-crypt/swtpm/swtpm-0.3.1-r1.ebuild
28 deleted file mode 100644
29 index 279c4c49b1c..00000000000
30 --- a/app-crypt/swtpm/swtpm-0.3.1-r1.ebuild
31 +++ /dev/null
32 @@ -1,77 +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_{6,7,8} )
39 -
40 -inherit autotools python-any-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 -
51 -RESTRICT="!test? ( test )"
52 -
53 -COMMON_DEPEND="
54 - 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]
61 - )
62 - !libressl? (
63 - dev-libs/openssl:0=
64 - dev-libs/libtpms[-libressl]
65 - )
66 - libressl? (
67 - dev-libs/libressl:0=
68 - dev-libs/libtpms[libressl]
69 - )
70 - seccomp? ( sys-libs/libseccomp )
71 -"
72 -
73 -DEPEND="${COMMON_DEPEND}
74 - test? (
75 - net-misc/socat
76 - ${PYTHON_DEPS}
77 - )
78 -"
79 -
80 -RDEPEND="${COMMON_DEPEND}
81 - acct-group/tss
82 - acct-user/tss
83 - app-crypt/tpm-tools
84 - app-crypt/trousers
85 - dev-tcltk/expect"
86 -
87 -src_prepare() {
88 - use test || eapply "${FILESDIR}/${PN}-disable-test-dependencies.patch"
89 - eapply "${FILESDIR}/${PN}-fix-localca-path.patch"
90 - default
91 - eautoreconf
92 -}
93 -
94 -src_configure() {
95 - econf \
96 - --disable-static \
97 - --with-openssl \
98 - --without-selinux \
99 - $(use_with fuse cuse) \
100 - $(use_with gnutls) \
101 - $(use_with seccomp)
102 -}
103 -
104 -src_install() {
105 - default
106 - fowners tss:tss /var/lib/swtpm-localca
107 - keepdir /var/lib/swtpm-localca
108 - find "${D}" -name '*.la' -delete || die
109 -}