5 Star 0 Fork 13

src-openEuler / clevis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
clevis.spec 3.65 KB
一键复制 编辑 原始数据 按行查看 历史
wangchen 提交于 2021-07-27 15:09 . Update version to 18
Name: clevis
Version: 18
Release: 1
Summary: A plugable framework for automated decryption
License: GPLv3+
URL: https://github.com/latchset/%{name}
Source0: https://github.com/latchset/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
BuildRequires: meson cmake jansson jose pkgconfig libjose-devel asciidoc gcc openssl-devel
BuildRequires: desktop-file-utils libudisks2-devel audit-libs-devel tang dracut pkgconfig
BuildRequires: bash-completion tpm2-tools luksmeta libluksmeta-devel ninja-build systemd curl
BuildRequires: cracklib-dicts diffutils jq
Requires: tpm2-tools jose curl coreutils cryptsetup luksmeta
Provides: clevis-luks
Obsoletes: clevis-luks
%description
Clevis is a plugable framework for automated decryption. It can be used
to provide automated decryption of data or even automated unlocking of
LUKS volumes.
This package allows users to bind a LUKS volume using a pin so that it can
be automatically unlocked. Upon successful completion of binding, the disk
can be unlocked using one of the provided unlockers.
%package systemd
Summary: Systemd integration for clevis
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: systemd
%description systemd
The systemd unlocker attempts to automatically unlock LUKSv1 _netdev block devices from /etc/crypttab.
%package dracut
Summary: Dracut integration for clevis
Requires: %{name}-systemd%{?_isa} = %{version}-%{release}
Requires: dracut-network
%description dracut
The dracut unlocker attempts to automatically unlock volumes during early boot.
%package udisks2
Summary: Udisks2 integration for clevis
Requires: %{name}%{?_isa} = %{version}-%{release}
%description udisks2
The udisks2 unlocker attempts to automatically unlock volumes in desktop environments
that use UDisks2 or storaged (like GNOME).
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson -Duser=clevis -Dgroup=clevis
%meson_build
%install
%meson_install
%check
# add test for clevis-luks-udisks2.desktop: validates the clevis-luks-udisks2.desktop
# and prints warnings/errors about desktop entry specification violations
desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}-luks-udisks2.desktop
%meson_test
%files
%defattr(-,root,root)
%license COPYING*
%{_datadir}/bash-completion/
%{_bindir}/clevis
%{_bindir}/clevis-decrypt*
%{_bindir}/clevis-encrypt*
%{_bindir}/%{name}-luks*
%files systemd
%defattr(-,root,root)
%{_unitdir}/clevis-luks-askpass*
%{_libexecdir}/clevis-luks-askpass
%files dracut
%defattr(-,root,root)
%{_prefix}/lib/dracut/modules.d/60clevis/*
%{_prefix}/lib/dracut/modules.d/60clevis-pin-sss/module-setup.sh
%{_prefix}/lib/dracut/modules.d/60clevis-pin-tang/module-setup.sh
%{_prefix}/lib/dracut/modules.d/60clevis-pin-tpm2/module-setup.sh
%files udisks2
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/clevis-luks-udisks2.desktop
%attr(4755, root, root) %{_libexecdir}/clevis-luks-udisks2
%files help
%defattr(-,root,root)
%{_mandir}/man*
%changelog
* Tue Jul 27 2021 wangchen <wangchen137@huawei.com> - 18-1
- Update version to 18
* Mon Jul 19 2021 yixiangzhike <zhangxingliang3@huawei.com> - 15-2
- Delete unnecessary gdb from BuildRequires
* Fri Oct 30 2020 panxiaohe <panxiaohe@huawei.com> - 15-1
- Update to v15
* Mon May 25 2020 openEuler Buildteam <buildteam@openeuler.org> - 11-4
- Rebuild for clevis
* Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 11-3
- Add COPYING.openssl
* Wed Sep 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 11-2
- Adjust requires
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 11-1
- Package init
1
https://gitee.com/src-openeuler/clevis.git
git@gitee.com:src-openeuler/clevis.git
src-openeuler
clevis
clevis
openEuler-22.03-LTS

搜索帮助