diff options
Diffstat (limited to 'app-backup/zbackup')
-rw-r--r-- | app-backup/zbackup/Manifest | 6 | ||||
-rw-r--r-- | app-backup/zbackup/files/zbackup-1.4.4-tartool.patch | 11 | ||||
-rw-r--r-- | app-backup/zbackup/files/zbackup-9999-tartool.patch | 11 | ||||
-rw-r--r-- | app-backup/zbackup/metadata.xml | 26 | ||||
-rw-r--r-- | app-backup/zbackup/zbackup-1.4.4.ebuild | 34 | ||||
-rw-r--r-- | app-backup/zbackup/zbackup-9999.ebuild | 36 |
6 files changed, 124 insertions, 0 deletions
diff --git a/app-backup/zbackup/Manifest b/app-backup/zbackup/Manifest new file mode 100644 index 000000000000..33c55c51b4af --- /dev/null +++ b/app-backup/zbackup/Manifest @@ -0,0 +1,6 @@ +AUX zbackup-1.4.4-tartool.patch 277 SHA256 ffa55f6db445a37dd8cda79e85d6df421e2d6d18446f97b384f3a067b379450f SHA512 79a7c9e7a929b5b9ed2cb472e96c21a4db9e369590744be4e84335ae428273a9d1c2f28a57f09f571ee99af0c6274e535b25f7494f0dc8c4d2c391428a064d8a WHIRLPOOL a9e2637a3f422d8058c4f03721559620793e0857be06253464af3fe56fe4c10363005378cf1d4a8594b0cb51aaa789c6d0175923826e41a6ecb27f13348c6c57 +AUX zbackup-9999-tartool.patch 283 SHA256 9813e052224b435c9526c48c951993b27161d099180dae6c2fd4ede473968efe SHA512 53724bf11c6219e494a77090de34105eb87732a6f6b671bb950ac3d86d8c188544b25e06bd49b9df00cfd471e7de976a37ec8ce60dbbc55dd4ba0d0e21e3d61c WHIRLPOOL 6983d906b844f5d422e2939742cdd30c5a414bb404c0d76545b1d5f8866e2db4259150d95d31340a397021994da717038bc8d69b73e67499828629fcf05932b2 +DIST zbackup-1.4.4.tar.gz 87118 SHA256 efccccd2a045da91576c591968374379da1dc4ca2e3dec4d3f8f12628fa29a85 SHA512 96f0984be71e521b2a188448bb2801996701be6e96b1dac4672cabc9f6bcb6631fdb8d03f5dde4bbdbb0050d9bd1409d468fcba15f93730d69e6c55271aba575 WHIRLPOOL 4c41f300177b3a140f833f999e5b86e8c3386e81c02a7a94f2a0dd418ba2027adb2c7906d5d2a59fba12b47c5ea3190727ef63b1e8fd12eef8bc9fbe2ca426a6 +EBUILD zbackup-1.4.4.ebuild 776 SHA256 ee85b4d9d1553e0f3c5b14c007a3efa719896b76cfcada57167788e9a2ac328d SHA512 611bf46435444ff81a5b139721c1a1498db36cfe7135836418c996a0253317f8ed638269838a88bb011e1ea73e38b0b3eaf380a371596a496f1a40c0c78736d6 WHIRLPOOL b454fd41eb987e82f3b2716ecc140a6fb496251bc5c5900343511848642ac7ea76775cdc47f3527ee847b398f2bdb8cb1c872a557c72fc2de85a7e1dfb75cdf6 +EBUILD zbackup-9999.ebuild 779 SHA256 7295c9114568678b30983d48af945dd22ae540c9ae224a3e1ccf29246db6fbe3 SHA512 7ce0ed34fc1863b1ac0b0051ab154dae6ae2486d48fb005c05644d910e002ca852b47573e3e3beabf1b38621207f0f2d8ece7b9ea6b0f4e21754709f51566a8b WHIRLPOOL 9e83ff30475748560f74ce8339805fc48a38005c24abbde1e1841f9bbb82e7b7459746d5c1843be54efb909334c96a5f13e21b299debb96b1c448757406a85cb +MISC metadata.xml 868 SHA256 d68551f55cc6421112d9521fb06d5e7c0d3fa9080dc0f223b004fc8fc042e265 SHA512 d452d2e94449e05f0d2f99d223587560380999c7afd1396e3c7e3ed8a3792d4abd0bb717d078053cec0cd397df4cb2cf00949b24ab407fc966705bfe6911b524 WHIRLPOOL dad97bf20eab57d74ba534ed6221e2a2aceadb0b43ecddceedb3333b9d5ccbf3864a484eae9ed8c4d03fdfaf108c063ed7237824da2da8f96e857e7e86768b9d diff --git a/app-backup/zbackup/files/zbackup-1.4.4-tartool.patch b/app-backup/zbackup/files/zbackup-1.4.4-tartool.patch new file mode 100644 index 000000000000..8f9f839a66fd --- /dev/null +++ b/app-backup/zbackup/files/zbackup-1.4.4-tartool.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt 2017-02-24 09:22:39.360392521 +0200 ++++ b/CMakeLists.txt 2017-02-24 09:23:13.642390978 +0200 +@@ -51,4 +51,8 @@ + ${LIBLZO_LIBRARIES} + ) + ++if (BUILD_TARTOOL) ++ add_subdirectory(tartool) ++endif (BUILD_TARTOOL) ++ + install( TARGETS zbackup DESTINATION bin ) diff --git a/app-backup/zbackup/files/zbackup-9999-tartool.patch b/app-backup/zbackup/files/zbackup-9999-tartool.patch new file mode 100644 index 000000000000..26052f97a485 --- /dev/null +++ b/app-backup/zbackup/files/zbackup-9999-tartool.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt 2017-02-24 09:22:39.360392521 +0200 ++++ b/CMakeLists.txt 2017-02-24 09:23:13.642390978 +0200 +@@ -51,4 +51,8 @@ + ${LIBLZO_LIBRARIES} + ) + ++if (BUILD_TARTOOL) ++ add_subdirectory(tools/tartool) ++endif (BUILD_TARTOOL) ++ + install( TARGETS zbackup DESTINATION bin ) diff --git a/app-backup/zbackup/metadata.xml b/app-backup/zbackup/metadata.xml new file mode 100644 index 000000000000..65b656521136 --- /dev/null +++ b/app-backup/zbackup/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>spiderx@spiderx.dp.ua</email> + <name>Vladimir Pavljuchenkov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + zbackup is a globally-deduplicating backup tool. + The program has the following features: + Parallel LZMA or LZO compression of the stored data + Built-in AES encryption of the stored data + Possibility to delete old backup data + Use of a 64-bit rolling hash, keeping the amount of soft collisions to zero + </longdescription> + <use> + <flag name="tartool">Install tartool utility</flag> + </use> + <upstream> + <remote-id type="github">zbackup/zbackup</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-backup/zbackup/zbackup-1.4.4.ebuild b/app-backup/zbackup/zbackup-1.4.4.ebuild new file mode 100644 index 000000000000..75f7cf5fca25 --- /dev/null +++ b/app-backup/zbackup/zbackup-1.4.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="A versatile deduplicating backup tool" +HOMEPAGE="http://zbackup.org/ https://github.com/zbackup/zbackup" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+-with-openssl-exception" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="libressl tartool" + +DEPEND="app-arch/lzma + dev-libs/lzo:2 + <dev-libs/protobuf-3:0= + sys-libs/zlib + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= )" +RDEPEND="${DEPEND}" + +# Add tartool build +PATCHES=( "${FILESDIR}/${P}-tartool.patch" ) + +src_configure() { + local mycmakeargs=( + -DBUILD_TARTOOL="$(usex tartool)" + ) + + cmake-utils_src_configure +} diff --git a/app-backup/zbackup/zbackup-9999.ebuild b/app-backup/zbackup/zbackup-9999.ebuild new file mode 100644 index 000000000000..e199603c64d9 --- /dev/null +++ b/app-backup/zbackup/zbackup-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils git-r3 + +DESCRIPTION="A versatile deduplicating backup tool" +HOMEPAGE="http://zbackup.org/ https://github.com/zbackup/zbackup" +SRC_URI="" +EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + +LICENSE="GPL-2+-with-openssl-exception" +KEYWORDS="" +SLOT="0" +IUSE="libressl tartool" + +DEPEND="app-arch/lzma + dev-libs/lzo:2 + <dev-libs/protobuf-3:0= + sys-libs/libunwind:7 + sys-libs/zlib + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= )" +RDEPEND="${DEPEND}" + +# Add tartool build +PATCHES=( "${FILESDIR}/${P}-tartool.patch" ) + +src_configure() { + local mycmakeargs=( + -DBUILD_TARTOOL="$(usex tartool)" + ) + + cmake-utils_src_configure +} |