Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] tpm2-totp: switch to prebuilt source destfile
@ 2023-04-03 13:56 tranzystorek-io
  2023-04-13  0:19 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: tranzystorek-io @ 2023-04-03 13:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1324 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/43242

tpm2-totp: switch to prebuilt source destfile
<!-- Uncomment relevant sections and delete options which are not applicable -->

Avoids using pandoc or doxygen altogether

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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/43242.patch is attached

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

From 5c91601f15f6f54f974129be5b3e535d81aa8e90 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Mon, 3 Apr 2023 15:52:46 +0200
Subject: [PATCH] tpm2-totp: switch to prebuilt source destfile

---
 srcpkgs/tpm2-totp/template | 24 +++++-------------------
 1 file changed, 5 insertions(+), 19 deletions(-)

diff --git a/srcpkgs/tpm2-totp/template b/srcpkgs/tpm2-totp/template
index d168908c88de..73c3d95ed334 100644
--- a/srcpkgs/tpm2-totp/template
+++ b/srcpkgs/tpm2-totp/template
@@ -1,9 +1,9 @@
 # Template file for 'tpm2-totp'
 pkgname=tpm2-totp
 version=0.3.0
-revision=2
+revision=3
 build_style=gnu-configure
-hostmakedepends="autoconf autoconf-archive automake doxygen libtool pkg-config $(vopt_if man pandoc)"
+hostmakedepends="autoconf autoconf-archive automake libtool pkg-config"
 makedepends="dracut mkinitcpio qrencode-devel tpm2-tss-devel"
 checkdepends="iproute2 oath-toolkit-devel swtpm tpm2-tools"
 short_desc="Attest the trustworthiness of a device using TOTP"
@@ -11,24 +11,13 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 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/refs/tags/v${version}.tar.gz"
-checksum=5ff29164979d21bc0a51afce17aee80929ccce3270d0f4abce996fd36a4469e1
-
-build_options="man"
-desc_option_man="Use pandoc for manpages"
-
-case "$XBPS_MACHINE" in
-	x86_64*|i686|ppc64le*|ppc64) build_options_default="man" ;;
-esac
+distfiles="https://github.com/tpm2-software/tpm2-totp/releases/download/v${version}/tpm2-totp-${version}.tar.gz"
+checksum=1a8c83dc0d0dc58bd85a3fbfc9da6e39414c0d33f1a19886cde20f063f0c527b
 
 if [ -n "$XBPS_CHECK_PKGS" ]; then
 	configure_args="--enable-integration"
 fi
 
-pre_configure() {
-	autoreconf -isv
-}
-
 libtpm2-totp_package() {
 	short_desc+=" - library files"
 	pkg_install() {
@@ -45,9 +34,6 @@ tpm2-totp-devel_package() {
 		vmove usr/lib/pkgconfig
 		vmove "usr/lib/*.a"
 		vmove "usr/lib/*.so"
-
-		if [ -n "$build_option_man" ]; then
-			vmove usr/share/man/man3
-		fi
+		vmove usr/share/man/man3
 	}
 }

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

* Re: [PR PATCH] [Merged]: tpm2-totp: switch to prebuilt source destfile
  2023-04-03 13:56 [PR PATCH] tpm2-totp: switch to prebuilt source destfile tranzystorek-io
@ 2023-04-13  0:19 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2023-04-13  0:19 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

tpm2-totp: switch to prebuilt source destfile
https://github.com/void-linux/void-packages/pull/43242

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

Avoids using pandoc or doxygen altogether

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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
-->


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

end of thread, other threads:[~2023-04-13  0:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-03 13:56 [PR PATCH] tpm2-totp: switch to prebuilt source destfile tranzystorek-io
2023-04-13  0:19 ` [PR PATCH] [Merged]: " classabbyamp

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).