Subject: Re: Installing a software from pkgsrc of another machine
To: Silas Justiniano <silasju@gmail.com>
From: Joel CARNAT <joel@carnat.net>
List: pkgsrc-users
Date: 03/28/2007 22:02:18
--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On Wed, Mar 28 2007 - 01:06, Silas Justiniano wrote:
> Hello all!
>=20
> I have pkgsrc installed on /usr/pkgsrc of host1 and I need to install, for
> example, vim on host2 using the directory of host1.
>=20
> Do you know if it is possible? NFS or anything similar? Is there any
> specific documentation for that?
>=20

yes it is possible, I do it :-)
here's what I do (in details):

1. Have a unique /home/cvs/pkgsrc shared via NFS to all my servers.
2. Symlink /etc/mk.conf to /home/cvs/pkgsrc/mk.conf so that all my servers =
shares it too.
3. I build all the required packages from a single unique dedicated server =
(a dedicated domU in fact).
4. Then I use pkg_add or pkg_chk to install/upgrade the binary packages.

I guess the docs to read are:
1. how to setup NFS: http://www.netbsd.org/guide/en/chap-net-misc.html#chap=
-net-misc-nfs
2. pkgsrc user guide: http://www.netbsd.org/Documentation/pkgsrc/

Regards,
	Jo


--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFGCsnK0/VH7L7F7Y4RAsxdAJ91h3hnoluBK3v4nfrpDX44gFZjbACfSJ8R
j9y3tUAYfyw2YF2UDqXmJTc=
=mZbA
-----END PGP SIGNATURE-----

--fUYQa+Pmc3FrFX/N--