pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/unison2.40



Module Name:    pkgsrc
Committed By:   pho
Date:           Fri Oct 18 09:59:26 UTC 2019

Modified Files:
        pkgsrc/net/unison2.40: Makefile PLIST distinfo
        pkgsrc/net/unison2.40/patches: patch-system_system__generic.ml
Added Files:
        pkgsrc/net/unison2.40: ALTERNATIVES
        pkgsrc/net/unison2.40/patches: patch-files.ml patch-recon.ml

Log Message:
Rename bin/unison to bin/unison-2.40 so it can co-exist with other versions of unison

Also add ALTERNATIVES file.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/unison2.40/ALTERNATIVES
cvs rdiff -u -r1.41 -r1.42 pkgsrc/net/unison2.40/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/unison2.40/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/unison2.40/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/unison2.40/patches/patch-files.ml \
    pkgsrc/net/unison2.40/patches/patch-recon.ml
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/net/unison2.40/patches/patch-system_system__generic.ml

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/unison2.40/Makefile
diff -u pkgsrc/net/unison2.40/Makefile:1.41 pkgsrc/net/unison2.40/Makefile:1.42
--- pkgsrc/net/unison2.40/Makefile:1.41 Sun Jul 21 22:25:35 2019
+++ pkgsrc/net/unison2.40/Makefile      Fri Oct 18 09:59:26 2019
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2019/07/21 22:25:35 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2019/10/18 09:59:26 pho Exp $
 
 DISTNAME=      unison-2.40.128
-PKGREVISION=   39
+PKGREVISION=   40
 CATEGORIES=    net
 MASTER_SITES=  http://www.seas.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/
 
@@ -41,16 +41,17 @@ MAKE_FLAGS+=        THREADS=true
 BUILD_TARGET=  buildexecutable
 
 INSTALLATION_DIRS=     bin
-INSTALLATION_DIRS+=    share/doc/unison
+INSTALLATION_DIRS+=    share/doc/unison-2.40
 
 post-install:
