From c3362bc87cf5cfb0187fcfec00df29869e670898 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Dec 06 2019 15:12:41 +0000 Subject: Initial import --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..653023f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/fsverity-utils-1.0.tar.gz diff --git a/fsverity-utils.spec b/fsverity-utils.spec new file mode 100644 index 0000000..a386cd0 --- /dev/null +++ b/fsverity-utils.spec @@ -0,0 +1,41 @@ +Name: fsverity-utils +Version: 1.0 +Release: 1%{?dist} +Summary: fsverity utilities + +License: BSD +URL: https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git +Source0: https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git/snapshot/fsverity-utils-1.0.tar.gz + +BuildRequires: gcc make +BuildRequires: kernel-headers glibc-headers +BuildRequires: openssl-devel + +%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. + +%prep +%autosetup %{name}-%{version} + +%build +# Install into /usr/bin +sed -ie 's,\(install.*$(DESTDIR)/\)bin,\1usr/bin,' Makefile +make CFLAGS="%{optflags}" %{_smp_mflags} + +%install +%make_install + +%files +%doc README.md +%license COPYING +%{_bindir}/fsverity + +%changelog +* Wed Dec 04 2019 Colin Walters - 1.0-1 +- Initial version diff --git a/sources b/sources new file mode 100644 index 0000000..3c22a3c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fsverity-utils-1.0.tar.gz) = ceb44b94ee567bace09f8d3850467889bd49b3c43808e2469ba2874482d1b57375761339fda6e6b9e26ec73e44f7113a6dd4aeb3655f7afe95e02f6bfa4f9930