From owner-freebsd-ports@freebsd.org Tue May 3 14:43:02 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F24A9B2B1DF for ; Tue, 3 May 2016 14:43:01 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 746FD1F2B for ; Tue, 3 May 2016 14:43:01 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id ED1BF2B51 for ; Tue, 3 May 2016 14:42:56 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/ED1BF2B51; dkim=none; dkim-atps=neutral Subject: Re: PHP Download site To: freebsd-ports@freebsd.org References: <5728B25E.5080005@ohlste.in> From: Matthew Seaman Message-ID: Date: Tue, 3 May 2016 15:42:50 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <5728B25E.5080005@ohlste.in> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UAph4ce9hchKOOWudRD5mQc1XKR0QR38O" X-Virus-Scanned: clamav-milter 0.99.1 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2016 14:43:02 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UAph4ce9hchKOOWudRD5mQc1XKR0QR38O Content-Type: multipart/mixed; boundary="MouHF3nSocFL15T4HPeLkCgVlkV2tdFgc" From: Matthew Seaman To: freebsd-ports@freebsd.org Message-ID: Subject: Re: PHP Download site References: <5728B25E.5080005@ohlste.in> In-Reply-To: <5728B25E.5080005@ohlste.in> --MouHF3nSocFL15T4HPeLkCgVlkV2tdFgc Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 03/05/2016 15:14, Jim Ohlstein wrote: > I'm upgrading lang/php56 this morning using poudriere and we're still i= n > the "fetch" phase after almost ten minutes. Looking at the log, it is > fetching from http://de.php.net/. I've noticed this same slowness befor= e > as well with php70 being downloaded from Germany. >=20 > Is there a reason for this default, especially where it is so slow? This used to be a much more common occurrence before the widespread prevalence of CDNs with points of presence all round the world. Seems PHP has not (yet) jumped on that bandwagon. There's a number of things you can add to /etc/make.conf to help speed things up. Try: MASTER_SORT=3D .in which means 'prefer sites which are in .in' (yes, I know you aren't physically in India: just choose a country close to where you actually are...) Or this: RANDOMIZE_MASTER_SITES=3D yes which means shuffle the list of download sites randomly Or this: MASTER_SITE_FREEBSD=3D yes which means initially, ignore the official download sites, and always go try the FreeBSD distfiles mirror at first. Those may be more or less effective at speeding up your download depending on exactly on where you're downloading from and where your downloading to. You'll have to experiment. If you only want to apply this sort of thing to a specific port, use the form: =2Eif ${.CURDIR:M*portname} RANDOMIZE_MASTER_SITES=3D yes =2Eendif Cheers, Matthew --MouHF3nSocFL15T4HPeLkCgVlkV2tdFgc-- --UAph4ce9hchKOOWudRD5mQc1XKR0QR38O Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJXKLjwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATOYIP/j++k4b4NnrotY7e8ull7umf uXHNL4e/BVT9XVDOVcEu+ML2jindstXEqoEMwcCMSII3JKJPjksCgHTu2CDwhUc7 dOvo0Wk4q0mINknOFV07BY9DRQ4vH/yXOYKFvnMs2YU2cQglnvOqEOTiZpjD4CVQ gf1PI+HOg74vO8us7xgm/t5rImfGGWfORtQ4whpMiDwwds0OpakRNOwSnfnU3IV/ IGsG5F6kX8AjnrUMdMy/Jc/nbCxR9kN57ok/OA7c7PFAETOMcu/hJUEaLaNDELIf vfqNdzGv3wDYFYgaIxPnWl79be/zIyFxoDltAJefIxWiv/sq6BKMomZM/Ow5svH1 OQNS0itoTmM80tuMJlT3MJq04D2IAbSivE15SbK1dS5xbPkymM8V2jyPnqwaTyXA 1mEh6viikwVMwT2Cw7Vxu2LEC0RAMWISZemRGEyjYGPheX2L8zLr3M3pp34k72ud GrPms5/ZphvF+WRrmJpejoIITvtlTFugPCftri+bAFO+MVKD2Xfk/ioOBDBPwQK0 ydBFpWFTsMl1N+3XhNh7mE107PzpQ8NCxuMTB3bbi+wqxVRlNQwZM00FkRAp0Uiv hrFp8uFXNxxnu4EPSSwN5WUH4NTwqavXufdY1wLqvnEf1NySvwobW9CeT/FaX+8Y VrHRI6Ug0Lw+eztNW8n2 =fds+ -----END PGP SIGNATURE----- --UAph4ce9hchKOOWudRD5mQc1XKR0QR38O--