mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-crypt/swtpm: Remove old
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Salah Coronya <salah.coronya@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16772 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
f0db5fca5c
commit
8ef96f28eb
@@ -1,2 +1 @@
|
||||
DIST swtpm-0.3.1.tar.gz 308576 BLAKE2B 96c44654b92d453d91594aed6fdd4cb56853973c1215bfb131e750d38a3ed1e64e3283647e54ad9ad84747406f53d7ac4f221fc5b319d7fa80bab758fed04062 SHA512 4b3e58048336ee82a87d17905a7d0dc5fbe13160ebb8f072b91410e782dae7fafc72e572a2f6aa2b1d9f4377074c01afd30505b9e71d92b8d7066365811d3e3f
|
||||
DIST swtpm-0.3.2.tar.gz 308843 BLAKE2B 501c600e36a437fc99f662f1c217169cab15b0d4ec4a4551a29dd83541c9718e182c7eb13a43e541da453fc28c48232354b617525e32d9721e697744eaa5a17a SHA512 5da668cd8091f0db70bec52cd8d26bacf7b18e4c27c83c1cba25e59c69bb2ba7a1d011d9bf4bafa44e1a49065538445eb56683806be6f1875cba383f8edb6a4f
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit autotools python-any-r1
|
||||
|
||||
DESCRIPTION="Libtpms-based TPM emulator"
|
||||
HOMEPAGE="https://github.com/stefanberger/swtpm"
|
||||
SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="fuse gnutls libressl seccomp test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
fuse? (
|
||||
dev-libs/glib:2
|
||||
sys-fs/fuse:0
|
||||
)
|
||||
gnutls? (
|
||||
dev-libs/libtasn1:=
|
||||
>=net-libs/gnutls-3.1.0[tools]
|
||||
)
|
||||
!libressl? (
|
||||
dev-libs/openssl:0=
|
||||
dev-libs/libtpms[-libressl]
|
||||
)
|
||||
libressl? (
|
||||
dev-libs/libressl:0=
|
||||
dev-libs/libtpms[libressl]
|
||||
)
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
test? (
|
||||
net-misc/socat
|
||||
${PYTHON_DEPS}
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
acct-group/tss
|
||||
acct-user/tss
|
||||
app-crypt/tpm-tools
|
||||
app-crypt/trousers
|
||||
dev-tcltk/expect"
|
||||
|
||||
src_prepare() {
|
||||
use test || eapply "${FILESDIR}/${PN}-disable-test-dependencies.patch"
|
||||
eapply "${FILESDIR}/${PN}-fix-localca-path.patch"
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--with-openssl \
|
||||
--without-selinux \
|
||||
$(use_with fuse cuse) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with seccomp)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
fowners tss:tss /var/lib/swtpm-localca
|
||||
keepdir /var/lib/swtpm-localca
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user