Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2002 23:06:30 -0200
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        Daniel Eischen <eischen@pcnet1.pcnet.com>
Cc:        Pete Fritchman <petef@absolutbsd.org>, Daniel Eischen <eischen@vigrid.com>, ports@FreeBSD.ORG
Subject:   Re: Help with MASTER_SITE_SUBDIR
Message-ID:  <20021228010652.3617.qmail@exxodus.fedaykin.here>
In-Reply-To: <Pine.GSO.4.10.10212271819520.508-100000@pcnet1.pcnet.com>
References:  <20021227225945.GE15135@absolutbsd.org> <Pine.GSO.4.10.10212271819520.508-100000@pcnet1.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Fri, Dec 27, 2002 at 06:22:57PM -0500, Daniel Eischen wrote:
> On Fri, 27 Dec 2002, Pete Fritchman wrote:
> 
> > ++ 27/12/02 17:11 -0500 - Daniel Eischen:
> > | > | Shouldn't it try appending MASTER_SITE_SUBDIRs before falling
> > | > | back to ftp.FreeBSD.org?
> > | > 
> > | > You have to include %SUBDIR% where you want the MASTER_SITE_SUBDIR
> > | > directories to be inserted.
> > | 
> > | Huh?  Please elaborate.  I don't see any use of %SUBDIR% in
> > | lang/gcc28/Makefile.  From everything I've seen, one only needs
> > | to set MASTER_SITE_SUBDIR and ports/Mk/*.mk is suppose to take
> > | care of the rest.
> > 
> > But it's there, from gcc28/Makefile:
> > 
> > MASTER_SITES=   ${MASTER_SITE_GNU}
> > MASTER_SITE_SUBDIR=     gcc
> 
> Yes, I know that much.  Please look at lang/Makefile.  I have:
> 
> MASTER_SITES=	ftp://cs.nyu.edu/pub/gnat/${PORTVERSION}/:gnat \
> 		${MASTER_SITE_LOCAL}:boot \
> 		${MASTER_SITE_GNU}:gcc
> MASTER_SITE_SUBDIR=	gcc deischen/gcc .
> 
> It doesn't work as advertised.  Try it from lang/gnat.

	This produces the following fetching list. I am
not this is what you wanted to do.

ftp://cs.nyu.edu/pub/gnat/3.15p/gnat-3.15p-src.tgz  
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gnat-3.15p-src.tgz  
ftp://ftp.chg.ru/pub/gnu/gcc-2.8.1.tar.gz  
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gcc-2.8.1.tar.gz  
ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/gnat-3.15p-boot.tar.gz  
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gnat-3.15p-boot.tar.gz  

	You should have said you were trying to use MASTER_SITES:n.
Check the temporary Porter's Handbook entry on MASTER_SITES:n
on my home page. I'll add this entry to the official Porter's Handbook
over the weekend.

- gzipped version - check topic - "4.4.7 Multiple distribution files
  or patches from different sites and subdirectories (MASTER_SITES:n)"
http://people.freebsd.org/~lioux/book.html.gz

- if your browser can process gzipped files (both KDE Konqueror and
  Opera can)
http://people.freebsd.org/~lioux/book.html.gz#PORTING-MASTER-SITES-N

	The entries in lang/gnat/Makefile should be rewritten as
follows to work.

	Check the entry on how to use MASTER_SITE* variables
http://people.freebsd.org/~lioux/book.html.gz#PORTS-MASTER-SITES-N-EXAMPLE-DETAILED-USE-MASTER-SITE-SOURCEFORGE

MASTER_SITES=	ftp://cs.nyu.edu/pub/gnat/${PORTVERSION}/:gnat \
		${MASTER_SITE_LOCAL:S/$/:boot/} \
		${MASTER_SITE_GNU:S/$/:gcc/}
MASTER_SITE_SUBDIR=	gcc/:gcc \
			deischen/gcc/:boot deischen/:boot
DISTFILES=	${GNATNAME}.tgz:gnat \
		gcc-2.8.1.tar.gz:gcc

	This produces the following fetching list

ftp://cs.nyu.edu/pub/gnat/3.15p/gnat-3.15p-src.tgz  
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gnat-3.15p-src.tgz  
ftp://ftp.gnu.org/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://gatekeeper.dec.com/pub/GNU/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.uu.net/archive/systems/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.de.uu.net/pub/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.funet.fi/pub/gnu/prep/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.leo.org/pub/comp/os/unix/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.digex.net/pub/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.wustl.edu/mirrors/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.kddlabs.co.jp/pub/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.dti.ad.jp/pub/GNU/gcc/gcc-2.8.1.tar.gz  
ftp://www.dnsbalance.ring.gr.jp/pub/GNU/gcc/gcc-2.8.1.tar.gz  
http://www.t.ring.gr.jp/archives/GNU/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.mirror.ac.uk/sites/ftp.gnu.org/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://sunsite.org.uk/Mirrors/ftp.gnu.org/pub/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.informatik.hu-berlin.de/pub/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.rediris.es/mirror/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.lip6.fr/pub/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.chg.ru/pub/gnu/gcc/gcc-2.8.1.tar.gz  
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gcc-2.8.1.tar.gz  
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/deischen/gcc/gnat-3.15p-boot.tar.gz  
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/deischen/gnat-3.15p-boot.tar.gz  
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/deischen/gcc/gnat-3.15p-boot.tar.gz  
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/deischen/gnat-3.15p-boot.tar.gz  
ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/deischen/gcc/gnat-3.15p-boot.tar.gz  
ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/deischen/gnat-3.15p-boot.tar.gz  
ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/deischen/gcc/gnat-3.15p-boot.tar.gz  
ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/deischen/gnat-3.15p-boot.tar.gz  
ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/deischen/gcc/gnat-3.15p-boot.tar.gz  
ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/deischen/gnat-3.15p-boot.tar.gz  
ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/deischen/gcc/gnat-3.15p-boot.tar.gz  
ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/deischen/gnat-3.15p-boot.tar.gz  
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gnat-3.15p-boot.tar.gz  

	I think this is what you wanted initially. :) You are
approved (portmgr hat) to commit this update to the gnat Makefile
since the current state of fetching is not working correctly.

	Regards,

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
Computer Science Undergraduate | FreeBSD Committer | CS Developer
flames to beloved devnull@someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature

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?20021228010652.3617.qmail>