public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: profiles/, app-crypt/tpm2-openssl/
@ 2022-04-15 23:26 Christopher Byrne
  0 siblings, 0 replies; only message in thread
From: Christopher Byrne @ 2022-04-15 23:26 UTC (permalink / raw
  To: gentoo-commits

commit:     03ab7d4beb9b991a06c054c90e820610ed9be64e
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Fri Apr 15 23:07:41 2022 +0000
Commit:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
CommitDate: Fri Apr 15 23:19:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=03ab7d4b

app-crypt/tpm2-openssl: initial import

Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>

 app-crypt/tpm2-openssl/Manifest                  |  1 +
 app-crypt/tpm2-openssl/metadata.xml              | 12 +++++++
 app-crypt/tpm2-openssl/tpm2-openssl-1.1.0.ebuild | 42 ++++++++++++++++++++++++
 profiles/package.mask                            |  4 +++
 4 files changed, 59 insertions(+)

diff --git a/app-crypt/tpm2-openssl/Manifest b/app-crypt/tpm2-openssl/Manifest
new file mode 100644
index 000000000..f6034158c
--- /dev/null
+++ b/app-crypt/tpm2-openssl/Manifest
@@ -0,0 +1 @@
+DIST tpm2-openssl-1.1.0.tar.gz 415118 BLAKE2B c82410b1694b5db3e7b6614b1c4e2eef7354c87574334e1e81631bba707398e3d33d975dba2f2cbbf1b09d90f8ae94e7f01531c98b1efd666ca43298a02ead0a SHA512 a57e25d8efcbaa3a898a2803d816169e4227466f9391e5dc7c80a44686865cae0c24ee1973c6376d86d5be8081850f7b35cd0d4cb0b3a8cf654d400d78ae383b

diff --git a/app-crypt/tpm2-openssl/metadata.xml b/app-crypt/tpm2-openssl/metadata.xml
new file mode 100644
index 000000000..fdd29c016
--- /dev/null
+++ b/app-crypt/tpm2-openssl/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>salah.coronya@gmail.com</email>
+		<name>Christopher Byrne</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/app-crypt/tpm2-openssl/tpm2-openssl-1.1.0.ebuild b/app-crypt/tpm2-openssl/tpm2-openssl-1.1.0.ebuild
new file mode 100644
index 000000000..ac786eeec
--- /dev/null
+++ b/app-crypt/tpm2-openssl/tpm2-openssl-1.1.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="OpenSSL Provider for TPM2 integration"
+
+HOMEPAGE="https://github.com/tpm2-software/tpm2-openssl"
+SRC_URI="https://github.com/tpm2-software/tpm2-openssl/releases/download/${PV}/${P}.tar.gz"
+LICENSE="BSD"
+
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+
+# Needs IBM's software TPM simulator, which isn't in Portage
+RESTRICT="test"
+
+RDEPEND=">=app-crypt/tpm2-tss-3.2.0:=
+	=dev-libs/openssl-3.0*:0="
+
+BDEPEND="sys-devel/autoconf-archive
+	 virtual/pkgconfig"
+
+src_prepare() {
+	# See bug #833887 (and similar); eautoreconf means version information
+	# could be incorrectly embedded
+
+	sed -i \
+	"s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \
+	"${S}/configure.ac" || die
+	eautoreconf
+	default
+}
+
+src_install() {
+	default
+	find ${ED} -iname \*.la -delete
+
+	# No libtool files are install, so nothing to check for bug #833887
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index 8cc1d3aef..c0005fa2f 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -9,6 +9,10 @@
 # TODO: Either fix per profile masking in overlays, or move
 # relevant entries to the relevant package.mask files in ::gentoo
 
+# Christopher Byrne <salah.coronya@gmail.com> (2022-04-15)
+# Depends on masked dev-libs/openssl-3.0.*
+app-crypt/tpm2-openssl
+
 # Adrian Schollmeyer <nex+b-g-o@nexadn.de> (2022-03-15)
 # Package will be removed after 2022-04-15 from ::guru, since it is no longer
 # being used by net-im/abaddon and has no other reverse dependencies.


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-15 23:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-15 23:26 [gentoo-commits] repo/proj/guru:dev commit in: profiles/, app-crypt/tpm2-openssl/ Christopher Byrne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox