Date: Mon, 16 Sep 2002 15:18:15 +0900 (JST) From: Kimura Fuyuki <fuyuki@hadaly.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/42819: bsd.port.mk - MASTER_SITE_N unsorted Message-ID: <20020916061815.3296356A4@hadaly.dyndns.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020916061815.3296356A4>