aboutsummaryrefslogtreecommitdiff
path: root/sysutils/duplicity
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-07-03 06:57:30 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-07-03 06:57:30 +0000
commitad5bdb8126bb509771b46b52045a24725fda9e5d (patch)
tree72be6df03cec3759b6173d06d74b0f69d4373982 /sysutils/duplicity
parent700261726cfd6e498217d45e46501d01a549af62 (diff)
downloadports-ad5bdb8126bb509771b46b52045a24725fda9e5d.tar.gz
ports-ad5bdb8126bb509771b46b52045a24725fda9e5d.zip
Notes
Diffstat (limited to 'sysutils/duplicity')
-rw-r--r--sysutils/duplicity/Makefile38
-rw-r--r--sysutils/duplicity/distinfo1
-rw-r--r--sysutils/duplicity/files/patch-setup.py38
-rw-r--r--sysutils/duplicity/pkg-descr12
-rw-r--r--sysutils/duplicity/pkg-plist77
5 files changed, 166 insertions, 0 deletions
diff --git a/sysutils/duplicity/Makefile b/sysutils/duplicity/Makefile
new file mode 100644
index 000000000000..134d0aee0e5f
--- /dev/null
+++ b/sysutils/duplicity/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: duplicity
+# Date created: Wed Jun 11 19:53:46 CEST 2003
+# Whom: Gerhard Häring <gh@ghaering.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= duplicity
+PORTVERSION= 0.4.0
+CATEGORIES= sysutils
+MASTER_SITES= http://savannah.nongnu.org/download/duplicity/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= gh@ghaering.de
+COMMENT= Untrusted backup using rsync algorithm
+
+LIB_DEPENDS= rsync.1:${PORTSDIR}/net/librsync
+RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+MAN1= duplicity.1 rdiffdir.1
+
+DOCFILES= CHANGELOG COPYING README
+DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/duplicity.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/rdiffdir.1 ${PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOCFILES}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/duplicity/distinfo b/sysutils/duplicity/distinfo
new file mode 100644
index 000000000000..55435ee811a5
--- /dev/null
+++ b/sysutils/duplicity/distinfo
@@ -0,0 +1 @@
+MD5 (duplicity-0.4.0.tar.gz) = c2dfc0b3ab52de1ed7254775cbc62ef2
diff --git a/sysutils/duplicity/files/patch-setup.py b/sysutils/duplicity/files/patch-setup.py
new file mode 100644
index 000000000000..2484a45dd4ee
--- /dev/null
+++ b/sysutils/duplicity/files/patch-setup.py
@@ -0,0 +1,38 @@
+*** /tmp/duplicity-0.4.0/setup.py Sat Nov 30 23:41:29 2002
+--- setup.py Wed Jun 11 20:31:32 2003
+***************
+*** 9,14 ****
+--- 9,18 ----
+ print "Sorry, duplicity requires version 2.2 or later of python"
+ sys.exit(1)
+
++ LOCALBASE = os.environ.get("LOCALBASE", "/usr/local")
++ include_dirs = ['%s/include' % LOCALBASE]
++ library_dirs = ['%s/lib/' % LOCALBASE]
++
+ setup(name="duplicity",
+ version=version_string,
+ description="Untrusted backup using rsync algorithm",
+***************
+*** 19,28 ****
+ package_dir = {"duplicity": "src"},
+ ext_modules = [Extension("duplicity._librsync",
+ ["_librsyncmodule.c"],
+! libraries=["rsync"])],
+! scripts = ['rdiffdir', 'duplicity'],
+! data_files = [('share/man/man1', ['duplicity.1', 'rdiffdir.1']),
+! ('share/doc/duplicity-%s' % version_string,
+! ['COPYING', 'README', 'CHANGELOG'])])
+
+
+--- 23,32 ----
+ package_dir = {"duplicity": "src"},
+ ext_modules = [Extension("duplicity._librsync",
+ ["_librsyncmodule.c"],
+! libraries=["rsync"],
+! include_dirs=include_dirs,
+! library_dirs=library_dirs)],
+! scripts = ['rdiffdir', 'duplicity']
+! )
+
+
diff --git a/sysutils/duplicity/pkg-descr b/sysutils/duplicity/pkg-descr
new file mode 100644
index 000000000000..43bf81e4ce1f
--- /dev/null
+++ b/sysutils/duplicity/pkg-descr
@@ -0,0 +1,12 @@
+Duplicity backs directories by producing encrypted tar-format volumes an
+d
+uploading them to a remote or local file server. Because duplicity uses
+librsync, the incremental archives are space efficient and only record t
+he
+parts of files that have changed since the last backup. Because duplicit
+y uses
+GnuPG to encrypt and/or sign these archives, they will be safe from spyi
+ng
+and/or modification by the server.
+
+WWW: http://www.nongnu.org/duplicity/
diff --git a/sysutils/duplicity/pkg-plist b/sysutils/duplicity/pkg-plist
new file mode 100644
index 000000000000..a5cdcb2d43e1
--- /dev/null
+++ b/sysutils/duplicity/pkg-plist
@@ -0,0 +1,77 @@
+bin/duplicity
+bin/rdiffdir
+%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.py
+%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/__init__.py
+%%PYTHON_SITELIBDIR%%/duplicity/__init__.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/__init__.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/_librsync.so
+%%PYTHON_SITELIBDIR%%/duplicity/backends.py
+%%PYTHON_SITELIBDIR%%/duplicity/backends.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/backends.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/collections.py
+%%PYTHON_SITELIBDIR%%/duplicity/collections.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/collections.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/commandline.py
+%%PYTHON_SITELIBDIR%%/duplicity/commandline.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/commandline.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/diffdir.py
+%%PYTHON_SITELIBDIR%%/duplicity/diffdir.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/diffdir.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/dup_temp.py
+%%PYTHON_SITELIBDIR%%/duplicity/dup_temp.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/dup_temp.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/dup_time.py
+%%PYTHON_SITELIBDIR%%/duplicity/dup_time.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/dup_time.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/file_naming.py
+%%PYTHON_SITELIBDIR%%/duplicity/file_naming.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/file_naming.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/globals.py
+%%PYTHON_SITELIBDIR%%/duplicity/globals.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/globals.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/gpg.py
+%%PYTHON_SITELIBDIR%%/duplicity/gpg.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/gpg.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/lazy.py
+%%PYTHON_SITELIBDIR%%/duplicity/lazy.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/lazy.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/librsync.py
+%%PYTHON_SITELIBDIR%%/duplicity/librsync.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/librsync.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/log.py
+%%PYTHON_SITELIBDIR%%/duplicity/log.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/log.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/manifest.py
+%%PYTHON_SITELIBDIR%%/duplicity/manifest.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/manifest.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/misc.py
+%%PYTHON_SITELIBDIR%%/duplicity/misc.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/misc.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/patchdir.py
+%%PYTHON_SITELIBDIR%%/duplicity/patchdir.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/patchdir.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/path.py
+%%PYTHON_SITELIBDIR%%/duplicity/path.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/path.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/robust.py
+%%PYTHON_SITELIBDIR%%/duplicity/robust.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/robust.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/selection.py
+%%PYTHON_SITELIBDIR%%/duplicity/selection.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/selection.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/static.py
+%%PYTHON_SITELIBDIR%%/duplicity/static.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/static.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/statistics.py
+%%PYTHON_SITELIBDIR%%/duplicity/statistics.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/statistics.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/tarfile.py
+%%PYTHON_SITELIBDIR%%/duplicity/tarfile.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/tarfile.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/duplicity
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%