From johans@stack.nl  Thu Jun 25 12:53:17 2009
Return-Path: <johans@stack.nl>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A6A241065670;
	Thu, 25 Jun 2009 12:53:17 +0000 (UTC)
	(envelope-from johans@stack.nl)
Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104])
	by mx1.freebsd.org (Postfix) with ESMTP id 650668FC1B;
	Thu, 25 Jun 2009 12:53:17 +0000 (UTC)
	(envelope-from johans@stack.nl)
Received: by mx1.stack.nl (Postfix, from userid 65534)
	id 22653359931; Thu, 25 Jun 2009 14:53:15 +0200 (CEST)
Received: from mud.stack.nl (mud.stack.nl [IPv6:2001:610:1108:5011:230:48ff:fe12:2794])
	by mx1.stack.nl (Postfix) with ESMTP id 00061359889;
	Thu, 25 Jun 2009 14:53:12 +0200 (CEST)
Received: by mud.stack.nl (Postfix, from userid 801)
	id DB7511144A; Thu, 25 Jun 2009 14:53:12 +0200 (CEST)
Message-Id: <20090625125312.DB7511144A@mud.stack.nl>
Date: Thu, 25 Jun 2009 14:53:12 +0200 (CEST)
From: Johan van Selst <johans@FreeBSD.org>
Reply-To: Johan van Selst <johans@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: obrien@FreeBSD.org
Subject: [patch] editors/vim: improve fetching
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         136027
>Category:       ports
>Synopsis:       [patch] editors/vim: improve fetching
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 25 13:00:09 UTC 2009
>Closed-Date:    Tue Jul 14 17:01:16 UTC 2009
>Last-Modified:  Tue Jul 14 17:10:01 UTC 2009
>Originator:     Johan van Selst
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 7.2-STABLE FreeBSD 7.2-STABLE #7: Fri May 8 16:37:49 CEST 2009 root@mud.stack.nl:/extra1/obj/usr/src/sys/GENERIC i386


	
>Description:
	
	VIM fetches a lot of patches, including one by obrien that only
	lives on the FreeBSD servers and not on the regular vim mirrors;
	it takes long to retrieve this particular patch, as all other sites
	will be first (some of which are very slow to respond and others
	give varrious errors, such as 'Bad Request').

	The attached patch lets 'make fetch' grab this patch directly
	from the correct server, thus speeding up the fetch process and
	reducing confusing error messages in the process.
>How-To-Repeat:
	
>Fix:

	


--- Makefile.orig	2009-06-25 10:24:08.000000000 +0200
+++ Makefile	2009-06-25 10:21:52.000000000 +0200
@@ -16,7 +16,7 @@
 DISTFILES=	${RELEASE}${EXTRACT_SUFX}
 
 PATCH_SITES=	${MASTER_SITES:S|unix|patches/${PORTVERSION:C/\.[0-9a-z]*$//}|}\
-		ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/obrien/
+		ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/obrien/:local
 PATCHFILES!=	/usr/bin/jot -s " " -w ${PORTVERSION:C/\.[0-9]*$//}.%03d  \
 			${PATCHLEVEL} 1 ${PATCHLEVEL}
 #	bits to remove
@@ -27,7 +27,7 @@
 .for p in ${BADPATCHES}
 PATCHFILES:=	${PATCHFILES:N7.2.${p}}
 .endfor
-PATCHFILES:=	${PATCHFILES:S/041/041%/}
+PATCHFILES:=	${PATCHFILES:S/041/041%:local/}
 
 MAINTAINER?=	obrien@FreeBSD.org
 COMMENT?=	Vi "workalike", with many additional features
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->obrien 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jun 25 13:00:33 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136027 
State-Changed-From-To: open->closed 
State-Changed-By: skv 
State-Changed-When: Tue Jul 14 17:00:41 UTC 2009 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136027 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/136027: commit references a PR
Date: Tue, 14 Jul 2009 17:00:24 +0000 (UTC)

 skv         2009-07-14 17:00:11 UTC
 
   FreeBSD ports repository
 
   Modified files:
     editors/vim          Makefile 
   Log:
   Fix fetching famous^Wannoying patchfile 7.2.041%.
   
   Note that "7.2.041%" can not be correct part of http:// URL at all,
   because must be encoded as "7.2.041%25". Fetching works only because
   file fetched via "ftp://". However this name prevent using local
   distfiles cache accessed by http:// protocol, ex.:
   
           MASTER_SITE_OVERRIDE=http://freebsd.mycompany.com/distfiles/vim/
   
   So this file should be removed/renamed ASAP.
   
   PR:             ports/136027
   Submitted by:   johans
   Approved by:    maintainer timeout
   
   Revision  Changes    Path
   1.348     +2 -2      ports/editors/vim/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
