Up to [cvs.NetBSD.org] / pkgsrc / net / unison
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.28 / (download) - annotate - [select for diffs], Tue Nov 14 13:03:35 2017 UTC (3 weeks, 5 days ago) by jaapb
CVS Tags: HEAD
Changes since 1.27: +11 -7 lines
Diff to previous 1.27 (colored)
Updated net/unison to latest version, 2.48.15. I can't find a good changelog, but upstream changes seem to be fairly minor. A lot of local patches have been added to ensure compatibility with the latest version of OCaml and lablgtk, and I have cleaned up the package Makefile a little.
Revision 1.27 / (download) - annotate - [select for diffs], Sun Jun 12 14:30:05 2016 UTC (17 months, 4 weeks ago) by wiz
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-
Changes since 1.26: +5 -7 lines
Diff to previous 1.26 (colored)
Updated unison to 2.48.4. Changes not found, but this release obsoletes the pkgsrc patches for ocaml-4.03 support.
Revision 1.26 / (download) - annotate - [select for diffs], Fri May 6 14:29:04 2016 UTC (19 months ago) by jaapb
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (colored)
Added two patches that solve a compilation problem with ocaml 4.03.0.
Revision 1.25 / (download) - annotate - [select for diffs], Wed Nov 4 00:35:42 2015 UTC (2 years, 1 month ago) by agc
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)
Add SHA512 digests for distfiles for net category Problems found with existing digests: Package haproxy distfile haproxy-1.5.14.tar.gz 159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded] da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated] Problems found locating distfiles: Package bsddip: missing distfile bsddip-1.02.tar.Z Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2 Package djbdns: missing distfile djbdns-cachestats.patch Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch Package gated: missing distfile gated-3-5-11.tar.gz Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz Package poink: missing distfile poink-1.6.tar.gz Package ra-rtsp-proxy: missing distfile rtspd-src-22.214.171.124.tar.gz Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch Package waste: missing distfile waste-source.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Revision 1.24 / (download) - annotate - [select for diffs], Thu May 14 10:58:04 2015 UTC (2 years, 6 months ago) by bad
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)
The distfile of the actual release is different from the version that was imported 5 weeks before the actual release. Use DIST_SUBDIR to make this release fetchable. PKGREVISION++.
Revision 1.23 / (download) - annotate - [select for diffs], Tue Jan 6 12:58:36 2015 UTC (2 years, 11 months ago) by wiz
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.22: +5 -6 lines
Diff to previous 1.22 (colored)
Update to 2.48.3: Changes in Version 2.48.3 Changes since 2.45: * Incorporated a patch from Christopher Zimmermann to replace the Uprintf module (which doesn't work with OCaml 4.02, causing Unison to crash) with equivalent functionality from the standard library. * Incorporated a refresh of the OSX GUI, contributed by Alan Shutko. * Added a maxsizethreshold option, which prevents the transfer of files larger than the size specified (in Kb). * Added a "copyonconflict" preference, to make a copy of files that would otherwise be overwritten or deleted in case of conflicting changes. (This makes it possible to automatically resolve conflicts in a fairly safe way when synchronizing continuously, in combination with the "repeat = watch" and "prefer = newer" preferences. * File system monitoring: + The file watcher now fails when unable to watch a directory, rather than silently ignoring the issue. + File system monitoring: more robust communication with the helper program (in socket mode, the unison server will still work properly despite unexpected unison client disconnections). + A bytecode version of unison-fsmonitor is now produced by "make NATIVE=false" + Improved search for unison-fsmonitor + Detect when the helper process exits. + More robust file watching helper programs for Windows and Linux. They communicate with Unison through pipes (Unison redirects stdin and stdout), using a race-free protocol. + Retries paths with failures using an exponential backoff algorithm. + The information returned by the file watchers are used independently for each replica; thus, when only one replica has changes, Unison will only rescan this replica. + When available, used by the graphical UIs to speed up rescanning (can be disabled by setting the new watch preference to + Small fix to the way fsmonitor.py gets invoked when using the file watching functionality, suggested by Josh Berdine. Unison will now look for fsmonitor.py in the same directory where the Unison executable itself lives. * Minor: + Fixed a bug in export procedure that was messing up documentation strings. + Incorporated a patch from IráÏyossy Knoblauch Art to make temp file names fit within 143 characters (to make eCryptFS happy). + Added a string to the Conflict direction to document the reason of the conflict. + Log conflicts and problems in the text UI even if nothing is propagated. + Use hash function from OCaml 3.x for comparing archives, even when compiled with OCaml 4.x. + Do not restart Unison in case of uncaught exception when the repeat preference is set. This seems safer. And it does not work, for instance, in case of lost connection. + Fix Unix.readlink invalid argument error under Windows + Fix a crash when the output of the diff program is too large. + Fixed Makefile for cross-compiling towards Windows (updated to MinGW-w64) Changes since 2.40.63: * New preference fastercheckUNSAFE, which can be used (with care!) to achieve much faster update detection when all the common files in the two replicas are known to be identical. See the manual for more information. This feature should still be considered experimental, but it's ready for other people to try out. * Added option clientHostName. If specified, it will be used to as the client host name, overriding UNISONLOCALHOSTNAME and the actual host name. * OS X GUI: + fix crash under Lion, because of problems with the toolbar, using the fix suggested in http://blitzbasic.com/Community/posts.php?topic=95778. + uimacnew09 is now the standard graphical interface on OSX + A small improvement to the uimacnew09 interface from Alan Schmitt and Steve Kalkwarf: when Unison is run with the -batch flag, the interface will now automatically propagate changes and terminate, without waiting for user interaction. + Show a modal warning window if there is no archive for the hosts. The user can then choose to exit or proceed (proceed is the default). The window is not shown if the batch preference is true. + file details panel selectable * GTK GUI: + New version of uigtk2.ml from Matt Zagrabelny that reorganizes the icons in a slightly more intuitive way. * Minor fixes: + Setting the prefer preference to older or newer now propagates deletions when there is no conflict. + Correctly quote the path when running merge commands. + Add quotes to paths when calling external file watcher utility. + Incorporate a patch to fsmonitor.py (the external filewatcher utility) from Tomasz Zernicki to make it work better under Windows. + Incorporated new version of fsmonitor.py from Christophe Gohle + Fixed incompatibility with OpenSSH 5.6. + Fixed fingerprint cache: do not cache file properties + Some spelling corrections in documentation and comments from Stephane Glondu + Fixed O_APPEND mode for open under Windows + Fixed String.sub invalid argument error when an AppleDouble file does not contain a finder information field + Trim duplicate paths when using "-repeat watch" + Unison now passes path arguments and -follow directives to fsmonitor.py. This seems to work except for one small issue with how fsmonitor.py treats -follow directives for directories that don't exist (or maybe this is an issue with how it treats any kind of monitoring when the thing being monitored doesn't exist?). If we create a symlink to a nonexistant directory, give Unison (hence fsmonitor.py) a 'follow' directive for the symlink, start unison, and then create the directory, fsmonitor.py misses the change. + Lines added in profile files by unison always start at a new line
Revision 1.22 / (download) - annotate - [select for diffs], Wed Oct 22 09:43:01 2014 UTC (3 years, 1 month ago) by wiz
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)
Fix unison with ocaml-4.02.x. Based on http://caml.inria.fr/mantis/view.php?id=6621 Bump PKGREVISION.
Revision 1.21 / (download) - annotate - [select for diffs], Sun Dec 9 15:02:50 2012 UTC (5 years ago) by wiz
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.20: +5 -14 lines
Diff to previous 1.20 (colored)
Update to 2.40.102. Includes ocaml-4 compat patches (which were already in pkgsrc). Added BelowPath patterns, that match a path as well as all paths below (convenient to use with nodeletion,update,creationpartial preferences) Added a fat preference that makes Unison use the right options when one of the replica is on a FAT filesystem. Allow prefer/force=newer even when not synchronizing modification times. (The reconciler will not be aware of the modification time of unchanged files, so the synchronization choices of Unison can be different from when times=true, but the behavior remains sane: changed files with the most recent modification time will be propagated.) Minor fixes and improvements: Compare filenames up to decomposition in case sensitive mode when one host is running MacOSX and the unicode preference is set to true. Rsync: somewhat faster compressor Make Unicode the default on all architectures (it was only the default when a Mac OS X or Windows machine was involved).
Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 13 09:05:11 2012 UTC (5 years, 1 month ago) by wiz
Changes since 1.19: +11 -2 lines
Diff to previous 1.19 (colored)
Fix unison syncing between copies built with ocaml3 and ocaml4. From upstream SVN (to be released as 2.40.69 some day). r511 | vouillon | 2012-09-17 16:09:03 +0200 (Mon, 17 Sep 2012) | 3 lines * Use hash function from OCaml 3.x for comparing archives, even when compiled with OCaml 4.x Bump PKGREVISION.
Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 14 19:14:53 2012 UTC (5 years, 2 months ago) by jaapb
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)
Corrected build to work with x11/lablgtk. Corrected build that compiled parts the package during the install phase. Added comments to patches.
Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 3 12:50:43 2011 UTC (6 years, 4 months ago) by is
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)
Compile to native code also for arm. Require ocaml>=3.12.0nb2 for this, as the earlier compilers create code that only runs on CPUs with the Thumb extension.
Revision 1.17 / (download) - annotate - [select for diffs], Mon May 2 13:25:25 2011 UTC (6 years, 7 months ago) by wiz
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)
Update to 2.40.63; changes undocumented, but a bugfix for the Makefile was integrated.
Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 25 20:03:01 2011 UTC (6 years, 9 months ago) by wiz
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.15: +5 -6 lines
Diff to previous 1.15 (colored)
Update to 2.40.61. Ok tonio@. Set LICENSE. Changes in Version 2.40.61 Changes since 2.40.1: * Added "BelowPath" patterns, that match a path as well as all paths below (convenient to use with nodeletion,update,creationpartial preferences) * Added a "fat" preference that makes Unison use the right options when one of the replica is on a FAT filesystem. * Allow "prefer/force=newer" even when not synchronizing modification times. (The reconciler will not be aware of the modification time of unchanged files, so the synchronization choices of Unison can be different from when "times=true", but the behavior remains sane: changed files with the most recent modification time will be propagated.) * Minor fixes and improvements: + Compare filenames up to decomposition in case sensitive mode when one host is running MacOSX and the unicode preference is set to true. + Rsync: somewhat faster compressor + Make Unicode the default on all architectures (it was only the default when a Mac OS X or Windows machine was involved). Changes since 2.32: * Major enhancement: Unicode support. + Unison should now handle unicode filenames correctly on all platforms. + This functionality is controlled by a new preference unicode. + Unicode mode is now the default when one of the hosts is under Windows or MacOS. This may make upgrades a bit more painful (the archives cannot be reused), but this is a much saner default. * Partial transfer of directories. If an error occurs while transferring a directory, the part transferred so far is copied into place (and the archives are updated accordingly). The "maxerrors" preference controls how many transfer error Unison will accept before stopping the transfer of a directory (by default, only one). This makes it possible to transfer most of a directory even if there are some errors. Currently, only the first error is reported by the GUIs. Also, allow partial transfer of a directory when there was an error deep inside this directory during update detection. At the moment, this is only activated with the text and GTK UIs, which have been modified so that they show that the transfer is going to be partial and so that they can display all errors. * Improvement to the code for resuming directory transfers: + if a file was not correctly transferred (or the source has been modified since, with unchanged size), Unison performs a new transfer rather than failing + spurious files are deleted (this can happen if a file is deleted on the source replica before resuming the transfer; not deleting the file would result in it reappearing on the target replica) * Experimental streaming protocol for transferring file contents (can be disabled by setting the directive "stream" to false): file contents is transfered asynchronously (without waiting for a response from the destination after each chunk sent) rather than using the synchronous RPC mechanism. As a consequence: + Unison now transfers the contents of a single file at a time (Unison used to transfer several contents simultaneously in order to hide the connection latency.) + the transfer of large files uses the full available bandwidth and is not slowed done due to the connection latency anymore + we get performance improvement for small files as well by scheduling many files simultaneously (as scheduling a file for transfer consume little ressource: it does not mean allocating a large buffer anymore) * Changes to the internal implementation of the rsync algorithm: + use longer blocks for large files (the size of a block is the square root of the size of the file for large files); + transmit less checksum information per block (we still have less than one chance in a hundred million of transferring a file incorrectly, and Unison will catch any transfer error when fingerprinting the whole file) + avoid transfer overhead (which was 4 bytes per block) For a 1G file, the first optimization saves a factor 50 on the amount of data transferred from the target to the source (blocks are 32768 bytes rather than just 700 bytes). The two other optimizations save another factor of 2 (from 24 bytes per block down to 10). * Implemented an on-disk file fingerprint cache to speed-up update detection after a crash: this way, Unison does not have do recompute all the file fingerprints from scratch. + When Unison detects that the archive case-sensitivity mode does not match the current settings, it populates the fingerprint cache using the archive contents. This way, changing the case-sensitivity mode should be reasonably fast. * New preferences "noupdate=root", "nodeletion=root", "nocreation=root" that prevent Unison from performing files updates, deletions or creations on the given root. Also 'partial' versions of 'noupdate', 'nodeletion' and 'nocreation' * Limit the number of simultaneous external copy program ("copymax" preference) * New "links" preference. When set to false, Unison will report an error on symlinks during update detection. (This is the default when one host is running Windows but not Cygwin.) This is better than failing during propagation. * Added a preference "halfduplex" to force half-duplex communication with the server. This may be useful on unreliable links (as a more efficient alternative to "maxthreads = 1"). * Renamed preference "pretendwin" to "ignoreinodenumbers" (an alias is kept for backwards compatibility). * Ignore one-second differences when synchronizing modification time. (Technically, this is an incompatible archive format change, but it is backward compatible. To trigger a problem, a user would have to synchronize modification times on a filesystem with a two-second granularity and then downgrade to a previous version of Unison, which does not work well in such a case. Thus, it does not seem worthwhile to increment the archive format number, which would impact all users.) * Do not keep many files simultaneously opened anymore when the rsync algorithm is in use. * Add "ignorearchives" preference to ignore existing archives (to avoid forcing users to delete them manually, in situations where one archive has gotten deleted or corrupted). * Mac OS + fixed rsync bug which could result in an "index out of bounds" error when transferring resource forks. + Fixed bug which made Unison ignore finder information and resource fork when compiled to 64bit on Mac OSX. + should now be 64 bit clean (the Growl framework is not up to date, though) + Made the bridge between Objective C and Ocaml code GC friendly (it was allocating ML values and putting them in an array which was not registered with the GC) + use darker grey arrows (patch contributed by Eric Y. Kow) * GTK user interface + assistant for creating profiles + profile editor + pop up a summary window when the replicas are not fully synchronized after transport + display estimated remaining time and transfer rate on the progress bar + allow simultaneous selection of several items + Do not reload the preference file before a new update detection if it is unchanged + disabled scrolling to the first unfinished item during transport. It goes way too fast when lot of small files are synchronized, and it makes it impossible to browse the file list during transport. + take into account the "height" preference again + the internal list of selected reconciler item was not always in sync with what was displayed (GTK bug?); workaround implemented + Do not display "Looking for change" messages during propagation (when checking the targe is unchanged) but only during update detection + Apply patch to fix some crashes in the OSX GUI, thanks to Onne Gorter. * Text UI + During update detection, display status by updating a single line rather than generating a new line of output every so often. Should be less confusing. * Windows + Fastcheck is now the default under Windows. People mostly use NTFS nowadays and the Unicode API provides an equivalent to inode numbers for this filesystem. + Only use long UNC path for accessing replicas (as '..' is not handled with this format of paths, but can be useful) + Windows text UI: now put the console into UTF-8 output mode. This is the right thing to do when in Unicode mode, and is no worse than what we had previously otherwise (the console use some esoteric encoding by default). This only works when using a Unicode font instead of the default raster font. + Don't get the home directory from environment variable HOME under Windows (except for Cygwin binaries): we don't want the behavior of Unison to depends on whether it is run from a Cygwin shell (where HOME is set) or in any other way (where HOME is usually not set). * Miscellaneous fixes and improvements + Made a server waiting on a socket more resilient to unexpected lost connections from the client. + Small patch to property setting code suggested by Ulrich Gernkow. + Several fixes to the change transfer functions (both the internal ones and external transfers using rsync). In particular, limit the number of simultaneous transfer using an rsync (as the rsync algorithm can use a large amount of memory when processing huge files) + Keep track of which file contents are being transferred, and delay the transfer of a file when another file with the same contents is currently being transferred. This way, the second transfer can be skipped and replaced by a local copy. + Experimental update detection optimization: do not read the contents of unchanged directories + When a file transfer fails, turn off fastcheck for this file on the next sync. + Fixed bug with case insensitive mode on a case sensitive filesystem: o if file "a/a" is created on one replica and directory "A" is created on the other, the file failed to be synchronized the first time Unison is run afterwards, as Unison uses the wrong path "a/a" (if Unison is run again, the directories are in the archive, so the right path is used); o if file "a" appears on one replica and file "A" appears on the other with different contents, Unison was unable to synchronize them. + Improved error reporting when the destination is updated during synchronization: Unison now tells which file has been updated, and how. + Limit the length of temporary file names + Case sensitivity information put in the archive (in a backward compatible way) and checked when the archive is loaded + Got rid of the 16mb marshalling limit by marshalling to a bigarray. + Resume copy of partially transferred files.
Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 24 19:01:59 2010 UTC (7 years, 3 months ago) by bad
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)
Apply r456 from svn repository to update.mli: * Small patch from Stephane Glondu to make Unison compile with Ocaml 3.12. PKGREVISION++
Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 20 20:18:47 2009 UTC (8 years ago) by wiz
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4
Changes since 1.13: +5 -7 lines
Diff to previous 1.13 (colored)
Update to 2.32.52, ok tonio. Set license. Changes since 2.32.44: * Improvement to the code for resuming directory transfers: (1) make sure file information (permissions, ...) has been properly set when using a previously transferred temp file (2) make sure previously transferred directories are writable (other changes made in the developer version of Unison require a protocol change) * Got rid of the 16MiB marshalling limit by marshalling to a bigarray * Ignore one hour differences for deciding whether a file may have been updated. This avoids slow update detection after daylight saving time changes under Windows. This makes it slightly more likely to miss an update, but that should be safe enough. * Improved Unison icon under Windows * Case sensitivity information put in the archive (in a backward compatible way) and checked when the archive is loaded * Uses improved emulation of "select" call provided by Ocaml 3.11 under Windows (the GUI does not freeze as much during synchronization) * Upgraded to GPL version 3 and added copyright notice to documentation files. * Unison can sometimes fail to transfer a file, giving the unhelpful message "Destination updated during synchronization" even though the file has not been changed. This can be caused by programs that change either the file's contents *or* the file's extended attributes without changing its modification time. I'm not sure what is the best fix for this ãàit is not Unison's fault, but it makes Unison's behavior puzzling ãàbut at least Unison can be more helpful about suggesting a workaround (running once with 'fastcheck' set to false). The failure message has been changed to give this advice. * Text UI o During update detection, display status by updating a single line rather than generating a new line of output every so often. That should be less confusing. o In repeat mode, don't save the archives when there is no update. Indeed, in this mode, we should minimize the amount of work performed and it is unlikely that the archives have changed much. * Bugfixes o Fixed quotation of paths and names when writing to a preference file o Fixed bug resulting in slow performances when transferring a file using our rsync implementation from a 64-bit architecture to a 32-bit architecture. o Fixed bug in Lwt_unix.run which could make it fail with a Not_found exception (see [Not_found raised in tryCopyMovedFile] errors) o Properly deals with non-conformant AppleDouble files produced by Mac OS X. o Fixed bug that results in Unison missing ressource fork changes o Applied a patch from Karl M to make the GTK2 version build with OCaml 3.11 on Windows. o Added some extra debugging code to remote.ml to give more informative error messages when people encounter the longstanding "assert failed during file transfer" bug. o Applied patch from Antoine Reilles for NetBSD compilation o Resizing the update window vertically no longer moves the status label. Fix contributed by Pedro Melo. Changes since 2.31: * Minor fixes and improvements: o Ignore one hour differences when deciding whether a file may have been updated. This avoids slow update detection after daylight saving time changes under Windows. This makes Unison slightly more likely to miss an update, but it should be safe enough. o Fix a small bug that was affecting mainly windows users. We need to commit the archives at the end of the sync even if there are no updates to propagate because some files (in fact, if we've just switched to DST on windows, a LOT of files) might have new modtimes in the archive. (Changed the text UI only. It's less clear where to change the GUI.) o Don't delete the temp file when a transfer fails due to a fingerprint mismatch (so that we can have a look and see why!) We've also added more debugging code togive more informative error messages when we encounter the dreaded and longstanding "assert failed during file transfer" bug Changes since 2.27: * If Unison is interrupted during a directory transfer, it will now leave the partially transferred directory intact in a temporary location. (This maintains the invariant that new files/directories are transferred either completely or not at all.) The next time Unison is run, it will continue filling in this temporary directory, skipping transferring files that it finds are already there. * We've added experimental support for invoking an external file transfer tool for whole-file copies instead of Unison's built-in transfer protocol. Three new preferences have been added: o copyprog is a string giving the name (and command-line switches, if needed) of an external program that can be used to copy large files efficiently. By default, rsync is invoked, but other tools such as scp can be used instead by changing the value of this preference. (Although this is not its primary purpose, rsync is actually a pretty fast way of copying files that don't already exist on the receiving host.) For files that do already exist on (but that have been changed in one replica), Unison will always use its built-in implementation of the rsync algorithm. o Added a "copyprogrest" preference, so that we can give different command lines for invoking the external copy utility depending on whether a partially transferred file already exists or not. (Rsync doesn't seem to care about this, but other utilities may.) o copythreshold is an integer (-1 by default), indicating above what filesize (in megabytse the external copying utility specified by copyprog. Specifying 0 will cause ALL copies to use the external program; a negative number will prevent any files from using it. (Default is -1.) Thanks to Alan Schmitt for a huge amount of hacking and o an anonymous sponsor for suggesting and underwriting this extension. * Small improvements: o Added a new preference, dontchmod. By default, Unison uses the chmod system call to set the permission bits of files after it has copied them. Butin some circumstances (and under some operating systems), the chmod call always fails. Setting this preference completely prevents Unison from ever calling chmod. o Don't ignore files that look like backup files if the backuplocation preference set to central o Shortened the names of several preferences. The old names are also still supported, for backwards compatibility, but they do not appear in the documentation. o Lots of little documentation tidying. (In particular, preferences are separated into Basic and Advanced! This should hopefully make Unison a little more approachable for new users. o Unison can sometimes fail to transfer a file, giving the unhelpful message "Destination updated during synchronization" # * Further improvements to the OS X GUI (thanks to Alan Schmitt and Craig Federighi). # Very preliminary support for triggering Unison from an external filesystem-watching utility. The current implementation is very simple, not efficient, and almost completely untestedãàÇÏot ready for real users. But if someone wants to help improve it (e.g., by writing a filesystem watcher for your favorite OS), please make yourself known! On the Unison side, the new behavior is very simple: * use the text UI * start Unison with the command-line flag "-repeat FOO", where FOO is name of a file where Unison should look for notifications of changes * when it starts up, Unison will read the whole contents of this file (on both hosts), which should be a newline-separated list of paths (relative to the root of the synchronization) and synchronize just these paths, as if it had been started with the "-path=xxx" option for each one of them * when it finishes, it will sleep for a few seconds and then examine the watchfile again; if anything has been added, it will read the new paths, synchronize them, and go back to sleep * that's it! To use this to drive Unison "incrementally," just start it in this mode and start up a tool (on each host) to watch for new changes to the filesystem and append the appropriate paths to the watchfile. Hopefully such tools should not be too hard to write. # Bug fixes: * Fixed a bug that was causing new files to be created with permissions 0x600 instead of using a reasonable default (like 0x644), if the 'perms' flag was set to 0. (Bug reported by Ben Crowell.) * Follow maxthreads preference when transferring directories.
Revision 1.13 / (download) - annotate - [select for diffs], Fri Jul 25 20:03:03 2008 UTC (9 years, 4 months ago) by tonio
CVS Tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.12: +7 -7 lines
Diff to previous 1.12 (colored)
Update net/unison to 2.27.53 Enable full destdir support. Changes since 2.17: * Several small fixes to the GTK2 UI to make it work better under Windows * The backup functionality has been completely rewritten. The external interface has not changed, but numerous bugs, irregular behaviors, and cross-platform inconsistencies have been corrected. * Some important safety improvements: o Added a new mountpoint preference, which can be used to specify a path that must exist in both replicas at the end of update detection o The confirmation of ãà×Ãig deletesãàis now controlled by a boolean preference confirmbigdeletes. Default is true, which gives the same behavior as previously. (This functionality is at least partly superceded by the mountpoint preference, but it has been left in place in case it is useful to some people.) o If Unison is asked to ãà×Çollowãàa symbolic link but there is nothing at the other end of the link, it will now flag this path as an error, rather than treating the symlink itself as missing or deleted. This avoids a potentially dangerous situation where a followed symlink points to an external filesystem that might be offline when Unison is run (whereupon Unison would cheerfully delete the corresponding files in the other replica!). * Smaller changes: o Added forcepartial and preferpartial preferences, which behave like force and prefer but can be specified on a per-path basis. [Thanks to Alan Schmitt for this.] o A bare-bones self test feature was added, which runs unison through some of its paces and checks that the results are as expected. The coverage of the tests is still very limited, but the facility has already been very useful in debugging the new backup functionality (especially in exposing some subtle cross-platform issues). o Refined debugging code so that the verbosity of individual modules can be controlled separately. Instead of just putting '-debug verbose' on the command line, you can put '-debug update+', which causes all the extra messages in the Update module, but not other modules, to be printed. Putting '-debug verbose' causes all modules to print with maximum verbosity. o Removed mergebatch preference. (It never seemed very useful, and its semantics were confusing.) o Rewrote some of the merging functionality, for better cooperation with external Harmony instances. o Changed the temp file prefix from .# to .unison. o Compressed the output from the text user interface (particularly when run with the -terse flag) to make it easier to interpret the results when Unison is run several times in succession from a script. o Changed the order of arguments to the default diff command (so that the + and - annotations in diff's output are reversed). o Small fix to ctime (non-)handling in update detection under windows with fastcheck.
Revision 1.12 / (download) - annotate - [select for diffs], Tue Sep 27 14:46:08 2005 UTC (12 years, 2 months ago) by tonio
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, cwrapper
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (colored)
Update net/unison to 2.13.16 (Fix PR 31345) Update maintainer, i'm taking this one
Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 3 12:42:13 2005 UTC (12 years, 4 months ago) by tonio
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored)
update unison to the latest recommended stable version: 2.12.0 Main changelog entries: - Incompatible change: Archive format has changed. - Substantial reworking of the internal logic of the text UI - Finder flags now synchronized (for mac osx users) - Workaround for transferring large files using rsync. Approved by cube@
Revision 1.10 / (download) - annotate - [select for diffs], Sat Jul 30 21:57:42 2005 UTC (12 years, 4 months ago) by rillig
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)
Make pty.c always include <errno.h> in addition to <sys/errno.h>. Otherwise errno may be undefined.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Apr 24 12:48:43 2005 UTC (12 years, 7 months ago) by adrianp
CVS Tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.8: +7 -7 lines
Diff to previous 1.8 (colored)
- Update unison to 2.10.2 - Lots of changes, in summary: - out of the box OS X and OpenBSD support - limit the number of simultaneous file transfers - support for ocaml >3.07 - Files larger than 2Gb are now supported - Major tidying and enhancement of 'merge' functionality
Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 24 12:14:06 2005 UTC (12 years, 9 months ago) by agc
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)
Add RMD160 digests.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 4 22:54:52 2005 UTC (12 years, 10 months ago) by adrianp
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)
- Patch unison so it now works with ocaml 3.08.2 - Bump to nb4 - Thanks to Antoine Reilles for supplying the patch
Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 29 23:52:04 2003 UTC (14 years, 5 months ago) by jtb
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)
Remove build time dependency on bash. Build with posix threads if supported ocaml.
Revision 126.96.36.199 / (download) - annotate - [select for diffs], Sun Jun 23 18:57:16 2002 UTC (15 years, 5 months ago) by jlam
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)
Merge from pkgsrc-current to buildlink2 branch.
Revision 1.5 / (download) - annotate - [select for diffs], Sat Jun 1 04:41:30 2002 UTC (15 years, 6 months ago) by deberg
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6-1-base, netbsd-1-6-1, netbsd-1-6, buildlink2-base
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)
update to unison 2.9.1
Revision 1.4 / (download) - annotate - [select for diffs], Thu Jan 17 13:19:45 2002 UTC (15 years, 10 months ago) by dmcmahill
CVS Tags: netbsd-1-5-PATCH003
Branch point for: buildlink2
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)
make DIST_SUBDIR include the package version since the source tarball has no version number. Will hopefully avoid at least some checksum complaints.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 28 23:54:36 2001 UTC (16 years, 2 months ago) by hubertf
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)
Update to unison-2.7.7. Changes: * Many changes to the internal data structures (not backward compatible!) * Centralized backups * Lots of bug fixes * Many other feature enhancements Requested by Ben Wong <email@example.com>. While there, fix the dependency on ocaml, and install some docs. PACKAGE DEVELOPERS: please don't just include binaries into pkgs!
Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 21 11:23:38 2001 UTC (16 years, 7 months ago) by wiz
CVS Tags: netbsd-1-5-PATCH001
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)
Move to sha1 checksum, and/or add distfile sizes.
Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 17 11:54:28 2001 UTC (16 years, 7 months ago) by agc
+ move the distfile digest/checksum value from files/md5 to distinfo + move the patch digest/checksum values from files/patch-sum to distinfo
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.