Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: tpm2-totp-0.3.0
Date: Sun, 07 Aug 2022 12:38:11 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38515@inbox.vuxu.org> (raw)

[-- 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
+	}
+}

             reply	other threads:[~2022-08-07 10:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-07 10:38 tranzystorek-io [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38515@inbox.vuxu.org \
    --to=tranzystorek-io@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).