From owner-svn-ports-all@freebsd.org Fri Feb 7 05:47:39 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA287243CEF; Fri, 7 Feb 2020 05:47:39 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48DPTR4CQgz48JJ; Fri, 7 Feb 2020 05:47:39 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8773B27C14; Fri, 7 Feb 2020 05:47:39 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0175ldfl019432; Fri, 7 Feb 2020 05:47:39 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0175lcNN019428; Fri, 7 Feb 2020 05:47:38 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202002070547.0175lcNN019428@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Fri, 7 Feb 2020 05:47:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r525462 - in head/misc: . jojodiff X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/misc: . jojodiff X-SVN-Commit-Revision: 525462 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2020 05:47:39 -0000 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 +# $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 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/