From owner-freebsd-ports Mon Sep 18 13:24:37 2000 Delivered-To: freebsd-ports@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 14E8C37B422 for ; Mon, 18 Sep 2000 13:24:33 -0700 (PDT) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id WAA05909; Mon, 18 Sep 2000 22:24:09 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Will Andrews Cc: ports@FreeBSD.ORG Subject: Re: porteasy References: <86og1ld4u6.fsf@md5.follo.net> <20000918142919.D35550@radon.gryphonsoft.com> From: Dag-Erling Smorgrav Date: 18 Sep 2000 22:24:08 +0200 In-Reply-To: Will Andrews's message of "Mon, 18 Sep 2000 14:29:19 -0500" Message-ID: Lines: 38 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Will Andrews writes: > On Mon, Sep 18, 2000 at 06:48:01PM +0200, Dag-Erling Smorgrav wrote: > > I'm working on a porteasy port, and have two short questions: > What does it do? (No, it's not obvious from the name.) Short version: it builds ports. Long version: it looks up the specified ports in the index file, builds a dependency list, optionally updates the port tree using CVS, and then, depending on command-line options, does a variety of things to the ports you specified (shows the comment file; fetches all distfiles; installs the port; builds packages for the port and its dependencies) > > 1) What's the maximum tolerated size for files placed in FILESDIR? > No real limit. Is 20 kB OK? > > 2) Could you guys please find a way to list MASTERDIR dependencies in > > ports/INDEX? Porteasy currently has no way to know that e.g. > > www/w3m-ssl depends on www/w3m to build. I can try to have > > porteasy extract MASTERDIR from the Makefile, but it'd be messy > > and extremely inefficient. > make -V MASTERDIR > is hard? No, but it means I have to add dependencies on the fly, then go back and start over until the dependency graph stabilizes. It would be a lot simpler to have a complete dependency graph from the start. But it doesn't really matter any more, as I went ahead and implemented it, and although it's inefficient (more invocations of cvs, which is costly if you're working against a remote repo), it's not a dog. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message