Date: Sun, 20 Feb 2011 18:10:11 GMT From: Guido Falsi <mad@madpilot.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/154912: please provide unison 2.32 for network compatibility Message-ID: <201102201810.p1KIABA3051266@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/154912; it has been noted by GNATS. From: Guido Falsi <mad@madpilot.net> To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/154912: please provide unison 2.32 for network compatibility Date: Sun, 20 Feb 2011 18:52:01 +0100 This is a multi-part message in MIME format. --------------020900060907040502010501 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit NOTE: I answered the email from the submitter, but gnats did not pick it up, so I'm submitting a followup too, so it will be saved in gnats. Thank you for pointing out this problem. I agree a UPDATING entry should have been provided. Shame on me for missing this. Sorry for any inconvenience caused by my omission. I'm not quite sure, though, that providing an old revision port for a temporary problem like this is the preferred way to handle this. IMHO a note in updating stating the problem and suggesting not to upgrade or to downgrade the port(using ports-mgmt/portdowngrade or csup manually) should be enough. Especially considering the temporary nature of this problem. In this case an UPDATING entry with this text should do: --- 20110219: AFFECTS: users of net/unison* AUTHOR: mad@madpilot.net net/unison was updated to 2.40.62. This new version uses a wire protocol incompatible with previous versions. You are advised to check that all your peers have been updated at least to this same version before updating yourself. If you have already updated and need to downgrade you can use ports-mgmt/portdowngrade or csup a ports tree before Sat Feb 19 12:52:12 2011 UTC --- Depending on personal taste the above entry could intended as rude, I see. So I'm attaching a shar of the older unison port adapted to be unison232 as asked. I'm not sure if my use of the LATEST_LINK directive is correct. In such a case the following UPDATING entry should be used: --- 20110219: AFFECTS: users of net/unison* AUTHOR: mad@madpilot.net net/unison was updated to 2.40.62. This new version uses a wire protocol incompatible with previous versions. You are advised to check that all your peers have been updated at least to this same version before updating yourself. If you need to stick to 2.32.52 please use the net/unison232 port. --- I'm not quite sure what is the official ports project policy in such a situation, so I'd like some committer to tell me what is the preferred solution. Best regards! -- Guido Falsi <mad@madpilot.net> --------------020900060907040502010501 Content-Type: application/x-shar; name="oldunison.shar" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="oldunison.shar" # 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: # # . # ./distinfo # ./pkg-message # ./pkg-message.nox11 # ./Makefile # ./files # ./files/unison.desktop.in # ./pkg-plist # ./pkg-descr # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./distinfo sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XSHA256 (unison-2.32.52/unison-2.32.52.tar.gz) = 1542e5d4ad03e928260e061a8ff9d5e0bca3282481ed8bec5552de17a0270485 XSIZE (unison-2.32.52/unison-2.32.52.tar.gz) = 697866 XSHA256 (unison-2.32.52/unison-2.32.52-manual.html) = c898239d8139d8405b96d87e12c06c7f41fd3629cac0c83bc338aad50fed7f81 XSIZE (unison-2.32.52/unison-2.32.52-manual.html) = 249124 XSHA256 (unison-2.32.52/unison-2.32.52-manual.pdf) = b3fee7ac99907f3b1ed02c6ac901678e82ea1eed936acb45e9735b95d55cc4eb XSIZE (unison-2.32.52/unison-2.32.52-manual.pdf) = 478388 XSHA256 (unison-2.32.52/unison-2.32.52-manual.ps) = 779924e2a89ab2592c512e808cfcdf302c1a691fb1f2a6a02cc415fdc87770e5 XSIZE (unison-2.32.52/unison-2.32.52-manual.ps) = 572128 aec8793adfd5b7c3f00e62ae41a09ac2 echo x - ./pkg-message sed 's/^X//' >./pkg-message << '9f51c313804c544b8024c5640d645b0a' X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! XTogether with a gtk-enabled version, a text-only unison-text binary Xis installed as it depends on a smaller number of libraries. X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 9f51c313804c544b8024c5640d645b0a echo x - ./pkg-message.nox11 sed 's/^X//' >./pkg-message.nox11 << 'd8fb6ff44044347df71644a24e403126' X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! XA text-only unison binary is installed. X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! d8fb6ff44044347df71644a24e403126 echo x - ./Makefile sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' 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: ports/net/unison/Makefile,v 1.29 2011/02/11 14:48:43 bsam Exp $ X# X XPORTNAME= unison XPORTVERSION= 2.32.52 XCATEGORIES= net XMASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/ XDISTFILES= ${EXTRACT_ONLY} ${EXTRA_DOCS} XDIST_SUBDIR= ${PORTNAME}-${PORTVERSION} XEXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz X XMAINTAINER= mad@madpilot.net XCOMMENT= A user-level file synchronization tool X XPLIST_SUB= PORTVERSION=${PORTVERSION} XUSE_GMAKE= yes XWANT_GNOME= yes XMAKE_ARGS= CFLAGS="" XCONFLICTS= unison-devel-[0-9]* unison-nox11-[0-9]* X XMAKE_JOBS_UNSAFE= yes X XLICENCE= GPLv3 X XLATEST_LINK= unison232 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) XWITH_GTK2= yes X.endif X X.if defined(WITH_GTK2) XMAKE_ARGS+= UISTYLE=gtk2 XPLIST_SUB+= TEXT="" XBUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml \ X lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 XRUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 XPATCH_DEPENDS+= ${BUILD_DEPENDS} XCONFLICTS+= ocaml-nox11* XUSE_GNOME= desktopfileutils XSUB_FILES+= ${PORTNAME}.desktop X.else XMAKE_ARGS+= UISTYLE=text XPLIST_SUB+= TEXT="@comment " XBUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml-nox11 XPATCH_DEPENDS+= ${BUILD_DEPENDS} 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 Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/unison ${PREFIX}/bin X Xpost-install: 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.if defined(WITH_GTK2) X @${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${PREFIX}/bin X @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${DESKTOPDIR} X @-update-desktop-database > /dev/null X @${CAT} ${PKGMESSAGE} X.else X @${CAT} ${PKGMESSAGE}.nox11 X.endif X X.include <bsd.port.post.mk> 464ef7c6571951809b23e262cbe26e19 echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/unison.desktop.in sed 's/^X//' >./files/unison.desktop.in << 'a6e7cf7514169049baa0277dd605729f' X[Desktop Entry] XEncoding=UTF-8 XName=Unison XGenericName=File-synchronization tool XType=Application XTerminal=false XStartupNotify=true XCategories=GTK;Utility; XExec=unison XComment=Synchronize files (directories) over different disks (hosts) XComment[ru]=Синхронизация файлов (каталогов) на нескольких дисках (компьютерах) a6e7cf7514169049baa0277dd605729f echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6' Xbin/unison X%%TEXT%%share/applications/unison.desktop 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%% X%%TEXT%%@dirrmtry share/applications X%%TEXT%%@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || : X%%TEXT%%@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || : ef3e7f63841ae908ba397c2bef1fbad6 echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' 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/ X X- Dan Pelleg X Xdaniel+unison@pelleg.org 0e313719ff012ceaf97a028d51caa8f5 exit --------------020900060907040502010501--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102201810.p1KIABA3051266>