Date: Tue, 24 Jun 2003 17:47:46 +0200 From: Gerhard Haering <gh@ghaering.de> To: Foxfair Hu <foxfair@FreeBSD.org> Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/53235: New port: sysutils/duplicity Message-ID: <20030624154745.GA53236@lilith.ghaering.test> In-Reply-To: <200306240245.h5O2jAao076332@freefall.freebsd.org> References: <200306240245.h5O2jAao076332@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Foxfair Hu <foxfair@FreeBSD.org> [2003-06-23 19:45 -0700]: > Failed to create files from this PR, please re-submit your shar file. Here it is: # 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: # # duplicity # duplicity/files # duplicity/files/patch-setup.py # duplicity/pkg-plist # duplicity/pkg-descr # duplicity/distinfo # duplicity/Makefile # echo c - duplicity mkdir -p duplicity > /dev/null 2>&1 echo c - duplicity/files mkdir -p duplicity/files > /dev/null 2>&1 echo x - duplicity/files/patch-setup.py sed 's/^X//' >duplicity/files/patch-setup.py << 'END-of-duplicity/files/p= atch-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-duplicity/files/patch-setup.py echo x - duplicity/pkg-plist sed 's/^X//' >duplicity/pkg-plist << 'END-of-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-duplicity/pkg-plist echo x - duplicity/pkg-descr sed 's/^X//' >duplicity/pkg-descr << 'END-of-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-duplicity/pkg-descr echo x - duplicity/distinfo sed 's/^X//' >duplicity/distinfo << 'END-of-duplicity/distinfo' XMD5 (duplicity-0.4.0.tar.gz) =3D c2dfc0b3ab52de1ed7254775cbc62ef2 END-of-duplicity/distinfo echo x - duplicity/Makefile sed 's/^X//' >duplicity/Makefile << 'END-of-duplicity/Makefile' 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-duplicity/Makefile exit
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030624154745.GA53236>