Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 1998 01:42:51 -0700 (PDT)
From:      mac@st.rim.or.jp
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   ports/7268: MASTER_SITE_OVERRIDE works more better
Message-ID:  <199807130842.BAA00460@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         7268
>Category:       ports
>Synopsis:       MASTER_SITE_OVERRIDE works more better
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 13 01:50:01 PDT 1998
>Last-Modified:
>Originator:     Masahide NODA
>Organization:
>Release:        FreeBSD-2.2-STABLE
>Environment:
FreeBSD daemon.pssys.flab.fujitsu.co.jp 2.2.6-STABLE FreeBSD 2.2.6-STABLE #0: Fri Jul 10 18:36:33 JST 1998     mac@daemon.pssys.flab.fujitsu.co.jp:/usr1/src/sys/compile/DAEMON  i386

>Description:
(Sorry I am Japanese and my english is poor)

I set MASTER_SITE_OVERRIDE environment variable as 

	setenv MASTER_SITE_OVERRIDE ftp://ftp-site/pub/FreeBSD/distfiles

in my .cshrc.

When I make fetch in ports directory using DIST_SUBDIR, fetch the file

	${MASTER_SITE_OVERRIDE}/${DISTFILES}

and fail it. The true file is

	${MASTER_SITE_OVERRIDE}/${DIST_SUBDIR}/${DISTFILES}

Ofcouese, I know that setting this variable in /etc/make.conf as

MASTER_SITE_OVERRIDE=ftp://ftp-site/pub/FreeBSD/distfiles/${DIST_SUBDIR}

is work well, but I think both methods work well. :)

Sorry my borken English. Thank you.
>How-To-Repeat:
% make fetch MASTER_SITE_OVERRIDE=ftp://ftp-site/pub/FreeBSD/distfiles/

in some ports directory using DIST_SUBDIR

>Fix:
apply this patch 
--- bsd.port.mk.org     Mon Jul 13 13:59:04 1998
+++ bsd.port.mk Mon Jul 13 13:59:42 1998
@@ -615,8 +615,8 @@
 MASTER_SITES+= ${MASTER_SITE_BACKUP}
 PATCH_SITES+=  ${MASTER_SITE_BACKUP}
 .else
-MASTER_SITES:= ${MASTER_SITE_OVERRIDE} ${MASTER_SITES}
-PATCH_SITES:=  ${MASTER_SITE_OVERRIDE} ${PATCH_SITES}
+MASTER_SITES:= ${MASTER_SITE_OVERRIDE}/${DIST_SUBDIR}/ ${MASTER_SITES}
+PATCH_SITES:=  ${MASTER_SITE_OVERRIDE}/${DIST_SUBDIR}/ ${PATCH_SITES}
 .endif
 
 # Search CDROM first if mounted, symlink instead of copy if

>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?199807130842.BAA00460>