Package Details: tpm2-pkcs11-git r150.10854c5-1

Git Clone URL: https://aur.archlinux.org/tpm2-pkcs11-git.git (read-only, click to copy)
Package Base: tpm2-pkcs11-git
Description: A PKCS#11 interface for TPM2 hardware
Upstream URL: https://github.com/tpm2-software/tpm2-pkcs11
Licenses: BSD
Submitter: irtimmer
Maintainer: irtimmer
Last Packager: irtimmer
Votes: 1
Popularity: 0.001855
First Submitted: 2018-09-20 21:45
Last Updated: 2019-09-20 18:02

Latest Comments

Unb0rn commented on 2019-01-26 21:23

@diabonas Yep! It seems to work. Thanks!

diabonas commented on 2019-01-26 13:41

@Unb0rn This is due to a backwards-incompatible change in autoconf-archive 2019.01.06, see e.g. the pull request to fix this in tpm2-tss(-git). Until this is fixed upstream, you need

prepare () {
  cd tpm2-pkcs11
  sed --in-place 's|@CODE_COVERAGE_RULES@|include $(top_srcdir)/aminclude_static.am|' Makefile.am
}

in the PKGBUILD.

Unb0rn commented on 2019-01-26 07:14

Looks like it's not building now.

config.status: creating Makefile config.status: creating src/lib/config.h config.status: executing libtool commands config.status: executing depfiles commands config.status: error: in /build/tpm2-pkcs11-git/src/tpm2-pkcs11': config.status: error: Something went wrong bootstrapping makefile fragments for automatic dependency tracking. Try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). Seeconfig.log' for more details ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/unb0rn/build

And in config.log there is:

config.status:1363: executing depfiles commands config.status:1986: cd . && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles /tmp/Gm1PcmDD:1962: *** missing separator. Stop. config.status:1991: $? = 2 config.status:1995: error: in `/build/tpm2-pkcs11-git/src/tpm2-pkcs11': config.status:1997: error: Something went wrong bootstrapping makefile fragments for automatic dependency tracking. Try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking).

diabonas commented on 2018-10-28 19:18

Cool package :) Some small suggestions:

  • $srcdir and $pkgdir should be quoted throughout the PKGBUILD as they could contain spaces.
  • While most of the project is under a BSD license, some files are licensed differently, as listed in the LICENSE file. This should be documented by adding 'custom' to the license array.
  • Optionally, a check() function to run the test suite would be nice because development is quite active upstream and stuff might be broken from time to time:
    checkdepends=('cmocka' 'ibm-sw-tpm2' 'tpm2-abrmd' 'net-tools')
    
    check() {
      cd tpm2-pkcs11
      ./configure --prefix=/usr --enable-unit --enable-integration
      make check
    }