From owner-freebsd-ports Sat Jul 18 12:37:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA19082 for freebsd-ports-outgoing; Sat, 18 Jul 1998 12:37:35 -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 MAA19074 for ; Sat, 18 Jul 1998 12:37:31 -0700 (PDT) (envelope-from tim@localhost.my.domain) Received: from localhost.my.domain (ppp6422.on.bellglobal.com [206.172.208.14]) by smtp13.bellglobal.com (8.8.5/8.8.5) with ESMTP id PAA29438; Sat, 18 Jul 1998 15:36:36 -0400 (EDT) Received: (from tim@localhost) by localhost.my.domain (8.8.8/8.8.8) id NAA12020; Sat, 18 Jul 1998 13:37:50 -0400 (EDT) (envelope-from tim) Message-ID: <19980718133750.B11959@zappo> Date: Sat, 18 Jul 1998 13:37:50 -0400 From: Tim Vanderhoek To: Chuck Robey , Sue Blake Cc: freebsd-ports@FreeBSD.ORG Subject: Re: questions about packages References: <19980718171423.58388@welearn.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Chuck Robey on Sat, Jul 18, 1998 at 05:15:21AM -0400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Jul 18, 1998 at 05:15:21AM -0400, Chuck Robey wrote: > > Packages will check dependencies, but won't automatically go out, fetch, > and install them. They'll just report missing pieces to the screen as a Yes, they will go out and automatically fetch and install them. :) see pkg_add(1). I can't remember offhand all the places it checks for them. I think all it does is cut-off the current pkgname, and then append the desired one. Eg. pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/packages-stable/All/docbook.tgz Will automatically install all the required ports (except, there is no "docbook.tgz" package, of course :). See pkg_install/add/perform.c for full docs. :) > > Please don't send me to the sources! I'm just a newbie with attitude. Oops. :) Try doing some testing, and see what it does. If you wait and bug me about, I can go check the sources for you later, but not right now. I "documented" pkg_add's auto-fetch feature, and I probably should have documented what it would try and auto-fetch at the same time... ;-) And those are ugly sources, too... Perl has the only sources I've ever liked... -- 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