From owner-freebsd-ports Sat Jul 18 16:55:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA12103 for freebsd-ports-outgoing; Sat, 18 Jul 1998 16:55:34 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from smtp13.bellglobal.com (smtp13.bellglobal.com [204.101.251.52]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA12098 for ; Sat, 18 Jul 1998 16:55:28 -0700 (PDT) (envelope-from tim@localhost.my.domain) Received: from localhost.my.domain (ppp6479.on.bellglobal.com [206.172.208.71]) by smtp13.bellglobal.com (8.8.5/8.8.5) with ESMTP id TAA14743; Sat, 18 Jul 1998 19:53:59 -0400 (EDT) Received: (from tim@localhost) by localhost.my.domain (8.8.8/8.8.8) id RAA18230; Sat, 18 Jul 1998 17:55:17 -0400 (EDT) (envelope-from tim) Message-ID: <19980718175516.A18192@zappo> Date: Sat, 18 Jul 1998 17:55:17 -0400 From: Tim Vanderhoek To: Sue Blake Cc: Chuck Robey , freebsd-ports@FreeBSD.ORG Subject: Re: questions about packages References: <19980718171423.58388@welearn.com.au> <19980719001610.45098@welearn.com.au> <19980718134825.C11959@zappo> <19980719082019.63071@welearn.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19980719082019.63071@welearn.com.au>; from Sue Blake on Sun, Jul 19, 1998 at 08:20:19AM +1000 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Jul 19, 1998 at 08:20:19AM +1000, Sue Blake wrote: > > > > Well, I don't think it can be done cleanly. You probably don't much > > care about that, though... I don't think there's any reason you > > couldn't use an iscript INSTALL script in the package to call pkg_add > > again manually... > > You've lost me... the script idea is OK but remind me why I would want > to call pkg_add again? To add the dependencies. Instead of using pkg_*'s normal dependency handling, you would just call pkg_add from within the iscript to add the "dependencies". I don't know how well this would work at freebsd-install-time. You'd have to ask jkh. I don't think there would be any problems... Of course, if the package is being added at freebsd-install-time, there's no reason you can't use pkg_add's normal dependency handling. > If it's downloaded it'll probably be downloaded with windoze, making > the whole process a series of complicated steps. I need to work out how > many steps that can be reduced to, whether after all that a package # mount -t msdos /dev/wd0s1 /mnt # pkg_add /mnt/file-that-was-just-copied-to-c\\-from-windows Where, of course, /dev/wd0s1 will change if they have something other than the configuration they probably have. :) > I'm starting to think it would have taken one tenth of the time and > effort to do it with an install script instead of a package :-) I've > never written scripts before but I can read how to make them work. My Sure you have [written scripts]. Anytime you type a command you're making a little script all of your own! > Instead of just complaining I'm trying to do something about it, and I > won't raise a new user's difficulty to suit my own convenience. Yes, > these people really do exist, and even when our eyes are firmly shut > they don't go away. |-) ;) -- This .sig is not innovative, witty, or profund. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message