pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net net/unison*: Rename unison2.51 to unison



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63bda63cc394
branches:  trunk
changeset: 375382:63bda63cc394
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Mar 13 15:07:13 2022 +0000

description:
net/unison*: Rename unison2.51 to unison

During the 2.51 branch, upstream decided that unison will have
backwards compatibility, so that there is no longer any reason to run
old versions.  With 2.52, not only can it interop with 2.51 (and
2.48!), but it does not need to have matching ocaml version when
interoperating with other 2.52.x or newer.  Thus, unison will now have
a single version in pkgsrc, and this is expected to continue.

diffstat:

 net/Makefile                              |   4 +-
 net/unison/DESCR                          |   5 +++
 net/unison/Makefile                       |  51 +++++++++++++++++++++++++++++++
 net/unison/PLIST                          |   8 ++++
 net/unison/distinfo                       |   6 +++
 net/unison/options.mk                     |  17 ++++++++++
 net/unison/patches/patch-src_Makefile     |  33 ++++++++++++++++++++
 net/unison2.51/DESCR                      |   8 ----
 net/unison2.51/Makefile                   |  51 -------------------------------
 net/unison2.51/PLIST                      |   8 ----
 net/unison2.51/distinfo                   |   6 ---
 net/unison2.51/options.mk                 |  17 ----------
 net/unison2.51/patches/patch-src_Makefile |  33 --------------------
 13 files changed, 122 insertions(+), 125 deletions(-)

diffs (truncated from 310 to 300 lines):

diff -r 536cee4edb5b -r 63bda63cc394 net/Makefile
--- a/net/Makefile      Sun Mar 13 15:07:03 2022 +0000
+++ b/net/Makefile      Sun Mar 13 15:07:13 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1445 2022/02/23 16:57:13 pho Exp $
+# $NetBSD: Makefile,v 1.1446 2022/03/13 15:07:13 gdt Exp $
 #
 
 COMMENT=       Networking tools
@@ -979,8 +979,8 @@
 SUBDIR+=       unbound
 SUBDIR+=       unfs3
 SUBDIR+=       unifi
+SUBDIR+=       unison
 SUBDIR+=       unison-snapshot
-SUBDIR+=       unison2.51
 SUBDIR+=       unworkable
 SUBDIR+=       upclient
 SUBDIR+=       upnpinspector
