From 69051588e2f955485fe5d45d45e616bc60a2de57 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 31 Jan 2021 18:57:01 +0000 Subject: gentoo resync : 31.01.2021 --- app-crypt/swtpm/Manifest | 4 +- app-crypt/swtpm/swtpm-0.5.1-r1.ebuild | 92 ----------------------------------- app-crypt/swtpm/swtpm-0.5.2.ebuild | 92 +++++++++++++++++++++++++++++++++++ 3 files changed, 94 insertions(+), 94 deletions(-) delete mode 100644 app-crypt/swtpm/swtpm-0.5.1-r1.ebuild create mode 100644 app-crypt/swtpm/swtpm-0.5.2.ebuild (limited to 'app-crypt/swtpm') diff --git a/app-crypt/swtpm/Manifest b/app-crypt/swtpm/Manifest index 560847f925ce..e87b4a5d2806 100644 --- a/app-crypt/swtpm/Manifest +++ b/app-crypt/swtpm/Manifest @@ -1,6 +1,6 @@ AUX swtpm-0.5.0-build-sys-Remove-WError.patch 431 BLAKE2B 8b0d63dcab783a322c72aab6b8f7cd3de53509716d48fd2f30d136279bb2a52a6a942f43a2c87e6f66db9f3470f0486255db8056da8c49b2b788048af62aa3ba SHA512 981a1fe5bf25c7a820dc5913b0384bc48b0bc50cd84e04921f0f64a4be6dd6b2a815d4cba39370b2e62c4473f2edbdc6bba7b09ce74b9e441f1b8df3166eb959 AUX swtpm-0.5.0-disable-test-dependencies.patch 696 BLAKE2B 7cbfb36e82b88d125dabaab8508803cde8b4fe414b1bf0e193421a7632597baa3142dcefa1bd53c7ebe6fea529ad827fc65bfd42bd617c415043b795d5c36c15 SHA512 32931311e8a4c57ae167379db5ff3decc5c1b3b891f180e6ee4991a9cf366ac26049c2e3eabc434eef3890635317f2f2cb1a80cf827a4c3e44fe76943665e85c AUX swtpm-0.5.0-fix-localca-path.patch 1318 BLAKE2B 1d8c7367cdc92232d13b4169e387afcd7247ffbdc785cad0d4e40ca9ee7710036f4a7debc1c6112afe255b19422a32b76f72efba04840136f28a72d241aa091e SHA512 e327b581dd1cf9bf92d400fc2574a585ea8708ba6b7e2c89fe368cfc990e464773900488736944b0f97cfd6e65b6aebf39e55ef22428fcc2510c8205ef77d738 -DIST swtpm-0.5.1.tar.gz 309464 BLAKE2B 630a9add9a17e016f0158666bd3f4eafa773b7a2645820346d5f2847023310f8df4c2491184c5f5d02a83aa2bb53f8c266e5f2a6b07ab92502f08c7f1fa697ea SHA512 8a034b1da916797b9869a4ff478a4c7093b1343ce2556054d2228214520f0e2a63a1d69709bf2cc62fe45710dd9a41c0eee488af9396e8baf8099e697593638c -EBUILD swtpm-0.5.1-r1.ebuild 1778 BLAKE2B 28621e58fbb497bff343104090a2a4d88c9eebd43ef71f36f6cc027b83f89ba4e611c2e99ab8b108592b5f2edb73194564340bc1937aa25f6f673ade75043d3a SHA512 e94b8db862f039a80077b3e40e46c97a013b958bc76435aa212cf0e433fe8973b957a932a1ba9730b26defb5b6c5a9911fe775008dc89cf736bfa3b52fad2995 +DIST swtpm-0.5.2.tar.gz 309436 BLAKE2B 0518e59b052c9224d5db1c2720f74ff15717468f73b1665e67c017581dd2b52d7a4cf28f94a932eb6068de3bc50f2e5710b8c447e4a08e6b4a31019db542d910 SHA512 4554f1b7a534829f9fbef4a09e190f1d5e91692d270f4f668bd6ef79799a4186a38db172e37a18be9f203466e2d7c9cdf3a350c0020d25ff6126128085ebe3a3 +EBUILD swtpm-0.5.2.ebuild 1778 BLAKE2B 6e1ee3a3b5bf294ed8bb63466d63e4e6f89d7a55dca83f3c30ad305fdf0bc766dcd87251693806f93f0a1bfd8697f612df77c2ecb46c1c5ba2c83c56e48471b5 SHA512 109bab163b9fca1815cc7535f93cb38c0ade8389f76778d57dbb00f4b60a02096b12f6d9cd2468fbbffc698d160fbb6ea8b270d72f261b5fa238167ba6b063b0 MISC metadata.xml 457 BLAKE2B defc06c2642823aa760cafc22e90f891f9337358bfaa446778e1f4107f6e295ec21b5987f49bdcee3fd7b68084be1b864d7569e74bd729345e4886b08c617a06 SHA512 c80e24dc4ec41e5aae1e7fe67208c945e62c02f469164d0a76445269e3e0204674cd593956f99fa1539505e1a70a15bbf6c02afcf6b38592f04f3c4d3f275e08 diff --git a/app-crypt/swtpm/swtpm-0.5.1-r1.ebuild b/app-crypt/swtpm/swtpm-0.5.1-r1.ebuild deleted file mode 100644 index 1e26f7a19575..000000000000 --- a/app-crypt/swtpm/swtpm-0.5.1-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit autotools distutils-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 - dev-tcltk/expect - ) -" - -RDEPEND="${COMMON_DEPEND} - acct-group/tss - acct-user/tss - dev-python/cryptography[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}/${PN}-0.5.0-fix-localca-path.patch" - "${FILESDIR}/${PN}-0.5.0-build-sys-Remove-WError.patch" -) - -src_prepare() { - use test || eapply "${FILESDIR}/${PN}-0.5.0-disable-test-dependencies.patch" - python_setup - default - eautoreconf -} - -src_configure() { - econf \ - --disable-static \ - --with-openssl \ - --without-selinux \ - $(use_with fuse cuse) \ - $(use_with gnutls) \ - $(use_with seccomp) -} - -src_compile() { - # We want the default src_compile, not the version distutils-r1 exports - default -} - -src_install() { - default - python_foreach_impl python_optimize - fowners -R tss:root /var/lib/swtpm-localca - fperms 750 /var/lib/swtpm-localca - keepdir /var/lib/swtpm-localca - find "${D}" -name '*.la' -delete || die -} - -src_test() { - # We want the default src_test, not the version distutils-r1 exports - default -} diff --git a/app-crypt/swtpm/swtpm-0.5.2.ebuild b/app-crypt/swtpm/swtpm-0.5.2.ebuild new file mode 100644 index 000000000000..7cf67bd70dff --- /dev/null +++ b/app-crypt/swtpm/swtpm-0.5.2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit autotools distutils-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 + dev-tcltk/expect + ) +" + +RDEPEND="${COMMON_DEPEND} + acct-group/tss + acct-user/tss + dev-python/cryptography[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/${PN}-0.5.0-fix-localca-path.patch" + "${FILESDIR}/${PN}-0.5.0-build-sys-Remove-WError.patch" +) + +src_prepare() { + use test || eapply "${FILESDIR}/${PN}-0.5.0-disable-test-dependencies.patch" + python_setup + default + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + --with-openssl \ + --without-selinux \ + $(use_with fuse cuse) \ + $(use_with gnutls) \ + $(use_with seccomp) +} + +src_compile() { + # We want the default src_compile, not the version distutils-r1 exports + default +} + +src_install() { + default + python_foreach_impl python_optimize + fowners -R tss:root /var/lib/swtpm-localca + fperms 750 /var/lib/swtpm-localca + keepdir /var/lib/swtpm-localca + find "${D}" -name '*.la' -delete || die +} + +src_test() { + # We want the default src_test, not the version distutils-r1 exports + default +} -- cgit v1.2.3