bump(main/swtpm): 0.8.2

Remove configure.ac.patch file because the required tools are required
for testing. Tests are disabled using '--disable-tests` option which
was added in the following commit.
d258668d51
This commit is contained in:
Biswapriyo Nath 2024-04-12 06:28:09 +00:00 committed by Twaik Yont
parent 192bbceb84
commit 6a042ff0e0
2 changed files with 3 additions and 40 deletions

View File

@ -3,15 +3,16 @@ TERMUX_PKG_DESCRIPTION="Software TPM Emulator"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_LICENSE_FILE="LICENSE"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.8.1"
TERMUX_PKG_VERSION="0.8.2"
TERMUX_PKG_SRCURL=https://github.com/stefanberger/swtpm/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=7bba52aa41090f75087034fac5fe8daed10c3e7e7234df7c9558849318927f41
TERMUX_PKG_SHA256=b281b4e8c39f68e1928675f788abc70072e4081152e129144359a8c5c304c06b
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="glib, json-glib, libseccomp, libtpms, openssl"
TERMUX_PKG_BUILD_DEPENDS="libtasn1"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-openssl
--without-gnutls
--disable-tests
"
termux_step_pre_configure() {

View File

@ -1,38 +0,0 @@
--- a/configure.ac
+++ b/configure.ac
@@ -200,14 +200,6 @@
fi
AM_CONDITIONAL([HAVE_TCSD], test "$have_tcsd" != "no")
-dnl We either need netstat (more common across systems) or 'ss' for test cases
-AC_PATH_PROG([NETSTAT], [netstat])
-if test "x$NETSTAT" = "x"; then
- AC_PATH_PROG([SS], [ss])
- if test "x$SS" = "x"; then
- AC_MSG_ERROR(['netstat' and 'ss' tools are missing for tests: net-tools OR iproute/iproute2 package])
- fi
-fi
AC_MSG_CHECKING([for whether to build with CUSE interface])
AC_ARG_WITH([cuse],
@@ -384,20 +376,12 @@
pcr_bank_checks
AC_SUBST([DEFAULT_PCR_BANKS])
-AC_PATH_PROG([EXPECT], expect)
-if test "x$EXPECT" = "x"; then
- AC_MSG_ERROR([expect is required: expect package])
-fi
AC_PATH_PROG([GAWK], gawk)
if test "x$GAWK" = "x"; then
AC_MSG_ERROR([gawk is required: gawk package])
fi
-AC_PATH_PROG([SOCAT], socat)
-if test "x$SOCAT" = "x"; then
- AC_MSG_ERROR([socat is required: socat package])
-fi
AC_PATH_PROG([BASE64], base64)
if test "x$BASE64" = "x"; then