From owner-freebsd-ports Mon Mar 11 6:10:36 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by hub.freebsd.org (Postfix) with ESMTP id 6AF5B37B416 for ; Mon, 11 Mar 2002 06:10:28 -0800 (PST) Received: from fwd07.sul.t-online.de by mailout02.sul.t-online.com with smtp id 16kQ5P-0007d1-0o; Mon, 11 Mar 2002 14:43:35 +0100 Received: from spirit.corecode.ath.cx (320050403952-0001@[80.128.107.3]) by fmrl07.sul.t-online.com with esmtp id 16kQ5F-0useEiC; Mon, 11 Mar 2002 14:43:25 +0100 Received: from elevation.zuhause.stoert.net (elevation.zuhause.stoert.net [192.168.66.46]) by spirit.corecode.ath.cx (8.11.6/8.11.6) with ESMTP id g2BDhOs00317; Mon, 11 Mar 2002 14:43:24 +0100 (CET) (envelope-from corecode@corecode.ath.cx) Received: (from corecode@localhost) by elevation.zuhause.stoert.net (8.11.6/8.11.6) id g2BDhN809888; Mon, 11 Mar 2002 14:43:23 +0100 (CET) (envelope-from corecode) Date: Mon, 11 Mar 2002 14:43:21 +0100 From: "Simon 'corecode' Schubert" To: Sue Blake 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> X-Mailer: Sylpheed version 0.7.2claws (GTK+ 1.2.10; i386--freebsd4.5) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=.'6oAmLyoZUIvev" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.'6oAmLyoZUIvev Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 12 Mar 2002 00:27:33 +1100 Sue Blake 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 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