Re: Where is the config file?

2003-10-21 Thread Erik Trulsson
On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: I would like to know where pkg_add keeps its configuration file? I mean when I execute the command 'pkg_add -r bzip2' how does it know that it needs to fetch it from ftp://ftp.freebsd.org/./packages-4-stable/ as opposed to

Re: Where is the config file?

2003-10-21 Thread Matthew Seaman
On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: I would like to know where pkg_add keeps its configuration file? I mean when I execute the command 'pkg_add -r bzip2' how does it know that it needs to fetch it from ftp://ftp.freebsd.org/./packages-4-stable/ as opposed to

Re: Where is the config file?

2003-10-21 Thread Dinesh Nadarajah
The reason I am asking all these questions is that I am exploring the possibility of of writing an apt-get like application for FreeBSD (call it apt-pkg). Apt-get was written to help out dpkg in Debian. pkg_add has a lot more features than dpkg but not the update/upgrade features of apt-get. So

Re: Where is the config file?

2003-10-21 Thread Q
You might want to look at the portupgrade tool in the ports collection. It supports a '-P' flag that tells it to use packages instead of compiling from source. It does an excellent job of handling dependencies (if used correctly), and is very easy to use. It may be better to create a friendly

Re: Where is the config file?

2003-10-21 Thread Kris Kennaway
On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: I would like to know where pkg_add keeps its configuration file? I mean when I execute the command 'pkg_add -r bzip2' how does it know that it needs to fetch it from ftp://ftp.freebsd.org/./packages-4-stable/ as opposed to