diff options
author | leeym <leeym@FreeBSD.org> | 2003-07-03 14:57:30 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-07-03 14:57:30 +0800 |
commit | c31025f40c1312787d3445df20685e0b14b9e37c (patch) | |
tree | 28354761567b10b47c0afeec131c7cf537909196 /sysutils | |
parent | 6d225e7e5e2aae1105eb2b6144bed9fc7fe2a9c6 (diff) | |
download | freebsd-ports-gnome-c31025f40c1312787d3445df20685e0b14b9e37c.tar.gz freebsd-ports-gnome-c31025f40c1312787d3445df20685e0b14b9e37c.tar.zst freebsd-ports-gnome-c31025f40c1312787d3445df20685e0b14b9e37c.zip |
add duplicity-0.4.0
WWW: http://www.nongnu.org/duplicity/
PR: 53235
Submitted by: Gerhard Haering <gh@ghaering.de>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/duplicity-devel/Makefile | 38 | ||||
-rw-r--r-- | sysutils/duplicity-devel/distinfo | 1 | ||||
-rw-r--r-- | sysutils/duplicity-devel/files/patch-setup.py | 38 | ||||
-rw-r--r-- | sysutils/duplicity-devel/pkg-descr | 12 | ||||
-rw-r--r-- | sysutils/duplicity-devel/pkg-plist | 77 | ||||
-rw-r--r-- | sysutils/duplicity/Makefile | 38 | ||||
-rw-r--r-- | sysutils/duplicity/distinfo | 1 | ||||
-rw-r--r-- | sysutils/duplicity/files/patch-setup.py | 38 | ||||
-rw-r--r-- | sysutils/duplicity/pkg-descr | 12 | ||||
-rw-r--r-- | sysutils/duplicity/pkg-plist | 77 | ||||
-rw-r--r-- | sysutils/duplicity05/Makefile | 38 | ||||
-rw-r--r-- | sysutils/duplicity05/distinfo | 1 | ||||
-rw-r--r-- | sysutils/duplicity05/files/patch-setup.py | 38 | ||||
-rw-r--r-- | sysutils/duplicity05/pkg-descr | 12 | ||||
-rw-r--r-- | sysutils/duplicity05/pkg-plist | 77 |
16 files changed, 499 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index a24a5da603ce..9cfca3b1c315 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -69,6 +69,7 @@ SUBDIR += doconfig SUBDIR += du2ps SUBDIR += dump9660 + SUBDIR += duplicity SUBDIR += durep SUBDIR += dvd+rw-tools SUBDIR += dvdtape diff --git a/sysutils/duplicity-devel/Makefile b/sysutils/duplicity-devel/Makefile new file mode 100644 index 000000000000..134d0aee0e5f --- /dev/null +++ b/sysutils/duplicity-devel/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-devel/distinfo b/sysutils/duplicity-devel/distinfo new file mode 100644 index 000000000000..55435ee811a5 --- /dev/null +++ b/sysutils/duplicity-devel/distinfo @@ -0,0 +1 @@ +MD5 (duplicity-0.4.0.tar.gz) = c2dfc0b3ab52de1ed7254775cbc62ef2 diff --git a/sysutils/duplicity-devel/files/patch-setup.py b/sysutils/duplicity-devel/files/patch-setup.py new file mode 100644 index 000000000000..2484a45dd4ee --- /dev/null +++ b/sysutils/duplicity-devel/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-devel/pkg-descr b/sysutils/duplicity-devel/pkg-descr new file mode 100644 index 000000000000..43bf81e4ce1f --- /dev/null +++ b/sysutils/duplicity-devel/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-devel/pkg-plist b/sysutils/duplicity-devel/pkg-plist new file mode 100644 index 000000000000..a5cdcb2d43e1 --- /dev/null +++ b/sysutils/duplicity-devel/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%% 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%% diff --git a/sysutils/duplicity05/Makefile b/sysutils/duplicity05/Makefile new file mode 100644 index 000000000000..134d0aee0e5f --- /dev/null +++ b/sysutils/duplicity05/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/duplicity05/distinfo b/sysutils/duplicity05/distinfo new file mode 100644 index 000000000000..55435ee811a5 --- /dev/null +++ b/sysutils/duplicity05/distinfo @@ -0,0 +1 @@ +MD5 (duplicity-0.4.0.tar.gz) = c2dfc0b3ab52de1ed7254775cbc62ef2 diff --git a/sysutils/duplicity05/files/patch-setup.py b/sysutils/duplicity05/files/patch-setup.py new file mode 100644 index 000000000000..2484a45dd4ee --- /dev/null +++ b/sysutils/duplicity05/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/duplicity05/pkg-descr b/sysutils/duplicity05/pkg-descr new file mode 100644 index 000000000000..43bf81e4ce1f --- /dev/null +++ b/sysutils/duplicity05/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/duplicity05/pkg-plist b/sysutils/duplicity05/pkg-plist new file mode 100644 index 000000000000..a5cdcb2d43e1 --- /dev/null +++ b/sysutils/duplicity05/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%% |