Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2020 05:47:38 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r525462 - in head/misc: . jojodiff
Message-ID:  <202002070547.0175lcNN019428@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Feb  7 05:47:38 2020
New Revision: 525462
URL: https://svnweb.freebsd.org/changeset/ports/525462

Log:
  Another pair of diff and patch utilities for binary files.
  
  WWW: http://jojodiff.sourceforge.net/

Added:
  head/misc/jojodiff/
  head/misc/jojodiff/Makefile   (contents, props changed)
  head/misc/jojodiff/distinfo   (contents, props changed)
  head/misc/jojodiff/pkg-descr   (contents, props changed)
Modified:
  head/misc/Makefile

Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile	Fri Feb  7 05:09:16 2020	(r525461)
+++ head/misc/Makefile	Fri Feb  7 05:47:38 2020	(r525462)
@@ -191,6 +191,7 @@
     SUBDIR += iso-codes
     SUBDIR += jargon
     SUBDIR += jbidwatcher
+    SUBDIR += jojodiff
     SUBDIR += kbdscan
     SUBDIR += kcd
     SUBDIR += kde-thumbnailer-chm

Added: head/misc/jojodiff/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/jojodiff/Makefile	Fri Feb  7 05:47:38 2020	(r525462)
@@ -0,0 +1,43 @@
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	jojodiff
+PORTVERSION=	0.8.1
+CATEGORIES=	misc devel
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}08
+DISTNAME=	jdiff${PORTVERSION:S/.//g}
+
+MAINTAINER=	danfe@FreeBSD.org
+COMMENT=	Diff and patch utilities for binary files
+
+LICENSE=	GPLv3+
+
+USES=		gmake tar:tgz
+MAKE_ARGS=	CC="${CC}" CPP="${CXX}" CFLAGS="${CFLAGS}"
+WRKSRC_SUBDIR=	src
+
+PLIST_FILES=	bin/jdiff bin/jptch
+PORTDOCS=	readme.txt readme.htm
+
+OPTIONS_DEFINE=	DOCS
+
+post-patch:
+	@${REINPLACE_CMD} -E 's,P(RI|8)(zd|hkey), & ,g' \
+		${WRKSRC}/JFileAhead.cpp ${WRKSRC}/JFileIStreamAhead.cpp \
+		${WRKSRC}/JHashPos.cpp ${WRKSRC}/JOutAsc.cpp \
+		${WRKSRC}/JOutRgn.cpp ${WRKSRC}/jpatch.cpp \
+		${WRKSRC}/main.cpp
+	@${REINPLACE_CMD} -e 's,is %d bit,is %zu bit,' \
+		${WRKSRC}/jpatch.cpp ${WRKSRC}/main.cpp
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/j???? ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+	${TR} -d \\r < ${WRKSRC}/../${f} | iconv -f latin1 -t utf8 \
+		> ${STAGEDIR}${DOCSDIR}/${f}
+.endfor
+
+.include <bsd.port.mk>

Added: head/misc/jojodiff/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/jojodiff/distinfo	Fri Feb  7 05:47:38 2020	(r525462)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1322937085
+SHA256 (jdiff081.tgz) = 8681e503c1d9658a89788d7e4c34c08adce5a0114610cfaaefa32f2bbe613058
+SIZE (jdiff081.tgz) = 427616

Added: head/misc/jojodiff/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/jojodiff/pkg-descr	Fri Feb  7 05:47:38 2020	(r525462)
@@ -0,0 +1,14 @@
+JDIFF is a program that outputs the differences between two binary files,
+either in binary format or human readable format (detailed or summarized).
+JPTCH can then be used to reconstruct the second file from the first file.
+
+Possible applications include incremental backups, synchronising files
+between two computers over a slow network, and others.
+
+JDIFF tries to find a minimal set of differences between two files using
+a heuristic algorithm with constant space and linear time complexity.
+This means that accuracy is traded over speed.  JDIFF will therefore, in
+general, not always find the smallest set of differences, but will try
+to be fast and will use a fixed amount of memory.
+
+WWW: http://jojodiff.sourceforge.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002070547.0175lcNN019428>