-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy paththin_send_recv.spec
78 lines (59 loc) · 2.32 KB
/
thin_send_recv.spec
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
Name: thin-send-recv
Version: 1.1.3
Release: 1
Summary: send and receive for LVM thin volumes
License: GPLv3+
Group: Applications/System
Requires: /usr/sbin/lvs
Requires: /usr/sbin/thin_dump
Requires: /usr/sbin/thin_delta
Requires: /bin/sh
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: flex make gcc
%description
thin_send serializes a thin volume into a stream. It is more efficient than
dd by only sending allocated data blocks. (In contrast a stream produced by
dd contains lots of zeroes for all not allocated blocks). thin_recv decodes
that stream and applies it to a thin volume.
Thins_send can also create a stream that contains only the blocks modified
by a snapshot or between two snapshots.
%prep
%setup -q -n %{name}-%{version}
%build
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.md
%{_bindir}/*
%changelog
* Wed Jan 08 2025 Moritz Wanzenböck <[email protected]> - 1.1.3-1
- fix lock file creation not setting permission bits
- fix RPM build instructions
* Fri Jul 19 2024 Roland Kammerer <[email protected]> - 1.1.2-1
- ci: test with ASAN and UBSAN enabled
- parse thin_dump metadata in new format
* Thu May 23 2024 Roland Kammerer <[email protected]> - 1.1.1-1
- Add backward compat to receive previous format
- allow to --accept-stream-format=auto|1.0|1.1
- fix wording in readme
* Fri Apr 19 2024 Lars Ellenberg <[email protected]> - 1.1.0-1
- bump magic, stream format change
- detect incomplete streams
* Wed Mar 30 2022 Roland Kammerer <[email protected]> - 1.0.2-1
- Abort if argv is not present or empty
- fix support for fstrim/discard/unmap/deallocate
* Tue Feb 15 2022 Philipp Reisner <[email protected]> - 1.0.1-1
- fix handling of data chunks larger 16GiB
* Tue Nov 23 2021 Philipp Reisner <[email protected]> - 1.0-1
- activation flags, signals, tests
* Thu Sep 10 2020 Robert Altnoeder <[email protected]> - 0.24-1
- Workaround for external LVM commands race condition
* Wed Aug 05 2020 Roland Kammerer <[email protected]> - 0.23-1
- New upstream release
* Fri Jul 24 2020 Philipp Reisner <[email protected]> - 0.22-1
- Splice always.
* Tue Dec 17 2019 Philipp Reisner <[email protected]> - 0.11-1
- Initial build.