Subject: Re: pkgscr installation
To: Marcus Franke <marcus.franke@gmx.net>
From: Michael <macallan18@earthlink.net>
List: port-sparc
Date: 04/19/2005 13:06:11
--Signature_Tue__19_Apr_2005_13_06_11_-0400_lcHm41nB+Z5f0z6A
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> I just installed netbsd 2.0.2 on a SparcStation20 and
> would like to install further software. It seems I have
> to use pkgsrc for this.
You can download and install binary packages using pkg_add - just set PKG_P=
ATH to a path or URL where packages can be found.

> But in /usr there is no pkgsrc subdirectory, how do I
> get it?
(assuming a csh-like shell)
setenv CVSROOT :pserver:anoncvs@anoncvs.netbsd.org:/cvsroot
cvs login
( use 'anoncvs' as password )
and then from /usr
cvs checkout pkgsrc
and have a cup of tea. Or two. Probably three, depending on your internet c=
onnectivity, downloading pkgsrc will take some time.

After that put something to set CVSROOT into your shell startup script ( .p=
rofile, .cshrc, whatever you're using ), add /usr/pkg/bin to your path and =
you're ready to go. You only need to do the login part once. To update pkgs=
rc just do
cd /usr/pkgsrc
cvs update -dPA

> I read the afterboot manpage and found the line which
> mentions sushi, but even sushi cannot install software.
> It badly fails :(
It probably doesn't know where to get packages.

btw. do NOT mix up binary packages and stuff compiled with pkgsrc. unset PK=
G_PATH when using pkgsrc or weird things may happen.

have fun
Michael

--Signature_Tue__19_Apr_2005_13_06_11_-0400_lcHm41nB+Z5f0z6A
Content-Type: application/pgp-signature

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

iQEVAwUBQmU6g8pnzkX8Yg2nAQIwuwgAsqsXxDT3IGDE5cxBlU8qthLqCygHzTfa
FSQ98FACu52Z/xae3Z6xZSn2Nray8w6WB+9VNoElDYZid1tq0NvtHup8ZrHcq39X
6lJGcYtz3ccGL5BTEbLGe/+Is4HYQtYGxM5t7MW23rX1GQVkwBeP5RPeLJvPtp5j
SD99h7NS4WJt1avdA2fk7cRZdilVXOWnpXV3PT42Q7vNwLJ5vU93LacnYfTqT1mh
aRpvqwa4MdAHd7Mu6s780mNXGpTPHKvwQgA4OHDlYZFk0WL+2g1Bys4+sSEhbjZG
rH0NNRuwwL/xciCswT7SS64ofjaAlACnDl1I8FvSHfnnvf4+h0K15Q==
=UB4A
-----END PGP SIGNATURE-----

--Signature_Tue__19_Apr_2005_13_06_11_-0400_lcHm41nB+Z5f0z6A--