From owner-freebsd-java@FreeBSD.ORG Wed Dec 22 04:55:30 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C24F716A4CE for ; Wed, 22 Dec 2004 04:55:30 +0000 (GMT) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id C35EE43D39 for ; Wed, 22 Dec 2004 04:55:29 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])iBM4tShe033914; Wed, 22 Dec 2004 05:55:28 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.1/8.13.1/Submit) id iBM4tRVs033913; Wed, 22 Dec 2004 05:55:27 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Wed, 22 Dec 2004 05:55:27 +0100 From: Herve Quiroz To: Brent Verner Message-ID: <20041222045527.GA33844@arabica.esil.univ-mrs.fr> Mail-Followup-To: Brent Verner , freebsd-java@FreeBSD.ORG References: <200412211740.iBLHeUcw090127@freefall.freebsd.org> <20041221184340.GA14170@rcfile.org> <37919c31041221110775dc0396@mail.gmail.com> <20041221193221.GA14792@rcfile.org> <41C87FC4.4070803@homeboyz.org> <20041221234347.GA16825@rcfile.org> <41C8BDBC.4050801@homeboyz.org> <20041222010827.GA17485@rcfile.org> <20041222035237.GA32596@arabica.esil.univ-mrs.fr> <20041222042140.GA19026@rcfile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041222042140.GA19026@rcfile.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@FreeBSD.ORG Subject: Re: ports/75348: Tomcat port overwrites server.xml config file X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 04:55:30 -0000 [ Brent reminded me of a previous message he sent to this list with an approach based on checksums from the packing list [1] ] On Tue, Dec 21, 2004 at 11:21:40PM -0500, Brent Verner wrote: > See an earlier email I sent today. The attached script has > a line of pkg_info commands that do exactly what you describe > above using the checksum from the package being replaced. > > The script is not ready for real use, but it does know how > to answer the big question :-) Indeed. If we don't need the diff feature (to help user merge the changes), then this is an efficient approach. The only problem I see here is that the whole packing list will be checked for md5 conformance when we only need information regarding the configuration files. Still I don't think it's a big flaw... Herve [1] http://lists.freebsd.org/pipermail/freebsd-java/2004-December/003264.html