Subject: Re: PKGNAME version no question
To: None <tech-userlevel@NetBSD.ORG>
From: None <mcmahill@mtl.mit.edu>
List: tech-userlevel
Date: 06/15/1998 18:52:37
On Mon, 15 Jun 1998, Todd Vierling wrote:

> On Mon, 15 Jun 1998 mcmahill@mtl.mit.edu wrote:
> 
> : I don't have a version number because f2c doesn't come with one.  As far
> : as I can tell, the only way to tell what "version" is to look at the
> : "changes" file in the f2c distribution (which has dates and comments, but
> : also no version numbers).
> : 
> : Should I just blow off the version number and let PKGNAME get set to be
> : the same as DISTNAME (ie, "f2c")?


One person suggests:
> 
> Use the last change date, i.e. "19980601" for 1 June 1998.
> 

Someone else pointed out:
> cat version.c
> char F2C_version[] = "19980516";
> char xxxvers[] = "\n@(#) FORTRAN 77 to C Translator, VERSION
>  19980516\n";

I had totally missed version.c, but my question/concern is this.  The only
way to know what version of f2c you have is then to download the source,
uncompress version.c and then decide the version.  How does one know the
version number to use in the PKGNAME if you don't know the version until
you download the source and extract it?  Or is the right answer to take a
snapshot, call it f2c-19980516.tar.gz, put it on ftp.netbsd.org and only
have packages download it from there?  Just want to be sure I do this
right...

Thanks

Dan