Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
tron 52ea501439 "kdebase" doesn't really require "giflib" but beceause some of the other
KDE packages do we avoid the trouble to remove the dependence check
from "configure".
1999-06-05 15:07:23 +00:00
archivers Make this package work on Solaris. 1999-06-01 11:31:50 +00:00
audio change dependencies to updated qt-1.44 1999-06-04 15:39:08 +00:00
benchmarks Use ftp0.sunet.se instead of ftp.sunet.se. 1999-05-05 16:54:03 +00:00
biology remove README.html from repository 1999-04-16 15:56:50 +00:00
cad change dependencies to updated qt-1.44 1999-06-04 15:39:08 +00:00
comms NOT_FOR_PLATFORM= *-*-{alpha,mips} doesn't work. 1999-06-04 16:55:11 +00:00
converters Remove accidentally committed homepage entry for VICE. 1999-05-22 20:14:37 +00:00
corba Remove unnecessary assignments of "INSTALL", "INSTALL_DATA", 1999-05-20 20:09:49 +00:00
cross disable sparc64 support for now; it kills sparc-netbsdelf which is actually very useful right now. 1999-05-21 09:37:07 +00:00
databases NOT_FOR_PLATFORM= *-*-{alpha,mips} doesn't work. 1999-06-04 16:55:11 +00:00
devel On Solaris, leading tabs before definitions in an Imakefile are bad news. 1999-06-04 15:10:15 +00:00
distfiles Explain what goes here. 1997-12-17 09:25:18 +00:00
editors I don't pretend to understand the ELF crap either, but this makes Emacs 1999-06-04 17:52:37 +00:00
emulators Add "ONLY_FOR_PLATFORM= NetBSD-*-i386". 1999-05-24 21:27:14 +00:00
fonts/Xg Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this 1999-01-30 23:18:44 +00:00
games change dependencies to updated qt-1.44 1999-06-04 15:39:08 +00:00
graphics Update dependence to "kdebase" package to version 1.1.1. 1999-06-04 00:11:36 +00:00
japanese Move mastersite. Problem noted by Hubert Feyrer. 1999-05-12 23:34:20 +00:00
lang NOT_FOR_PLATFORM= *-*-{alpha,mips} doesn't work. 1999-06-04 16:55:11 +00:00
mail Udpate "mutt package to version 0.95.6. Changes since version 0.95.4: 1999-06-04 14:07:46 +00:00
math Oops...still learning CVS. Forgot to add these files before the commit. 1999-05-25 23:51:12 +00:00
mbone Fix X linkage, too. 1999-06-04 15:21:12 +00:00
meta-pkgs Update Apache version, and bump meta-pkg version minor. 1999-04-30 17:19:56 +00:00
misc Update dependence to "kdebase" package to version 1.1.1. 1999-06-04 00:11:36 +00:00
mk XXX XXX. Add a hack to allow "check-depends" to recurse the dependency tree 1999-06-04 17:05:26 +00:00
net Sync with 5.2.4 1999-06-04 23:45:41 +00:00
news compensate for fieldwidth overflows 1999-06-02 18:21:23 +00:00
packages Explain what goes here. 1997-12-17 09:25:18 +00:00
parallel Update dependence on "ssh" package to version 1.2.27. 1999-05-20 18:30:27 +00:00
pkgtools Update to 1.71. 1999-06-05 00:32:39 +00:00
plan9 Upgrade to version 1.6 release of rc, the Unix clone of the Plan 9 shell. 1999-06-03 10:29:48 +00:00
print Update lyx to 1.0.3. 1999-06-04 06:00:10 +00:00
security Update to match the Makefile. 1999-06-04 16:33:53 +00:00
shells Let this build again; for bonus points, teach it about SIGPWR. 1999-06-04 16:00:04 +00:00
sysutils Adapt this patch to version 3.9.5. 1999-06-03 14:22:09 +00:00
templates Packages.txt moved. 1998-08-23 01:32:19 +00:00
textproc Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM 1999-05-24 20:39:35 +00:00
www Oops, forgot to update this one. 1999-06-04 18:22:01 +00:00
x11 "kdebase" doesn't really require "giflib" but beceause some of the other 1999-06-05 15:07:23 +00:00
Makefile Add new category biology 1999-04-15 23:17:30 +00:00
Packages.txt Completely replace "MASTER_SITE_SUBDIR" and "PATCH_SITE_SUBDIR" with 1999-04-15 20:39:38 +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.