Date: Thu, 12 Jun 2003 03:47:13 +0200 From: Gerhard Haering <gh@ghaering.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53234: New port: sysutils/rdiff-backup Message-ID: <20030612014712.GC34378@lilith.ghaering.test> Resent-Message-ID: <200306120100.h5C10Sgg028976@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53234 >Category: ports >Synopsis: New port: sysutils/rdiff-backup >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 rdiff-backup. 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/rdiff-backup # sysutils/rdiff-backup/files # sysutils/rdiff-backup/files/patch-setup.py # sysutils/rdiff-backup/pkg-plist # sysutils/rdiff-backup/pkg-descr # sysutils/rdiff-backup/distinfo # sysutils/rdiff-backup/Makefile # echo c - sysutils/rdiff-backup mkdir -p sysutils/rdiff-backup > /dev/null 2>&1 echo c - sysutils/rdiff-backup/files mkdir -p sysutils/rdiff-backup/files > /dev/null 2>&1 echo x - sysutils/rdiff-backup/files/patch-setup.py sed 's/^X//' >sysutils/rdiff-backup/files/patch-setup.py << 'END-of-sysut= ils/rdiff-backup/files/patch-setup.py' X*** /tmp/rdiff-backup-0.10.2/setup.py Mon Jan 27 06:04:22 2003 X--- setup.py Thu Jun 12 03:25:40 2003 X*************** X*** 9,14 **** X--- 9,18 ---- X print "Sorry, rdiff-backup requires version 2.2 or later of python" X sys.exit(1) X =20 X+ LOCALBASE =3D os.getenv("LOCALBASE", "/usr/local") X+ include_dirs =3D ["%s/include" % LOCALBASE] X+ library_dirs =3D ["%s/lib" % LOCALBASE] X+=20 X setup(name=3D"rdiff-backup", X version=3Dversion_string, X description=3D"Local/remote mirroring+incremental backup", X*************** X*** 19,29 **** X ext_modules =3D [Extension("rdiff_backup.C", ["cmodule.c"]), X Extension("rdiff_backup._librsync", X ["_librsyncmodule.c"], X! libraries=3D["rsync"])], X scripts =3D ['rdiff-backup'], X! data_files =3D [('share/man/man1', ['rdiff-backup.1']), X! ('share/doc/rdiff-backup-%s' % version_string, X! ['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])]) X =20 X =20 X =20 X--- 23,33 ---- X ext_modules =3D [Extension("rdiff_backup.C", ["cmodule.c"]), X Extension("rdiff_backup._librsync", X ["_librsyncmodule.c"], X! libraries=3D["rsync"], X! include_dir= s=3Dinclude_dirs, X! library_dir= s=3Dlibrary_dirs)], X scripts =3D ['rdiff-backup'], X! ) X =20 X =20 X =20 END-of-sysutils/rdiff-backup/files/patch-setup.py echo x - sysutils/rdiff-backup/pkg-plist sed 's/^X//' >sysutils/rdiff-backup/pkg-plist << 'END-of-sysutils/rdiff-b= ackup/pkg-plist' Xbin/rdiff-backup X%%PYTHON_SITELIBDIR%%/rdiff_backup/C.so X%%PYTHON_SITELIBDIR%%/rdiff_backup/FilenameMapping.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/FilenameMapping.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/FilenameMapping.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/Globals.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/Globals.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/Globals.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/Hardlink.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/Hardlink.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/Hardlink.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/Main.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/Main.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/Main.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/MiscStats.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/MiscStats.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/MiscStats.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/Rdiff.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/Rdiff.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/Rdiff.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/Security.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/Security.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/Security.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/SetConnections.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/SetConnections.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/SetConnections.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/Time.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/Time.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/Time.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/__init__.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/__init__.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/__init__.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/_librsync.so X%%PYTHON_SITELIBDIR%%/rdiff_backup/connection.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/connection.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/connection.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/destructive_stepping.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/destructive_stepping.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/destructive_stepping.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/highlevel.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/highlevel.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/highlevel.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/increment.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/increment.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/increment.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/iterfile.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/iterfile.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/iterfile.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/lazy.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/lazy.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/lazy.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/librsync.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/librsync.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/librsync.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/log.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/log.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/log.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/manage.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/manage.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/manage.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/restore.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/restore.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/restore.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/rlist.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/rlist.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/rlist.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/robust.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/robust.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/robust.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/rorpiter.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/rorpiter.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/rorpiter.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/rpath.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/rpath.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/rpath.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/selection.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/selection.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/selection.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/static.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/static.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/static.pyo X%%PYTHON_SITELIBDIR%%/rdiff_backup/statistics.py X%%PYTHON_SITELIBDIR%%/rdiff_backup/statistics.pyc X%%PYTHON_SITELIBDIR%%/rdiff_backup/statistics.pyo X@dirrm %%PYTHON_SITELIBDIR%%/rdiff_backup X%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG X%%PORTDOCS%%%%DOCSDIR%%/COPYING X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/FAQ.html X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-sysutils/rdiff-backup/pkg-plist echo x - sysutils/rdiff-backup/pkg-descr sed 's/^X//' >sysutils/rdiff-backup/pkg-descr << 'END-of-sysutils/rdiff-b= ackup/pkg-descr' Xrdiff-backup backs up one directory to another, possibly over a network.= The Xtarget directory ends up a copy of the source directory, but extra rever= se Xdiffs are stored in a special subdirectory of that target directory, so = you can Xstill recover files lost some time ago. The idea is to combine the best Xfeatures of a mirror and an incremental backup. rdiff-backup also preser= ves Xsubdirectories, hard links, dev files, permissions, uid/gid ownership (i= f it is Xrunning as root), and modification times. Finally, rdiff-backup can oper= ate in Xa bandwidth efficient manner over a pipe, like rsync. Thus you can use Xrdiff-backup and ssh to securely back a hard drive up to a remote locati= on, and Xonly the differences will be transmitted. X XWWW: http://rdiff-backup.stanford.edu/ END-of-sysutils/rdiff-backup/pkg-descr echo x - sysutils/rdiff-backup/distinfo sed 's/^X//' >sysutils/rdiff-backup/distinfo << 'END-of-sysutils/rdiff-ba= ckup/distinfo' XMD5 (rdiff-backup-0.10.2.tar.gz) =3D 8c7d0bfee036560cd5cc2a24db5d3516 END-of-sysutils/rdiff-backup/distinfo echo x - sysutils/rdiff-backup/Makefile sed 's/^X//' >sysutils/rdiff-backup/Makefile << 'END-of-sysutils/rdiff-ba= ckup/Makefile' X# New ports collection makefile for: rdiff-backup 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 rdiff-backup XPORTVERSION=3D 0.10.2 XCATEGORIES=3D sysutils XMASTER_SITES=3D http://rdiff-backup.stanford.edu/ XDISTNAME=3D ${PORTNAME}-${PORTVERSION} X XMAINTAINER=3D gh@ghaering.de XCOMMENT=3D Local/remote mirroring+incremental backup X XLIB_DEPENDS=3D rsync.1:${PORTSDIR}/net/librsync X XUSE_PYTHON=3D yes XUSE_PYDISTUTILS=3D yes X XMAN1=3D rdiff-backup.1 X XDOCFILES=3D CHANGELOG README COPYING FAQ.html XDOCSDIR=3D ${PREFIX}/share/doc/${PORTNAME} X Xpost-install: X ${INSTALL_MAN} ${WRKSRC}/rdiff-backup.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/rdiff-backup/Makefile exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030612014712.GC34378>