- make it use the GNU version of cp(1) because flyback needs the
"--link" option for its incremental backups handling ok jasper@
This commit is contained in:
parent
9e3918c712
commit
a19c0117d1
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2008/06/26 10:21:03 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2008/06/26 13:14:06 ajacoutot Exp $
|
||||
|
||||
COMMENT= Time Machine-like backup tool
|
||||
|
||||
DISTNAME= flyback_0.4.0
|
||||
PKGNAME= ${DISTNAME:S/_/-/}p0
|
||||
PKGNAME= ${DISTNAME:S/_/-/}p1
|
||||
CATEGORIES= sysutils x11
|
||||
|
||||
HOMEPAGE= http://flyback-project.org/
|
||||
@ -25,6 +25,9 @@ RUN_DEPENDS= ::databases/py-sqlite \
|
||||
::x11/gnome/py-gnome \
|
||||
:desktop-file-utils-*:devel/desktop-file-utils
|
||||
|
||||
# needs the "--link" option from gcp(1) for incremental backups
|
||||
RUN_DEPENDS+= ::misc/fileutils
|
||||
|
||||
NO_REGRESS= Yes
|
||||
NO_BUILD= Yes
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-backup_backend_py,v 1.1.1.1 2008/04/14 13:39:51 jasper Exp $
|
||||
$OpenBSD: patch-backup_backend_py,v 1.2 2008/06/26 13:14:06 ajacoutot Exp $
|
||||
--- backup_backend.py.orig Thu Nov 15 07:22:16 2007
|
||||
+++ backup_backend.py Mon Apr 14 13:08:35 2008
|
||||
@@ -229,7 +229,7 @@ class backup:
|
||||
@ -6,7 +6,7 @@ $OpenBSD: patch-backup_backend_py,v 1.1.1.1 2008/04/14 13:39:51 jasper Exp $
|
||||
if latest_backup_dir:
|
||||
last_backup = self.parent_backup_dir +'/'+ latest_backup_dir.strftime(BACKUP_DIR_DATE_FORMAT)
|
||||
- self.run_cmd_output_gui("cp -al '%s' '%s'" % (last_backup, new_backup))
|
||||
+ self.run_cmd_output_gui("cp -RPp '%s' '%s'" % (last_backup, new_backup))
|
||||
+ self.run_cmd_output_gui("gcp -al '%s' '%s'" % (last_backup, new_backup))
|
||||
self.run_cmd_output_gui("chmod u+w '%s'" % new_backup)
|
||||
|
||||
for dir in self.included_dirs:
|
||||
|
Loading…
Reference in New Issue
Block a user