2007-08-31 09:14:39 -04:00
|
|
|
$OpenBSD: patch-setup_py,v 1.2 2007/08/31 13:14:39 jsg Exp $
|
Import rdiff-backup-1.0.5
rdiff-backup backs up one directory to another, possibly over a network.
The target directory ends up a copy of the source directory, but extra
reverse diffs are stored in a special subdirectory of that target
directory, so you can still recover files lost some time ago. The idea
is to combine the best features of a mirror and an incremental backup.
rdiff-backup also preserves subdirectories, hard links, dev files,
permissions, uid/gid ownership, modification times, extended attributes,
acls, and resource forks. Also, rdiff-backup can operate in a bandwidth
efficient manner over a pipe, like rsync. Thus you can use rdiff-backup
and ssh to securely back a hard drive up to a remote location, and only
the differences will be transmitted. Finally, rdiff-backup is easy to
use and settings have sensical defaults.
ok mbalmer@
2007-08-31 06:23:51 -04:00
|
|
|
--- setup.py.orig Sun Nov 12 18:32:01 2006
|
2007-08-31 09:14:39 -04:00
|
|
|
+++ setup.py Fri Aug 31 22:59:39 2007
|
Import rdiff-backup-1.0.5
rdiff-backup backs up one directory to another, possibly over a network.
The target directory ends up a copy of the source directory, but extra
reverse diffs are stored in a special subdirectory of that target
directory, so you can still recover files lost some time ago. The idea
is to combine the best features of a mirror and an incremental backup.
rdiff-backup also preserves subdirectories, hard links, dev files,
permissions, uid/gid ownership, modification times, extended attributes,
acls, and resource forks. Also, rdiff-backup can operate in a bandwidth
efficient manner over a pipe, like rsync. Thus you can use rdiff-backup
and ssh to securely back a hard drive up to a remote location, and only
the differences will be transmitted. Finally, rdiff-backup is easy to
use and settings have sensical defaults.
ok mbalmer@
2007-08-31 06:23:51 -04:00
|
|
|
@@ -41,6 +41,10 @@ if os.name == 'posix':
|
|
|
|
if '-lrsync' in LIBS:
|
|
|
|
libname = []
|
|
|
|
|
|
|
|
+LOCALBASE = os.getenv("LOCALBASE", "/usr/local")
|
|
|
|
+include_dirs = ["%s/include" % LOCALBASE]
|
|
|
|
+library_dirs = ["%s/lib" % LOCALBASE]
|
|
|
|
+
|
|
|
|
setup(name="rdiff-backup",
|
|
|
|
version=version_string,
|
|
|
|
description="Local/remote mirroring+incremental backup",
|
|
|
|
@@ -51,12 +55,11 @@ setup(name="rdiff-backup",
|
|
|
|
ext_modules = [Extension("rdiff_backup.C", ["cmodule.c"]),
|
|
|
|
Extension("rdiff_backup._librsync",
|
|
|
|
["_librsyncmodule.c"],
|
|
|
|
- include_dirs=incdir_list,
|
|
|
|
- library_dirs=libdir_list,
|
|
|
|
- libraries=libname,
|
|
|
|
- extra_link_args=lflags_arg)],
|
|
|
|
+ libraries=["rsync"],
|
|
|
|
+ include_dirs=include_dirs,
|
|
|
|
+ library_dirs=library_dirs)],
|
|
|
|
scripts = ['rdiff-backup'],
|
|
|
|
- data_files = [('share/man/man1', ['rdiff-backup.1']),
|
|
|
|
- ('share/doc/rdiff-backup-%s' % (version_string,),
|
2007-08-31 09:14:39 -04:00
|
|
|
- ['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])])
|
Import rdiff-backup-1.0.5
rdiff-backup backs up one directory to another, possibly over a network.
The target directory ends up a copy of the source directory, but extra
reverse diffs are stored in a special subdirectory of that target
directory, so you can still recover files lost some time ago. The idea
is to combine the best features of a mirror and an incremental backup.
rdiff-backup also preserves subdirectories, hard links, dev files,
permissions, uid/gid ownership, modification times, extended attributes,
acls, and resource forks. Also, rdiff-backup can operate in a bandwidth
efficient manner over a pipe, like rsync. Thus you can use rdiff-backup
and ssh to securely back a hard drive up to a remote location, and only
the differences will be transmitted. Finally, rdiff-backup is easy to
use and settings have sensical defaults.
ok mbalmer@
2007-08-31 06:23:51 -04:00
|
|
|
+ data_files = [('man/man1', ['rdiff-backup.1']),
|
|
|
|
+ ('share/doc/rdiff-backup',
|
2007-08-31 09:14:39 -04:00
|
|
|
+ ['CHANGELOG', 'FAQ.html'])])
|
Import rdiff-backup-1.0.5
rdiff-backup backs up one directory to another, possibly over a network.
The target directory ends up a copy of the source directory, but extra
reverse diffs are stored in a special subdirectory of that target
directory, so you can still recover files lost some time ago. The idea
is to combine the best features of a mirror and an incremental backup.
rdiff-backup also preserves subdirectories, hard links, dev files,
permissions, uid/gid ownership, modification times, extended attributes,
acls, and resource forks. Also, rdiff-backup can operate in a bandwidth
efficient manner over a pipe, like rsync. Thus you can use rdiff-backup
and ssh to securely back a hard drive up to a remote location, and only
the differences will be transmitted. Finally, rdiff-backup is easy to
use and settings have sensical defaults.
ok mbalmer@
2007-08-31 06:23:51 -04:00
|
|
|
|