tpm2-abrmd: bump to version 2.0.3

- Drop C++ requirement, which came from tpm2-tss.
- Drom musl restriction.
- Update daemon command-line options in init script.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Carlos Santos 2018-11-16 00:52:16 -02:00 committed by Peter Korsgaard
parent fcc9232b0c
commit 08cd849bee
4 changed files with 5 additions and 8 deletions

View File

@ -1,10 +1,8 @@
config BR2_PACKAGE_TPM2_ABRMD
bool "tpm2-abrmd"
depends on BR2_INSTALL_LIBSTDCPP # tpm2-tss
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
depends on BR2_USE_MMU # dbus, libglib2
depends on !BR2_TOOLCHAIN_USES_MUSL # TEMP_FAILURE_RETRY(), etc
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_TPM2_TSS
@ -22,7 +20,6 @@ config BR2_PACKAGE_TPM2_ABRMD
https://github.com/tpm2-software/tpm2-abrmd
comment "tpm2-abrmd needs a uClibc or glibc toolchain w/ C++, wchar, threads"
comment "tpm2-abrmd needs a toolchain w/ wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
|| !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_MUSL
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -49,7 +49,7 @@ stop() {
check_required_files /etc/dbus-1/system.d/tpm2-abrmd.conf
# defaults
DAEMON_OPTS="--tcti=device --logger=syslog --max-connections=20 --max-transient-objects=20 --fail-on-loaded-trans"
DAEMON_OPTS="--tcti=device --logger=syslog --max-connections=20"
# Read configuration variable file if it is present
[ -r /etc/default/tpm2-abrmd ] && . /etc/default/tpm2-abrmd

View File

@ -1,3 +1,3 @@
# Locally computed:
sha256 e32e19de93b539374a485d9df7fe9415ce147ec03c8d9ba6593e50f7a67a7a51 tpm2-abrmd-1.3.0.tar.gz
sha256 ff0ed283b0300cd784d6bf2b042e167020f8443602974e53b924e9fd98a4b515 tpm2-abrmd-2.0.3.tar.gz
sha256 18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448 LICENSE

View File

@ -4,7 +4,7 @@
#
################################################################################
TPM2_ABRMD_VERSION = 1.3.0
TPM2_ABRMD_VERSION = 2.0.3
TPM2_ABRMD_SITE = https://github.com/tpm2-software/tpm2-abrmd/releases/download/$(TPM2_ABRMD_VERSION)
TPM2_ABRMD_LICENSE = BSD-2-Clause
TPM2_ABRMD_LICENSE_FILES = LICENSE