On Friday 06 January 2006 04:10 pm, Ceri Davies wrote: > On 6 Jan 2006, at 20:59, Dirk Engling wrote: > > On Fri, 6 Jan 2006, Matt Emmerton wrote: > >> What about pkg_fetch -R? > > > > This command is not in the base system. Since there is some logic > > in pkg_add for resolving dependencies and fetching packages I > > hoped, there might be some easy way not involving additional > > dependencies. > > The package cluster uses chroot() for this.
I use a shell script that downloads a package with fetch, extracts +CONTENTS to a temporary directory and parses it for dependencies, then downloads any missing dependencies and adds them. It's not too hard to do, but it would be handy to have this feature built into pkg_add itself perhaps. -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"