-
Notifications
You must be signed in to change notification settings - Fork 676
Add package fsverity-utils #5732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -241,6 +241,7 @@ | |
| "fribidi", | ||
| "fros", | ||
| "frr", | ||
| "fsverity-utils", | ||
| "fuse-overlayfs", | ||
| "fuse-sshfs", | ||
| "fuse-zip", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "Signatures": { | ||
| "fsverity-utils-1.5.tar.gz": "830e38ec081ef8171eb210461cf8bee8a707c7c60f9018a4b567af145a510884" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| Summary: fsverity utilities | ||
| Name: fsverity-utils | ||
| Version: 1.5 | ||
| Release: 1%{?dist} | ||
| License: MIT | ||
| Vendor: Microsoft Corporation | ||
| Distribution: Mariner | ||
| URL: https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git/ | ||
| Source0: https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git/snapshot/%{name}-%{version}.tar.gz | ||
| BuildRequires: gcc | ||
| BuildRequires: glibc-headers | ||
| BuildRequires: kernel-headers | ||
| BuildRequires: make | ||
| BuildRequires: openssl-devel | ||
| Requires: libfsverity = %{version}-%{release} | ||
|
|
||
| %description | ||
| This is fsverity, a userspace utility for fs-verity. | ||
| 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. The fsverity utility allows you | ||
| to set up fs-verity protected files. | ||
|
|
||
| %package -n libfsverity | ||
| Summary: Library files for fsverity-utils | ||
|
|
||
| %description -n libfsverity | ||
| Library for fsverity-utils. | ||
|
|
||
| %package devel | ||
| Summary: Development package for fsverity-utils | ||
| Requires: %{name} = %{version}-%{release} | ||
| Requires: libfsverity = %{version}-%{release} | ||
|
|
||
| %description devel | ||
| Development package for fsverity-utils. This package includes the | ||
| libfsverity header and library files. | ||
|
|
||
| %prep | ||
| %autosetup -p1 | ||
|
|
||
| %build | ||
| %make_build USE_SHARED_LIB=1 | ||
|
|
||
| %install | ||
| %make_install PREFIX=%{_prefix} LIBDIR=%{_libdir} USE_SHARED_LIB=1 | ||
| find %{buildroot} -type f -name "*.a" -delete | ||
|
|
||
| %check | ||
| make check | ||
|
|
||
| %files | ||
| %doc README.md | ||
| %{_bindir}/fsverity | ||
|
|
||
| %files -n libfsverity | ||
| %license LICENSE | ||
| %{_libdir}/libfsverity.so.0 | ||
|
|
||
| %files devel | ||
| %{_includedir}/libfsverity.h | ||
| %{_libdir}/libfsverity.so | ||
| %{_libdir}/pkgconfig/libfsverity.pc | ||
|
|
||
| %changelog | ||
| * Thu Jun 22 2023 Zhichun Wan <zhichunwan@microsoft.com> - 1.5-1 | ||
| - Initial CBL-Mariner import from Fedora 36 (license: MIT). | ||
| - Update to 1.5 | ||
| - License verified | ||
|
|
||
| * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7 | ||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild | ||
|
|
||
| * Fri Sep 17 2021 Timm Bäder <tbaeder@redhat.com> - 1.4-6 | ||
| - Make sure to pass all build flags in both %%build and %%install | ||
|
|
||
| * Thu Sep 16 2021 Sahana Prasad <sahana@redhat.com> - 1.4-5 | ||
| - Rebuilt with OpenSSL 3.0.0 | ||
|
|
||
| * Wed Sep 15 2021 Filipe Brandenburger <filbranden@gmail.com> - 1.4-4 | ||
| - Include patch to implement PKCS#11 opaque keys support through | ||
| OpenSSL pkcs11 engine (rhbz #2000411) | ||
|
|
||
| * Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.4-3 | ||
| - Rebuilt with OpenSSL 3.0.0 | ||
|
|
||
| * Mon Aug 09 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 1.4-2 | ||
| - Fix libfsverity package naming (rhbz #1991175) | ||
|
|
||
| * Fri Aug 06 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 1.4-1 | ||
| - Update to 1.4 | ||
| - Split libs out to subpackage | ||
|
|
||
| * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4 | ||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild | ||
|
|
||
| * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3 | ||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild | ||
|
|
||
| * Fri Jan 22 21:53:29 UTC 2021 Colin Walters <walters@verbum.org> - 1.3-2 | ||
| - Update to 1.3 | ||
|
|
||
| * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-3 | ||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild | ||
|
|
||
| * Mon Jun 15 2020 Colin Walters <walters@verbum.org> - 1.1-2 | ||
| - Move .so to -devel, hardcode soname | ||
|
|
||
| * Mon Jun 15 2020 Jes Sorensen <Jes.Sorensen@gmail.com> - 1.1-1 | ||
| - Update to version 1.1, split into fsverity-utils and fsverity-utils-devel | ||
|
|
||
| * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2 | ||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild | ||
|
|
||
| * Wed Dec 04 2019 Colin Walters <walters@verbum.org> - 1.0-1 | ||
| - Initial version | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.