From owner-freebsd-ports Thu Apr 19 13:39:20 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id 71BB137B424 for ; Thu, 19 Apr 2001 13:39:14 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from vic.sabbo.net (dialup8-16.iptelecom.net.ua [212.9.227.208]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id XAA70919; Thu, 19 Apr 2001 23:39:08 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.3/8.11.2) with ESMTP id f3JKcb200511; Thu, 19 Apr 2001 23:38:37 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3ADF4CCC.3EABE94@FreeBSD.org> Date: Thu, 19 Apr 2001 23:38:36 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Glenn Johnson Cc: ports@FreeBSD.org Subject: Re: Handling tarballs with no version References: <20010419125305.A48871@node7.cluster.srrc.usda.gov> <3ADF45B5.8D0F88D7@FreeBSD.org> <20010419153120.A72167@node7.cluster.srrc.usda.gov> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Glenn Johnson wrote: > On Thu, Apr 19, 2001 at 11:08:21PM +0300, Maxim Sobolev wrote: > > > Glenn Johnson wrote: > > > > > I have a port that I maintain that does not use a version number in > > > the tar file. If I update the port and bump either the PORTVERSION > > > or PORTREVISION variable, then users who have the port installed > > > will get a CHECKSUM mismatch when doing an upgrade. How can I > > > force the update of the distfile when one installs the port? I was > > > thinking that running the distclean target prior to fetch would work > > > but what is the cleanest way to implement that? > > > > Contact original author of software and ask him/her to assign some > > meaningful version number to the tarball in question. All other > > options suck badly. > > I did contact him a while back and he gave me some reason for wanting to > do it the way he does so that is a dead end. I guess it will just have > to be up to the user to handle it when the checksum mismatch occurs. Alternatively, copy it to your own http/ftp space, append some timestamp, and update from time to time distfile and appropriate port. This way you will ensure that the user will get distfile that in sync with current port. If you don't have a permanent http/ftp space you can ask any of the committers out there to put the distfile at MASTER_SITE_LOCAL. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message