RE: where to find what a port will try to download

2004-08-25 Thread Peter Ryan
Thanks Matthew.

Somehow I again find myself better informed,
much entertained, and pleasantly foolish.

Hopefully I am soon to acquire the skill of looking for
things in the places where they can be found.

Thanks again.
Peter


> 
> So I had all the numbers, etc. at my fingertips anyhow.
> 
> And, no, that article is not yet finished, and I have again 
> been distracted by other, more interesting, things.
>  
> > And how did you find out the exact name ?
> 
> By looking for it in the places where it could be found.
> 
>   Cheers,
> 
>   Matthew


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: where to find what a port will try to download

2004-08-25 Thread Matthew Seaman
On Wed, Aug 25, 2004 at 11:40:18AM +0800, Peter Ryan wrote:
> Hi Matthew,

Hi.
 
> I am trying to find out which files a port
> will try to download.
> 
> E.g. JDK14.  The Makefile has parameterised
> distfiles and I cant see where the parameters
> are resolved. I have looked in the other 
> package files and cant see anything.

Finding what the distfiles are is easy:

% cd /usr/ports/java/jdk14 
% make -V DISTFILES 
j2sdk-1_4_2-src-scsl.zip j2sdk-1_4_2-bin-scsl.zip bsd-jdk14-patches-6.tar.gz

As someone else said in this thread, you could also got and look at
FreshPorts.org to get this information.

This use of 'make -V' is essentially what FreshPorts does, except it
does a scan over the whole ports tree in one swell foop and stores the
results in a database for later use in constructing web pages.

> I while back, when I knew less than nothing about
> cvsup, you mentioned that the JDK14 port now used 
> a newer file from Sun.  (the '_05' instead of the
> '_04' I was looking for)

Well, you mentioned the older file in your message, and I happened to
know that the latest java/jdk14 patchlevel version was _06 on my
machine.  Which it has been for several months -- if we really were
talking about _05 then it must have been so long ago that I've
completely forgotten the conversation.

Besides, you're not the first person to have run into exactly this
problem on the FreeBSD mailing lists.
 
> How did you know the port wanted the newer file ?

Well, a long, long time ago (more than a year) I rather incautiously
promised to write an article about using Java on FreeBSD.  After many
months of studiously ignoring the part-completed work and doing other
more interesting stuff, I finally thought to myself "Enough is enough.
Finish the damn thing off and put it up on the Web."

So I had all the numbers, etc. at my fingertips anyhow.

And, no, that article is not yet finished, and I have again been
distracted by other, more interesting, things.
 
> And how did you find out the exact name ?

By looking for it in the places where it could be found.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: where to find what a port will try to download

2004-08-24 Thread Peter Ryan
--- Rowdy <[EMAIL PROTECTED]> wrote:

> Peter Ryan wrote:
> 
> > Hi Matthew,
> > 
> > I am trying to find out which files a port
> > will try to download.
> > 
> > E.g. JDK14.  The Makefile has parameterised
> > distfiles and I cant see where the parameters
> > are resolved. I have looked in the other 
> > package files and cant see anything.
> > 
> > I while back, when I knew less than nothing about
> > cvsup, you mentioned that the JDK14 port now used 
> > a newer file from Sun.  (the '_05' instead of the
> > '_04' I was looking for)
> > 
> > How did you know the port wanted the newer file ?
> > 
> > And how did you find out the exact name ?
> > 
> > Thanks
> > Peter
> 
> I'm not sure about the specific example above, but in general you
> can:
> 
> cd /usr/ports/x/y
> make fetch-recursive-list
> 
> That will spit out a list of fetch statements complete with
> alternative
> URLs for all source files needed to compile/install a port.
> 
> Dave


aha.. thanks.. that sounds perfect
regards
Peter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: where to find what a port will try to download

2004-08-24 Thread Peter Ryan
> | I am trying to find out which files a port will try to download.
> 
> So umm your trying to figure out the dependencies of a package?
> 
> 
> | E.g. JDK14.  The Makefile has parameterised distfiles and I cant
> see
> | where the parameters are resolved. I have looked in the other
> package
> | files and cant see anything.
> |
> | I while back, when I knew less than nothing about cvsup, you
> | mentioned that the JDK14 port now used a newer file from Sun. 
> (the
> | '_05' instead of the '_04' I was looking for)
> |
> | How did you know the port wanted the newer file ?
> |
> | And how did you find out the exact name ?
> |
> | Thanks
> 
> Well if you look at freshports and the jdk14 port:
> http://www.freshports.org/java/jdk14/ you can see that packages
> dependencies, and if you look at the linux-jdk package it depends on
> you
> can see:
> 
> "IGNORE: You must manually fetch the J2SE SDK self-extracting
> file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin)"
> 
> In the freshports site it details the differnt versions and when
> they
> were changed/updated. Is this what you were looking for?

Hi Will - thanks. I can see the _05 file easily, but
looking at freshports for jdk14, I cant see the other 
files that are downloaded into distfiles (eg, there are 
3 more j2sdk* files required as well).

Taking one as an example - j2sdk-1_4_2-src-scsl.zip.
It is not at all clear to me where this file is named
as part of the jdk14 download, or even where it appears
in the Makefile.

Any other clues ?

Many thanks
Peter


are defined as part of jdk14.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: where to find what a port will try to download

2004-08-24 Thread Will
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter Ryan wrote:
| Hi Matthew,
|
| I am trying to find out which files a port will try to download.
So umm your trying to figure out the dependencies of a package?
| E.g. JDK14.  The Makefile has parameterised distfiles and I cant see
| where the parameters are resolved. I have looked in the other package
| files and cant see anything.
|
| I while back, when I knew less than nothing about cvsup, you
| mentioned that the JDK14 port now used a newer file from Sun.  (the
| '_05' instead of the '_04' I was looking for)
|
| How did you know the port wanted the newer file ?
|
| And how did you find out the exact name ?
|
| Thanks
Well if you look at freshports and the jdk14 port:
http://www.freshports.org/java/jdk14/ you can see that packages
dependencies, and if you look at the linux-jdk package it depends on you
can see:
"IGNORE: You must manually fetch the J2SE SDK self-extracting
file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin)"
In the freshports site it details the differnt versions and when they
were changed/updated. Is this what you were looking for?
- --
www.mozilla.org/products/firefox/ - Do yourself a favor, don't use IE!
http://www.transparentcorp.com/ - General Interest.
PGP is Preferable for Email. GPG Key ID: 0x787AD6A9
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQCVAwUBQSwbTQx4IHh4etapAQKw0AP/fZ29G/xT18yzOz/MUlGlS40ngAyg8gM8
FYoDkpe/hsdXj0WSgIEAKPT/gTFMCAxNL83a2ZbveNaANWP3AkT7KWBlZVm2cNw0
gVV2EUSXZeXuF0fKDTQTm7E39KV60a0Epep1YQhTvyUk0vxEHYVh8bXWDbVQ72P9
udcfstgeqGc=
=ewUH
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"