summaryrefslogtreecommitdiff
path: root/app-backup/rsnapshot
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-backup/rsnapshot
reinit the tree, so we can have metadata
Diffstat (limited to 'app-backup/rsnapshot')
-rw-r--r--app-backup/rsnapshot/Manifest11
-rw-r--r--app-backup/rsnapshot/files/rsnapshot-1.3.1-cp_al.patch12
-rw-r--r--app-backup/rsnapshot/files/rsnapshot-1.3.1-perl518.patch17
-rw-r--r--app-backup/rsnapshot/metadata.xml13
-rw-r--r--app-backup/rsnapshot/rsnapshot-1.3.1-r2.ebuild51
-rw-r--r--app-backup/rsnapshot/rsnapshot-1.4.1.ebuild44
-rw-r--r--app-backup/rsnapshot/rsnapshot-1.4.2.ebuild50
7 files changed, 198 insertions, 0 deletions
diff --git a/app-backup/rsnapshot/Manifest b/app-backup/rsnapshot/Manifest
new file mode 100644
index 000000000000..afb710786da0
--- /dev/null
+++ b/app-backup/rsnapshot/Manifest
@@ -0,0 +1,11 @@
+AUX rsnapshot-1.3.1-cp_al.patch 535 SHA256 a20a3b23d19c657e8cda47fd7f755bd5c9386c9df73f20660429a3588047e168 SHA512 511b447d914f01c757b85f098846a91d8585a40297a2ae8b7d07101cbbfd3e99a46168a583a64eaf66e236c4716a69fefcce40fd2e0666fd6f3d9aafdb0c783d WHIRLPOOL 3cc772edd4c020076daecfed9ef740c0b471edbe8b0c7104d11f4c6b9fb232d25b2f4739c15a53e70afda0f34eaa7d6411f6793687ba489b74ec266b5ce4e219
+AUX rsnapshot-1.3.1-perl518.patch 349 SHA256 3a024e5daff20b1e0b78462a9d5194f4f3fd71fb3217fd261dbf070745c9880f SHA512 5e4d43b814b0ade9743a08da0c580b6bb98673aa39127d2dd6fa0993d4b7a6ac163deff5f1ebd9fbf4c95434ef10f4c48d8f55967e1f78866563bcbaaa9d45a0 WHIRLPOOL bdba4241e644b25c2b1be406ae7b41409b80f720999c8a755a6e748d8ddedeb6db17d130bfcc5afc0d2a81262a32ae96e2d8f37f29de14ca372053a93063fce9
+DIST rsnapshot-1.3.1.tar.gz 215806 SHA256 94b6c77e40628935f42a191bdc28ad93b1f132fde456ee76ee87763f1eddc75e SHA512 a74ad0a21d213dd2e05cb577a47c491af90d8994df8f5a154195515345da438ac9c0d72b563aa02314883a0b3bb86e3c23f8b530a7078c2b55a9547a2d666c10 WHIRLPOOL 1d62658e11cbd2612b223336b5e3dbb44d1ec0b40a434bf8f65c09ff7b45c831f585046f8ef4e2ff79f034de8731435ccd2554e0d5ff4e2d1693a01b66113b00
+DIST rsnapshot-1.4.1.tar.gz 489481 SHA256 fb4a1129a7d3805c41749fd0494debfe2ca2341eba0f8b50e4f54985efe448e8 SHA512 a99e639bd706aafac82d2a4a40fc6c7fa026321c527ad5826a4fc7917cadea5962c4c7988c98efbe06833ef70db081605aa47a6d77c04dcf6077cc232c078cbf WHIRLPOOL 999979b7d438c336203298a4bce2d49fb7e6166428356d0d3ee93369244856970faa496528a673df44ab21c5ce6fa694d83df9fe45075d62436c24fb97f7a435
+DIST rsnapshot-1.4.2.tar.gz 487959 SHA256 042a81c45b325296b21c363f417985d857f083f87c5c27f5a64677a052f24e16 SHA512 621be52715a6c1f70ddb251d7f6103ba3487cd0c6c607411d744866547d3ced571862a8f6b5e40a1d050696703f3a15821bd6e829a3fca057848f04566d0e4a0 WHIRLPOOL 6b7256562cc15f6ce62d05515de4a933d986cef651e9f6a912e760a7feac9ac906c95ea8adef68561db02d494d9774a47f9192d5fdac83366a40b84739a21a03
+EBUILD rsnapshot-1.3.1-r2.ebuild 1258 SHA256 da292bc98bd2c1a3549a3f81cdea496ae496f300b0d9ee6239f75799b5d8f33f SHA512 28955d9db87a895dad872c96cbc9afea92593622343bff395b4334af6e281144affee64a84e75fd06bc8eaf5d9bd3abb73197cf434804a8cf8cb4fc59e52340c WHIRLPOOL 0ba017bccb0123d98db286d56b4acc14c31c6ecca7bfafddc10bbf850b7762a562d605b31c0f472677ba0bb95a3320576272ee047b8fd5405bd98f91a3744604
+EBUILD rsnapshot-1.4.1.ebuild 1111 SHA256 d9a349d1fa8435aaa163b00619cc4ccf770315c29c230e2ebb586732ec32066e SHA512 38915db4b7bccab6134449c1db5da7b81e01d30739e371b4525ec2b4977141f987765f48daa81265429152458e7aa72f7ca68bff5d50a56f6585d757de4a159c WHIRLPOOL 284d543a4c31629ed8cbb1548fa9592c9a1a375651ee8ac59acac5190a49f4f998f60a7d25dd16d1fc15464b983505b54f331729a37ae7aaf8b3b90a27d4f3c5
+EBUILD rsnapshot-1.4.2.ebuild 1338 SHA256 6d7e253cdea7295ef7ba08e6ac52bfe0ed00e5288a6122ee10121ec4c955ede4 SHA512 fb33bc4e043910281ea74f0663d97503878a9965b3c3bf0f32b253034d10a3c09c43cc50ce7140cad7493233906a9a3fc5d20500f6f1b50000bee1ac6d4a8f30 WHIRLPOOL 90a8591d59d4641d7a377cdc8827f84a83c6907bb559411e20de454891ff30e2d76254848db6ac8d2da3735ab85991c9c180ad706149f0910730e037dcbce7ca
+MISC ChangeLog 5227 SHA256 cd4953230a443cfc752ed3fadacd043869cb925fb1065ade245676655561d2d5 SHA512 298f57c812034ebf490d585dbda5dc78012acfb8089e0a856ea801377c09592ee5cba91007f0900ca5f402203b94246b6b170464e92ff4fa5098aafc87f478f8 WHIRLPOOL 550f7495daabf3891dbc74883b2e2f80407e670df5a34588df340c66db0c97aff2d884ef5dabf3fb9f4ea38cf018804bc4d571292ff4f7ee9554c1c9121a419c
+MISC ChangeLog-2015 9829 SHA256 1432d7119f0d982612aaac1e1802fbe004ecaec73035ee657d9f1d5b71b81699 SHA512 b1a24217010a414a80246a1251689a8b6752c34a0e579fbc2cd7f628e0e91b1f56a10b1800253606bdc7d74b0802772cbe07376104ecceb6151f3500cdcc3c44 WHIRLPOOL 6d55c48aa5d407722b03d84693c46034f7f0c5473743c10dc725350b4503fd474c7d3b92442105aff7f0152a22243e4cc2fe655bafe6117f7861eeba436c74be
+MISC metadata.xml 464 SHA256 e0e2c31f4a7384da1adc650a0b22f5e0d5d33228f6625bb3dd71e872a09838bc SHA512 519adaa6b36a44f19519546e07b9763b2e4b9c0caac3cc0c73f79be4354ea7ae7228a6523e5712d0bb84f57fc225c2592105b55aa5411d8dc340feccba56b066 WHIRLPOOL ef75d7c2b712bc2c81948758f303b4717a7d2b2f141a146df202000d5abdeadce7674b1cee5f25d8c437f7dccb9ca8a45e05cdf68f5b1d911924aa8c9042c3fc
diff --git a/app-backup/rsnapshot/files/rsnapshot-1.3.1-cp_al.patch b/app-backup/rsnapshot/files/rsnapshot-1.3.1-cp_al.patch
new file mode 100644
index 000000000000..7241d6c8c07e
--- /dev/null
+++ b/app-backup/rsnapshot/files/rsnapshot-1.3.1-cp_al.patch
@@ -0,0 +1,12 @@
+diff -ur rsnapshot-1.3.1.original/rsnapshot-program.pl rsnapshot-1.3.1/rsnapshot-program.pl
+--- rsnapshot-1.3.1.original/rsnapshot-program.pl 2006-10-21 08:12:30.000000000 +0200
++++ rsnapshot-1.3.1/rsnapshot-program.pl 2006-11-22 21:37:39.133222510 +0100
+@@ -3269,7 +3269,7 @@
+ if (0 == $test) {
+ $result = cp_al(
+ "$config_vars{'snapshot_root'}/$interval.0/",
+- "$config_vars{'snapshot_root'}/$interval.1/"
++ "$config_vars{'snapshot_root'}/$interval.1"
+ );
+ if (! $result) {
+ my $errstr = '';
diff --git a/app-backup/rsnapshot/files/rsnapshot-1.3.1-perl518.patch b/app-backup/rsnapshot/files/rsnapshot-1.3.1-perl518.patch
new file mode 100644
index 000000000000..367055d5cc96
--- /dev/null
+++ b/app-backup/rsnapshot/files/rsnapshot-1.3.1-perl518.patch
@@ -0,0 +1,17 @@
+Fixed man-page creation with pod2man from >=perl-5.18
+
+https://bugs.gentoo.org/490486
+
+Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
+
+--- rsnapshot-1.3.1/rsnapshot-program.pl
++++ rsnapshot-1.3.1/rsnapshot-program.pl
+@@ -6716,6 +6716,8 @@
+
+ =back
+
++=back
++
+ =head1 USAGE
+
+ B<rsnapshot> can be used by any user, but for system-wide backups
diff --git a/app-backup/rsnapshot/metadata.xml b/app-backup/rsnapshot/metadata.xml
new file mode 100644
index 000000000000..550578fc55f0
--- /dev/null
+++ b/app-backup/rsnapshot/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>Sergiy.Borodych@gmail.com</email>
+ <name>Sergiy Borodych</name>
+ <description>Proxied maintainer; set to assignee in all bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-backup/rsnapshot/rsnapshot-1.3.1-r2.ebuild b/app-backup/rsnapshot/rsnapshot-1.3.1-r2.ebuild
new file mode 100644
index 000000000000..bde8688ca3f2
--- /dev/null
+++ b/app-backup/rsnapshot/rsnapshot-1.3.1-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A filesystem backup utility based on rsync"
+HOMEPAGE="http://www.rsnapshot.org"
+SRC_URI="http://www.rsnapshot.org/downloads/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.8.2
+ dev-perl/Lchown
+ >=sys-apps/util-linux-2.12-r4
+ >=sys-apps/coreutils-5.0.91-r4
+ >=net-misc/openssh-3.7.1_p2-r1
+ >=net-misc/rsync-2.6.0"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cp_al.patch \
+ "${FILESDIR}"/${P}-perl518.patch
+}
+
+src_install() {
+ # Change sysconfdir to install the template file as documentation
+ # rather than in /etc.
+ emake install DESTDIR="${D}" \
+ sysconfdir="${EPREFIX}/usr/share/doc/${PF}"
+
+ dodoc README AUTHORS TODO ChangeLog \
+ docs/Upgrading_from_1.1 \
+ docs/HOWTOs/rsnapshot-{Mac,windows}-howto
+
+ docinto utils
+ dodoc utils/{README,rsnaptar,*.sh,*.pl}
+
+ docinto utils/rsnapshotdb
+ dodoc utils/rsnapshotdb/*
+}
+
+pkg_postinst() {
+ elog "The template configuration file has been installed as"
+ elog "/usr/share/doc/${PF}/rsnapshot.conf.default"
+ elog "Copy and edit the the above file as /etc/rsnapshot.conf"
+}
diff --git a/app-backup/rsnapshot/rsnapshot-1.4.1.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.1.ebuild
new file mode 100644
index 000000000000..c7bf113fb38b
--- /dev/null
+++ b/app-backup/rsnapshot/rsnapshot-1.4.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A filesystem backup utility based on rsync"
+HOMEPAGE="http://www.rsnapshot.org"
+SRC_URI="http://www.rsnapshot.org/downloads/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="alpha amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND=">=dev-lang/perl-5.8.2
+ dev-perl/Lchown
+ >=sys-apps/util-linux-2.12-r4
+ >=sys-apps/coreutils-5.0.91-r4
+ >=net-misc/openssh-3.7.1_p2-r1
+ >=net-misc/rsync-2.6.0"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ # Change sysconfdir to install the template file as documentation
+ # rather than in /etc.
+ emake install DESTDIR="${D}" \
+ sysconfdir="${EPREFIX}/usr/share/doc/${PF}"
+
+ dodoc README.md AUTHORS ChangeLog \
+ docs/Upgrading_from_1.1
+
+ docinto utils
+ dodoc utils/{README,rsnaptar,*.sh,*.pl}
+
+ docinto utils/rsnapshotdb
+ dodoc utils/rsnapshotdb/*
+}
+
+pkg_postinst() {
+ elog "The template configuration file has been installed as"
+ elog "/usr/share/doc/${PF}/rsnapshot.conf.default"
+ elog "Copy and edit the the above file as /etc/rsnapshot.conf"
+}
diff --git a/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild
new file mode 100644
index 000000000000..ddb24de4790a
--- /dev/null
+++ b/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A filesystem backup utility based on rsync"
+HOMEPAGE="http://www.rsnapshot.org"
+SRC_URI="http://www.rsnapshot.org/downloads/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
+
+RDEPEND=">=dev-lang/perl-5.8.2
+ dev-perl/Lchown
+ >=sys-apps/util-linux-2.12-r4
+ >=sys-apps/coreutils-5.0.91-r4
+ >=net-misc/openssh-3.7.1_p2-r1
+ >=net-misc/rsync-2.6.0"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ # remove '/etc/' since we don't place it here, bug #461554
+ sed -i -e 's:/etc/rsnapshot.conf.default:rsnapshot.conf.default:' rsnapshot-program.pl || die
+}
+
+src_install() {
+ docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default"
+
+ # Change sysconfdir to install the template file as documentation
+ # rather than in /etc.
+ emake install DESTDIR="${D}" \
+ sysconfdir="${EPREFIX}/usr/share/doc/${PF}"
+
+ dodoc README.md AUTHORS ChangeLog \
+ docs/Upgrading_from_1.1
+
+ docinto utils
+ dodoc utils/{README,rsnaptar,*.sh,*.pl}
+
+ docinto utils/rsnapshotdb
+ dodoc utils/rsnapshotdb/*
+}
+
+pkg_postinst() {
+ elog "The template configuration file has been installed as"
+ elog " /usr/share/doc/${PF}/rsnapshot.conf.default"
+ elog "Copy and edit the the above file as /etc/rsnapshot.conf"
+}