Sync from SUSE:SLFO:Main fsverity-utils revision e3f28712a1d01dbb78894380712f3a1f

This commit is contained in:
Adrian Schröter 2024-08-28 11:03:13 +02:00
commit ddc703d8f6
4 changed files with 138 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
fsverity-utils-1.6.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

26
fsverity-utils.changes Normal file
View File

@ -0,0 +1,26 @@
-------------------------------------------------------------------
Thu Apr 4 08:52:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.6:
* Eliminated the dependency on `pandoc` for installing the
manual page.
* Updated the documentation to reflect recent kernel changes,
including the kernel adding support for more Merkle tree
block sizes, IMA adding support for fs-verity, and btrfs
adding support for fs-verity.
* Updated the documentation to refer to the new fsverity
mailing list.
* Fixed a C++ compatibility issue in `libfsverity.h`.
* `fsverity measure` now follows standard command line syntax
for arguments beginning with hyphens. I.e.,
`fsverity measure --foo` now treats `--foo` as
* an (unsupported) option, not a filename. To operate on a
file actually named `--foo`, use `fsverity measure -- --foo`.
-------------------------------------------------------------------
Mon Mar 27 09:01:42 UTC 2023 - David Disseldorp <ddiss@suse.com>
- Initial packaging, version 1.5 (jsc#PED-7094)
- Add pregenerated manpage to avoid pandoc build dependency
* pandoc is large and unavailable on some architectures
- Don't package static library

86
fsverity-utils.spec Normal file
View File

@ -0,0 +1,86 @@
#
# spec file for package fsverity-utils
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: fsverity-utils
Version: 1.6
Release: 0
Summary: Userspace utilities for fs-verity
License: MIT
Group: System/Filesystems
URL: https://www.kernel.org/doc/html/latest/filesystems/fsverity.html
Source0: https://git.kernel.org/pub/scm/fs/fsverity/%{name}.git/snapshot/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: kernel-headers
BuildRequires: libopenssl-devel
%description
fsverity is a userspace utility for fs-verity. fs-verity is a Linux
kernel filesystem feature that does transparent on-demand verification
of the contents of read-only files using Merkle trees.
fsverity can enable fs-verity on files, retrieve the digests of
fs-verity files, and sign files for use with fs-verity (among other
things). fsverity's functionality is divided among various subcommands.
%package -n libfsverity0
Summary: Library package for fsverity-utils
%description -n libfsverity0
Shared-object dependencies for fsverity-utils.
%package devel
Summary: Development package for fsverity-utils
Requires: libfsverity0 = %{version}-%{release}
%description devel
Development package for fsverity-utils, including libfsverity header
and library files.
%prep
%setup -q
%build
%make_build USE_SHARED_LIB=1
%install
%make_install \
USE_SHARED_LIB=1 \
BINDIR=%{_bindir} \
INCDIR=%{_includedir} \
LIBDIR=%{_libdir} \
MANDIR=%{_mandir}
rm %{buildroot}/%{_libdir}/libfsverity.a
%post -n libfsverity0 -p /sbin/ldconfig
%postun -n libfsverity0 -p /sbin/ldconfig
%files
%{_bindir}/fsverity
%{_mandir}/man1/fsverity.*
%files -n libfsverity0
%{_libdir}/libfsverity.so.0
%files devel
%license LICENSE
%{_libdir}/libfsverity.so
%{_libdir}/pkgconfig/libfsverity.pc
%{_includedir}/libfsverity.h
%changelog