Date: Mon, 9 May 2005 17:54:40 +0200 (CEST) From: "Alexander S. Usov" <usov@kvi.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/80826: [NEW PORT] net/unison-devel: A user-level file synchronization tool Message-ID: <200505091554.j49Fseh6000710@kvip88.kvi.nl> Resent-Message-ID: <200505091600.j49G0QZF041719@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 80826 >Category: ports >Synopsis: [NEW PORT] net/unison-devel: A user-level file synchronization tool >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 09 16:00:26 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alexander S. Usov >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD kvip88.kvi.nl 5.4-RELEASE FreeBSD 5.4-RELEASE #5: Sat May 7 21:28:07 CEST >Description: 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. Unison shares a number of features with tools such as configuration management packages (CVS, PRCS, etc.) distributed filesystems (Coda, etc.) uni-directional mirroring utilities (rsync, etc.) and other synchronizers (Intellisync, Reconcile, etc). WWW: http://www.cis.upenn.edu/~bcpierce/unison/ Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- unison-devel-2.12.0.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # unison-devel # unison-devel/Makefile # unison-devel/pkg-descr # unison-devel/distinfo # unison-devel/pkg-message # unison-devel/pkg-plist # unison-devel/files # unison-devel/files/patch-pty.c # unison-devel/files/patch-aa # echo c - unison-devel mkdir -p unison-devel > /dev/null 2>&1 echo x - unison-devel/Makefile sed 's/^X//' >unison-devel/Makefile << 'END-of-unison-devel/Makefile' X# New ports collection makefile for: unison X# Date created: 4 October 2000 X# Whom: Dan Pelleg <dpelleg+unison@cs.cmu.edu> X# X# $FreeBSD$ X# X XPORTNAME= unison XPORTVERSION= 2.12.0 XCATEGORIES= net XMASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/beta-test/${DIST_SUBDIR}/ XPKGNAMESUFFIX= -devel XDISTFILES= ${EXTRACT_ONLY} ${EXTRA_DOCS} XDIST_SUBDIR= ${PORTNAME}-${PORTVERSION} XEXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz X XMAINTAINER= usov@kvi.nl XCOMMENT= A user-level file synchronization tool X XBUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml-nox11 XPATCH_DEPENDS= ${BUILD_DEPENDS} X XPLIST_SUB= PORTVERSION=${PORTVERSION} XUSE_GMAKE= yes XMAKE_ARGS= CFLAGS="" X X.include <bsd.port.pre.mk> X X.if !defined(NOPORTDOCS) XDOCS= BUGS.txt NEWS README XEXTRA_DOCS= unison-${PORTVERSION}-manual.html \ X unison-${PORTVERSION}-manual.pdf unison-${PORTVERSION}-manual.ps X.endif X X.if !defined(WITHOUT_GTK2) && !defined(WITHOUT_X11) && exists(${LOCALBASE}/bin/lablgtk2) XWITH_GTK2= yes X.endif X X.if defined(WITH_GTK2) XMAKE_ARGS+= UISTYLE=gtk2 XRUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 XBUILD_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 XPLIST_SUB+= TEXT="" X.else XMAKE_ARGS+= UISTYLE=text XPLIST_SUB+= TEXT="@comment " X.endif X X.if defined(WITH_GTK2) Xpost-build: X @${ECHO} Building text-only version X @${ECHO} ${WRKSRC} X @${GMAKE} -C ${WRKSRC} UISTYLE=text NAME=unison-text X.endif X Xpost-install: X @${STRIP_CMD} ${PREFIX}/bin/unison X.if defined(WITH_GTK2) X @${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${PREFIX}/bin X.endif X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} X cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${DOCSDIR} X.endif X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-unison-devel/Makefile echo x - unison-devel/pkg-descr sed 's/^X//' >unison-devel/pkg-descr << 'END-of-unison-devel/pkg-descr' XUnison is a file-synchronization tool for Unix and Windows. It allows two Xreplicas of a collection of files and directories to be stored on different Xhosts (or different disks on the same host), modified separately, and then Xbrought up to date by propagating the changes in each replica to the other. X XUnison shares a number of features with tools such as configuration Xmanagement packages (CVS, PRCS, etc.) distributed filesystems (Coda, etc.) Xuni-directional mirroring utilities (rsync, etc.) and other synchronizers X(Intellisync, Reconcile, etc). X XWWW: http://www.cis.upenn.edu/~bcpierce/unison/ END-of-unison-devel/pkg-descr echo x - unison-devel/distinfo sed 's/^X//' >unison-devel/distinfo << 'END-of-unison-devel/distinfo' XMD5 (unison-2.12.0/unison-2.12.0.tar.gz) = c2b818e77e95951b5db0b95272e385a2 XSIZE (unison-2.12.0/unison-2.12.0.tar.gz) = 841717 XMD5 (unison-2.12.0/unison-2.12.0-manual.html) = 60b691a71650f718e540879fc66c7ec5 XSIZE (unison-2.12.0/unison-2.12.0-manual.html) = 191976 XMD5 (unison-2.12.0/unison-2.12.0-manual.pdf) = aa4fec97bfecf9de3303a6fbe927b4d9 XSIZE (unison-2.12.0/unison-2.12.0-manual.pdf) = 355550 XMD5 (unison-2.12.0/unison-2.12.0-manual.ps) = 2cd143072de9fc2b751180b594c5b22d XSIZE (unison-2.12.0/unison-2.12.0-manual.ps) = 493547 END-of-unison-devel/distinfo echo x - unison-devel/pkg-message sed 's/^X//' >unison-devel/pkg-message << 'END-of-unison-devel/pkg-message' X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! X ATTENTION: X X1) Unison archive format has changed since 2.10.2. The old archive Xwon't be deleted automatically in case you want to downgrade it. X X2) Together with gtk-enabled version, a text-only unison-text binary Xis installed as it depends on a smaller number of libraries. X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! END-of-unison-devel/pkg-message echo x - unison-devel/pkg-plist sed 's/^X//' >unison-devel/pkg-plist << 'END-of-unison-devel/pkg-plist' Xbin/unison X%%TEXT%%bin/unison-text X%%PORTDOCS%%%%DOCSDIR%%/BUGS.txt X%%PORTDOCS%%%%DOCSDIR%%/NEWS X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.html X%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.pdf X%%PORTDOCS%%%%DOCSDIR%%/unison-%%PORTVERSION%%-manual.ps X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-unison-devel/pkg-plist echo c - unison-devel/files mkdir -p unison-devel/files > /dev/null 2>&1 echo x - unison-devel/files/patch-pty.c sed 's/^X//' >unison-devel/files/patch-pty.c << 'END-of-unison-devel/files/patch-pty.c' X--- pty.c.orig Sun Jan 23 19:55:28 2005 X+++ pty.c Sun Jan 23 19:56:28 2005 X@@ -32,6 +32,10 @@ X #ifdef __APPLE__ X #include <util.h> // openpty X #endif X+#ifdef __FreeBSD__ X+#include <sys/types.h> X+#include <libutil.h> X+#endif X X /* c_openpty: unit -> (int * Unix.file_descr) */ X CAMLprim value c_openpty() { END-of-unison-devel/files/patch-pty.c echo x - unison-devel/files/patch-aa sed 's/^X//' >unison-devel/files/patch-aa << 'END-of-unison-devel/files/patch-aa' X--- Makefile.orig Fri Mar 4 11:00:35 2005 X+++ Makefile Fri Mar 4 15:36:00 2005 X@@ -60,12 +60,12 @@ X ###################################################################### X # Installation X X-INSTALLDIR = $(HOME)/bin/ X+INSTALLDIR = ${PREFIX}/bin/ X X install: $(NAME)$(EXEC_EXT) X- -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$) X+# -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$) X cp $(NAME)$(EXEC_EXT) $(INSTALLDIR) X- cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(VERSION)$(EXEC_EXT) X+# cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(VERSION)$(EXEC_EXT) X @# If we're running at Penn, install a public version too X if [ -d /plclub/bin ]; then cp $(NAME)$(EXEC_EXT) /plclub/bin/$(NAME)-$(VERSION)$(EXEC_EXT); fi X X@@ -345,7 +345,7 @@ X tags: X -$(ETAGS) *.mli */*.mli *.ml */*.ml *.m */*.m *.c */*.c *.txt X X-all:: TAGS X+#all:: TAGS X X TAGS: X $(MAKE) tags END-of-unison-devel/files/patch-aa exit --- unison-devel-2.12.0.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505091554.j49Fseh6000710>