diff options
author | edwin <edwin@FreeBSD.org> | 2005-12-26 01:37:29 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-12-26 01:37:29 +0000 |
commit | a147eb4863595327c07598498efe099af7af9cca (patch) | |
tree | feb238abcb498f6e013164cb2f21669b7dc46f40 /sysutils/pdumpfs-rsync | |
parent | 2be640ea9ccdd8e4577c4f73b8aa1926c694b0b5 (diff) | |
download | FreeBSD-ports-a147eb4863595327c07598498efe099af7af9cca.zip FreeBSD-ports-a147eb4863595327c07598498efe099af7af9cca.tar.gz |
pdumpfs-rsync updated
pdumpfs has been updated but corresponding changes are
not made to pdumpfs-rsync so that it doesn't work.
PR: ports/90880
Submitted by: Yoshihiro Ota <ota@j.email.ne.jp>
Diffstat (limited to 'sysutils/pdumpfs-rsync')
-rw-r--r-- | sysutils/pdumpfs-rsync/Makefile | 1 | ||||
-rw-r--r-- | sysutils/pdumpfs-rsync/files/patch-pdumpfs-rsync | 26 |
2 files changed, 25 insertions, 2 deletions
diff --git a/sysutils/pdumpfs-rsync/Makefile b/sysutils/pdumpfs-rsync/Makefile index 2d6ca3a..bddae62 100644 --- a/sysutils/pdumpfs-rsync/Makefile +++ b/sysutils/pdumpfs-rsync/Makefile @@ -7,6 +7,7 @@ PORTNAME= pdumpfs-rsync PORTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= sysutils net MASTER_SITES= http://tach.arege.net/software/pdumpfs-rsync/ DISTFILES= ${PROG} diff --git a/sysutils/pdumpfs-rsync/files/patch-pdumpfs-rsync b/sysutils/pdumpfs-rsync/files/patch-pdumpfs-rsync index f9d7ece..bae6b03 100644 --- a/sysutils/pdumpfs-rsync/files/patch-pdumpfs-rsync +++ b/sysutils/pdumpfs-rsync/files/patch-pdumpfs-rsync @@ -1,5 +1,5 @@ ---- pdumpfs-rsync.orig Sat May 29 03:00:00 2004 -+++ pdumpfs-rsync Sat May 29 03:01:57 2004 +--- pdumpfs-rsync.orig Mon Dec 26 12:31:35 2005 ++++ pdumpfs-rsync Mon Dec 26 12:33:21 2005 @@ -15,7 +15,7 @@ # the GNU General Public License version 2. # @@ -9,3 +9,25 @@ require 'ftools' require 'getoptlong' +@@ -128,8 +128,10 @@ + end + end + +- latest = latest_snapshot(src, dest, base) +- today = File.join(dest, datedir(Date.today), base) ++ start_time = Time.now ++ pdumpfs = Pdumpfs::Pdumpfs.new(opts) ++ latest = pdumpfs.latest_snapshot(start_time, src, dest, base) ++ today = File.join(dest, pdumpfs.datedir(Date.today), base) + rsync_array = rsync_array + rsync_opts + rsync_array.push(ARGV[0].sub(%r!/+$!, '') + '/') + rsync_array.push(src + '/') +@@ -141,7 +143,7 @@ + if ( $? >> 8 != 0 ) + STDERR.print "WARNING: rsync failed: #{ARGV[0]}; exit value: #{$? >> 8}\n" + end +- update_snapshot(src, src, today, matcher) ++ pdumpfs.update_snapshot(src, src, today, matcher) + else + STDERR.print "rsync failed: #{ARGV[0]}; exit value: #{$? >> 8}\n" + exit $? >> 8 |