ports/136027: [patch] editors/vim: improve fetching
Johan van Selst
johans at FreeBSD.org
Thu Jun 25 13:00:13 UTC 2009
>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 at 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 at FreeBSD.org
COMMENT?= Vi "workalike", with many additional features
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list