Date: Thu, 25 Jun 2009 14:53:12 +0200 (CEST) From: Johan van Selst <johans@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: obrien@FreeBSD.org Subject: ports/136027: [patch] editors/vim: improve fetching Message-ID: <20090625125312.DB7511144A@mud.stack.nl> Resent-Message-ID: <200906251300.n5PD0953052908@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 136027 >Category: ports >Synopsis: [patch] editors/vim: improve fetching >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Jun 25 13:00:09 UTC 2009 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090625125312.DB7511144A>