From 96e751df65abde33f41ef5d6d66b1b808c5620f6 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Mon, 18 Nov 2019 11:10:24 -0600 Subject: [PATCH] New Package: tpm2-tss-2.3.1 --- common/shlibs | 7 +++++++ srcpkgs/tpm2-tss-devel | 1 + srcpkgs/tpm2-tss/template | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 120000 srcpkgs/tpm2-tss-devel create mode 100644 srcpkgs/tpm2-tss/template diff --git a/common/shlibs b/common/shlibs index 99b0df65206..68bb8421da1 100644 --- a/common/shlibs +++ b/common/shlibs @@ -16,6 +16,13 @@ # PLEASE NOTE: when multiple packages provide the same SONAME, the first # one (order top->bottom) is preferred over the next ones. # +libtss2-mu.so.0 tpm2-tss-2.3.1_1 +libtss2-esys.so.0 tpm2-tss-2.3.1_1 +libtss2-sys.so.0 tpm2-tss-2.3.1_1 +libtss2-tcti-device.so.0 tpm2-tss-2.3.1_1 +libtss2-rc.so.0 tpm2-tss-2.3.1_1 +libtss2-tcti-mssim.so.0 tpm2-tss-2.3.1_1 +libtss2-tctildr.so.0 tpm2-tss-2.3.1_1 libc.so musl-1.1.21_1 libc.so.6 glibc-2.29_1 libm.so.6 glibc-2.29_1 diff --git a/srcpkgs/tpm2-tss-devel b/srcpkgs/tpm2-tss-devel new file mode 120000 index 00000000000..afff7c83268 --- /dev/null +++ b/srcpkgs/tpm2-tss-devel @@ -0,0 +1 @@ +tpm2-tss \ No newline at end of file diff --git a/srcpkgs/tpm2-tss/template b/srcpkgs/tpm2-tss/template new file mode 100644 index 00000000000..824f63571bc --- /dev/null +++ b/srcpkgs/tpm2-tss/template @@ -0,0 +1,35 @@ +# Template file for 'tpm2-tss' +pkgname=tpm2-tss +version=2.3.1 +revision=1 +build_style=gnu-configure +configure_args="--disable-weakcrypto --with-crypto=gcrypt" +hostmakedepends="autoconf-archive automake libtool pkg-config + doxygen libltdl-devel" +makedepends="libltdl-devel libgcrypt-devel" +short_desc="OSS implementation of the TCG TPM2 Software Stack" +maintainer="Nathan Owens " +license="BSD-2-Clause" +homepage="https://github.com/tpm2-software/tpm2-tss" +distfiles="https://github.com/tpm2-software/tpm2-tss/archive/${version}.tar.gz" +checksum=da818b8cb82630f561ed088ef3204b243a8f1de680623a09d775deb6014c4c99 + +pre_configure() { + ./bootstrap +} + +post_install() { + vlicense LICENSE +} + +tpm2-tss-devel_package() { + depends="${sourcepkg}>=${version}_${revision} libgcrypt-devel" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + vmove "usr/lib/*.a" + vmove usr/share/man/man3 + } +}