pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net net/unison2.48: Remove (as not useful given wire p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/665932a749ac
branches:  trunk
changeset: 417151:665932a749ac
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Tue Nov 05 02:21:22 2019 +0000

description:
net/unison2.48: Remove (as not useful given wire protocol breaks)

As proposed on pkgsrc-users with no comments, and concurrence by wiz@
with my analysis that this cannot work to interoperate with old
software.  Note that unison has multiple versions only to deal with
wire protocol breaks that happen every version; without that there
would just be a single recent unison version.

In addition to being old and unused, I believe that 2.48 from pkgsrc
(built now with pkgsrc's ocaml) cannot work to interoperate with other
systems that still have 2.48, because pkgsrc's ocaml version has an
incompatible serialization format, and the unison wire protocol is
effectively the combination of the unison version and the ocaml
serialization version.

(Separate from 2.32 and 2.40 removal to ease separate reverting,
should it be necessary.)

diffstat:

 net/Makefile                                               |   3 +-
 net/unison2.48/ALTERNATIVES                                |   1 -
 net/unison2.48/DESCR                                       |  12 --
 net/unison2.48/Makefile                                    |  64 --------------
 net/unison2.48/PLIST                                       |   9 -
 net/unison2.48/distinfo                                    |  13 --
 net/unison2.48/options.mk                                  |  15 ---
 net/unison2.48/patches/patch-src_Makefile                  |  41 --------
 net/unison2.48/patches/patch-src_Makefile.OCaml            |  44 ---------
 net/unison2.48/patches/patch-src_files.ml                  |  14 ---
 net/unison2.48/patches/patch-src_mkProjectInfo.ml          |  14 ---
 net/unison2.48/patches/patch-src_recon.ml                  |  16 ---
 net/unison2.48/patches/patch-src_system_system__generic.ml |  14 ---
 net/unison2.48/patches/patch-src_uigtk2.ml                 |  14 ---
 14 files changed, 1 insertions(+), 273 deletions(-)

diffs (truncated from 340 to 300 lines):

diff -r f1b6f6986168 -r 665932a749ac net/Makefile
--- a/net/Makefile      Tue Nov 05 01:03:13 2019 +0000
+++ b/net/Makefile      Tue Nov 05 02:21:22 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1275 2019/10/31 16:58:03 gdt Exp $
+# $NetBSD: Makefile,v 1.1276 2019/11/05 02:21:22 gdt Exp $
 #
 
 COMMENT=       Networking tools
@@ -895,7 +895,6 @@
 SUBDIR+=       unbound
 SUBDIR+=       unfs3
 SUBDIR+=       unifi
-SUBDIR+=       unison2.48
 SUBDIR+=       unison2.51
 SUBDIR+=       unworkable
 SUBDIR+=       upclient
diff -r f1b6f6986168 -r 665932a749ac net/unison2.48/ALTERNATIVES
--- a/net/unison2.48/ALTERNATIVES       Tue Nov 05 01:03:13 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-bin/unison @PREFIX@/bin/unison-2.48
diff -r f1b6f6986168 -r 665932a749ac net/unison2.48/DESCR
--- a/net/unison2.48/DESCR      Tue Nov 05 01:03:13 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-Unison is a file-synchronization tool for Unix and Windows. It allows
-two replicas of a collection of files and directories to be stored
-on different hosts (or different disks on the same host), modified
-separately, and then brought up to date by propagating the changes
-in each replica to the other.
-
-This package contains the no-longer-maintained 2.48 release, because
-unison does not interoperate across versions.  It installs the binary
-as unison-2.48 so that it can be installed at the same time as
-../unison.  Note that peers will need to use "-addversionno" to use
-this version as a remote.
-
diff -r f1b6f6986168 -r 665932a749ac net/unison2.48/Makefile
--- a/net/unison2.48/Makefile   Tue Nov 05 01:03:13 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-# $NetBSD: Makefile,v 1.4 2019/11/03 11:45:56 rillig Exp $
-
-GITHUB_TAG=    v${PKGVERSION_NOREV}
-DISTNAME=      unison-2.48.15v4
-PKGNAME=       ${DISTNAME:S/unison/unison2.48/}
-PKGREVISION=   6
-CATEGORIES=    net
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=bcpierce00/}
-
-MAINTAINER=    gdt%NetBSD.org@localhost
-HOMEPAGE=      http://www.cis.upenn.edu/~bcpierce/unison/
-COMMENT=       File-synchronization tool (2.48 branch)
-LICENSE=       gnu-gpl-v3
-
-# File "/data/scratch/net/unison/work/src/fswatch.mli", line 18, characters 17-29:
-# Error: Unbound module Prefs
-MAKE_JOBS_SAFE=        no
-
-.if (${MACHINE_ARCH} == "arm")
-BUILDLINK_ABI_DEPENDS.ocaml+=          ocaml>=3.12.0nb2
-.else
-BUILDLINK_ABI_DEPENDS.ocaml+=          ocaml>=3.11.2
-.endif
-BUILDLINK_API_DEPENDS.ocaml-lablgtk+=  ocaml-lablgtk>=2.16.0
-
-WRKSRC=                ${WRKDIR}/${DISTNAME}
-USE_TOOLS+=    gmake
-MAKE_FLAGS+=   CFLAGS="" -C src
-MAKE_ENV+=     HOME=${WRKDIR:Q}
-
-.include "options.mk"
-.include "../../mk/bsd.prefs.mk"
-
-.include "../../mk/ocaml.mk"
-
-.if (${OCAML_USE_OPT_COMPILER} == "true")
-MAKE_FLAGS+=   NATIVE=true
-.else
-MAKE_FLAGS+=   NATIVE=false
-.endif
-
-.include "../../mk/pthread.buildlink3.mk"
-
-.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} != "none")
-MAKE_FLAGS+=   THREADS=true
-.endif
-
-BUILD_TARGET=  buildexecutable
-
-INSTALLATION_DIRS=     bin
-INSTALLATION_DIRS+=    share/doc/unison-2.48
-
-post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/unison ${DESTDIR}${PREFIX}/bin/unison-2.48
-       ${INSTALL_MAN} ${WRKSRC}/src/BUGS.txt ${DESTDIR}${PREFIX}/share/doc/unison-2.48
-       ${INSTALL_MAN} ${WRKSRC}/src/CONTRIB ${DESTDIR}${PREFIX}/share/doc/unison-2.48
-       ${INSTALL_MAN} ${WRKSRC}/src/COPYING ${DESTDIR}${PREFIX}/share/doc/unison-2.48
-       ${INSTALL_MAN} ${WRKSRC}/src/NEWS ${DESTDIR}${PREFIX}/share/doc/unison-2.48
-       ${INSTALL_MAN} ${WRKSRC}/src/README ${DESTDIR}${PREFIX}/share/doc/unison-2.48
-       ${INSTALL_MAN} ${WRKSRC}/src/ROADMAP.txt ${DESTDIR}${PREFIX}/share/doc/unison-2.48
-       ${INSTALL_MAN} ${WRKSRC}/src/TODO.txt ${DESTDIR}${PREFIX}/share/doc/unison-2.48
-
-.include "../../lang/ocaml/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r f1b6f6986168 -r 665932a749ac net/unison2.48/PLIST
--- a/net/unison2.48/PLIST      Tue Nov 05 01:03:13 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2019/07/29 18:07:10 wiz Exp $
-bin/unison-2.48
-share/doc/unison-2.48/BUGS.txt
-share/doc/unison-2.48/CONTRIB
-share/doc/unison-2.48/COPYING
-share/doc/unison-2.48/NEWS
-share/doc/unison-2.48/README
-share/doc/unison-2.48/ROADMAP.txt
-share/doc/unison-2.48/TODO.txt
diff -r f1b6f6986168 -r 665932a749ac net/unison2.48/distinfo
--- a/net/unison2.48/distinfo   Tue Nov 05 01:03:13 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: distinfo,v 1.1 2019/07/29 18:07:10 wiz Exp $
-
-SHA1 (unison-2.48.15v4.tar.gz) = 249cc0068ab62478c813189b2ac1426a3ff5edae
-RMD160 (unison-2.48.15v4.tar.gz) = 6480dfb05d6cefe20ebffa64eb6bd50c3aa7aa97
-SHA512 (unison-2.48.15v4.tar.gz) = 658b37fd18d8dee517e88ad707f7e80c1731542a0e07e6a8d56e6598e38bcf405cdb8db224274bf9b3319ed87efc45057d1f79e6437c4ca53afe9cec4afe6c78
-Size (unison-2.48.15v4.tar.gz) = 1911781 bytes
-SHA1 (patch-src_Makefile) = 19cf0b79995c7848bc02d220267be4f3a3e4b59b
-SHA1 (patch-src_Makefile.OCaml) = deba98414926fc73b229a071a6f061b7bdb8a458
-SHA1 (patch-src_files.ml) = 3a15b35f6a5e5242e4c3e198dabc38ca89bbdbe0
-SHA1 (patch-src_mkProjectInfo.ml) = a1908748dbe4c1db0e2b012e73fe46c6bca30348
-SHA1 (patch-src_recon.ml) = 8aa1b2a4109fe183eedf209a91efc3f2164a3b3a
-SHA1 (patch-src_system_system__generic.ml) = e9c8d638739d35e046efe5f28df6fa8cb4c46a48
-SHA1 (patch-src_uigtk2.ml) = a9ef837e0289ba2d209a21df3102ed0267a52f9d
diff -r f1b6f6986168 -r 665932a749ac net/unison2.48/options.mk
--- a/net/unison2.48/options.mk Tue Nov 05 01:03:13 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-# $NetBSD: options.mk,v 1.1 2019/07/29 18:07:10 wiz Exp $
-
-PKG_OPTIONS_VAR=       PKG_OPTIONS.unison
-PKG_SUPPORTED_OPTIONS= lablgtk
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mlablgtk)
-MAKE_FLAGS+=   UISTYLE=gtk2
-DEPENDS+=      font-schumacher-misc>=1.0:../../fonts/font-schumacher-misc
-.include "../../x11/ocaml-lablgtk/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
-.else
-MAKE_FLAGS+=   UISTYLE=text
-.endif
diff -r f1b6f6986168 -r 665932a749ac net/unison2.48/patches/patch-src_Makefile
--- a/net/unison2.48/patches/patch-src_Makefile Tue Nov 05 01:03:13 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-$NetBSD: patch-src_Makefile,v 1.1 2019/07/29 18:07:10 wiz Exp $
-
-Correct installation procedure
---- src/Makefile.orig  2015-10-05 18:14:23.000000000 +0000
-+++ src/Makefile
-@@ -49,7 +49,7 @@ all:: INSTALL
- 
- INSTALL: $(NAME)$(EXEC_EXT)
- # file isn't made for OS X, so check that it's there first
--      (if [ -f $(NAME) ]; then ./$(NAME) -doc install > INSTALLATION; fi)
-+##    (if [ -f $(NAME) ]; then ./$(NAME) -doc install > INSTALLATION; fi)
- 
- ########################################################################
- ## Miscellaneous developer-only switches
-@@ -78,7 +78,7 @@ include Makefile.OCaml
- ######################################################################
- # Installation
- 
--INSTALLDIR = $(HOME)/bin/
-+INSTALLDIR = ${DESTDIR}$(PREFIX)/bin/
- 
- # This has two names because on OSX the file INSTALL shadows the target 'install'!
- install: doinstall
-@@ -90,9 +90,7 @@ text: 
-       $(MAKE) -C .. text
- 
- doinstall: $(NAME)$(EXEC_EXT)
--      -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$)
-       cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)
--      cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(MAJORVERSION)$(EXEC_EXT)
- 
- 
- ######################################################################
-@@ -348,7 +346,6 @@ tags:
-           $(ETAGS) *.mli */*.mli *.ml */*.ml */*.m *.c */*.c *.txt \
-           ; fi 
- 
--all:: TAGS
- 
- TAGS:
-       $(MAKE) tags
diff -r f1b6f6986168 -r 665932a749ac net/unison2.48/patches/patch-src_Makefile.OCaml
--- a/net/unison2.48/patches/patch-src_Makefile.OCaml   Tue Nov 05 01:03:13 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-$NetBSD: patch-src_Makefile.OCaml,v 1.1 2019/07/29 18:07:10 wiz Exp $
-
-Correct lablgtk paths for 2.16, and use ocamlopt.opt for compilation
-Add -unsafe-string for OCaml >= 4.06.
-
---- src/Makefile.OCaml.orig    2015-10-05 18:14:23.000000000 +0000
-+++ src/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
diff -r f1b6f6986168 -r 665932a749ac net/unison2.48/patches/patch-src_files.ml
--- a/net/unison2.48/patches/patch-src_files.ml Tue Nov 05 01:03:13 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_files.ml,v 1.1 2019/07/29 18:07:10 wiz Exp $
-
-Replace deprecated sort function
---- src/files.ml.orig  2018-01-27 21:12:13.000000000 +0000
-+++ src/files.ml
-@@ -734,7 +734,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
diff -r f1b6f6986168 -r 665932a749ac net/unison2.48/patches/patch-src_mkProjectInfo.ml
--- a/net/unison2.48/patches/patch-src_mkProjectInfo.ml Tue Nov 05 01:03:13 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_mkProjectInfo.ml,v 1.1 2019/07/29 18:07:10 wiz Exp $
-
-Add revision string for correct version detection
---- src/mkProjectInfo.ml.orig  2015-10-05 18:14:23.000000000 +0000
-+++ src/mkProjectInfo.ml
-@@ -42,7 +42,7 @@ let pointVersionOrigin = 533 (* Revision
- (* ---------------------------------------------------------------------- *)
- (* You shouldn't need to edit below. *)
- 
--let revisionString = "$Rev$";;
-+let revisionString = "$Rev: 548$";;
- 
- let pointVersion = 
-   Scanf.sscanf revisionString "$Rev: %d " (fun x -> x) - pointVersionOrigin;;
diff -r f1b6f6986168 -r 665932a749ac net/unison2.48/patches/patch-src_recon.ml
--- a/net/unison2.48/patches/patch-src_recon.ml Tue Nov 05 01:03:13 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-src_recon.ml,v 1.1 2019/07/29 18:07:10 wiz Exp $
-
-Replace deprecated sort function
---- src/recon.ml.orig  2018-01-27 21:12:13.000000000 +0000
-+++ src/recon.ml
-@@ -661,8 +661,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



Home | Main Index | Thread Index | Old Index