From owner-freebsd-current Wed Apr 26 1: 4:53 2000 Delivered-To: freebsd-current@freebsd.org Received: from mimer.webgiro.com (mimer.webgiro.com [212.209.29.5]) by hub.freebsd.org (Postfix) with ESMTP id AEB2D37B829; Wed, 26 Apr 2000 01:04:49 -0700 (PDT) (envelope-from abial@webgiro.com) Received: by mimer.webgiro.com (Postfix, from userid 66) id 0977A2DC0A; Wed, 26 Apr 2000 10:08:19 +0200 (CEST) Received: by mx.webgiro.com (Postfix, from userid 1001) id 6C3B37811; Wed, 26 Apr 2000 10:04:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id 6759D10E17; Wed, 26 Apr 2000 10:04:29 +0200 (CEST) Date: Wed, 26 Apr 2000 10:04:29 +0200 (CEST) From: Andrzej Bialecki To: Jim Bloom Cc: Kris Kennaway , "Brandon D. Valentine" , freebsd-current@FreeBSD.ORG Subject: Re: Patchkits: Was :Re: SMP changes and breaking kld object modulecompatibility In-Reply-To: <390655EF.312D5248@acm.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 25 Apr 2000, Jim Bloom wrote: > The RCS info stored in the binaries is insufficient for this purpose. There is > no record of the versions of all included files. Changes to constants and/or > macros would not be identifiable. Yes, you're right, I'm afraid. This could theoretically be solved by adding an ELF section at the build stage, containing the RCS versions from files reported by 'make depend'. But at this point the things get ugly and complicated very quickly... :-( The simple approach could be as follows: start with the official version of the RELEASE (which takes care of having one common version, with known MD5 cksums). The patchkits would contain only the whole files, not diffs. The patch installer would have to examine the target files before doing anything, and if the MD5 checksums (relative to the last patchkit) don't match - present a choice, in a way similar to mergemaster. This way, we can push the responsibility for tracking dependencies to the user... :-/ Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message