From owner-freebsd-ports@FreeBSD.ORG Fri Nov 15 02:45:34 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB5DE3E6 for ; Fri, 15 Nov 2013 02:45:34 +0000 (UTC) Received: from mail-oa0-x236.google.com (mail-oa0-x236.google.com [IPv6:2607:f8b0:4003:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B8A7B2102 for ; Fri, 15 Nov 2013 02:45:34 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id o6so3260072oag.41 for ; Thu, 14 Nov 2013 18:45:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1uIJtyS+h1ZP0MkN5jq0nQTlz7nLBgn4qGgcIwnOtEk=; b=HZrwUVkVQsl0n+csm4nVFHFJ59tjv3ca2wNkj2P1M9aspNdSLAlrTcGLf/d6iZV1da jL5BT8H7ECSLSeo3K3X77TKz1KDosjZxOiMyK/VNnRM8nFXM5j/r5/nxyBeApLf58E// PZlz9i60L2QSljD2f5jZVVEt+3vtAXJkA7dYRbctpmtGQ1saKx8qOpFbnNmUQ8ALIVPZ xF+U3aTLUajJzsyOY4nLZ3ggVfJBVwM4ajKOH+YBwW1MP07/yIF8x02mEYOXR/91RJ3F qweqZ125JR6lzUSyZezTChTzocfRqHFVCe/xXxLjGEfBRr+rf03FNsDd1/JnWYXzInrP XBjg== MIME-Version: 1.0 X-Received: by 10.60.133.233 with SMTP id pf9mr4825747oeb.46.1384483534010; Thu, 14 Nov 2013 18:45:34 -0800 (PST) Received: by 10.182.78.100 with HTTP; Thu, 14 Nov 2013 18:45:33 -0800 (PST) In-Reply-To: <52844E3A.5080605@ShaneWare.Biz> References: <52844E3A.5080605@ShaneWare.Biz> Date: Thu, 14 Nov 2013 21:45:33 -0500 Message-ID: Subject: Re: Determining file size of port source From: Joe Nosay To: Shane Ambler Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: ports 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: Fri, 15 Nov 2013 02:45:35 -0000 On Wed, Nov 13, 2013 at 11:14 PM, Shane Ambler wrote: > 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. > > Thanks. I'm still patching/rewriting files. One of my problems was not re-creating the folder properly and then archiving it.