summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2006-11-27 22:23:32 +0000
committerBryan Østergaard <kloeri@gentoo.org>2006-11-27 22:23:32 +0000
commitbc7e85fb55485e6d6e7b66c06848c9282834eb1b (patch)
treeb918b0c2ef113b3c16dd6be0ec4af83555a21cad /app-backup
parentStable on sparc wrt #152247 (diff)
downloadgentoo-2-bc7e85fb55485e6d6e7b66c06848c9282834eb1b.tar.gz
gentoo-2-bc7e85fb55485e6d6e7b66c06848c9282834eb1b.tar.bz2
gentoo-2-bc7e85fb55485e6d6e7b66c06848c9282834eb1b.zip
Version bump, bug 155972. Thanks to Alexander Skwar for providing the ebuild.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/rsnapshot/ChangeLog8
-rw-r--r--app-backup/rsnapshot/files/digest-rsnapshot-1.3.03
-rw-r--r--app-backup/rsnapshot/files/rsnapshot-1.3.0-cp_al.patch12
-rw-r--r--app-backup/rsnapshot/rsnapshot-1.3.0.ebuild55
4 files changed, 77 insertions, 1 deletions
diff --git a/app-backup/rsnapshot/ChangeLog b/app-backup/rsnapshot/ChangeLog
index db779f0c19a0..2ca839eb2640 100644
--- a/app-backup/rsnapshot/ChangeLog
+++ b/app-backup/rsnapshot/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-backup/rsnapshot
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/rsnapshot/ChangeLog,v 1.13 2006/09/14 00:51:12 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/rsnapshot/ChangeLog,v 1.14 2006/11/27 22:23:32 kloeri Exp $
+
+*rsnapshot-1.3.0 (27 Nov 2006)
+
+ 27 Nov 2006; Bryan Østergaard <kloeri@gentoo.org>
+ +files/rsnapshot-1.3.0-cp_al.patch, +rsnapshot-1.3.0.ebuild:
+ Version bump, bug 155972. Thanks to Alexander Skwar for providing the ebuild.
14 Sep 2006; Danny van Dyk <kugelfang@gentoo.org> rsnapshot-1.2.9.ebuild:
Marked stable on amd64 wrt bug #146719.
diff --git a/app-backup/rsnapshot/files/digest-rsnapshot-1.3.0 b/app-backup/rsnapshot/files/digest-rsnapshot-1.3.0
new file mode 100644
index 000000000000..1d2288348fa2
--- /dev/null
+++ b/app-backup/rsnapshot/files/digest-rsnapshot-1.3.0
@@ -0,0 +1,3 @@
+MD5 8487514517e78fe1cd1143ca67cb4b62 rsnapshot-1.3.0.tar.gz 195862
+RMD160 5005c8beeae48020f7951128f9a61da8bde9b6ea rsnapshot-1.3.0.tar.gz 195862
+SHA256 3fc1a2c0444f1fa4bc510ce71032db4fc9025180ea4ac648db488d53992fe3a6 rsnapshot-1.3.0.tar.gz 195862
diff --git a/app-backup/rsnapshot/files/rsnapshot-1.3.0-cp_al.patch b/app-backup/rsnapshot/files/rsnapshot-1.3.0-cp_al.patch
new file mode 100644
index 000000000000..93709f85f35b
--- /dev/null
+++ b/app-backup/rsnapshot/files/rsnapshot-1.3.0-cp_al.patch
@@ -0,0 +1,12 @@
+diff -ur rsnapshot-1.3.0.original/rsnapshot-program.pl rsnapshot-1.3.0/rsnapshot-program.pl
+--- rsnapshot-1.3.0.original/rsnapshot-program.pl 2006-10-21 08:12:30.000000000 +0200
++++ rsnapshot-1.3.0/rsnapshot-program.pl 2006-11-22 21:37:39.133222510 +0100
+@@ -3055,7 +3055,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/rsnapshot-1.3.0.ebuild b/app-backup/rsnapshot/rsnapshot-1.3.0.ebuild
new file mode 100644
index 000000000000..167178a26a24
--- /dev/null
+++ b/app-backup/rsnapshot/rsnapshot-1.3.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-backup/rsnapshot/rsnapshot-1.3.0.ebuild,v 1.1 2006/11/27 22:23:32 kloeri Exp $
+
+inherit eutils
+
+DESCRIPTION="rsnapshot is 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
+ >=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"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/rsnapshot-${PV}-cp_al.patch
+}
+
+src_compile() {
+ econf \
+ --prefix=/usr \
+ --sysconfdir=/etc || die
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "make install failed"
+
+ dodoc INSTALL README AUTHORS TODO ChangeLog docs/*
+ insinto /usr/share/doc/${PF}/HOWTOs
+ doins docs/HOWTOs/*
+ docinto utils
+ dodoc utils/{README,rsnaptar,*.sh}
+ docinto utils/rsnapshotdb
+ dodoc utils/rsnapshotdb/*
+}
+
+pkg_postinst() {
+ einfo
+ einfo "The configuration file: /etc/rsnapshot.conf.default "
+ einfo " has been installed. "
+ einfo "This is a template. "
+ einfo "Copy, or move, the above file to: /etc/rsnapshot.conf "
+ einfo "Note that upgrading will update the template, not real config. "
+ einfo
+}