From owner-svn-ports-head@FreeBSD.ORG Mon Aug 11 21:43:01 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CCE4033E; Mon, 11 Aug 2014 21:43:01 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E01C28EE; Mon, 11 Aug 2014 21:43:00 +0000 (UTC) Received: from [192.168.0.100] ([87.139.233.65]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0Lj1jy-1WhLMy2T8w-00dBfJ; Mon, 11 Aug 2014 23:42:58 +0200 Message-ID: <53E938E2.9060202@gmx.de> Date: Mon, 11 Aug 2014 23:42:58 +0200 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Alexey Dokuchaev Subject: Re: svn commit: r364540 - head/x11/nvidia-settings References: <53e777f9.28cd.621911f7@svn.freebsd.org> <20140810135409.GA22681@FreeBSD.org> <52BDAD7F-864F-4930-8F3D-CCD9B3DFFF72@FreeBSD.org> <20140811062311.GB55398@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:YHL4OisOtq3Iyj3BrF0ibIrvQ7BXPlJV+8CGCV26MAs9qxnbLRr WX3GK9HKB+7QIEmV2j5/7IUdxcKUA/xczCIJEne0SEDxtG47Xy2jefcrjx6G1Edartr1FVE Is7DLsKm4GTURT1UbkG9/b79ojd/5JamiFCWukJTUeDnDTO5Sb/EMouPxuFyDPRK+HindAP oDAuQLsAJ5xjlzXulo+Dw== X-UI-Out-Filterresults: notjunk:1; Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Alexander Nedotsukov , ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 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: Mon, 11 Aug 2014 21:43:02 -0000 On 2014-08-11 16:37, Alexander Nedotsukov wrote: > Alexey, > > You are not the first one who is asking me to "make things better”. > The problem is that to my experience they are not better at all. This port used to stick to NVIDIA master sites in the past and it did not work well. > For example at least top site from the list was having a trouble with serving 404 error back just stalling connection instead. > I recall couple of cases when tar balls were rolled out inplace and then not pushed to other mirrors. > At the same time ftp links I use are the only once which are officially provided for this port. They always work well. > So it is hard to me to buy your argument of having two extra http mirrors to be an advantage. > > If you fee like go and fight with Nvidia IT yourself please go and do it. I will appreciate that. > Otherwise I’d prefer to stay where the things are. > > All the best, > Alexander. > > On 11 авг. 2014 г., at 15:23, Alexey Dokuchaev wrote: > >> On Mon, Aug 11, 2014 at 07:56:38AM +0900, Alexander Nedotsukov wrote: >>> Yes. The list below is different from what MASTER_SITE_NVIDIA provides. >> >> It is different, but it's inclusive: with MASTER_SITES= >> NVIDIA/XFree86/nvidia-settings, ports-mgmt/distilator gives this (URLs >> are shortened for clarity): >> >> 404 [DISTFILE] http://tw.download.nvidia.com/... >> 200 [DISTFILE] ftp://download1.nvidia.com/... >> 200 [DISTFILE] ftp://download.nvidia.com/... >> 404 [DISTFILE] http://jp.download.nvidia.com/... >> 404 [DISTFILE] http://us.download.nvidia.com/... >> 200 [DISTFILE] http://download.nvidia.com/... >> 200 [WWW] http://www.nvidia.com/object/unix.html >> 200 [DISTFILE] http://download1.nvidia.com/... >> >> So, four 200 distfile locations vs. yours mere two (and both FTP, yuck). >> >> MASTER_SITE_NVIDIA is correct here, but some mirrors are stale. You can >> ping upstream to see if mirrors just need more time to catch up, or their >> maintainers stopped updating them. >> >> ./danfe > Look at the following patch as suggestion. This way the sites are not duplicated and it is clear to others there are problems on the other MASTER_SITE_NVIDIA sites. Bugzilla had the same problem but it was solved after defining a own site. Index: Mk/bsd.sites.mk =================================================================== --- Mk/bsd.sites.mk (revision 364667) +++ Mk/bsd.sites.mk (working copy) @@ -854,6 +854,12 @@ http://phase.hpcc.jp/mirrors/netlib/%SUBDIR%/ .endif +.if !defined(IGNORE_MASTER_SITE_NVIDIA_SETTINGS) +MASTER_SITE_NVIDIA_SETTINGS+= \ + ftp://download1.nvidia.com/%SUBDIR%/ \ + ftp://download.nvidia.com/%SUBDIR%/ +.endif + .if !defined(IGNORE_MASTER_SITE_NVIDIA) MASTER_SITE_NVIDIA+= \ http://jp.download.nvidia.com/%SUBDIR%/ \ @@ -861,8 +867,7 @@ http://tw.download.nvidia.com/%SUBDIR%/ \ http://download.nvidia.com/%SUBDIR%/ \ http://download1.nvidia.com/%SUBDIR%/ \ - ftp://download.nvidia.com/%SUBDIR%/ \ - ftp://download1.nvidia.com/%SUBDIR%/ + ${MASTER_SITE_NVIDIA_SETTINGS} .endif .if !defined(IGNORE_MASTER_SITE_OPENBSD) Index: x11/nvidia-settings/Makefile =================================================================== --- x11/nvidia-settings/Makefile (revision 364667) +++ x11/nvidia-settings/Makefile (working copy) @@ -4,8 +4,8 @@ PORTNAME= nvidia-settings PORTVERSION= 340.24 CATEGORIES= x11 -MASTER_SITES= ftp://download.nvidia.com/XFree86/nvidia-settings/ \ - ftp://download1.nvidia.com/XFree86/nvidia-settings/ +MASTER_SITES= ${MASTER_SITE_NVIDIA_SETTINGS} +MASTER_SITE_SUBDIR=XFree86/${PORTNAME}/ MAINTAINER= bland@FreeBSD.org COMMENT= Display Control Panel for X NVidia driver