Subject: Re: transition of pkgsrc to a new machine
To: None <tech-pkg@netbsd.org>
From: Frank Knappe <knappe@tu-harburg.de>
List: tech-pkg
Date: 09/27/2002 15:19:56
On Fri, 27 Sep 2002, Hubert Feyrer wrote:

> On Fri, 27 Sep 2002, Frank Knappe wrote:
> > I will save my pkgsrc_distfile directory. Is there any way that I take the
> > output of pkg_info and compile/install all these packages on my new
> > machine?
> 
> pkg_info -e \* | sed 's/-[^-]*$//g' >p 	# pkgs w/o version
> setenv PKG_PATH ftp://ftp.netbsd.org/pub/NetBSD/packages/1.6/.../All
> pkg_add -v `cat p`

I think this will install all installed packages as binary packages
from ftp.netbsd.org, right?

I would prefer the installation from source, because I have all the
sources in pkgsrc_distfiles and this machine has only a dialup 
connection.

I will look into the suggestion with pkgchk.

Ciao , Frank .