Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37704518
en ru br
ALT Linux repos
S:0.11.2-alt3

Group :: File tools
RPM: bdsync

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: bdsync
Version: 0.11.2
Release: alt3

Summary: Remote sync for block devices

License: GPLv2
Group: File tools
Url: http://bdsync.rolf-fokkens.nl/

# Source-url: https://github.com/rolffokkens/%name/archive/v%version/%name-%version.tar.gz

Source: %name-%version.tar

Patch1: bdsync-0.10-buildflags.patch

BuildRequires: libssl-devel
BuildRequires: pandoc

%description
Bdsync can be used to synchronize block devices over a network. It generates
a "binary patchfile" in an efficient way by comparing MD5 checksums of 32k
blocks of the local block device LOCDEV and the remote block device REMDEV.

This binary patchfile can be sent to the remote machine and applied to its
block device DSTDEV, after which the local blockdev LOCDEV and the remote
block device REMDEV are synchronized.

bdsync was built to do the only thing rsync isn't able to do: synchronize
block devices.

%prep
%setup
%patch1 -p1

%build
%make_build

%check
make test

%install
mkdir -p %buildroot/%_bindir/
mkdir -p %buildroot/%_man1dir/
cp %name %buildroot/%_bindir/%name
cp %name.1 %buildroot/%_man1dir/%name.1

%files
%doc COPYING
%doc README.md
%_bindir/%name
%_man1dir/%name.1*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin