Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37843341
en ru br
Репозитории ALT

Группа :: Работа с файлами
Пакет: bees

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

Name: bees
Version: 0.10
Release: alt1

Summary: Best-Effort Extent-Same, a btrfs deduplication agent

License: GPL3.0-only
Group: File tools
Url: https://github.com/Zygo/bees

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

Source: %name-%version.tar

# [ppc64le] fiemap.cc:31:67: error: no matching function for call to 'min(__u64&, long long unsigned int)'

ExcludeArch: ppc64le

BuildRequires: gcc-c++
BuildRequires: libuuid-devel

%description
bees is a block-oriented userspace deduplication agent designed for large btrfs
filesystems. It is an offline dedupe combined with an incremental data scan
capability to minimize time data spends on disk from write to dedupe.

Hilights:

* Space-efficient hash table and matching algorithms - can use as little as 1
 GB hash table per 10 TB unique data (0.1GB/TB)
* Daemon incrementally dedupes new data using btrfs tree search
* Works with btrfs compression - dedupe any combination of compressed and uncompressed files
* Persistent hash table for rapid restart after shutdown
* Whole-filesystem dedupe - including snapshots
* Constant hash table size - no increased RAM usage if data set becomes larger
* Works on live data - no scheduled downtime required
* Automatic self-throttling based on system load

%prep
%setup
subst 's|CCFLAGS =.*|CCFLAGS = -Wall -Wextra %optflags|' makeflags

%build
cat >localconf <<-EOF
SYSTEMD_SYSTEM_UNIT_DIR=%_unitdir
LIBEXEC_PREFIX=%_bindir
LIB_PREFIX=%_libdir
PREFIX=%prefix
LIBDIR=%_libdir
DEFAULT_MAKE_TARGET=all
EOF

%make_build BEES_VERSION=%version TAG="no"

%install
%makeinstall_std BEES_VERSION=%version TAG="no"

%files
%doc COPYING
%doc README.md
%_bindir/bees
%_sbindir/beesd
%_unitdir/beesd at .service
%dir %_sysconfdir/bees
%config(noreplace) %_sysconfdir/bees/beesd.conf.sample

%changelog

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

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