Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Sep 2013 08:43:10 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Anton Berezin <tobez@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Sahil Tandon <sahil@tandon.net>, ports-committers@freebsd.org
Subject:   Re: svn commit: r325805 - head/Mk
Message-ID:  <5223446E.1080806@FreeBSD.org>
In-Reply-To: <20130901105928.GG26604@heechee.tobez.org>
References:  <201308311322.r7VDM2wa076581@svn.freebsd.org> <20130831215840.GA13875@magnus> <20130901105928.GG26604@heechee.tobez.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5223446E.1080806>