Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 14:43:21 +0100
From:      "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To:        Sue Blake <sue@welearn.com.au>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: handling static filenames
Message-ID:  <20020311144321.65ef5b52.corecode@corecode.ath.cx>
In-Reply-To: <20020312002733.J16874@welearn.com.au>
References:  <20020311225125.B96107@welearn.com.au> <20020311132113.5dd83daf.corecode@corecode.ath.cx> <20020312002733.J16874@welearn.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
--=.'6oAmLyoZUIvev
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Tue, 12 Mar 2002 00:27:33 +1100 Sue Blake <sue@welearn.com.au> wrote:

> On Mon, Mar 11, 2002 at 01:21:13PM +0100, Simon 'corecode' Schubert wrote:
> > On Mon, 11 Mar 2002 22:51:25 +1100 Sue Blake <sue@welearn.com.au> wrote:
> > 
> > > I'm working on four ports (2 down, 2 to go) that have source archives
> > > which do not change name when they are upgraded. How do we deal with
> > > this? Keep a copy of foo.zip somewhere else, renamed to foo-1.23.zip
> > > and list it in the Makefile instead of or as well as the author's
> > > site? I could plonk them under people.freebsd.org but I don't know
> > > that it's the right way to handle the situation. Do we have any
> > > precedents or battle scars?
> > 
> > if you look at other ports which handle this:
> > they just do a
> > 
> > DISTNAME=	${PORTNAME}
> > 
> > or similar.
> 
> Thanks, but it was more the users' problems that I was concerned
> about. What happens when http://www.foo.com/foo.zip changes slightly
> two weeks after the port is out, BUT the filename is the same?

the distinfo will be invalid and the port won't build

> 1. The properly downloaded source file will be unusable with the port.
> 2. The reason for the problem and its solution will not be obvious to
>    the user.

if he does a make install distclean, he won't have any stale files on
his disk, but agreed, this is anoying

> 3. There is no way to get the older file.
> 4. It is not obvious that a later port might work with the current
>    file.

distinfo changes and prevents using another file as the one used when
creating the port.

> 5. If the author fixes his doc typos every Sunday for a few weeks,
>    it'll be a nightmare to keep up to date, and no chance of a
>    satisfactory "last month" version being used since the source
>    archive is (a) indistinguishable, and (b) not available from the
>    site.

that's bad. how about asking the upstream author if he is so kind to
supply a distinguishable file? no need to use version numbers, dates
suffit completely.


-- 
/"\   http://corecode.ath.cx/
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News

--=.'6oAmLyoZUIvev
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)

iD8DBQE8jLR7r5S+dk6z85oRAllMAKC9lvUQCMs0IWNrIQeb4XAxzr9q3wCfRyGV
yJi8rPmPsNSLOW7YsnP7+K8=
=SVQ2
-----END PGP SIGNATURE-----

--=.'6oAmLyoZUIvev--


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?20020311144321.65ef5b52.corecode>