aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-backup/blocksync-fast/Manifest1
-rw-r--r--app-backup/blocksync-fast/blocksync-fast-1.0.3.ebuild30
-rw-r--r--app-backup/blocksync-fast/metadata.xml26
3 files changed, 57 insertions, 0 deletions
diff --git a/app-backup/blocksync-fast/Manifest b/app-backup/blocksync-fast/Manifest
new file mode 100644
index 000000000..f84cd1ba2
--- /dev/null
+++ b/app-backup/blocksync-fast/Manifest
@@ -0,0 +1 @@
+DIST blocksync-fast-1.0.3.tar.gz 159994 BLAKE2B 228d44a07f825ede0236ece06d0b8dd98285f3f74b5a7e32f05f444bba1d1eb53deaf19124ce20f1ae8d0057c551465d3d3cbe51f3d0e6d5977b2651745535a8 SHA512 83a086aeabb7b31eb274a682f40e0b2970b5d5ca786baca615ca5353ee2d5e10043f9020d4740bb88660bae3bde54e2d5821b082386e24da41c3ce014e9571bd
diff --git a/app-backup/blocksync-fast/blocksync-fast-1.0.3.ebuild b/app-backup/blocksync-fast/blocksync-fast-1.0.3.ebuild
new file mode 100644
index 000000000..ba98c7721
--- /dev/null
+++ b/app-backup/blocksync-fast/blocksync-fast-1.0.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Fast block device sync with digest, designed to improve block-based backups."
+HOMEPAGE="https://github.com/nethappen/blocksync-fast/"
+SRC_URI="https://github.com/nethappen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+xxhash"
+
+RDEPEND="
+ >=dev-libs/libgcrypt-1.9.0:0=
+ xxhash? ( >=dev-libs/xxhash-0.8 )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ eautoreconf
+ econf $(use_with xxhash)
+}
+
+src_install() {
+ DOCS=(README.md CHANGELOG.md LICENSE scripts)
+ default_src_install
+}
diff --git a/app-backup/blocksync-fast/metadata.xml b/app-backup/blocksync-fast/metadata.xml
new file mode 100644
index 000000000..196d653e1
--- /dev/null
+++ b/app-backup/blocksync-fast/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mk@nethappen.pl</email>
+ <name>Marcin Koczwara</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>mk@nethappen.pl</email>
+ <name>Marcin Koczwara</name>
+ </maintainer>
+ <doc>https://nethappen.github.io/blocksync-fast/</doc>
+ <changelog>https://raw.githubusercontent.com/nethappen/blocksync-fast/main/CHANGELOG.md</changelog>
+ <remote-id type="github">nethappen/blocksync-fast</remote-id>
+ </upstream>
+ <longdescription lang="en">
+ This program compares and synchronizes block devices using fast and efficient methods.
+ Digest can be used to store checksums of data blocks from previous synchronization
+ to speed up synchronize process and avoid read operations from target block device.
+ Program can also create delta files that contains differences between block devices
+ </longdescription>
+ <use>
+ <flag name="xxhash">Enable dev-libs/xxhash support for very high speed hashing</flag>
+ </use>
+</pkgmetadata>