Репозиторий Sisyphus
Последнее обновление: 22 апреля 2018 | Пакетов: 18287 | Посещений: 11365129
en ru br
Репозитории ALT

Группа :: Архивирование/Резервное копирование
Пакет: bup

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name:     bup
Version:  0.29.1
Release:  alt1

Summary:  Very efficient backup system based on the git packfile format
# all of the code is licensed as GNU Lesser General Public License v2, except:
# - lib/bup/bupsplit.c: BSD License (two clause),
# - lib/bup/bupsplit.h: BSD License (two clause),
# - lib/bup/options.py: BSD License (two clause),
# - definition of relpath() function in wvtest.py: Python License
License:  LGPLv2 and BSD and Python
Group:    Archiving/Backup
URL:      https://bup.github.io/

Packager: Andrey Cherepanov <cas at altlinux.org>

Source:   %name-%version.tar
# VCS:    https://github.com/bup/bup
Source1:  bup-web.service

Patch1:   bup-disable-test_from_path_error.patch

BuildPreReq:   python-devel
BuildRequires: git-core
BuildRequires: pandoc
BuildRequires: python-module-fuse
BuildRequires: python-module-pyxattr
BuildRequires: python-module-libacl
BuildRequires: python-module-tornado

Requires: git-core python-module-pyxattr python-module-libacl python-module-fuse

Very efficient backup system based on the git packfile format, providing fast
incremental saves and global deduplication (among and within files, including
virtual machine images). Some of its features are:
* It uses a rolling checksum algorithm and hence it can backup huge files
* It uses packfile format from git, so one can access the stored data even if
 he doesn't like bup's user interface.
* It writes packfiles directly so it is fast even with huge amounts of data:
 it can track millions of files and keep track of hundreds or thousands of
 gigabytes of objects.
* Data is "automagically" shared between incremental backups without having to
 know which backup is based on which other one.
* One can make a backup directly to a remote bup server, without needing tons
 of temporary disk space on the computer being backed up. If the backup is
 interrupted halfway through, the next run will pick up where the previous
 backup left off.
* It can use "par2" redundancy to recover corrupted backups even if the disk
 has undetected bad sectors.
* Each incremental backup acts as if it's a full backup, it just takes less
 disk space.
* One can mount a bup repository as a FUSE filesystem and access the contents
 that way, or even export it over Samba.

%package web
License: LGPLv2
Summary: Web server for browsing through bup repositories
Group:   Archiving/Backup
Requires: %name = %version-%release
Requires: python-module-tornado

%description web
Provides the "bup web" command which runs a web server for browsing through
bup repositories.

%setup -q
#patch1 -p1

pushd config
./configure \
      --prefix=%{_prefix} \
      --execdir=%{_bindir} \
      --sbindir=%{_sbindir} \
      --confdir=%{_sysconfdir} \
      --libdir=%{_libdir} \
      --libexecdir=%{_libexecdir} \
%make_build PREFIX=%_prefix

%makeinstall_std PREFIX=%_prefix
mkdir -p %buildroot%python_sitelibdir
mv %buildroot%_libexecdir/bup/bup %buildroot%python_sitelibdir

install -Dm0644 %SOURCE1 %buildroot%_unitdir/bup-web.service

#make test

%post web
%post_service bup-web

%preun web
%preun_service bup-web

%doc %_defaultdocdir/%name/
%exclude %_libexecdir/%name/cmd/bup-web
%exclude %_libexecdir/%name/web/
%exclude %_man1dir/bup-web.1*

%files web


Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin