Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: tpm2-totp-0.3.0
@ 2022-08-07 10:38 tranzystorek-io
  2022-08-07 10:39 ` tranzystorek-io
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: tranzystorek-io @ 2022-08-07 10:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1256 bytes --]

There is a new pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages tpm2-totp
https://github.com/void-linux/void-packages/pull/38515

New package: tpm2-totp-0.3.0
<!-- Uncomment relevant sections and delete options which are not applicable -->
Closes #38508 

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/38515.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tpm2-totp-38515.patch --]
[-- Type: text/x-diff, Size: 2650 bytes --]

From 09cc0d623ae7e6d97c8ff4ee41747c3789bb330a Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sun, 7 Aug 2022 12:07:25 +0200
Subject: [PATCH] New package: tpm2-totp-0.3.0

---
 common/shlibs              |  1 +
 srcpkgs/libtpm2-totp       |  1 +
 srcpkgs/tpm2-totp-devel    |  1 +
 srcpkgs/tpm2-totp/template | 38 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 41 insertions(+)
 create mode 120000 srcpkgs/libtpm2-totp
 create mode 120000 srcpkgs/tpm2-totp-devel
 create mode 100644 srcpkgs/tpm2-totp/template

diff --git a/common/shlibs b/common/shlibs
index 326943713f07..e20f6987f405 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4185,3 +4185,4 @@ libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
 libqtspell-qt5.so.1 qtspell-1.0.1_1
 libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
+libtpm2-totp.so.0 libtpm2-totp-0.3.0_1
diff --git a/srcpkgs/libtpm2-totp b/srcpkgs/libtpm2-totp
new file mode 120000
index 000000000000..483b177bd8ef
--- /dev/null
+++ b/srcpkgs/libtpm2-totp
@@ -0,0 +1 @@
+tpm2-totp
\ No newline at end of file
diff --git a/srcpkgs/tpm2-totp-devel b/srcpkgs/tpm2-totp-devel
new file mode 120000
index 000000000000..483b177bd8ef
--- /dev/null
+++ b/srcpkgs/tpm2-totp-devel
@@ -0,0 +1 @@
+tpm2-totp
\ No newline at end of file
diff --git a/srcpkgs/tpm2-totp/template b/srcpkgs/tpm2-totp/template
new file mode 100644
index 000000000000..9edbcf3e6044
--- /dev/null
+++ b/srcpkgs/tpm2-totp/template
@@ -0,0 +1,38 @@
+# Template file for 'tpm2-totp'
+pkgname=tpm2-totp
+version=0.3.0
+revision=1
+build_style=gnu-configure
+hostmakedepends="autoconf autoconf-archive automake doxygen libtool pandoc pkg-config"
+makedepends="dracut mkinitcpio qrencode-devel tpm2-tss-devel"
+short_desc="Attest the trustworthiness of a device using TOTP"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/tpm2-software/tpm2-totp"
+changelog="https://raw.githubusercontent.com/tpm2-software/tpm2-totp/master/CHANGELOG.md"
+distfiles="https://github.com/tpm2-software/tpm2-totp/archive/v${version}.tar.gz"
+checksum=5ff29164979d21bc0a51afce17aee80929ccce3270d0f4abce996fd36a4469e1
+
+pre_configure() {
+	autoreconf -isv
+}
+
+libtpm2-totp_package() {
+	short_desc+=" - library files"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+		vlicense LICENSE
+	}
+}
+
+tpm2-totp-devel_package() {
+	short_desc+=" - development files"
+	depends="libtpm2-totp>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/share/man/man3
+	}
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-09-13 20:12 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-07 10:38 [PR PATCH] New package: tpm2-totp-0.3.0 tranzystorek-io
2022-08-07 10:39 ` tranzystorek-io
2022-08-08  4:18 ` jacobmyers-codeninja
2022-08-08  9:10 ` tranzystorek-io
2022-08-08  9:13 ` tranzystorek-io
2022-08-08 21:43 ` jacobmyers-codeninja
2022-08-08 21:52 ` [PR PATCH] [Updated] " tranzystorek-io
2022-08-08 22:02 ` [PR PATCH] [Updated] New packages: tpm2-totp-0.3.0, tpm2-tools-5.2 tranzystorek-io
2022-08-08 22:13 ` tranzystorek-io
2022-08-08 22:31 ` tranzystorek-io
2022-08-08 23:24 ` tranzystorek-io
2022-08-09  3:03 ` jacobmyers-codeninja
2022-08-09  6:54 ` tranzystorek-io
2022-08-09 17:38 ` jacobmyers-codeninja
2022-08-13  6:40 ` [PR PATCH] [Updated] " tranzystorek-io
2022-08-24 10:37 ` tranzystorek-io
2022-09-10 13:48 ` paper42
2022-09-10 13:51 ` [PR REVIEW] " paper42
2022-09-10 14:27 ` [PR PATCH] [Updated] " tranzystorek-io
2022-09-10 14:32 ` [PR REVIEW] " tranzystorek-io
2022-09-13 20:12 ` [PR PATCH] [Merged]: " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).