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: Thu, 23 Apr 2020 07:41:32
Message-Id: 1587627667.0f268f681f0ec2f83b782438d7fdde6e15f882bd.juippis@gentoo
1 commit: 0f268f681f0ec2f83b782438d7fdde6e15f882bd
2 Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com>
3 AuthorDate: Sat Apr 18 21:56:53 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 23 07:41:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f268f68
7
8 app-crypt/swtpm: Remove old
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/15405
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 app-crypt/swtpm/Manifest | 1 -
16 app-crypt/swtpm/swtpm-0.3.0.ebuild | 72 --------------------------------------
17 2 files changed, 73 deletions(-)
18
19 diff --git a/app-crypt/swtpm/Manifest b/app-crypt/swtpm/Manifest
20 index f874a6630a5..ebc321991da 100644
21 --- a/app-crypt/swtpm/Manifest
22 +++ b/app-crypt/swtpm/Manifest
23 @@ -1,2 +1 @@
24 -DIST swtpm-0.3.0.tar.gz 308472 BLAKE2B c6b93303c77cb3de0917b219b7e8e216864a11cd7c584d85409b457bc36db9b0515639ae972f8ef39ba60f52506075a2cc697519bd18da9fdb12031e716c9e6e SHA512 e1e62367966224b3fc6edb80a883c5e3d6a698f437032e0b4b71558ebd7e24e5b92e7d843ee15ca29edd96710bbac51cb435956ac535b10a5f2b2afd65e748a3
25 DIST swtpm-0.3.1.tar.gz 308576 BLAKE2B 96c44654b92d453d91594aed6fdd4cb56853973c1215bfb131e750d38a3ed1e64e3283647e54ad9ad84747406f53d7ac4f221fc5b319d7fa80bab758fed04062 SHA512 4b3e58048336ee82a87d17905a7d0dc5fbe13160ebb8f072b91410e782dae7fafc72e572a2f6aa2b1d9f4377074c01afd30505b9e71d92b8d7066365811d3e3f
26
27 diff --git a/app-crypt/swtpm/swtpm-0.3.0.ebuild b/app-crypt/swtpm/swtpm-0.3.0.ebuild
28 deleted file mode 100644
29 index eeb7c5075a9..00000000000
30 --- a/app-crypt/swtpm/swtpm-0.3.0.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 -}