Date: Fri, 6 Feb 2009 18:04:50 GMT From: "Sergey A. Osokin" <osa@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: portmgr@FreeBSD.org Subject: ports/131452: [PATCH] Fix the problem usage MASTER_SITE_SUBDIR without / Message-ID: <200902061804.n16I4onO050742@freefall.freebsd.org> Resent-Message-ID: <200902061810.n16IA58F050874@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 131452 >Category: ports >Synopsis: [PATCH] Fix the problem usage MASTER_SITE_SUBDIR without / >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 06 18:10:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sergey A. Osokin >Release: FreeBSD 7.1-PRERELEASE i386 >Organization: >Environment: System: FreeBSD i386 >Description: >How-To-Repeat: cd /usr/ports/www/nginx make config <choose "Enable http_accesskey module"> make fetch ===> Vulnerability check disabled, database not found ===> Found saved configuration for nginx-devel-0.7.33 => nginx-accesskey-2.0.3.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.cn.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/. fetch: ftp://ftp.cn.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/nginx-accesskey-2.0.3.tar.gz: File unavailable (e.g., file not found, no access) => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/nginx-accesskey-2.0.3.tar.gz: File unavailable (e.g., file not found, no access) => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/www/nginx. Quick fix for this problem is change the line 84 from: MASTER_SITE_SUBDIR= osa:accesskey to MASTER_SITE_SUBDIR= osa/:accesskey >Fix: This patch provided by vsevolod@. Index: ports/Mk/bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.610 diff -u -r1.610 bsd.port.mk --- ports/Mk/bsd.port.mk 1 Feb 2009 19:43:09 -0000 1.610 +++ ports/Mk/bsd.port.mk 6 Feb 2009 16:04:31 -0000 @@ -2422,7 +2422,7 @@ # Organize _{MASTER,PATCH}_SITE_SUBDIR_{DEFAULT,[^/:]+} according to grouping # rules (:something) .for _S in ${MASTER_SITE_SUBDIR} -_S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} +_S_TEMP= ${_S:S/^${_S:C@/?:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902061804.n16I4onO050742>