diff -r 536cee4edb5b -r 63bda63cc394 net/unison/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unison/DESCR  Sun Mar 13 15:07:13 2022 +0000
@@ -0,0 +1,5 @@
+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.
diff -r 536cee4edb5b -r 63bda63cc394 net/unison/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unison/Makefile       Sun Mar 13 15:07:13 2022 +0000
@@ -0,0 +1,51 @@
+       # $NetBSD: Makefile,v 1.136 2022/03/13 15:07:13 gdt Exp $
+
+DISTNAME=      unison-2.52.0
+#PKGREVISION=  0
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=bcpierce00/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    gdt%NetBSD.org@localhost
+HOMEPAGE=      https://www.cis.upenn.edu/~bcpierce/unison/
+COMMENT=       File-synchronization tool
+LICENSE=       gnu-gpl-v3
+
+USE_TOOLS+=    gmake bash
+MAKE_FLAGS+=   CFLAGS=""
+MAKE_ENV+=     HOME=${WRKDIR:Q}
+
+.include "../../mk/ocaml.mk"
+
+.if (${OCAML_USE_OPT_COMPILER} == "yes")
+MAKE_FLAGS+=   NATIVE=true
+.else
+MAKE_FLAGS+=   NATIVE=false
+.endif
+
+# bsd.prefs.mk, included also by options, must be after ocaml to get
+# _PKGSRC_MKPIE set correctly.
+.include "options.mk"
+.include "../../mk/bsd.prefs.mk"
+
+TEST_TARGET=           test
+
+INSTALLATION_DIRS=     bin
+INSTALLATION_DIRS+=    share/doc/unison
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/unison ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/src/CONTRIB ${DESTDIR}${PREFIX}/share/doc/unison
+       ${INSTALL_MAN} ${WRKSRC}/src/COPYING ${DESTDIR}${PREFIX}/share/doc/unison
+       ${INSTALL_MAN} ${WRKSRC}/NEWS.md ${DESTDIR}${PREFIX}/share/doc/unison
+       ${INSTALL_MAN} ${WRKSRC}/src/README ${DESTDIR}${PREFIX}/share/doc/unison
+       ${INSTALL_MAN} ${WRKSRC}/src/ROADMAP.txt ${DESTDIR}${PREFIX}/share/doc/unison
+       ${INSTALL_MAN} ${WRKSRC}/src/TODO.txt ${DESTDIR}${PREFIX}/share/doc/unison
+
+.include "../../mk/pthread.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} != "none")
+MAKE_FLAGS+=   THREADS=true
+.endif
+
+.include "../../lang/ocaml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 536cee4edb5b -r 63bda63cc394 net/unison/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unison/PLIST  Sun Mar 13 15:07:13 2022 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.6 2022/03/13 15:07:13 gdt Exp $
+bin/unison
+share/doc/unison/CONTRIB
+share/doc/unison/COPYING
+share/doc/unison/NEWS.md
+share/doc/unison/README
+share/doc/unison/ROADMAP.txt
+share/doc/unison/TODO.txt
diff -r 536cee4edb5b -r 63bda63cc394 net/unison/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unison/distinfo       Sun Mar 13 15:07:13 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.32 2022/03/13 15:07:13 gdt Exp $
+
+BLAKE2s (unison-2.52.0.tar.gz) = 59129fa38b89e23e2defdb7163754153b497d828a69c5d7f6695465d002390fe
+SHA512 (unison-2.52.0.tar.gz) = 24cfb43b40a05f85164c43e8744216142db4cd74d9d09ba7178f25f794b0dcce252597fa1eb49a4133e63d891c8d23fd7472669cf9f52777bc6aa86b0a50e6f5
+Size (unison-2.52.0.tar.gz) = 1354200 bytes
+SHA1 (patch-src_Makefile) = ff73628825232b9494844c020b78d2978f753d07
diff -r 536cee4edb5b -r 63bda63cc394 net/unison/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unison/options.mk     Sun Mar 13 15:07:13 2022 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.6 2022/03/13 15:07:13 gdt 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
+
+BUILDLINK_API_DEPENDS.ocaml-lablgtk+= ocaml-lablgtk>=2.16.0
+.include "../../x11/ocaml-lablgtk/buildlink3.mk"
+.else
+MAKE_FLAGS+=   UISTYLE=text
+.endif
diff -r 536cee4edb5b -r 63bda63cc394 net/unison/patches/patch-src_Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unison/patches/patch-src_Makefile     Sun Mar 13 15:07:13 2022 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-src_Makefile,v 1.3 2022/03/13 15:07:13 gdt Exp $
+
+Correct installation procedure
+--- src/Makefile.orig  2020-10-18 12:56:47.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
+@@ -68,7 +68,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
+@@ -86,9 +86,7 @@ doinstall: buildexecutable
+           echo "makefile variable NAME not bound"; \
+           exit 1 \
+         ; fi
+-      -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$)
+       cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)
+-      cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(MAJORVERSION)$(EXEC_EXT)
+ 
+ ######################################################################
+ # Demo
diff -r 536cee4edb5b -r 63bda63cc394 net/unison2.51/DESCR
--- a/net/unison2.51/DESCR      Sun Mar 13 15:07:03 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +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 unison 2.51, which is the most recent stable
-release.
diff -r 536cee4edb5b -r 63bda63cc394 net/unison2.51/Makefile
--- a/net/unison2.51/Makefile   Sun Mar 13 15:07:03 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-       # $NetBSD: Makefile,v 1.40 2022/03/13 15:01:21 gdt Exp $
-
-DISTNAME=      unison-2.52.0
-#PKGREVISION=  0
-CATEGORIES=    net
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=bcpierce00/}
-GITHUB_TAG=    v${PKGVERSION_NOREV}
-
-MAINTAINER=    gdt%NetBSD.org@localhost
-HOMEPAGE=      https://www.cis.upenn.edu/~bcpierce/unison/
-COMMENT=       File-synchronization tool
-LICENSE=       gnu-gpl-v3
-
-USE_TOOLS+=    gmake bash
-MAKE_FLAGS+=   CFLAGS=""
-MAKE_ENV+=     HOME=${WRKDIR:Q}
-
-.include "../../mk/ocaml.mk"
-
-.if (${OCAML_USE_OPT_COMPILER} == "yes")
-MAKE_FLAGS+=   NATIVE=true
-.else
-MAKE_FLAGS+=   NATIVE=false
-.endif
-
-# bsd.prefs.mk, included also by options, must be after ocaml to get
-# _PKGSRC_MKPIE set correctly.
-.include "options.mk"
-.include "../../mk/bsd.prefs.mk"
-
-TEST_TARGET=           test
-
-INSTALLATION_DIRS=     bin
-INSTALLATION_DIRS+=    share/doc/unison
-
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/src/unison ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_MAN} ${WRKSRC}/src/CONTRIB ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/src/COPYING ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/NEWS.md ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/src/README ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/src/ROADMAP.txt ${DESTDIR}${PREFIX}/share/doc/unison
-       ${INSTALL_MAN} ${WRKSRC}/src/TODO.txt ${DESTDIR}${PREFIX}/share/doc/unison
-
-.include "../../mk/pthread.buildlink3.mk"
-.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} != "none")
-MAKE_FLAGS+=   THREADS=true
-.endif
-
-.include "../../lang/ocaml/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 536cee4edb5b -r 63bda63cc394 net/unison2.51/PLIST
--- a/net/unison2.51/PLIST      Sun Mar 13 15:07:03 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2022/03/13 15:01:21 gdt Exp $
-bin/unison
-share/doc/unison/CONTRIB
-share/doc/unison/COPYING
-share/doc/unison/NEWS.md
-share/doc/unison/README
-share/doc/unison/ROADMAP.txt
-share/doc/unison/TODO.txt
diff -r 536cee4edb5b -r 63bda63cc394 net/unison2.51/distinfo
--- a/net/unison2.51/distinfo   Sun Mar 13 15:07:03 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.11 2022/03/13 15:01:21 gdt Exp $
-
-BLAKE2s (unison-2.52.0.tar.gz) = 59129fa38b89e23e2defdb7163754153b497d828a69c5d7f6695465d002390fe
-SHA512 (unison-2.52.0.tar.gz) = 24cfb43b40a05f85164c43e8744216142db4cd74d9d09ba7178f25f794b0dcce252597fa1eb49a4133e63d891c8d23fd7472669cf9f52777bc6aa86b0a50e6f5
-Size (unison-2.52.0.tar.gz) = 1354200 bytes
-SHA1 (patch-src_Makefile) = ff73628825232b9494844c020b78d2978f753d07
diff -r 536cee4edb5b -r 63bda63cc394 net/unison2.51/options.mk
--- a/net/unison2.51/options.mk Sun Mar 13 15:07:03 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-# $NetBSD: options.mk,v 1.3 2020/04/21 11:33:33 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
-
-BUILDLINK_API_DEPENDS.ocaml-lablgtk+= ocaml-lablgtk>=2.16.0
-.include "../../x11/ocaml-lablgtk/buildlink3.mk"
-.else
-MAKE_FLAGS+=   UISTYLE=text
-.endif
diff -r 536cee4edb5b -r 63bda63cc394 net/unison2.51/patches/patch-src_Makefile
--- a/net/unison2.51/patches/patch-src_Makefile Sun Mar 13 15:07:03 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-src_Makefile,v 1.2 2020/10/29 23:14:15 gdt Exp $
-
-Correct installation procedure
---- src/Makefile.orig  2020-10-18 12:56:47.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
-@@ -68,7 +68,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



Home | Main Index | Thread Index | Old Index