From owner-svn-ports-head@FreeBSD.ORG Sun Sep 1 13:43:16 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 77A3A2D1 for ; Sun, 1 Sep 2013 13:43:16 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 410602C22 for ; Sun, 1 Sep 2013 13:43:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r81DhF7P042454 for ; Sun, 1 Sep 2013 13:43:15 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r81DhFHF042448 for svn-ports-head@freebsd.org; Sun, 1 Sep 2013 13:43:15 GMT (envelope-from bdrewery) Received: (qmail 36880 invoked from network); 1 Sep 2013 08:43:13 -0500 Received: from unknown (HELO ?192.168.1.215?) (freebsd@shatow.net@71.32.191.86) by sweb.xzibition.com with ESMTPA; 1 Sep 2013 08:43:13 -0500 Message-ID: <5223446E.1080806@FreeBSD.org> Date: Sun, 01 Sep 2013 08:43:10 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Anton Berezin Subject: Re: svn commit: r325805 - head/Mk References: <201308311322.r7VDM2wa076581@svn.freebsd.org> <20130831215840.GA13875@magnus> <20130901105928.GG26604@heechee.tobez.org> In-Reply-To: <20130901105928.GG26604@heechee.tobez.org> X-Enigmail-Version: 1.5.2 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jD7dBrC9s8u8TktbSPmBMkpcOO07eV7kk" Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Sahil Tandon , ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Sep 2013 13:43:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jD7dBrC9s8u8TktbSPmBMkpcOO07eV7kk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 9/1/2013 5:59 AM, Anton Berezin wrote: > On Sat, Aug 31, 2013 at 05:58:41PM -0400, Sahil Tandon wrote: >> On Sat, 2013-08-31 at 13:22:02 +0000, Bryan Drewery wrote: >> >>> Log: >>> - make fetch/checksum: If a fetched file does not match the expecte= d size, >>> delete it and try the next site, if there is one to try. >> [...] >>> + actual_size=3D`stat -f %z "$${file}"`; \ >>> + if [ $${actual_size} -eq $${CKSIZE} ]; then \ >>> + continue 2; \ >>> + else \ >>> + ${ECHO_MSG} "=3D> Fetched file size mismatch (expected $${CKSI= ZE}, actual $${actual_size})"; \ >>> + if [ $${sites_remaining} -gt 1 ]; then \ >>> + ${ECHO_MSG} "=3D> Trying next site"; \ >>> + ${RM} -f $${file}; \ >>> + fi; \ >>> + fi; \ >>> fi; \ >>> done; \ >>> ${ECHO_MSG} "=3D> Couldn't fetch it - please try to retrieve this= ";\ >> >> I have not had time to properly investigate, but could the above expla= in >> the following behavior? Or, perhaps I've messed up something in my >> local environment. Sorry for the line-wraps: >> Fixed, sorry about that. --=20 Regards, Bryan Drewery --jD7dBrC9s8u8TktbSPmBMkpcOO07eV7kk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSI0RvAAoJEG54KsA8mwz5+4oQAKONf2Rj70xAj5xopvCx2nLQ Dbr1/C6Qdct7VE9vNchidChyPuhL8/OblxkFUpTlH9XQCBStFTIxUpUC6PzUCuvk HK8o2JefwBYXXtJKsQuI7BS3xcod8EkVjG9kn7vqwDt3dns9E6nyCPVW+v3w/Zvz iEgzEW51INEmiue8tU3vHi07XFLNltyJd7YzEGZeL8DTzbb5jC+KYWxrVtzxH4Wv 0x9692pMXuVh/BS5eZryEPruvN6vUmSbx9rLPgq5OQYXLjFQqy5jtAfrWvbFaGgH CQGnrqPBVWm4sXsbMjMz1lwOu9p2WaXnDGolaZAAz2OmmqBCuh6wECupoky/eYrs b6HUO/Qm897KcFWhK9JOvHcKx42u5fb6GhNnTqQEjWjzsdoJwE35awd/cQ1ODPaE uw77Hu1FUepaoBKC9Qo2BR/1agNE11yzxaWmbfxbBl56tJdCqU+8Ug4dYhu+YIp2 zXm0MxmUnTrGW1OSbnP511TdK7Q5QEmpGmfv9fMqGYTISotcFQCoBrUdAa0k9jwU ERAXs5EclCjKs+jKiwByYuupokteMCohQ74Y6reNcCQNzmp2qOZM6JWTp1rjwYtD HSGgyU1PDWu0WwIvTydim0oNHk97ojsMnHAeR8EoKGUGP2x0eAQhXPsIKBiUBqjb A8pLeGFSCfJxYYrv7af4 =DJqD -----END PGP SIGNATURE----- --jD7dBrC9s8u8TktbSPmBMkpcOO07eV7kk--