From ce3b8688a48d2076141bdea9d66aa6882fb43e05 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Wed, 28 Sep 2022 21:15:09 +0200 Subject: [PATCH] tpm2-tools: update to 5.3 --- srcpkgs/tpm2-tools/patches/bootstrap-no-git.patch | 13 +++++++++++++ srcpkgs/tpm2-tools/patches/version-cache.patch | 11 ----------- srcpkgs/tpm2-tools/template | 6 +++--- 3 files changed, 16 insertions(+), 14 deletions(-) create mode 100644 srcpkgs/tpm2-tools/patches/bootstrap-no-git.patch delete mode 100644 srcpkgs/tpm2-tools/patches/version-cache.patch diff --git a/srcpkgs/tpm2-tools/patches/bootstrap-no-git.patch b/srcpkgs/tpm2-tools/patches/bootstrap-no-git.patch new file mode 100644 index 00000000000000..b6c1f21929e364 --- /dev/null +++ b/srcpkgs/tpm2-tools/patches/bootstrap-no-git.patch @@ -0,0 +1,13 @@ +diff --git a/bootstrap b/bootstrap +index f8de2d3..bd2ab07 100755 +--- a/bootstrap ++++ b/bootstrap +@@ -5,7 +5,7 @@ set -e + + # Generate a VERSION file that is included in the dist tarball to avoid needed git + # when calling autoreconf in a release tarball. +-git describe --tags --always --dirty > VERSION ++# git describe --tags --always --dirty > VERSION + + # generate list of source files for use in Makefile.am + # if you add new source files, you must run ./bootstrap again diff --git a/srcpkgs/tpm2-tools/patches/version-cache.patch b/srcpkgs/tpm2-tools/patches/version-cache.patch deleted file mode 100644 index 3766b3fe9a5378..00000000000000 --- a/srcpkgs/tpm2-tools/patches/version-cache.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index f1c1711..2ca51b0 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1,5 +1,5 @@ - AC_INIT([tpm2-tools], -- [m4_esyscmd_s([git describe --tags --always --dirty])]) -+ [m4_esyscmd_s([cat VERSION])]) - AC_CONFIG_MACRO_DIR([m4]) - - AX_IS_RELEASE([dash-version]) diff --git a/srcpkgs/tpm2-tools/template b/srcpkgs/tpm2-tools/template index 30120d8fc3228c..f1f2d2e8582e8b 100644 --- a/srcpkgs/tpm2-tools/template +++ b/srcpkgs/tpm2-tools/template @@ -1,6 +1,6 @@ # Template file for 'tpm2-tools' pkgname=tpm2-tools -version=5.2 +version=5.3 revision=1 build_style=gnu-configure hostmakedepends="autoconf autoconf-archive automake libtool pkg-config $(vopt_if man pandoc)" @@ -11,7 +11,7 @@ license="BSD-3-Clause" homepage="https://github.com/tpm2-software/tpm2-tools/" changelog="https://raw.githubusercontent.com/tpm2-software/tpm2-tools/master/docs/CHANGELOG.md" distfiles="https://github.com/tpm2-software/tpm2-tools/archive/refs/tags/${version}.tar.gz" -checksum=6b81d8214cc8006a8a5011926df917b885f320e428470a61669f577c0778e4d8 +checksum=24a4113ad1aef589a48031ad448d019466294e0400c8382ffab3e8d4aff48c2d build_options="man" desc_option_man="Use pandoc for manpages" @@ -26,5 +26,5 @@ pre_configure() { } post_install() { - vlicense doc/LICENSE + vlicense docs/LICENSE }