From owner-freebsd-ports Sun Sep 15 23:20:11 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EB0537B401 for ; Sun, 15 Sep 2002 23:20:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7539A43E75 for ; Sun, 15 Sep 2002 23:20:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8G6K7JU068267 for ; Sun, 15 Sep 2002 23:20:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8G6K7w9068266; Sun, 15 Sep 2002 23:20:07 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2963637B400 for ; Sun, 15 Sep 2002 23:18:20 -0700 (PDT) Received: from t-mta1.odn.ne.jp (mfep1.odn.ne.jp [143.90.131.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3117143E3B for ; Sun, 15 Sep 2002 23:18:19 -0700 (PDT) (envelope-from fuyuki@hadaly.dyndns.org) Received: from hadaly.dyndns.org ([218.46.6.95]) by t-mta1.odn.ne.jp with ESMTP id <20020916061818141.LQAS.8224.t-mta1.odn.ne.jp@mta1.odn.ne.jp>; Mon, 16 Sep 2002 15:18:18 +0900 Received: by hadaly.dyndns.org (Postfix, from userid 1001) id 3296356A4; Mon, 16 Sep 2002 15:18:15 +0900 (JST) Message-Id: <20020916061815.3296356A4@hadaly.dyndns.org> Date: Mon, 16 Sep 2002 15:18:15 +0900 (JST) From: Kimura Fuyuki To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/42819: bsd.port.mk - MASTER_SITE_N unsorted Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42819 >Category: ports >Synopsis: bsd.port.mk - MASTER_SITE_N unsorted >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 15 23:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Kimura Fuyuki >Release: FreeBSD 4.6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD hadaly.dyndns.org 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #17: Wed Aug 14 17:19:17 JST 2002 root@hadaly.dyndns.org:/sack/tmp/obj/pub/src/sys/NS i386 >Description: MASTER_SITE_N is never sorted. >How-To-Repeat: # grep MASTER_SORT_REGEX /etc/make.conf MASTER_SORT_REGEX?= ^file: ^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ ://[^/]*\.jp/ ://[^/]*\.jp\. # cd /usr/ports/print/ghostscript-gnu # make fetch-list /usr/bin/env HTTP_PROXY=http://proxy:3128 FTP_PROXY= /usr/bin/fetch -A http://us.dl.sourceforge.net/ghostscript/ghostscript-7.05.tar.bz2 || /usr/bin/env HTTP_PROXY=http://proxy:3128 FTP_PROXY= /usr/bin/fetch -A http://eu.dl.sourceforge.net/ghostscript/ghostscript-7.05.tar.bz2 || /usr/bin/env HTTP_PROXY=http://proxy:3128 FTP_PROXY= /usr/bin/fetch -A ftp://us.dl.sourceforge.net/pub/sourceforge/ghostscript/ghostscript-7.05.tar.bz2 || /usr/bin/env HTTP_PROXY=http://proxy:3128 FTP_PROXY= /usr/bin/fetch -A ftp://ftp.kddlabs.co.jp/sourceforge/ghostscript/ghostscript-7.05.tar.bz2 || /usr/bin/env HTTP_PROXY=http://proxy:3128 FTP_PROXY= /usr/bin/fetch -A ftp://ftp.chg.ru/pub/sourceforge/ghostscript/ghostscript-7.05.tar.bz2 || /usr/bin/env HTTP_PROXY=http://proxy:3128 FTP_PROXY= /usr/bin/fetch -A ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ghostscript/ghostscript-7.05.tar.bz2 || echo ghostscript-7.05.tar.bz2 not fetched (snip) >Fix: This patch would solve the problem but I'm not too sure since the script is very complicated. --- bsd.port.mk Mon Sep 16 15:05:37 2002 +++ /usr/ports/Mk/bsd.port.mk Mon Sep 16 15:02:35 2002 @@ -2088,7 +2088,7 @@ fi \ done; \ ___MASTER_SITES_TMP= ; \ - SORTED_MASTER_SITES_CMD_TMP="echo ${_MASTER_SITE_OVERRIDE} `echo '$${__MASTER_SITES_TMP}' | ${AWK} '${MASTER_SORT_AWK}'` ${_MASTER_SITE_BACKUP}" ; \ + SORTED_MASTER_SITES_CMD_TMP="echo ${_MASTER_SITE_OVERRIDE} `echo $${__MASTER_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_MASTER_SITES_CMD_TMP="${SORTED_MASTER_SITES_DEFAULT_CMD}" ; \ fi ; \ @@ -2133,7 +2133,7 @@ fi \ done; \ ___PATCH_SITES_TMP= ; \ - SORTED_PATCH_SITES_CMD_TMP="echo ${_MASTER_SITE_OVERRIDE} `echo '$${__PATCH_SITES_TMP}' | ${AWK} '${MASTER_SORT_AWK}'` ${_MASTER_SITE_BACKUP}" ; \ + SORTED_PATCH_SITES_CMD_TMP="echo ${_MASTER_SITE_OVERRIDE} `echo $${__PATCH_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_PATCH_SITES_CMD_TMP="${SORTED_PATCH_SITES_DEFAULT_CMD}" ; \ fi ; \ @@ -2782,7 +2782,7 @@ fi \ done; \ ___MASTER_SITES_TMP= ; \ - SORTED_MASTER_SITES_CMD_TMP="echo ${_MASTER_SITE_OVERRIDE} `echo '$${__MASTER_SITES_TMP}' | ${AWK} '${MASTER_SORT_AWK}'` ${_MASTER_SITE_BACKUP}" ; \ + SORTED_MASTER_SITES_CMD_TMP="echo ${_MASTER_SITE_OVERRIDE} `echo $${__MASTER_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_MASTER_SITES_CMD_TMP="${SORTED_MASTER_SITES_DEFAULT_CMD}" ; \ fi ; \ @@ -2814,7 +2814,7 @@ fi \ done; \ ___PATCH_SITES_TMP= ; \ - SORTED_PATCH_SITES_CMD_TMP="echo ${_MASTER_SITE_OVERRIDE} `echo '$${__PATCH_SITES_TMP}' | ${AWK} '${MASTER_SORT_AWK}'` ${_MASTER_SITE_BACKUP}" ; \ + SORTED_PATCH_SITES_CMD_TMP="echo ${_MASTER_SITE_OVERRIDE} `echo $${__PATCH_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_PATCH_SITES_CMD_TMP="${SORTED_PATCH_SITES_DEFAULT_CMD}" ; \ fi ; \ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message