From owner-freebsd-ports Tue Nov 21 22:17:42 1995 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA07154 for ports-outgoing; Tue, 21 Nov 1995 22:17:42 -0800 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA07149 for ; Tue, 21 Nov 1995 22:17:29 -0800 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id GAA25100; Wed, 22 Nov 1995 06:15:35 GMT From: Michael Smith Message-Id: <199511220615.GAA25100@genesis.atrad.adelaide.edu.au> Subject: Re: Proposal 3: Non-executable file in *_DEPEND To: asami@cs.berkeley.edu (Satoshi Asami) Date: Wed, 22 Nov 1995 06:15:35 +0000 () Cc: msmith@atrad.adelaide.edu.au, ports@FreeBSD.ORG In-Reply-To: <199511201353.FAA01006@silvia.HIP.Berkeley.EDU> from "Satoshi Asami" at Nov 20, 95 05:53:02 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2321 Sender: owner-ports@FreeBSD.ORG Precedence: bulk Satoshi Asami stands accused of saying: > * if item not installed and port available > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This is the hard part. There is no easy way to get this mapping, > unlike port -> package. The only file that contains this, > /usr/ports/INDEX, is often out of date, not only because of my > laziness, but also because we can't expect the users to grab that file > off the ftp site too often. No, but if "find /usr/ports -name -type d" comes up with exactly one match, or (perhaps better) a traversal of the Makefiles in /usr/ports finds the offender, you've got it. It's nontrivial, but it is possible. >* to put some coherent thoughts together. I spent a little time recently >* looking at how the RedHat Linux people do things. They're a little more >* rigid in their pacakge definition rules, but the "rpm" tools looked >* fairly similar in feature set to the pkg_* tools, so I tinkered with >* their graphical front end with a vague idea to making it work under FreeBSD. > > That's very cool. Not really 8( They use Python with a pile of nonstandard options to provide the GUI. I had some prompt and to-the-point help (fortunately) on Python, or it would have been a very short tinker 8( > * Because a hypothetical interactive installer will pop up a dialog and say > > Yeah, that will be nice.... Well, I think there are a number of people who might be willing to spend some time writing a nice frontend; I'm currently reasonably enthused about doing some work on a "pkg" tool, given that most of my other "great ideas" have stonewalled 8( > This is already recommended, although not mandatory. I'm planning tho > bring this up as "proposal 5" or something. :) Of curiosity, have you ever looked at "setld" under Ultrix? (OSF/1?) It's one of the most horrific pieces of sh programming I've ever met, but it really sets the basic standard for what we need. > Satoshi -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 041-122-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] "Who does BSD?" "We do Chucky, we do." [[