Date: Mon, 11 Aug 2014 23:42:58 +0200 From: olli hauer <ohauer@gmx.de> To: Alexey Dokuchaev <danfe@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Alexander Nedotsukov <bland@FreeBSD.org>, ports-committers@freebsd.org Subject: Re: svn commit: r364540 - head/x11/nvidia-settings Message-ID: <53E938E2.9060202@gmx.de> In-Reply-To: <C3762AF5-676A-495F-91C9-2D4CD41B9BB5@FreeBSD.org> References: <53e777f9.28cd.621911f7@svn.freebsd.org> <20140810135409.GA22681@FreeBSD.org> <52BDAD7F-864F-4930-8F3D-CCD9B3DFFF72@FreeBSD.org> <20140811062311.GB55398@FreeBSD.org> <C3762AF5-676A-495F-91C9-2D4CD41B9BB5@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <danfe@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E938E2.9060202>