From owner-freebsd-ports@FreeBSD.ORG Wed Jul 28 21:37:06 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E5B9106566B for ; Wed, 28 Jul 2010 21:37:06 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id EB2CB8FC0A for ; Wed, 28 Jul 2010 21:37:05 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OeEJD-0004Fs-KL for freebsd-ports@freebsd.org; Wed, 28 Jul 2010 23:37:03 +0200 Received: from static-78-8-147-77.ssp.dialog.net.pl ([78.8.147.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jul 2010 23:37:03 +0200 Received: from mwisnicki+freebsd by static-78-8-147-77.ssp.dialog.net.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jul 2010 23:37:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Marcin Wisnicki Date: Wed, 28 Jul 2010 21:36:56 +0000 (UTC) Lines: 18 Message-ID: References: <4c4fac09.Kkzz6V/G5TxaiQAZ%perryh@pluto.rain.com> <4C504F25.8050607@bsdforen.de> <4C5070C0.6090004@bsdforen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: static-78-8-147-77.ssp.dialog.net.pl User-Agent: Pan/0.132 (Waxed in Black) Subject: Re: Strange contents on some ftp mirrors X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2010 21:37:06 -0000 On Wed, 28 Jul 2010 20:02:40 +0200, Dominic Fandrey wrote: > On 28/07/2010 17:58, Marcin Wisnicki wrote: >> >> I think you could also detect inconsistent mirror by comparing >> modification time of package against mtime of INDEX. If pkg is newer >> than INDEX then it's a sign of incomplete sync. > > True, but if the check does not fail it still doesn't mean that the > package is valid. Checking against the master (it will check size and > time) is the safest method, I think What do you mean by master ? If you think about ftp-master then it's password protected. AFAIK there is no publicly available ftp site that is an authoritative source, ftp.freebsd.org is synced just like any other mirror. You can see in my initial post that it was even less up-to-date than ftp.fr.freebsd.org.