name: tpm2-tss-engine-snap # you probably want to 'snapcraft register ' base: core18 # the base snap is the execution environment for this snap version: '0.0.1' # just for humans, typically '1.2+git' or '1.3.2' summary: A snap containing an openssl sserver description: | TODO grade: devel # must be 'stable' to release into candidate/stable channels confinement: strict # use 'strict' once you have the right plugs and slots plugs: tpm2-abrmd-client: interface: dbus bus: system name: com.intel.tss2.Tabrmd parts: tpm2-tools: plugin: autotools build-environment: - LDFLAGS: "$LDFLAGS -Wl,-rpath-link,$SNAPCRAFT_STAGE/lib" source: https://github.com/tpm2-software/tpm2-tools source-type: git source-tag: "4.2.1" build-packages: - pandoc - pkg-config - to arm64: - autoconf - autoconf-archive - libcmocka-dev - libcurl4-openssl-dev - libssl-dev - libtool - uuid-dev stage-packages: - to arm64: - libasn1-8-heimdal - libcurl4 - libgssapi3-heimdal - libhcrypto4-heimdal - libheimbase1-heimdal - libheimntlm0-heimdal - libhx509-5-heimdal - libkrb5-26-heimdal - libldap-2.4-2 - libnghttp2-14 - libpsl5 - libroken18-heimdal - librtmp1 - libsasl2-2 - libwind0-heimdal prime: - -include after: - tpm2-tss tpm2-tss: plugin: autotools source: https://github.com/tpm2-software/tpm2-tss source-type: git source-tag: 3.0.0 build-packages: - gcc - g++ - doxygen - pkg-config - to arm64: - autoconf - autoconf-archive - libtool - libltdl-dev - libjson-c-dev - libgcrypt20-dev - liburiparser-dev - libcurl4-openssl-dev - libssl-dev stage-packages: - to arm64: - libgcrypt20 - libssl1.1 - libgpg-error0 prime: - -include tpm2-tss-engine: plugin: autotools build-environment: - LDFLAGS: "$LDFLAGS -Wl,-rpath-link,$SNAPCRAFT_STAGE/lib" source: https://github.com/tpm2-software/tpm2-tss-engine source-type: git source-tag: "v1.1.0-rc1" build-packages: - pandoc - pkg-config - gcc - to arm64: - autoconf - autoconf-archive - libtool - libssl-dev after: - tpm2-tss #only using the tcti from here... tpm2-abrmd: plugin: autotools source: https://github.com/tpm2-software/tpm2-abrmd.git source-type: git source-tag: 2.3.3-rc0 configflags: - --with-dbuspolicydir=/etc/dbus-1/system.d stage-packages: - dbus - libblkid1 - libmount1 - libpcre3 - libselinux1 - libuuid1 - libglib2.0-0 - libapparmor1 - libaudit1 - libgcrypt20 - libgpg-error0 - liblz4-1 - liblzma5 - libsystemd0 - zlib1g build-packages: - to arm64: - dbus-x11 - libdbus-1-dev - libglib2.0-dev after: - tpm2-tss apps: getrandom: command: bin/tpm2_getrandom plugs: [tpm2-abrmd-client]