From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 19 16:00:01 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8800D6E0 for ; Fri, 19 Oct 2012 16:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 3F70E8FC14 for ; Fri, 19 Oct 2012 16:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9JG01dV026460 for ; Fri, 19 Oct 2012 16:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9JG0125026459; Fri, 19 Oct 2012 16:00:01 GMT (envelope-from gnats) Resent-Date: Fri, 19 Oct 2012 16:00:01 GMT Resent-Message-Id: <201210191600.q9JG0125026459@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, anatoly techtonik Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95B806D3 for ; Fri, 19 Oct 2012 15:58:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 7CFCA8FC08 for ; Fri, 19 Oct 2012 15:58:37 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9JFwbJb056863 for ; Fri, 19 Oct 2012 15:58:37 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q9JFwbs1056859; Fri, 19 Oct 2012 15:58:37 GMT (envelope-from nobody) Message-Id: <201210191558.q9JFwbs1056859@red.freebsd.org> Date: Fri, 19 Oct 2012 15:58:37 GMT From: anatoly techtonik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/172882: bsdiff/bspatch need version information for synchronization with other forks X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 16:00:01 -0000 >Number: 172882 >Category: misc >Synopsis: bsdiff/bspatch need version information for synchronization with other forks >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 19 16:00:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: anatoly techtonik >Release: >Organization: >Environment: >Description: bsdiff in FreeBSD source is copied from canonical version of bsdiff 4.3 by Colin Percival available from http://www.daemonology.net/bsdiff/ There are also many forks with code improvements and potential bug fixes, but before starting any synchronization work there should be way to reference various versions of bsdiff. I propose to add version strings to bsdiff/bspatch and print them along with usage hints. FreeBSD source tree looks like an official place for the source code now, so 4.4 sounds like a good start. Sorry for not being able to contribute a patch. I am not a FreeBSD developer and won't be able to test the patch properly. Neither do I know the standards for embedding the version inside C code. I also find it slightly inconvenient to have 3 directories and 3 Makefiles to build tools that always come together. http://svnweb.freebsd.org/base/head/usr.bin/bsdiff/ >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: