From 0fa527fdc9548279a21a981ae51557af9bf2b6bb Mon Sep 17 00:00:00 2001 From: Salah Coronya Date: Sun, 24 May 2020 14:58:18 -0500 Subject: app-crypt/tpm2-tss: Remove old Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Salah Coronya Closes: https://github.com/gentoo/gentoo/pull/15956 Signed-off-by: Joonas Niilola --- app-crypt/tpm2-tss/Manifest | 1 - ...4.0-Dont-run-systemd-sysusers-in-Makefile.patch | 15 ----- .../files/tpm2-tss-2.4.0-fix-tmpfiles-path.patch | 22 ------- app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild | 77 ---------------------- 4 files changed, 115 deletions(-) delete mode 100644 app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-Dont-run-systemd-sysusers-in-Makefile.patch delete mode 100644 app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-fix-tmpfiles-path.patch delete mode 100644 app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild (limited to 'app-crypt') diff --git a/app-crypt/tpm2-tss/Manifest b/app-crypt/tpm2-tss/Manifest index f810a2ffc5bc..2fb402eb43d7 100644 --- a/app-crypt/tpm2-tss/Manifest +++ b/app-crypt/tpm2-tss/Manifest @@ -1,2 +1 @@ -DIST tpm2-tss-2.4.0.tar.gz 1446509 BLAKE2B bb078719fa85d9ea07b9710b5ac5d2f9c2b842700ed5b26a30ab2708a227b4bd599563c76e648d6f0b9dfe7785a25c049826f953baffdd39113bd62e7b4563df SHA512 763370381584f2124f751f0736e6a8b34428fd52134fd9966f3581e128f3b74b3f1261992f5d6162d7c866e47f7e5519ea80c1d1d39b80d5ed6e067eb2cd35a0 DIST tpm2-tss-2.4.1.tar.gz 1445103 BLAKE2B c7be91b93d19b5afeddb6ec455db9ba06795f8dc76ee2a0c6cbabbd8f623930d7c9fdf6319497c70790445531d1e36fe3f904f4c1f4bc9254d833b6d19280f1f SHA512 51551d63fa404e23664aaad1b247bd4b1f93812ced1aed144c37f28cdb3adb4e696aa9e93a502c8fa0eb7e9b4376ac9377f0537eb4c717b68c0b014fee7a0643 diff --git a/app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-Dont-run-systemd-sysusers-in-Makefile.patch b/app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-Dont-run-systemd-sysusers-in-Makefile.patch deleted file mode 100644 index c916bbf0133c..000000000000 --- a/app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-Dont-run-systemd-sysusers-in-Makefile.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/Makefile.am b/Makefile.am -index c543a287..58187f7e 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -558,10 +558,6 @@ uninstall-local: - -rm $(DESTDIR)$(udevrulesdir)/$(udevrulesprefix)tpm-udev.rules - endif - --# Create tss user and FAPI directories directly after installation (vs. after a reboot) --install-exec-hook: -- systemd-sysusers && systemd-tmpfiles --create || true -- - uninstall-hook: - cd $(DESTDIR)$(man3dir) && \ - [ -L Tss2_TctiLdr_Initialize_Ex.3 ] && \ diff --git a/app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-fix-tmpfiles-path.patch b/app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-fix-tmpfiles-path.patch deleted file mode 100644 index 93a1fed8a877..000000000000 --- a/app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-fix-tmpfiles-path.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/dist/fapi-config.json.in b/dist/fapi-config.json.in -index e32a3c36..4aa636e2 100644 ---- a/dist/fapi-config.json.in -+++ b/dist/fapi-config.json.in -@@ -2,7 +2,7 @@ - "profile_name": "P_RSA2048SHA256", - "profile_dir": "@sysconfdir@/tpm2-tss/fapi-profiles/", - "user_dir": "~/@userstatedir@/tpm2-tss/user/keystore", -- "system_dir": "@localstatedir@/lib/tpm2-tss/system/keystore", -+ "system_dir": "@localstatedir@/tpm2-tss/system/keystore", - "tcti": "", - "system_pcrs" : [], - "log_dir" : "@runstatedir@/tpm2-tss/eventlog/" -diff --git a/dist/tmpfiles.d/tpm2-tss-fapi.conf.in b/dist/tmpfiles.d/tpm2-tss-fapi.conf.in -index 1793c4d7..3f0c8380 100644 ---- a/dist/tmpfiles.d/tpm2-tss-fapi.conf.in -+++ b/dist/tmpfiles.d/tpm2-tss-fapi.conf.in -@@ -1,3 +1,3 @@ - #Type Path Mode User Group Age Argument --d @localstatedir@/lib/tpm2-tss/system/keystore 775 tss tss - - -+d @localstatedir@/tpm2-tss/system/keystore 775 tss tss - - - d @runstatedir@/tpm2-tss/eventlog 775 tss tss - - diff --git a/app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild b/app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild deleted file mode 100644 index 9f3fd54be541..000000000000 --- a/app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools linux-info tmpfiles udev - -DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" -HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" -SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="doc +fapi gcrypt +openssl static-libs test" - -RESTRICT="!test? ( test )" - -REQUIRED_USE="^^ ( gcrypt openssl ) - fapi? ( openssl !gcrypt )" - -RDEPEND="acct-group/tss - acct-user/tss - fapi? ( - dev-libs/json-c - net-misc/curl - ) - gcrypt? ( dev-libs/libgcrypt:0= ) - openssl? ( dev-libs/openssl:0= )" -DEPEND="${RDEPEND} - test? ( dev-util/cmocka )" -BDEPEND="virtual/pkgconfig - doc? ( app-doc/doxygen )" - -PATCHES=( - "${FILESDIR}/${PN}-2.4.0-fix-tmpfiles-path.patch" - "${FILESDIR}/${PN}-2.4.0-Dont-run-systemd-sysusers-in-Makefile.patch" - ) - -pkg_setup() { - local CONFIG_CHECK=" \ - ~TCG_TPM - " - linux-info_pkg_setup - kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - $(use_enable doc doxygen-doc) \ - $(use_enable fapi) \ - $(use_enable static-libs static) \ - $(use_enable test unit) \ - --disable-tcti-mssim \ - --disable-defaultflags \ - --disable-weakcrypto \ - --with-crypto="$(usex gcrypt gcrypt ossl)" \ - --with-runstatedir=/run \ - --with-udevrulesdir="$(get_udevdir)/rules.d" \ - --with-udevrulesprefix=60- \ - --with-sysusersdir="/usr/lib/sysusers.d" \ - --with-tmpfilesdir="/usr/lib/tmpfiles.d" -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - tmpfiles_process tpm2-tss-fapi.conf -} -- cgit v1.2.3-65-gdbad