head 1.6; access; symbols pkgsrc-2017Q3:1.5.0.24 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.20 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.18 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.16 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.14 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.12 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.10 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.8 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.6 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.4 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.2 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.4.0.18 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.16 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.14 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.12 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.10 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.8 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.6 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.4 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.2.0.2 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.1.0.8 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.6 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.4 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.2 pkgsrc-2011Q3-base:1.1; locks; strict; comment @# @; 1.6 date 2017.11.14.13.03.35; author jaapb; state dead; branches; next 1.5; commitid 6gBfQDkuyp5gk0fA; 1.5 date 2015.01.06.12.58.37; author wiz; state Exp; branches; next 1.4; commitid hLVnLCglOUuMPX4y; 1.4 date 2012.12.09.15.02.51; author wiz; state Exp; branches; next 1.3; 1.3 date 2012.10.13.09.05.11; author wiz; state Exp; branches; next 1.2; 1.2 date 2012.09.14.19.14.53; author jaapb; state Exp; branches; next 1.1; 1.1 date 2011.08.03.12.50.43; author is; state Exp; branches; next ; desc @@ 1.6 log @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. @ text @$NetBSD: patch-Makefile.OCaml,v 1.5 2015/01/06 12:58:37 wiz Exp $ Correct lablgtk paths for 2.16, and use ocamlopt.opt for compilation --- Makefile.OCaml.orig 2014-09-28 16:48:05.000000000 +0000 +++ Makefile.OCaml @@@@ -75,8 +75,8 @@@@ OCAMLLIBDIR=$(shell ocamlc -v | tail -1 # # This should be set to an appropriate value automatically, depending # on whether the lablgtk library is available -LABLGTKLIB=$(OCAMLLIBDIR)/lablgtk -LABLGTK2LIB=$(OCAMLLIBDIR)/lablgtk2 +LABLGTKLIB=$(OCAMLLIBDIR)/site-lib/lablgtk +LABLGTK2LIB=$(OCAMLLIBDIR)/site-lib/lablgtk2 ##BCP [3/2007]: Removed temporarily, since the OSX UI is not working well ## at the moment and we don't want to confuse people by building it by default ifeq ($(OSARCH),osx) @@@@ -292,14 +292,14 @@@@ endif # Gtk GUI ifeq ($(UISTYLE), gtk) - CAMLFLAGS+=-I +lablgtk + CAMLFLAGS+=-I $(OCAMLLIBDIR)/site-lib/lablgtk OCAMLOBJS+=pixmaps.cmo uigtk.cmo linkgtk.cmo OCAMLLIBS+=lablgtk.cma endif # Gtk2 GUI ifeq ($(UISTYLE), gtk2) - CAMLFLAGS+=-I +lablgtk2 + CAMLFLAGS+=-I $(OCAMLLIBDIR)/site-lib/lablgtk2 OCAMLOBJS+=pixmaps.cmo uigtk2.cmo linkgtk2.cmo OCAMLLIBS+=lablgtk.cma endif @@@@ -384,7 +384,7 @@@@ ifeq ($(PROFILING), true) else OCAMLC=$(EXEC_PREFIX)ocamlc endif -OCAMLOPT=$(EXEC_PREFIX)ocamlopt +OCAMLOPT=$(EXEC_PREFIX)ocamlopt.opt ifeq ($(NATIVE), true) ## Set up for native code compilation @ 1.5 log @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ányossy Knoblauch Artúr 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 @ text @d1 1 a1 1 $NetBSD: patch-Makefile.OCaml,v 1.4 2012/12/09 15:02:51 wiz Exp $ @ 1.4 log @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). @ text @d1 1 a1 1 $NetBSD: patch-Makefile.OCaml,v 1.3 2012/10/13 09:05:11 wiz Exp $ d5 1 a5 1 --- Makefile.OCaml.orig 2011-04-16 20:35:38.000000000 +0000 d7 1 a7 1 @@@@ -71,8 +71,8 @@@@ OCAMLLIBDIR=$(shell ocamlc -v | tail -1 d18 1 a18 1 @@@@ -285,14 +285,14 @@@@ endif d35 1 a35 1 @@@@ -364,7 +364,7 @@@@ ifeq ($(PROFILING), true) d37 1 a37 1 OCAMLC=ocamlc d39 2 a40 2 -OCAMLOPT=ocamlopt +OCAMLOPT=ocamlopt.opt @ 1.3 log @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. @ text @d1 1 a1 1 $NetBSD: patch-Makefile.OCaml,v 1.2 2012/09/14 19:14:53 jaapb Exp $ d4 1 a17 9 @@@@ -217,7 +217,7 @@@@ OCAMLOBJS += \ lwt/pqueue.cmo lwt/lwt.cmo lwt/lwt_util.cmo \ lwt/$(SYSTEM)/lwt_unix_impl.cmo lwt/lwt_unix.cmo \ \ - case.cmo pred.cmo uutil.cmo \ + uutil.cmo case.cmo pred.cmo \ fileutil.cmo name.cmo path.cmo fspath.cmo fs.cmo fingerprint.cmo \ abort.cmo osx.cmo external.cmo \ props.cmo fileinfo.cmo os.cmo lock.cmo clroot.cmo common.cmo \ @ 1.2 log @Corrected build to work with x11/lablgtk. Corrected build that compiled parts the package during the install phase. Added comments to patches. @ text @d1 1 a1 1 $NetBSD$ d17 9 @ 1.1 log @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. @ text @d3 1 d6 28 @