1 Star 0 Fork 19

sqfu/cryptsetup

forked from src-openEuler/cryptsetup 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
cryptsetup.spec 4.91 KB
一键复制 编辑 原始数据 按行查看 历史
fu-shanqing 提交于 2022-09-14 09:48 . update to 2.4.3
Name: cryptsetup
Version: 2.4.3
Release: 1
Summary: Utility used to conveniently set up disk encryption
License: GPLv2+ and LGPLv2+
URL: https://gitlab.com/cryptsetup/cryptsetup
Source0: https://www.kernel.org/pub/linux/utils/cryptsetup/v2.4/cryptsetup-%{version}.tar.xz
Patch1: 0001-cryptsetup-add-system-library-paths.patch
Patch2: 0002-fix-compat-test.patch
BuildRequires: openssl-devel, popt-devel, device-mapper-devel, gcc, libssh-devel
BuildRequires: libuuid-devel, json-c-devel, libargon2-devel, libpwquality-devel, libblkid-devel
Requires: libpwquality >= 1.2.0
Provides: %{name}-luks = %{version}-%{release}
Obsoletes: %{name}-luks < 1.4.0
Provides: %{name}-libs %{name}-libs%{?_isa}
Obsoletes: %{name}-libs
Obsoletes: python2-%{name} < 2.1.0
Obsoletes: %{name}-python3 < 2.1.0
%description
cryptsetup is a utility used to conveniently set up disk encryption based
on the DMCrypt kernel module.
%package devel
Summary: Including header files and library for the developing of cryptsetup
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Provides: cryptsetup-luks-devel = %{version}-%{release}
Obsoletes: cryptsetup-luks-devel < 1.4.0
%description devel
This contains dynamic libraries and header files for the developing of cryptsetup.
%package -n veritysetup
Summary: Utility for setting up disk verification
Requires: %{name} = %{version}-%{release}
%description -n veritysetup
It contains a utility for setting up disk verification.
%package -n integritysetup
Summary: Utility for setting up dm-integrity volumes
Requires: %{name} = %{version}-%{release}
%description -n integritysetup
It contains a utility for setting up dm-integrity volumes.
%package reencrypt
Summary: Utility for reencryption encrypted disks
Requires: %{name} = %{version}-%{release}
%description reencrypt
It contains a utility for reencryption encrypted disks.
%package help
Summary: Including man files for cryptsetup
BuildArch: noarch
Requires: man
%description help
This contains man files for the using of cryptsetup.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --enable-fips --enable-pwquality --enable-libargon2 --with-crypto_backend=openssl
%make_build
%check
make check
%install
%make_install
%find_lang cryptsetup
%post -n cryptsetup -p /sbin/ldconfig
%postun -n cryptsetup -p /sbin/ldconfig
%files -f cryptsetup.lang
%license COPYING COPYING.LGPL AUTHORS
%doc docs/*
%{_sbindir}/cryptsetup
%{_sbindir}/cryptsetup-ssh
%{_libdir}/libcryptsetup.so.*
%{_libdir}/cryptsetup/*.so
%{_tmpfilesdir}/cryptsetup.conf
%ghost %dir /run/cryptsetup
%exclude %{_libdir}/*.la
%exclude %{_libdir}/cryptsetup/*.la
%files devel
%doc docs/examples/*
%{_libdir}/libcryptsetup.so
%{_includedir}/libcryptsetup.h
%{_libdir}/pkgconfig/libcryptsetup.pc
%files -n veritysetup
%{_sbindir}/veritysetup
%files -n integritysetup
%{_sbindir}/integritysetup
%files reencrypt
%doc %attr(644,-,-)misc/dracut_90reencrypt
%{_sbindir}/cryptsetup-reencrypt
%files help
%{_mandir}/man8/*
%changelog
* Tue Sep 13 2022 fushanqing <[email protected]> - 2.4.3-2
- update to 2.4.3
* Wed Nov 17 2021 Wenchao Hao <[email protected]> - 2.4.1-1
- Update to 2.4.1 version
* Fri Jul 30 2021 chenyanpanHW <[email protected]> - 2.3.3-5
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Jun 29 2021 yanglongkang <[email protected]> - 2.3.3-4
- add buildrequire gcc
* Wed Nov 4 2020 lixiaokeng <[email protected]> - 2.3.3-3
- add make check
* Fri Oct 30 2020 Zhiqiang Liu <[email protected]> - 2.3.3-2
- backport upstream patches to solve several problems -epoch2
* Sat Jul 18 2020 Ruijun Ge <[email protected]> - 2.3.3-1
- update to 2.3.3 version
* Tue Jun 30 2020 Zhiqiang Liu <[email protected]> - 2.0.4-3
- renumber patches.
* Wed Aug 28 2019 zhanghaibo <[email protected]> - 2.0.4-2
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:openEuler Debranding
* Wed Aug 21 2019 renxudong<[email protected]> - 2.0.4-1.h3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix blockwise-compat and compat-test
* Mon May 6 2019 hanzhijun<[email protected]> - 2.0.4-1.h2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix blockwise-compat and compat-test
* Thu Apr 18 2019 wangxiao<[email protected]> - 2.0.4-1.h1
- Type:bugfix
- ID:NA
- SUG:restart
- DESC:Emit error message for converting inactive keyslot.
Move blkid scan after device context initialization.
Add blkid scan when attemting to open plain device.
Wiping empty device should not fail.
Do not copy buffer if read fails.
Do not fail if device is smaller than requested wipe size.
Do not print error for used device twice.
Fix issues found by Coverity scan.
Properly propagate error from AF diffuse function.
Check for device size and sector size misalignment.
Fix a possible NULL pointer in opt_type.
Upstream fixes to bundled Argon2 code.
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fu-shanqing/cryptsetup.git
[email protected]:fu-shanqing/cryptsetup.git
fu-shanqing
cryptsetup
cryptsetup
master

搜索帮助