Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
garbled 17296a052b Fix lots of warnings about pointers cast to integers and the like on
alpha.  Fixes PR# 5454 by Johnny C. Lam.  Now builds cleanly on LP64.
1998-10-27 07:21:19 +00:00
archivers -DUNIX -> -Dunix, closes pr 6338 by Geoff C. Wing. 1998-10-21 09:21:04 +00:00
audio Use #include <signal.h> instead of #include <sys/signal.h> 1998-10-18 07:39:08 +00:00
benchmarks Make the "flops" benchmark into a good citizen, and exit with the proper 1998-10-22 13:01:25 +00:00
cad Fix this package name. 1998-09-15 09:26:24 +00:00
comms Make this package install the C++ examples, so that the PLIST is correct. 1998-09-22 14:56:11 +00:00
converters Fix "${MASTER_SITES}". 1998-09-28 13:43:35 +00:00
corba Upgrade to version 0.3.0 of ORBit (a high-performance CORBA ORB with 1998-10-05 14:02:06 +00:00
cross Fix location of wmemu2b.zip. 1998-08-26 19:35:37 +00:00
databases Adapt to deal with (IMHO bogus) new location of the MySQL shared client 1998-10-19 21:47:59 +00:00
devel Document and enable ElectricFence 1998-10-27 04:07:09 +00:00
distfiles Explain what goes here. 1997-12-17 09:25:18 +00:00
editors Update xvile package to version 8.1. 1998-10-05 12:43:46 +00:00
emulators 0.5b2.2 1998-10-25 22:06:23 +00:00
fonts/Xg Add NetBSD RCS Ids. 1998-08-07 13:27:33 +00:00
games Add missing rcs id. 1998-10-14 08:19:51 +00:00
graphics Make sure that HAVE_SCSIREQ_ENTER gets not defined even if libscsi is 1998-10-25 21:25:48 +00:00
lang Clarified the short description to specify GNU emacs. 1998-10-18 20:47:49 +00:00
mail pick -D now picks messages with identical bodies even if the number 1998-10-25 17:10:57 +00:00
math Add and enable pspp. 1998-10-26 18:57:56 +00:00
mbone <sys/inttypes.h> -> <inttypes.h>. A brick flies off into the ether. 1998-10-02 09:49:59 +00:00
meta-pkgs As apache got upgraded to 1.3.1, adjust DEPENDS on it as well. 1998-08-14 10:17:44 +00:00
misc Configure --with-amandahosts. This causes Amanda to use .amandahosts 1998-10-19 15:56:22 +00:00
mk Update the (package) version of pkg_install tools to 19981026, to use 1998-10-26 18:29:10 +00:00
net Correct the primary category field for this package. 1998-10-15 19:51:07 +00:00
news nntpcache has a "fee-based-commercial-use" license. Add that category of 1998-10-19 11:23:31 +00:00
packages Explain what goes here. 1997-12-17 09:25:18 +00:00
parallel Fix a buffer bug in seq. 1998-10-24 06:36:22 +00:00
pkgtools Update the (package) version of pkg_install tools to 19981026, to use 1998-10-26 18:29:10 +00:00
plan9 Enable "#define PROTECT_ENV", closes pr 6266 by Sean Doran. 1998-10-25 10:14:06 +00:00
print Patch filter files to call "gs" with "-PAPERSIZE=...", create seperate 1998-10-12 22:21:49 +00:00
security add nfsbug 1998-10-10 02:23:06 +00:00
shells Enable "#define PROTECT_ENV", closes pr 6266 by Sean Doran. 1998-10-25 10:14:06 +00:00
sysutils update for recent UVM change: vm maps are always main maps 1998-10-22 12:17:21 +00:00
templates Packages.txt moved. 1998-08-23 01:32:19 +00:00
textproc Fix lots of warnings about pointers cast to integers and the like on 1998-10-27 07:21:19 +00:00
www find png etc. headers in LOCALBASE 1998-10-20 07:41:26 +00:00
x11 Update xscreensaver to 3.0.0. 1998-10-22 17:00:27 +00:00
Makefile Add and enable parallel category, and document additions. 1998-10-13 23:37:03 +00:00
Packages.txt Add a cdrom-readme target, a clone of the readme target, for ease of use. 1998-09-23 13:09:32 +00:00
README Minor mods to clean up the English. 1998-09-01 11:03:23 +00:00

$NetBSD: README,v 1.8 1998/09/01 11:03:23 agc Exp $

Welcome to the NetBSD Packages Collection
=========================================

In brief, the NetBSD Packages Collection is a set of software
utilities and libraries which have been ported to NetBSD.

The packages collection software can retrieve the software from its
home site, assuming you are connected in some way to the Internet,
verify its integrity, apply any patches, configure the software for
NetBSD, and build it.  Any prerequisite software will also be built
and installed for you.  Installation and de-installation of software
is managed by the packaging utilities.

The packages collection is made into a tar_file every week: 

	ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/pkgsrc.tar.gz

and you can sup the pkgsrc tree using the `pkgsrc' name for the
collection.

The pkgsrc tree is laid out in various categories, and, within that,
the various packages themselves.

You need to have root privileges to install packages.  We are looking
at ways to remove this restriction.

+ To install a package on your system, you need to change into the
directory of the package, and type "make && make install".

+ If you've made a mistake, and decided that you don't want that
package on your system, then type "pkg_delete <pkg-name>", or "make
deinstall".

+ To find out all the packages that you have installed on your system,
type "pkg_info".

+ To remove the work directory, type "make clean", and "make
clean-depends" will clean up any working directories for other
packages that are built in the process of making your package.

+ You can set variables to customise the behaviour (where packages are
installed, various options for individual packages etc), by setting
variables in /etc/mk.conf.  The pkgsrc/mk/mk.conf.example file
provides some examples for customisation.

The best way to find out what packages are in the collection is to
move to the top-level pkgsrc directory (this will usually be
/usr/pkgsrc), and type "make readme".  This will create a file called
README.html in the top-level pkgsrc directory, and also in all
category and package directories.  You can then see what packages are
available, along with a short (one-line) comment about the function of
the package, and a pointer to a fuller description, by using a browser
like lynx (see pkgsrc/www/lynx) or Mozilla (pkgsrc/www/mozilla), or
Communicator.  This is also available online as
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/README.html.

Another way to find out what packages are in the collection is to
move to the top-level pkgsrc directory and type "make index". This
will create pksrc/INDEX which can be viewed via "make print-index | more".
You can also search for particular packages or keywords via
"make search key=<somekeyword>".

It is also possible to use the packaging software to install
pre-compiled binary packages by typing "pkg_add <URL-of-binary-pkg>". 
To see what binary packages are available, see:

	ftp://ftp.netbsd.org/pub/NetBSD/packages/<release>/<arch>/All/

where <release> is the NetBSD release, and <arch> is the hardware
architecture.

For more information on the packages collection see the file
Packages.txt in this directory.