From owner-freebsd-ports Mon Jul 29 10:33:46 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B72C37B400 for ; Mon, 29 Jul 2002 10:33:44 -0700 (PDT) Received: from gilliam.users.flyingcroc.net (gilliam.users.flyingcroc.net [207.246.128.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E034A43E31 for ; Mon, 29 Jul 2002 10:33:43 -0700 (PDT) (envelope-from joek@mail.flyingcroc.net) Received: from flyingcroc.net (unx48.staff.flyingcroc.net [207.246.150.48]) by gilliam.users.flyingcroc.net (8.9.3/8.9.3) with ESMTP id KAA24952 for ; Mon, 29 Jul 2002 10:33:43 -0700 (PDT) Message-ID: <3D457C76.2030205@flyingcroc.net> Date: Mon, 29 Jul 2002 10:33:42 -0700 From: Joe Kelsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020726 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: distfiles/md5 issues Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have noticed in several recent port upgrades that there is a problem with some port sources and their associated md5 files causing major havoc, especially when using portupgrade. Specifically, if the distfile *contents* change but the name does not, then the standard make system will fail due to checksum mismatch because it cannot trigger a re-download of the sources. Take, for example, mplayer-skins, where there are a number of source files that do not change names when the contents change, but the port md5 checksums do change to match the latest file contents. This caused me some head scratching last week. Has anyone considered this problem? Maybe it would help to have some facility added to portupgrade which could check for checksum errors and then compare dates to see if the source file is wildly out of date with respect to the checksum file? Or a make system change? I also just rean into this on the OpenOffice upgrade. My solution to this is to regularly clean out the /usr/ports/distfiles directories, but it seems like a problem with low-bandwidth sites. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message