diff options
Diffstat (limited to 'sysutils/rsnapshot')
-rw-r--r-- | sysutils/rsnapshot/Makefile | 6 | ||||
-rw-r--r-- | sysutils/rsnapshot/distinfo | 9 | ||||
-rw-r--r-- | sysutils/rsnapshot/patches/patch-aa | 51 |
3 files changed, 6 insertions, 60 deletions
diff --git a/sysutils/rsnapshot/Makefile b/sysutils/rsnapshot/Makefile index 5e6e4266aba..7414c4acd7a 100644 --- a/sysutils/rsnapshot/Makefile +++ b/sysutils/rsnapshot/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2005/07/16 01:19:23 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2005/09/13 11:47:49 abs Exp $ # -DISTNAME= rsnapshot-1.1.6 -PKGREVISION= 1 +DISTNAME= rsnapshot-1.2.1 CATEGORIES= net MASTER_SITES= http://www.rsnapshot.org/downloads/ @@ -11,7 +10,6 @@ HOMEPAGE= http://www.rsnapshot.org/ COMMENT= Filesystem snapshot utility DEPENDS+= rsync>=2.3.1:../../net/rsync -DEPENDS+= p5-Lchown>=0.07:../../sysutils/p5-Lchown GNU_CONFIGURE= yes USE_TOOLS+= perl:run diff --git a/sysutils/rsnapshot/distinfo b/sysutils/rsnapshot/distinfo index 7cc1888422f..12284e6e381 100644 --- a/sysutils/rsnapshot/distinfo +++ b/sysutils/rsnapshot/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 13:40:57 agc Exp $ +$NetBSD: distinfo,v 1.4 2005/09/13 11:47:49 abs Exp $ -SHA1 (rsnapshot-1.1.6.tar.gz) = 6813c68df1ff82df79682c0aaa6012f189c7eeb5 -RMD160 (rsnapshot-1.1.6.tar.gz) = f70681de3ebd0a390ca812299e8be9d71988dbf0 -Size (rsnapshot-1.1.6.tar.gz) = 88871 bytes -SHA1 (patch-aa) = 54f91858948e46288fe8d47f825e69db3ef56387 +SHA1 (rsnapshot-1.2.1.tar.gz) = 4e13d6a828012b869fa0709f651e3b11c40d0c91 +RMD160 (rsnapshot-1.2.1.tar.gz) = 78d365b45c3a7dbe2034d901afe4937b39687946 +Size (rsnapshot-1.2.1.tar.gz) = 137194 bytes diff --git a/sysutils/rsnapshot/patches/patch-aa b/sysutils/rsnapshot/patches/patch-aa deleted file mode 100644 index 9ae67a29b49..00000000000 --- a/sysutils/rsnapshot/patches/patch-aa +++ /dev/null @@ -1,51 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2004/10/11 09:44:50 kim Exp $ - ---- rsnapshot-program.pl.orig 2004-07-05 19:43:18.000000000 -0400 -+++ rsnapshot-program.pl 2004-10-11 05:13:15.000000000 -0400 -@@ -32,6 +32,7 @@ - use File::Path; # mkpath(), rmtree() - use File::stat; # stat(), lstat() - use POSIX qw(locale_h); # setlocale() -+use Lchown qw(lchown LCHOWN_AVAILABLE); - - ######################################## - ### DECLARE GLOBAL VARIABLES ### -@@ -2934,7 +2935,11 @@ - } - } - -- $result = chown($st->uid, $st->gid, "$dest"); -+ if (Lchown::LCHOWN_AVAILABLE) { -+ $result = lchown($st->uid, $st->gid, "$dest"); -+ } else { -+ $result = chown($st->uid, $st->gid, "$dest"); -+ } - if (! $result) { - print_err("Warning! Could not chown(" . $st->uid . ", " . $st->gid . ", \"$dest\");", 2); - return(0); -@@ -3284,7 +3289,11 @@ - - # CHOWN DEST (if root) - if (0 == $<) { -- $result = chown($st->uid, $st->gid, "$dest"); -+ if (Lchown::LCHOWN_AVAILABLE) { -+ $result = lchown($st->uid, $st->gid, "$dest"); -+ } else { -+ $result = chown($st->uid, $st->gid, "$dest"); -+ } - if (! $result) { - print_err("Warning! Could not chown(" . $st->uid . ", " . $st->gid . ", \"$dest\");", 2); - return(0); -@@ -3513,7 +3522,11 @@ - } - } - -- $result = chown($st->uid, $st->gid, "$dest"); -+ if (Lchown::LCHOWN_AVAILABLE) { -+ $result = lchown($st->uid, $st->gid, "$dest"); -+ } else { -+ $result = chown($st->uid, $st->gid, "$dest"); -+ } - - if (! $result) { - print_err("Warning! Could not chown(" . $st->uid . ", " . $st->gid . ", \"$dest\")", 2); |