Wang Mingyu b9f4cae7d8
fsverity-utils: upgrade 1.6 -> 1.7
Changelog:
  * Allowed fsverity-utils to build when PKCS#11 support is not available in
  OpenSSL.  In that case, 'fsverity sign' just won't support that feature.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-11 10:19:41 -08:00

31 lines
1.2 KiB
BlitzBasic

SUMMARY = "Userspace utilities for fs-verity"
DESCRIPTION = "fs-verity is a Linux kernel feature that does transparent \
on-demand integrity/authenticity verification of the contents of read-only \
files, using a hidden Merkle tree (hash tree) associated with the file. The \
mechanism is similar to dm-verity, but implemented at the file level rather \
than at the block device level."
HOMEPAGE = "https://www.kernel.org/doc/html/latest/filesystems/fsverity.html"
SECTION = "console"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bc974d217b525ea216a336adb73e1220"
SRCREV = "96d12bd0d34a034d6e0b85512422f0d6df3c7c4a"
SRC_URI = "git://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git;branch=master"
DEPENDS = "openssl"
EXTRA_OEMAKE:append = " PREFIX=${prefix} LIBDIR=${libdir} USE_SHARED_LIB=1"
# We want to statically link the binary to libfsverity on native Windows
EXTRA_OEMAKE:remove:mingw32:class-nativesdk = "USE_SHARED_LIB=1"
EXTRA_OEMAKE:remove:mingw32:class-native = "USE_SHARED_LIB=1"
do_install() {
oe_runmake install DESTDIR=${D}
}
PACKAGES =+ "libfsverity"
FILES:libfsverity = "${libdir}/libfsverity*${SOLIBS}"
BBCLASSEXTEND = "native nativesdk"