From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 6 18:10:05 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B65191065679 for ; Fri, 6 Feb 2009 18:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 91AB88FC12 for ; Fri, 6 Feb 2009 18:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n16IA5T0050875 for ; Fri, 6 Feb 2009 18:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n16IA58F050874; Fri, 6 Feb 2009 18:10:05 GMT (envelope-from gnats) Resent-Date: Fri, 6 Feb 2009 18:10:05 GMT Resent-Message-Id: <200902061810.n16IA58F050874@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Sergey A. Osokin" org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B615E106564A; Fri, 6 Feb 2009 18:04:50 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A42238FC18; Fri, 6 Feb 2009 18:04:50 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from freefall.freebsd.org (osa@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n16I4odc050743; Fri, 6 Feb 2009 18:04:50 GMT (envelope-from osa@freefall.freebsd.org) Received: (from osa@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n16I4onO050742; Fri, 6 Feb 2009 18:04:50 GMT (envelope-from osa) Message-Id: <200902061804.n16I4onO050742@freefall.freebsd.org> Date: Fri, 6 Feb 2009 18:04:50 GMT From: "Sergey A. Osokin" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: portmgr@FreeBSD.org Subject: ports/131452: [PATCH] Fix the problem usage MASTER_SITE_SUBDIR without / X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Sergey A. Osokin" , org List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 18:10:06 -0000 >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 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: