Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 1998 17:55:17 -0400
From:      Tim Vanderhoek <ac199@hwcn.org>
To:        Sue Blake <sue@welearn.com.au>
Cc:        Chuck Robey <chuckr@Glue.umd.edu>, freebsd-ports@FreeBSD.ORG
Subject:   Re: questions about packages
Message-ID:  <19980718175516.A18192@zappo>
In-Reply-To: <19980719082019.63071@welearn.com.au>; from Sue Blake on Sun, Jul 19, 1998 at 08:20:19AM %2B1000
References:  <19980718171423.58388@welearn.com.au> <Pine.BSF.3.96.980718050959.18866M-100000@localhost> <19980719001610.45098@welearn.com.au> <19980718134825.C11959@zappo> <19980719082019.63071@welearn.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980718175516.A18192>