-       ${INSTALL_MAN} ${WRKSRC}/BUGS.txt ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/CONTRIB ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/NEWS ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/ROADMAP.txt ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/TODO.txt ${DESTDIR}${PREFIX}/share/doc/unison
+       ${MV} ${DESTDIR}${PREFIX}/bin/unison ${DESTDIR}${PREFIX}/bin/unison-2.40
+       ${INSTALL_MAN} ${WRKSRC}/BUGS.txt ${DESTDIR}${PREFIX}/share/doc/unison-2.40
+       ${INSTALL_MAN} ${WRKSRC}/CONTRIB ${DESTDIR}${PREFIX}/share/doc/unison-2.40
+       ${INSTALL_MAN} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/unison-2.40
+       ${INSTALL_MAN} ${WRKSRC}/NEWS ${DESTDIR}${PREFIX}/share/doc/unison-2.40
+       ${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/unison-2.40
+       ${INSTALL_MAN} ${WRKSRC}/ROADMAP.txt ${DESTDIR}${PREFIX}/share/doc/unison-2.40
+       ${INSTALL_MAN} ${WRKSRC}/TODO.txt ${DESTDIR}${PREFIX}/share/doc/unison-2.40
 
 .include "../../lang/ocaml/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/unison2.40/PLIST
diff -u pkgsrc/net/unison2.40/PLIST:1.1 pkgsrc/net/unison2.40/PLIST:1.2
--- pkgsrc/net/unison2.40/PLIST:1.1     Tue Jan  6 12:57:03 2015
+++ pkgsrc/net/unison2.40/PLIST Fri Oct 18 09:59:26 2019
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2015/01/06 12:57:03 wiz Exp $
-bin/unison
-share/doc/unison/BUGS.txt
-share/doc/unison/CONTRIB
-share/doc/unison/COPYING
-share/doc/unison/NEWS
-share/doc/unison/README
-share/doc/unison/ROADMAP.txt
-share/doc/unison/TODO.txt
+@comment $NetBSD: PLIST,v 1.2 2019/10/18 09:59:26 pho Exp $
+bin/unison-2.40
+share/doc/unison-2.40/BUGS.txt
+share/doc/unison-2.40/CONTRIB
+share/doc/unison-2.40/COPYING
+share/doc/unison-2.40/NEWS
+share/doc/unison-2.40/README
+share/doc/unison-2.40/ROADMAP.txt
+share/doc/unison-2.40/TODO.txt

Index: pkgsrc/net/unison2.40/distinfo
diff -u pkgsrc/net/unison2.40/distinfo:1.5 pkgsrc/net/unison2.40/distinfo:1.6
--- pkgsrc/net/unison2.40/distinfo:1.5  Wed Mar 14 11:16:14 2018
+++ pkgsrc/net/unison2.40/distinfo      Fri Oct 18 09:59:26 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2018/03/14 11:16:14 dholland Exp $
+$NetBSD: distinfo,v 1.6 2019/10/18 09:59:26 pho Exp $
 
 SHA1 (unison-2.40.128.tar.gz) = 392a573cbf331d71cac8ccb32f5440dceec88470
 RMD160 (unison-2.40.128.tar.gz) = ad3f4191af957aef1084e3ea9b99c17777e35596
@@ -10,6 +10,7 @@ SHA1 (patch-bytearray.ml) = efe1e039f9f6
 SHA1 (patch-bytearray.mli) = a93299b6880159c66b2e3feed2db10b53a99489f
 SHA1 (patch-bytearray__stubs.c) = 6ad17f3c6a581b749f1c6d52149377f908179290
 SHA1 (patch-external.ml) = 11198c37a72ee552e15f394a7f3b005ef1b4d392
+SHA1 (patch-files.ml) = 403162873ece0702eb992f9deffd9d57c3609069
 SHA1 (patch-fileutil.ml) = cfa84095f6a3d249d483fcf6aaeb18083ee3593d
 SHA1 (patch-fingerprint.ml) = 709e0ee1fa3ccdc22ac00421d0538e37f35c31b1
 SHA1 (patch-fpcache.ml) = 595791d3f9f40f058c449a361a6439088eed3121
@@ -18,8 +19,9 @@ SHA1 (patch-lwt_generic_lwt__unix__impl.
 SHA1 (patch-lwt_lwt__unix.mli) = 22875429a5fb31835f7c8c0a27473ea4d3030456
 SHA1 (patch-osx.ml) = a7bd0c11c7a49ec86fa277a128c6a887ac37f0b7
 SHA1 (patch-path.ml) = f48a08d01e2bfeff405d9a882cf6a4ab30bd48f4
+SHA1 (patch-recon.ml) = a88f6285db139c6934f941432ec923ba5979ccaf
 SHA1 (patch-remote.ml) = e1f6126be4eb784f1b37f61dda2068821d81ff11
-SHA1 (patch-system_system__generic.ml) = 02d4d678b8868a7237b0aecc3f4add74e1011fd0
+SHA1 (patch-system_system__generic.ml) = 08654e51578982c9c0814aaf89d58ac2155d8f56
 SHA1 (patch-terminal.ml) = f3c98c01361be18c97552037dc3b703419251f46
 SHA1 (patch-test.ml) = 989c23bb359fef8e8cee7df0f6cc0614b386f954
 SHA1 (patch-transfer.ml) = 4f7f2eb1621010a05a629809bb6c543a4a6e65af

Index: pkgsrc/net/unison2.40/patches/patch-system_system__generic.ml
diff -u pkgsrc/net/unison2.40/patches/patch-system_system__generic.ml:1.1 pkgsrc/net/unison2.40/patches/patch-system_system__generic.ml:1.2
--- pkgsrc/net/unison2.40/patches/patch-system_system__generic.ml:1.1   Fri Jul 14 12:59:23 2017
+++ pkgsrc/net/unison2.40/patches/patch-system_system__generic.ml       Fri Oct 18 09:59:26 2019
@@ -1,7 +1,18 @@
-$NetBSD: patch-system_system__generic.ml,v 1.1 2017/07/14 12:59:23 joerg Exp $
+$NetBSD: patch-system_system__generic.ml,v 1.2 2019/10/18 09:59:26 pho Exp $
 
---- system/system_generic.ml.orig      2017-07-12 22:40:13.071158899 +0000
+Needed for compatibility with OCaml 4.08
+
+--- system/system_generic.ml.orig      2010-04-15 17:29:31.000000000 +0000
 +++ system/system_generic.ml
+@@ -47,7 +47,7 @@ let open_out_gen = open_out_gen
+ let chmod = Unix.chmod
+ let chown = Unix.chown
+ let utimes = Unix.utimes
+-let link = Unix.link
++let link s d = Unix.link s d
+ let openfile = Unix.openfile
+ let opendir f =
+   let h = Unix.opendir f in
 @@ -57,7 +57,7 @@ let opendir f =
  let readdir = Unix.readdir
  let closedir = Unix.closedir

Added files:

Index: pkgsrc/net/unison2.40/ALTERNATIVES
diff -u /dev/null pkgsrc/net/unison2.40/ALTERNATIVES:1.1
--- /dev/null   Fri Oct 18 09:59:26 2019
+++ pkgsrc/net/unison2.40/ALTERNATIVES  Fri Oct 18 09:59:26 2019
@@ -0,0 +1 @@
+bin/unison @PREFIX@/bin/unison-2.40

Index: pkgsrc/net/unison2.40/patches/patch-files.ml
diff -u /dev/null pkgsrc/net/unison2.40/patches/patch-files.ml:1.1
--- /dev/null   Fri Oct 18 09:59:26 2019
+++ pkgsrc/net/unison2.40/patches/patch-files.ml        Fri Oct 18 09:59:26 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-files.ml,v 1.1 2019/10/18 09:59:26 pho Exp $
+
+Replace deprecated sort function
+
+--- files.ml.orig      2010-04-15 17:29:31.000000000 +0000
++++ files.ml
+@@ -679,7 +679,7 @@ let get_files_in_directory dir =
+   with End_of_file ->
+     dirh.System.closedir ()
+   end;
+-  Sort.list (<) !files
++  List.sort String.compare !files
+ 
+ let ls dir pattern =
+   Util.convertUnixErrorsToTransient
Index: pkgsrc/net/unison2.40/patches/patch-recon.ml
diff -u /dev/null pkgsrc/net/unison2.40/patches/patch-recon.ml:1.1
--- /dev/null   Fri Oct 18 09:59:26 2019
+++ pkgsrc/net/unison2.40/patches/patch-recon.ml        Fri Oct 18 09:59:26 2019
@@ -0,0 +1,17 @@
+$NetBSD: patch-recon.ml,v 1.1 2019/10/18 09:59:26 pho Exp $
+
+Replace deprecated sort function
+
+--- recon.ml.orig      2010-10-08 15:44:59.000000000 +0000
++++ recon.ml
+@@ -622,8 +622,8 @@ let rec reconcile
+ 
+ (* Sorts the paths so that they will be displayed in order                   *)
+ let sortPaths pathUpdatesList =
+-  Sort.list
+-    (fun (p1, _) (p2, _) -> Path.compare p1 p2 <= 0)
++  List.sort
++    (fun (p1, _) (p2, _) -> Path.compare p1 p2)
+     pathUpdatesList
+ 
+ let rec enterPath p1 p2 t =



Home | Main Index | Thread Index | Old Index