Date: Thu, 12 Jun 2003 03:46:53 +0200 From: Gerhard Haering <gh@ghaering.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53235: New port: sysutils/duplicity Message-ID: <20030612014652.GB34378@lilith.ghaering.test> Resent-Message-ID: <200306120100.h5C10SGk028990@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53235 >Category: ports >Synopsis: New port: sysutils/duplicity >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jun 11 18:00:28 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Gerhard Haering <gh@ghaering.de> >Release: FreeBSD 5.1-RELEASE i386 >Organization: N/A >Environment: System: FreeBSD lilith.ghaering.test 5.1-RELEASE FreeBSD 5.1-RELEASE #5: = Wed Jun 11 00:02:51 CEST 2003 root@lilith.ghaering.test:/usr/obj/usr/src/= sys/GH3 i386 >Description: New port for duplicity. This depends on the librsync port update to version 0.9.5.1. >How-To-Repeat: N/A >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # sysutils/duplicity # sysutils/duplicity/files # sysutils/duplicity/files/patch-setup.py # sysutils/duplicity/pkg-plist # sysutils/duplicity/pkg-descr # sysutils/duplicity/distinfo # sysutils/duplicity/Makefile # echo c - sysutils/duplicity mkdir -p sysutils/duplicity > /dev/null 2>&1 echo c - sysutils/duplicity/files mkdir -p sysutils/duplicity/files > /dev/null 2>&1 echo x - sysutils/duplicity/files/patch-setup.py sed 's/^X//' >sysutils/duplicity/files/patch-setup.py << 'END-of-sysutils= /duplicity/files/patch-setup.py' X*** /tmp/duplicity-0.4.0/setup.py Sat Nov 30 23:41:29 2002 X--- setup.py Wed Jun 11 20:31:32 2003 X*************** X*** 9,14 **** X--- 9,18 ---- X print "Sorry, duplicity requires version 2.2 or later of python" X sys.exit(1) X =20 X+ LOCALBASE =3D os.environ.get("LOCALBASE", "/usr/local") X+ include_dirs =3D ['%s/include' % LOCALBASE] X+ library_dirs =3D ['%s/lib/' % LOCALBASE] X+=20 X setup(name=3D"duplicity", X version=3Dversion_string, X description=3D"Untrusted backup using rsync algorithm", X*************** X*** 19,28 **** X package_dir =3D {"duplicity": "src"}, X ext_modules =3D [Extension("duplicity._librsync", X ["_librsyncmodule.c"], X! libraries=3D["rsync"])], X! scripts =3D ['rdiffdir', 'duplicity'], X! data_files =3D [('share/man/man1', ['duplicity.1', 'rdiffdir.1']), X! ('share/doc/duplicity-%s' % version_string, X! ['COPYING', 'README', 'CHANGELOG'])]) X =20 X =20 X--- 23,32 ---- X package_dir =3D {"duplicity": "src"}, X ext_modules =3D [Extension("duplicity._librsync", X ["_librsyncmodule.c"], X! libraries=3D["rsync"], X! include_dir= s=3Dinclude_dirs, X! library_dir= s=3Dlibrary_dirs)], X! scripts =3D ['rdiffdir', 'duplicity'] X! ) X =20 X =20 END-of-sysutils/duplicity/files/patch-setup.py echo x - sysutils/duplicity/pkg-plist sed 's/^X//' >sysutils/duplicity/pkg-plist << 'END-of-sysutils/duplicity/= pkg-plist' Xbin/duplicity Xbin/rdiffdir X%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.py X%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.pyc X%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.pyo X%%PYTHON_SITELIBDIR%%/duplicity/__init__.py X%%PYTHON_SITELIBDIR%%/duplicity/__init__.pyc X%%PYTHON_SITELIBDIR%%/duplicity/__init__.pyo X%%PYTHON_SITELIBDIR%%/duplicity/_librsync.so X%%PYTHON_SITELIBDIR%%/duplicity/backends.py X%%PYTHON_SITELIBDIR%%/duplicity/backends.pyc X%%PYTHON_SITELIBDIR%%/duplicity/backends.pyo X%%PYTHON_SITELIBDIR%%/duplicity/collections.py X%%PYTHON_SITELIBDIR%%/duplicity/collections.pyc X%%PYTHON_SITELIBDIR%%/duplicity/collections.pyo X%%PYTHON_SITELIBDIR%%/duplicity/commandline.py X%%PYTHON_SITELIBDIR%%/duplicity/commandline.pyc X%%PYTHON_SITELIBDIR%%/duplicity/commandline.pyo X%%PYTHON_SITELIBDIR%%/duplicity/diffdir.py X%%PYTHON_SITELIBDIR%%/duplicity/diffdir.pyc X%%PYTHON_SITELIBDIR%%/duplicity/diffdir.pyo X%%PYTHON_SITELIBDIR%%/duplicity/dup_temp.py X%%PYTHON_SITELIBDIR%%/duplicity/dup_temp.pyc X%%PYTHON_SITELIBDIR%%/duplicity/dup_temp.pyo X%%PYTHON_SITELIBDIR%%/duplicity/dup_time.py X%%PYTHON_SITELIBDIR%%/duplicity/dup_time.pyc X%%PYTHON_SITELIBDIR%%/duplicity/dup_time.pyo X%%PYTHON_SITELIBDIR%%/duplicity/file_naming.py X%%PYTHON_SITELIBDIR%%/duplicity/file_naming.pyc X%%PYTHON_SITELIBDIR%%/duplicity/file_naming.pyo X%%PYTHON_SITELIBDIR%%/duplicity/globals.py X%%PYTHON_SITELIBDIR%%/duplicity/globals.pyc X%%PYTHON_SITELIBDIR%%/duplicity/globals.pyo X%%PYTHON_SITELIBDIR%%/duplicity/gpg.py X%%PYTHON_SITELIBDIR%%/duplicity/gpg.pyc X%%PYTHON_SITELIBDIR%%/duplicity/gpg.pyo X%%PYTHON_SITELIBDIR%%/duplicity/lazy.py X%%PYTHON_SITELIBDIR%%/duplicity/lazy.pyc X%%PYTHON_SITELIBDIR%%/duplicity/lazy.pyo X%%PYTHON_SITELIBDIR%%/duplicity/librsync.py X%%PYTHON_SITELIBDIR%%/duplicity/librsync.pyc X%%PYTHON_SITELIBDIR%%/duplicity/librsync.pyo X%%PYTHON_SITELIBDIR%%/duplicity/log.py X%%PYTHON_SITELIBDIR%%/duplicity/log.pyc X%%PYTHON_SITELIBDIR%%/duplicity/log.pyo X%%PYTHON_SITELIBDIR%%/duplicity/manifest.py X%%PYTHON_SITELIBDIR%%/duplicity/manifest.pyc X%%PYTHON_SITELIBDIR%%/duplicity/manifest.pyo X%%PYTHON_SITELIBDIR%%/duplicity/misc.py X%%PYTHON_SITELIBDIR%%/duplicity/misc.pyc X%%PYTHON_SITELIBDIR%%/duplicity/misc.pyo X%%PYTHON_SITELIBDIR%%/duplicity/patchdir.py X%%PYTHON_SITELIBDIR%%/duplicity/patchdir.pyc X%%PYTHON_SITELIBDIR%%/duplicity/patchdir.pyo X%%PYTHON_SITELIBDIR%%/duplicity/path.py X%%PYTHON_SITELIBDIR%%/duplicity/path.pyc X%%PYTHON_SITELIBDIR%%/duplicity/path.pyo X%%PYTHON_SITELIBDIR%%/duplicity/robust.py X%%PYTHON_SITELIBDIR%%/duplicity/robust.pyc X%%PYTHON_SITELIBDIR%%/duplicity/robust.pyo X%%PYTHON_SITELIBDIR%%/duplicity/selection.py X%%PYTHON_SITELIBDIR%%/duplicity/selection.pyc X%%PYTHON_SITELIBDIR%%/duplicity/selection.pyo X%%PYTHON_SITELIBDIR%%/duplicity/static.py X%%PYTHON_SITELIBDIR%%/duplicity/static.pyc X%%PYTHON_SITELIBDIR%%/duplicity/static.pyo X%%PYTHON_SITELIBDIR%%/duplicity/statistics.py X%%PYTHON_SITELIBDIR%%/duplicity/statistics.pyc X%%PYTHON_SITELIBDIR%%/duplicity/statistics.pyo X%%PYTHON_SITELIBDIR%%/duplicity/tarfile.py X%%PYTHON_SITELIBDIR%%/duplicity/tarfile.pyc X%%PYTHON_SITELIBDIR%%/duplicity/tarfile.pyo X@dirrm %%PYTHON_SITELIBDIR%%/duplicity X%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG X%%PORTDOCS%%%%DOCSDIR%%/COPYING X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-sysutils/duplicity/pkg-plist echo x - sysutils/duplicity/pkg-descr sed 's/^X//' >sysutils/duplicity/pkg-descr << 'END-of-sysutils/duplicity/= pkg-descr' XDuplicity backs directories by producing encrypted tar-format volumes an= d Xuploading them to a remote or local file server. Because duplicity uses Xlibrsync, the incremental archives are space efficient and only record t= he Xparts of files that have changed since the last backup. Because duplicit= y uses XGnuPG to encrypt and/or sign these archives, they will be safe from spyi= ng Xand/or modification by the server. X XWWW: http://www.nongnu.org/duplicity/ END-of-sysutils/duplicity/pkg-descr echo x - sysutils/duplicity/distinfo sed 's/^X//' >sysutils/duplicity/distinfo << 'END-of-sysutils/duplicity/d= istinfo' XMD5 (duplicity-0.4.0.tar.gz) =3D c2dfc0b3ab52de1ed7254775cbc62ef2 END-of-sysutils/duplicity/distinfo echo x - sysutils/duplicity/Makefile sed 's/^X//' >sysutils/duplicity/Makefile << 'END-of-sysutils/duplicity/M= akefile' X# New ports collection makefile for: duplicity X# Date created: Wed Jun 11 19:53:46 CEST 2003 X# Whom: Gerhard H=E4ring <gh@ghaering.de> X# X# $FreeBSD: ports/sysutils/arson/Makefile,v 1.3 2003/03/04 16:26:27 nork= Exp $ X# X XPORTNAME=3D duplicity XPORTVERSION=3D 0.4.0 XCATEGORIES=3D sysutils XMASTER_SITES=3D http://savannah.nongnu.org/download/duplicity/ XDISTNAME=3D ${PORTNAME}-${PORTVERSION} X XMAINTAINER=3D gh@ghaering.de XCOMMENT=3D Untrusted backup using rsync algorithm X XLIB_DEPENDS=3D rsync.1:${PORTSDIR}/net/librsync XRUN_DEPENDS=3D gpg:${PORTSDIR}/security/gnupg X XUSE_PYTHON=3D yes XUSE_PYDISTUTILS=3D yes X XMAN1=3D duplicity.1 rdiffdir.1 X XDOCFILES=3D CHANGELOG COPYING README XDOCSDIR=3D ${PREFIX}/share/doc/${PORTNAME} X Xpost-install: X ${INSTALL_MAN} ${WRKSRC}/duplicity.1 ${PREFIX}/man/man1 X ${INSTALL_MAN} ${WRKSRC}/rdiffdir.1 ${PREFIX}/man/man1 X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for file in ${DOCFILES} X @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> END-of-sysutils/duplicity/Makefile exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030612014652.GB34378>