diff options
Diffstat (limited to 'backup/zbackup')
-rw-r--r-- | backup/zbackup/Manifest | 6 | ||||
-rw-r--r-- | backup/zbackup/files/zbackup-1.4.4-tartool.patch | 11 | ||||
-rw-r--r-- | backup/zbackup/files/zbackup-9999-tartool.patch | 11 | ||||
-rw-r--r-- | backup/zbackup/metadata.xml | 26 | ||||
-rw-r--r-- | backup/zbackup/zbackup-1.4.4-r1.ebuild | 34 | ||||
-rw-r--r-- | backup/zbackup/zbackup-9999.ebuild | 36 |
6 files changed, 124 insertions, 0 deletions
diff --git a/backup/zbackup/Manifest b/backup/zbackup/Manifest new file mode 100644 index 000000000000..59c4dd882fd0 --- /dev/null +++ b/backup/zbackup/Manifest @@ -0,0 +1,6 @@ +AUX zbackup-1.4.4-tartool.patch 277 BLAKE2B 612cf1a5b6faf753829a859582ccd9cc741028f6a14a85d1a7465c218ae7044519f13d9266e70c270d5f33a65846fcc3f747c53847fdc34fc3f3c2cac9488f48 SHA512 79a7c9e7a929b5b9ed2cb472e96c21a4db9e369590744be4e84335ae428273a9d1c2f28a57f09f571ee99af0c6274e535b25f7494f0dc8c4d2c391428a064d8a +AUX zbackup-9999-tartool.patch 283 BLAKE2B 227d8a478ab9bdb67208a493b1f06225e3ecf7a6595ba4a41be1d8647df4a7a46645421ce9dd6b7fa5f9af191bbc73ca16cce6a31ea040bd3cf9bd4065c0c142 SHA512 53724bf11c6219e494a77090de34105eb87732a6f6b671bb950ac3d86d8c188544b25e06bd49b9df00cfd471e7de976a37ec8ce60dbbc55dd4ba0d0e21e3d61c +DIST zbackup-1.4.4.tar.gz 87118 BLAKE2B b51727dfdd756109498acbfe19c9bbe541856a5424f86e664a124cd4042f81a42cd48f14542fbf278444666ce20539fdb6571cce8aeacfcafac9a44c3ee6e789 SHA512 96f0984be71e521b2a188448bb2801996701be6e96b1dac4672cabc9f6bcb6631fdb8d03f5dde4bbdbb0050d9bd1409d468fcba15f93730d69e6c55271aba575 +EBUILD zbackup-1.4.4-r1.ebuild 773 BLAKE2B e3736ff92beb0847675549bbb6504278b06c002f3fecf005725439c8f3bedff8eb41cd3498c974e3dd4f727a5d9f78542525f619e03071bb1fe86fe8a4047c43 SHA512 992cdd5eee2c7ccf264617f6c42069db7a4eedcc33f99f0c579b6110e68e7f8188f6b7689b70dd0d027858f202a2683b892a07ba278aa9006cd91ba9439f2de9 +EBUILD zbackup-9999.ebuild 776 BLAKE2B b54cadd2af1da601fdd9aff31468b9294c2461eb086ff5be4d24d03d1d42035b51f79a66f29f9d464b66b162760b7c650c1b27ed70bce819fe247011e0d89765 SHA512 a83157f48f1457114527b38f28a7f74159b7173d5f3891aed6d5fdd9f98ddcfd08dc5c0196c74321c2841f52af138dcdbd35cba3959c297399507ac99868ae3d +MISC metadata.xml 868 BLAKE2B 2ca9b107e5d3351ff15030e11d7da82a1b029fcdbcd24c6e0d67bd63b173fe7403c6642b11022253ba735fe70ba085c276dcfbf5dfd01e56d8c91be8144ee82d SHA512 d452d2e94449e05f0d2f99d223587560380999c7afd1396e3c7e3ed8a3792d4abd0bb717d078053cec0cd397df4cb2cf00949b24ab407fc966705bfe6911b524 diff --git a/backup/zbackup/files/zbackup-1.4.4-tartool.patch b/backup/zbackup/files/zbackup-1.4.4-tartool.patch new file mode 100644 index 000000000000..8f9f839a66fd --- /dev/null +++ b/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/backup/zbackup/files/zbackup-9999-tartool.patch b/backup/zbackup/files/zbackup-9999-tartool.patch new file mode 100644 index 000000000000..26052f97a485 --- /dev/null +++ b/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/backup/zbackup/metadata.xml b/backup/zbackup/metadata.xml new file mode 100644 index 000000000000..65b656521136 --- /dev/null +++ b/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/backup/zbackup/zbackup-1.4.4-r1.ebuild b/backup/zbackup/zbackup-1.4.4-r1.ebuild new file mode 100644 index 000000000000..1371f7e56cf4 --- /dev/null +++ b/backup/zbackup/zbackup-1.4.4-r1.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: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/backup/zbackup/zbackup-9999.ebuild b/backup/zbackup/zbackup-9999.ebuild new file mode 100644 index 000000000000..7b648c0e2b3f --- /dev/null +++ b/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: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 +} |