[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wondering about /usr/ports/packages/i386/cdrom



On Fri, Nov 12, 2004 at 04:32:00AM +0100, Oliver Fuchs wrote:
> On Wed, 10 Nov 2004, Jim Razmus wrote:
> 
> > * Oliver Fuchs <oliverfuchs_(_at_)_onlinehome_(_dot_)_de> [041110 12:37]:
> > > Hi,
> > > I am new to the list and new to OpenBSD 3.6.
> > 
> > Welcome.
> > 
> > > What I found now that made me wondering:
> > > I downloaded for 3.6 the midnight commander in the ports tree with make
> > > install. I have copied all the packages that came with the OpenBSD CDs to
> > > /usr/ports/packages/All like I did in FreeBSD.
> > 
> > You could mount the cd and install packages directly from it...
> > 
> > > Now what I do not understand is the way OpenBSD is storing the
> > > downloaded/compiled packages.
> > > The mc-packages was copied to /usr/ports/packages/all and
> > > /usr/ports/packages/ftp.
> > 
> > It's a link.
> > 
> > > Is the /usr/ports/packages/cdrom for all the packages from the Distribution
> > > CD?
> > 
> > The ftp and cdrom directories are subsets of all.  And their respective
> > contents are links to the packages file in the 'all' directory.
> > 
> > > I also noticed that doing a package installation this way (with make
> > > install) OpenBSD does not check if dependencies-packages are already on the
> > > system (e.g. in /usr/ports/packages/cdrom) so that they do not have to be
> > > downloaded anymore. But if I do an pkg_add via ftp  this directory is
> > > checked as far as I can see it.
> > > I know there is an environment for portupgrade and the pkg-tools on FreeBSD
> > > - is there something similar on OpenBSD?
> > 
> > Mark is working on pkg_update capabilities.
> > 
> 
> I copied all the packages from the cd to my system because I thought if I am
> downloading a package then openbsd would check the folder if packages that
> depend on the downloaded one are already there and do not have to be
> downloaded again.

Set PKG_PATH correctly, and it will work.



Visit your host, monkey.org