From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30928 invoked from network); 10 Aug 2004 12:04:05 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 10 Aug 2004 12:04:05 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1BuVMK-0007pn-MS for arch-gentoo-dev@lists.gentoo.org; Tue, 10 Aug 2004 12:04:04 +0000 Received: (qmail 3205 invoked by uid 89); 10 Aug 2004 12:04:04 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 18339 invoked from network); 10 Aug 2004 12:04:03 +0000 From: "Joerg Hoh" Date: Tue, 10 Aug 2004 14:04:04 +0200 To: Radoslaw Stachowiak Cc: gentoo-dev@lists.gentoo.org Message-ID: <20040810120404.GB1912@hydra.joerghoh.de> Mail-Followup-To: Joerg Hoh , Radoslaw Stachowiak , gentoo-dev@lists.gentoo.org References: <20040810104326.GB22751@hydra.joerghoh.de> <200408101156.17481.mike@gaima.co.uk> <20040810112318.GA1912@hydra.joerghoh.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qcHopEYAB45HaUaB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Subject: Re: [gentoo-dev] RFC: extension of etc-update X-Archives-Salt: cabd6f28-1437-41a0-a3a6-0313acb5d549 X-Archives-Hash: 0220199d1819061b005a34e4f3cfe431 --qcHopEYAB45HaUaB Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 10, 2004 at 01:52:30PM +0200, Radoslaw Stachowiak wrote: >=20 > it doesnt in proper way, because dispatch-conf does not store md5sums, > but uses /var/db/pkg data for its comparision. But using it (db) after > installation results in md5sum lost (only md5 sums of NEW version of > files are stored). >=20 > So there are two ways to do it: > 1. store sums regardless of portage, and compare it after installation. > 2. maybe, instead of md5sum, simple comparision if mtime < ctime than > update is allowed would be fine? >=20 > please comment about 2) because it would be trivial to implement it in > dispatch-conf. ctime vs mtime would be acceptable; if it is combined with the trivial-merge-approach, it's probably enough for most of the mentioned issues. Joerg --=20 Fachbegriffe der Informatik (Nr 64): Network Computer - grafikf=E4higes Terminal=20 --qcHopEYAB45HaUaB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBGLm06xdMID018FIRAgGXAJ47TlK6qkF+Urryy5ltMUmxxTynmgCeJ04V bVXjMJIFuR7zfCQ6G81d3Jk= =yua7 -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB--