blob: e0ae9b0077cccee6d36a5d9f3e07f8b830c6b500 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
Name: cryptsetup
Version: 2.7.4
Release: 1
Summary: Utility used to conveniently set up disk encryption
License: GPL-2.0-or-later WITH cryptsetup-OpenSSL-exception AND LGPL-2.1-or-later WITH cryptsetup-OpenSSL-exception
URL: https://gitlab.com/cryptsetup/cryptsetup
Source0: https://www.kernel.org/pub/linux/utils/cryptsetup/v2.7/cryptsetup-%{version}.tar.xz
Patch1: 0001-cryptsetup-add-system-library-paths.patch
Patch2: 0002-fix-compat-test.patch
BuildRequires: pkgconfig(blkid)
BuildRequires: pkgconfig(devmapper) >= 1.02.03
BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(libargon2)
BuildRequires: pkgconfig(libcrypto) >= 0.9.8
BuildRequires: pkgconfig(libssh)
BuildRequires: pkgconfig(pwquality) >= 1.0.0
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(uuid)
BuildRequires: popt-devel
BuildRequires: asciidoctor
Requires: libpwquality >= 1.0.0
Provides: %{name}-luks = %{version}-%{release}
Obsoletes: %{name}-luks < 1.4.0
Provides: %{name}-libs = %{version}-%{release}
Obsoletes: %{name}-libs < %{version}-%{release}
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}
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_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --enable-fips --enable-pwquality --enable-libargon2 --with-crypto_backend=openssl
%make_build
%check
%make_build check
%install
%make_install
%find_lang cryptsetup
%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 help
%{_mandir}/man8/*
%changelog
* Tue Jul 30 2024 Funda Wang <fundawang@yeah.net> - 2.7.4-1
- update to 2.7.4
* Tue Feb 6 2024 wangzhiqiang <wangzhiqiang95@huawei.com> - 2.6.1-1
- upgrade version to 2.6.1
* Wed Mar 22 2023 wangzhiqiang <wangzhiqiang95@huawei.com> - 2.6.0-2
- fix potential null pointer dereference
* Thu Feb 2 2023 wangzhiqiang <wangzhiqiang95@huawei.com> - 2.6.0-1
- upgrade version to 2.6.0
* Sat Oct 15 2022 wuguanghao <wuguanghao3@huawei.com> - 2.4.3-2
- correct license: add CC0-1.0
* Thu Oct 13 2022 wuguanghao <wuguanghao3@huawei.com> - 2.4.3-1
- upgrade version to 2.4.3
* Wed Nov 17 2021 Wenchao Hao <haowenchao@huawei.com> - 2.4.1-1
- Update to 2.4.1 version
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.3.3-5
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Jun 29 2021 yanglongkang <yanglongkang@huawei.com> - 2.3.3-4
- add buildrequire gcc
* Wed Nov 4 2020 lixiaokeng <lixiaokeng@huawei.com> - 2.3.3-3
- add make check
* Fri Oct 30 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 2.3.3-2
- backport upstream patches to solve several problems -epoch2
* Sat Jul 18 2020 Ruijun Ge <geruijun@huawei.com> - 2.3.3-1
- update to 2.3.3 version
* Tue Jun 30 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 2.0.4-3
- renumber patches.
* Wed Aug 28 2019 zhanghaibo <ted.zhang@huawei.com> - 2.0.4-2
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:openEuler Debranding
* Wed Aug 21 2019 renxudong<renxudong1@huawei.com> - 2.0.4-1.h3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix blockwise-compat and compat-test
* Mon May 6 2019 hanzhijun<hanzhijun1@huawei.com> - 2.0.4-1.h2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix blockwise-compat and compat-test
* Thu Apr 18 2019 wangxiao<wangxiao65@huawei.com> - 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
|