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: Tue, 03 Mar 2020 14:54:19
Message-Id: 1583247225.431ae4a96f16769ef82abb461d8cd490f4cfde6c.juippis@gentoo
1 commit: 431ae4a96f16769ef82abb461d8cd490f4cfde6c
2 Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 28 03:58:11 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 3 14:53:45 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=431ae4a9
7
8 app-crypt/swtpm: Remove old
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/14816
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 app-crypt/swtpm/Manifest | 1 -
16 app-crypt/swtpm/swtpm-0.2.0-r1.ebuild | 72 -----------------------------------
17 2 files changed, 73 deletions(-)
18
19 diff --git a/app-crypt/swtpm/Manifest b/app-crypt/swtpm/Manifest
20 index 596f1e10b4c..2a0b8aca57b 100644
21 --- a/app-crypt/swtpm/Manifest
22 +++ b/app-crypt/swtpm/Manifest
23 @@ -1,2 +1 @@
24 -DIST swtpm-0.2.0.tar.gz 297419 BLAKE2B 9045cfd127d2f7e8e2e202818a375b4f6398806a097ed0df73abb76426db3af65a0d27f5e7212ce099d796862d3a9b3d421e987cf159bdce8879fc764eb5e923 SHA512 bda54690c0438138ff7adcc212fb125d2bb62618b10305eeced776e014bb135ea1a1dd1271a99fb2c60bf7e418644ded029c3c09ec2c6c1258e5062122cacf19
25 DIST swtpm-0.3.0.tar.gz 308472 BLAKE2B c6b93303c77cb3de0917b219b7e8e216864a11cd7c584d85409b457bc36db9b0515639ae972f8ef39ba60f52506075a2cc697519bd18da9fdb12031e716c9e6e SHA512 e1e62367966224b3fc6edb80a883c5e3d6a698f437032e0b4b71558ebd7e24e5b92e7d843ee15ca29edd96710bbac51cb435956ac535b10a5f2b2afd65e748a3
26
27 diff --git a/app-crypt/swtpm/swtpm-0.2.0-r1.ebuild b/app-crypt/swtpm/swtpm-0.2.0-r1.ebuild
28 deleted file mode 100644
29 index eeb7c5075a9..00000000000
30 --- a/app-crypt/swtpm/swtpm-0.2.0-r1.ebuild
31 +++ /dev/null
32 @@ -1,72 +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} )
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 -LICENSE="BSD"
46 -SLOT="0"
47 -KEYWORDS="~amd64"
48 -IUSE="fuse gnutls libressl seccomp test"
49 -RESTRICT="!test? ( test )"
50 -
51 -COMMON_DEPEND="
52 - fuse? (
53 - dev-libs/glib:2
54 - sys-fs/fuse:0
55 - )
56 - gnutls? (
57 - dev-libs/libtasn1:=
58 - >=net-libs/gnutls-3.1.0[tools]
59 - )
60 - !libressl? (
61 - dev-libs/openssl:0=
62 - dev-libs/libtpms[-libressl]
63 - )
64 - libressl? (
65 - dev-libs/libressl:0=
66 - dev-libs/libtpms[libressl]
67 - )
68 - seccomp? ( sys-libs/libseccomp )
69 -"
70 -
71 -DEPEND="${COMMON_DEPEND}
72 - test? (
73 - net-misc/socat
74 - ${PYTHON_DEPS}
75 - )
76 -"
77 -
78 -RDEPEND="${COMMON_DEPEND}
79 - app-crypt/tpm-tools
80 - app-crypt/trousers
81 - dev-tcltk/expect"
82 -
83 -src_prepare() {
84 - use test || eapply "${FILESDIR}/${PN}-disable-test-dependencies.patch"
85 - eapply "${FILESDIR}/${PN}-fix-localca-path.patch"
86 - default
87 - eautoreconf
88 -}
89 -
90 -src_configure() {
91 - econf \
92 - --with-openssl \
93 - --without-selinux \
94 - $(use_with fuse cuse) \
95 - $(use_with gnutls) \
96 - $(use_with seccomp)
97 -}
98 -
99 -src_install() {
100 - default
101 - fowners tss:tss /var/lib/swtpm-localca
102 - keepdir /var/lib/swtpm-localca
103 - find "${D}" -name '*.la' -delete || die
104 -}