diff options
author | Lars Engels <lme@FreeBSD.org> | 2008-01-22 07:48:39 +0000 |
---|---|---|
committer | Lars Engels <lme@FreeBSD.org> | 2008-01-22 07:48:39 +0000 |
commit | acb2408d7e07ea9862fea370f817de7ddec53258 (patch) | |
tree | 3f5a17ab8e5c8946c4511ecb8a6cb4f038da60c2 /sysutils | |
parent | ddad062021c5186d4c522aafbaaa7619ac67c2c2 (diff) | |
download | ports-acb2408d7e07ea9862fea370f817de7ddec53258.tar.gz ports-acb2408d7e07ea9862fea370f817de7ddec53258.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/flyback/Makefile | 37 | ||||
-rw-r--r-- | sysutils/flyback/distinfo | 3 | ||||
-rw-r--r-- | sysutils/flyback/files/flyback.sh.in | 4 | ||||
-rw-r--r-- | sysutils/flyback/files/patch-backup_backend.py | 11 | ||||
-rw-r--r-- | sysutils/flyback/files/patch-flyback.py | 10 | ||||
-rw-r--r-- | sysutils/flyback/pkg-descr | 5 | ||||
-rw-r--r-- | sysutils/flyback/pkg-plist | 10 |
8 files changed, 81 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index e991d6d2aab0..8412b994212d 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -199,6 +199,7 @@ SUBDIR += flexbackup SUBDIR += flock SUBDIR += flog + SUBDIR += flyback SUBDIR += fontedit SUBDIR += fonteditfs SUBDIR += foremost diff --git a/sysutils/flyback/Makefile b/sysutils/flyback/Makefile new file mode 100644 index 000000000000..e475056021eb --- /dev/null +++ b/sysutils/flyback/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: flyback +# Date created: 2008-01-20 +# Whom: Lars Engels <lme@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= flyback +PORTVERSION= 0.4.0 +CATEGORIES= sysutils +MASTER_SITES= http://${PORTNAME}.googlecode.com/files/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= lme@FreeBSD.org +COMMENT= A backup frontend like Apple's Time Machine + +RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync \ + ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23 + +NO_BUILD= yes +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_PYTHON= yes +USE_GNOME= pygtk2 pygnome2 libglade2 + +.include <bsd.port.pre.mk> + +SUB_FILES= flyback.sh + +do-install: + @${MKDIR} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/GPL.txt ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/viewer.glade ${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/flyback.sh ${PREFIX}/bin/flyback + +.include <bsd.port.post.mk> diff --git a/sysutils/flyback/distinfo b/sysutils/flyback/distinfo new file mode 100644 index 000000000000..3f67e8db2273 --- /dev/null +++ b/sysutils/flyback/distinfo @@ -0,0 +1,3 @@ +MD5 (flyback_0.4.0.tar.gz) = 6c924d9ddd5463bacf89467768c51a7f +SHA256 (flyback_0.4.0.tar.gz) = 846d23d6e2a0f7840afdb6fc284d0cdfa37e463c01b194acf0709a706c91db04 +SIZE (flyback_0.4.0.tar.gz) = 25616 diff --git a/sysutils/flyback/files/flyback.sh.in b/sysutils/flyback/files/flyback.sh.in new file mode 100644 index 000000000000..0b9febcb5423 --- /dev/null +++ b/sysutils/flyback/files/flyback.sh.in @@ -0,0 +1,4 @@ +#!/bin/sh + +cd %%DATADIR%% +exec %%DATADIR%%/flyback.py diff --git a/sysutils/flyback/files/patch-backup_backend.py b/sysutils/flyback/files/patch-backup_backend.py new file mode 100644 index 000000000000..b49ab2388e14 --- /dev/null +++ b/sysutils/flyback/files/patch-backup_backend.py @@ -0,0 +1,11 @@ +--- backup_backend.py.orig 2007-11-15 07:22:16.000000000 +0100 ++++ backup_backend.py 2008-01-21 22:17:40.000000000 +0100 +@@ -229,7 +229,7 @@ + + 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 -RPpl '%s' '%s'" % (last_backup, new_backup)) + self.run_cmd_output_gui("chmod u+w '%s'" % new_backup) + + for dir in self.included_dirs: diff --git a/sysutils/flyback/files/patch-flyback.py b/sysutils/flyback/files/patch-flyback.py new file mode 100644 index 000000000000..07fb05c9d4de --- /dev/null +++ b/sysutils/flyback/files/patch-flyback.py @@ -0,0 +1,10 @@ +--- flyback.py.orig 2007-11-15 07:22:16.000000000 +0100 ++++ flyback.py 2008-01-21 22:17:40.000000000 +0100 +@@ -592,6 +592,7 @@ + stdin, stdout = os.popen4('crontab -l') + for line in stdout: + if line.startswith('no crontab for'): continue ++ if line.startswith('crontab: no crontab for'): continue + if line.endswith('#flyback\n'): continue + existing_crons.append(line) + if c: diff --git a/sysutils/flyback/pkg-descr b/sysutils/flyback/pkg-descr new file mode 100644 index 000000000000..64a620ba4e03 --- /dev/null +++ b/sysutils/flyback/pkg-descr @@ -0,0 +1,5 @@ +Apple's Time Machine is a great feature in their OS, and FreeBSD has almost all +of the required technology already built in to recreate it. This is a simple GUI +to make it easy to use. + +WWW: http://code.google.com/p/flyback/ diff --git a/sysutils/flyback/pkg-plist b/sysutils/flyback/pkg-plist new file mode 100644 index 000000000000..974599a7fda8 --- /dev/null +++ b/sysutils/flyback/pkg-plist @@ -0,0 +1,10 @@ +%%DATADIR%%/backup_backend.py +%%DATADIR%%/config_backend.py +%%DATADIR%%/desktop.py +%%DATADIR%%/flyback.py +%%DATADIR%%/help_data.py +%%DATADIR%%/opengl_viewer.py +%%DATADIR%%/viewer.glade +%%DATADIR%%/GPL.txt +bin/flyback +@dirrm %%DATADIR%% |