From owner-freebsd-ports@FreeBSD.ORG Thu Nov 14 04:14:55 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40D9D9AA for ; Thu, 14 Nov 2013 04:14:55 +0000 (UTC) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:7]) by mx1.freebsd.org (Postfix) with ESMTP id CD24F2A29 for ; Thu, 14 Nov 2013 04:14:54 +0000 (UTC) Received: from ppp118-210-43-157.lns20.adl2.internode.on.net (HELO leader.local) ([118.210.43.157]) by ipmail07.adl2.internode.on.net with ESMTP; 14 Nov 2013 14:44:53 +1030 Message-ID: <52844E3A.5080605@ShaneWare.Biz> Date: Thu, 14 Nov 2013 14:44:50 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Joe Nosay , ports Subject: Re: Determining file size of port source References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2013 04:14:55 -0000 On 14/11/2013 09:53, Joe Nosay wrote: > root@conhecer:/traverso/work # cd .. > root@conhecer:/traverso # make > ===> Found saved configuration for traverso-0.49.2 > ===> traverso-0.49.2 depends on file: /usr/local/sbin/pkg - found > => traverso-0.49.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. > => Attempting to fetch > http://downloads.sourceforge.net/project/traversofreebsdport/work/traverso-0.49.2-revision_2.tar.gztraverso-0.49.2.tar.gz > fetch: > http://downloads.sourceforge.net/project/traversofreebsdport/work/traverso-0.49.2-revision_2.tar.gztraverso-0.49.2.tar.gz: > Not Found > => Attempting to fetch > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/traverso-0.49.2.tar.gz > fetch: > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/traverso-0.49.2.tar.gz: > File unavailable (e.g., file not found, no access) > => Couldn't fetch it - please try to retrieve this > => port manually into /usr/ports/distfiles/ and try again. > *** Error code 1 > > Stop. > make[1]: stopped in /traverso > *** Error code 1 > > Stop. > make: stopped in /traverso > root@conhecer:/traverso # ls /usr/ports/distfiles|grep trav > traverso-0.49.2-revision_2.tar.gz > root@conhecer:/traverso # > > > > I do not need the 0.49.2 to be added to the download path. I only need > what is listed in /usr/ports/distfiles and nothing more. If your asking about the sourceforge download link, we'd need to see your Makefile to see how it is calculated to get it correct. Using SF for MASTER_SITES includes auto link calculations, it sounds like you are adding to the link creation when you don't need to. > On Wed, Nov 13, 2013 at 6:15 PM, Joe Nosay wrote: > >> "ls -lh -D Byte" does not give me the exact byte size of the archive. What >> is the correct command? >> Thanks You can use make makesum to create the distinfo for you - once you get the download links right.