diff options
Diffstat (limited to 'backup/rdiff-backup')
-rw-r--r-- | backup/rdiff-backup/Manifest | 6 | ||||
-rw-r--r-- | backup/rdiff-backup/files/rdiff-backup-1.3.3-librsync-1.0.0.patch | 16 | ||||
-rw-r--r-- | backup/rdiff-backup/files/rdiff-backup-1.3.3-no-docs.patch | 13 | ||||
-rw-r--r-- | backup/rdiff-backup/metadata.xml | 12 | ||||
-rw-r--r-- | backup/rdiff-backup/rdiff-backup-1.3.3-r1.ebuild | 32 | ||||
-rw-r--r-- | backup/rdiff-backup/rdiff-backup-1.3.3-r3.ebuild | 37 |
6 files changed, 116 insertions, 0 deletions
diff --git a/backup/rdiff-backup/Manifest b/backup/rdiff-backup/Manifest new file mode 100644 index 000000000000..c97751503f43 --- /dev/null +++ b/backup/rdiff-backup/Manifest @@ -0,0 +1,6 @@ +AUX rdiff-backup-1.3.3-librsync-1.0.0.patch 498 BLAKE2B b9af390ffa1f6061301f923f21fcb047c213c442f211570602f7cb3dbc8bc30d29a877bcb99a95c500257fd838ea3514b5cd985ab8d94e2ebc4b453adb8587d9 SHA512 2749fc3f5e187d8bc7874ddb7e185ebb17a0ad77e44e12d3f02a10de7ca5acea568321ce7262e45433732a0b532702e674564cc83d8987b0e339e28f7468395f +AUX rdiff-backup-1.3.3-no-docs.patch 573 BLAKE2B 0463ddf18f4e626879a7b2f4c330219c93305305c1dd6106586aa7b309221680515ad70c4e14cc1ee038c450c5292ea4f6459bd2cde347910898fa18197af822 SHA512 94d19500e09496322fdb1a5188321283da7e31d315ef860abdcf19a086c50c7d866cc4cbb525e456a9cdf2563d052f3d5466c5f482910d23ac07841a24e23f7f +DIST rdiff-backup-1.3.3.tar.gz 198412 BLAKE2B 95141b64ecb3442b2a420e3e2f4325a80bc4e3949e920f3fb04d8d7e69cd20b2809d230a5f9f6af6958f47689d73cf9fdc2d95134d41a5a9d0d6037ee87cf96e SHA512 e2731464a6ff146cdecac49d2d99275dc5e6b4a3ff5b8209fe6dc71fd80cdbf573d029531325a879e9a169c12b31568f75fdcb812f53df33896784c5bc550280 +EBUILD rdiff-backup-1.3.3-r1.ebuild 798 BLAKE2B e2f661540bc9195ca1f2d0000739214c9b5428199fa8a3371767f9b649b2d670a142611182d752e16a706cb69dce840e4b03a39a06b61a2fe8c6d9203c3573ee SHA512 b2e214fc6d2df981dd5f8b2d37c1fa13433062bc6ea5c94c861e1a78f64f1af025ccae4c3c19b36236606e2dd102e41697b278fcdb485e83bafa041e4b47b27a +EBUILD rdiff-backup-1.3.3-r3.ebuild 886 BLAKE2B 8ad3ec4dd517dc10b9a016e1df4d2f61f5408eca01d1de0257fe15c54838ca68c6bf96bffbebcae1bd30c112f940f3f9bd1832475f0f259aca4985d33f6e273d SHA512 ba33d053446b6ccee55c996062316bb2200e18607985fa867f1a00344fb96bf3ca01601ac40aeef07aa00989454064f4e8d287ae3b81aae748e715c7584f4bc2 +MISC metadata.xml 335 BLAKE2B f427a882be2c0152b97b9807660ba4b2b1113708f1cca3b86f42256e72845841f3f17d9646d996c4add83a44c5cfd29430323d6012592dc76420f8af0bc3e083 SHA512 ee210d45a15817b3fa09e4c41577bf499ffcf52bd6298429fceaa566f7edf0c17cc1016ecdf5893fcbc39a10410b7104a2c72ee035f30799058e52e48feb55da diff --git a/backup/rdiff-backup/files/rdiff-backup-1.3.3-librsync-1.0.0.patch b/backup/rdiff-backup/files/rdiff-backup-1.3.3-librsync-1.0.0.patch new file mode 100644 index 000000000000..16b97ab1c011 --- /dev/null +++ b/backup/rdiff-backup/files/rdiff-backup-1.3.3-librsync-1.0.0.patch @@ -0,0 +1,16 @@ +--- rdiff-backup-1.2.8/_librsyncmodule.c 2009-03-16 15:36:21.000000000 +0100 ++++ rdiff-backup-1.2.8/_librsyncmodule.c.librsync-1.0.0 2015-03-02 00:54:24.000000000 +0100 +@@ -59,8 +59,13 @@ + if (sm == NULL) return NULL; + sm->x_attr = NULL; + ++#ifdef RS_DEFAULT_STRONG_LEN + sm->sig_job = rs_sig_begin((size_t)blocklen, + (size_t)RS_DEFAULT_STRONG_LEN); ++#else ++ sm->sig_job = rs_sig_begin((size_t)blocklen, ++ (size_t)8, RS_MD4_SIG_MAGIC); ++#endif + return (PyObject*)sm; + } + diff --git a/backup/rdiff-backup/files/rdiff-backup-1.3.3-no-docs.patch b/backup/rdiff-backup/files/rdiff-backup-1.3.3-no-docs.patch new file mode 100644 index 000000000000..9d69bba9ea2e --- /dev/null +++ b/backup/rdiff-backup/files/rdiff-backup-1.3.3-no-docs.patch @@ -0,0 +1,13 @@ +--- a/setup.py 2009-03-16 15:45:54.000000000 +0100 ++++ b/setup.py 2018-06-16 18:23:29.689677175 +0200 +@@ -73,9 +73,6 @@ + libraries=libname, + extra_link_args=lflags_arg)], + scripts = ['rdiff-backup', 'rdiff-backup-statistics'], +- data_files = [('share/man/man1', ['rdiff-backup.1', +- 'rdiff-backup-statistics.1']), +- ('share/doc/rdiff-backup-%s' % (version_string,), +- ['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])], ++ data_files = [('share/man/man1', ['rdiff-backup.1','rdiff-backup-statistics.1'])], + **extra_options) + diff --git a/backup/rdiff-backup/metadata.xml b/backup/rdiff-backup/metadata.xml new file mode 100644 index 000000000000..f7741b77b9fc --- /dev/null +++ b/backup/rdiff-backup/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> + </maintainer> + <upstream> + <remote-id type="github">sol1/rdiff-backup</remote-id> + </upstream> +</pkgmetadata> + diff --git a/backup/rdiff-backup/rdiff-backup-1.3.3-r1.ebuild b/backup/rdiff-backup/rdiff-backup-1.3.3-r1.ebuild new file mode 100644 index 000000000000..5df10721abc4 --- /dev/null +++ b/backup/rdiff-backup/rdiff-backup-1.3.3-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 versionator + +UPSTREAM_PV=$(replace_all_version_separators '-') + +DESCRIPTION="Local/remote mirroring+incremental backup" +HOMEPAGE="https://github.com/sol1/rdiff-backup" +SRC_URI="https://github.com/sol1/${PN}/archive/r${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="examples" + +DEPEND=" + net-libs/librsync:0/1 +" +RDEPEND=" + dev-python/pyxattr[${PYTHON_USEDEP}] + dev-python/pylibacl[${PYTHON_USEDEP}] +" + +python_install_all() { + use examples && local EXAMPLES=( examples.html ) + + distutils-r1_python_install_all +} diff --git a/backup/rdiff-backup/rdiff-backup-1.3.3-r3.ebuild b/backup/rdiff-backup/rdiff-backup-1.3.3-r3.ebuild new file mode 100644 index 000000000000..3a6f9bf04f5b --- /dev/null +++ b/backup/rdiff-backup/rdiff-backup-1.3.3-r3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) +inherit distutils-r1 + +UPSTREAM_PV=$(ver_rs 0 '-') + +DESCRIPTION="Local/remote mirroring+incremental backup" +HOMEPAGE="https://github.com/sol1/rdiff-backup" +SRC_URI="https://github.com/sol1/${PN}/archive/r${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="examples" + +DEPEND=" + net-libs/librsync:0= +" +RDEPEND="${DEPEND} + dev-python/pylibacl[${PYTHON_USEDEP}] + dev-python/pyxattr[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/${P}-librsync-1.0.0.patch" + "${FILESDIR}/${P}-no-docs.patch" +) + +python_install_all() { + local HTML_DOCS=( FAQ.html ) + use examples && HTML_DOCS+=( examples.html ) + distutils-r1_python_install_all +} |