From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9DCE01382C5 for ; Wed, 17 Jun 2020 17:01:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCF7DE0ADE; Wed, 17 Jun 2020 17:01:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83A02E0ADE for ; Wed, 17 Jun 2020 17:01:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 53BB834F352 for ; Wed, 17 Jun 2020 17:01:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6371F2A4 for ; Wed, 17 Jun 2020 17:00:55 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1592413224.0fa527fdc9548279a21a981ae51557af9bf2b6bb.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-tss/, app-crypt/tpm2-tss/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/tpm2-tss/Manifest app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-Dont-run-systemd-sysusers-in-Makefile.patch app-crypt/tpm2-tss/files/tpm2-tss-2.4.0-fix-tmpfiles-path.patch app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild X-VCS-Directories: app-crypt/tpm2-tss/ app-crypt/tpm2-tss/files/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 0fa527fdc9548279a21a981ae51557af9bf2b6bb X-VCS-Branch: master Date: Wed, 17 Jun 2020 17:00:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d2bdd0c6-d7bd-4e3f-af23-ce5b7be93c79 X-Archives-Hash: 7cc5c5322f4f41cdd436362e1333c6a1 commit: 0fa527fdc9548279a21a981ae51557af9bf2b6bb Author: Salah Coronya gmail com> AuthorDate: Sun May 24 19:58:18 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Jun 17 17:00:24 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fa527fd app-crypt/tpm2-tss: Remove old Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Salah Coronya gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15956 Signed-off-by: Joonas Niilola gentoo.org> 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(-) diff --git a/app-crypt/tpm2-tss/Manifest b/app-crypt/tpm2-tss/Manifest index f810a2ffc5b..2fb402eb43d 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 c916bbf0133..00000000000 --- 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 93a1fed8a87..00000000000 --- 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 9f3fd54be54..00000000000 --- 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 -}