Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
is 8f2607c181 Check return code of close()/fclose() in a few places.
Without this, joe doesn't notice that you exceeded your filesystem quota,
and happily creates a zero length file (throwing away all your changes).
1999-11-25 17:03:19 +00:00
archivers more NO_CDROM fixup 1999-11-23 16:54:39 +00:00
audio Don't depend on random packages installed by some user, use our 1999-11-25 00:05:10 +00:00
benchmarks regen. 1999-11-22 15:02:56 +00:00
biology Add and enable fastDNAml 1999-07-28 20:20:39 +00:00
cad Fix patch to apply without fuzz. 1999-11-12 14:48:20 +00:00
comms Use DEPENDS in preference to RUN_DEPENDS. 1999-11-24 10:23:48 +00:00
converters regen 1999-11-22 20:32:05 +00:00
corba Repair patch broken my "no fuzz" cleanup. 1999-11-13 23:57:31 +00:00
cross Regen files/md5, generate files/patch-sum. Closes PR 8538. 1999-11-10 06:48:45 +00:00
databases fix md5 checksum 1999-11-23 20:39:28 +00:00
devel add MIRROR_DISTFILES=no. 1999-11-25 13:46:30 +00:00
distfiles Add .cvsignore to stop cvs update listing every distfile and more 1999-11-24 11:53:24 +00:00
editors Check return code of close()/fclose() in a few places. 1999-11-25 17:03:19 +00:00
emulators add a bunch of NO_CDROM where appropriate 1999-11-23 16:26:12 +00:00
fonts Consistency: 1999-09-21 17:20:03 +00:00
games more NO_CDROM fixup 1999-11-23 16:54:39 +00:00
graphics Add and enable Ngraph. 1999-11-25 08:18:09 +00:00
ham Update tfkiss to 1.2.2 provided in pr 8805 by Berndt Josef Wulf 1999-11-16 08:39:54 +00:00
japanese more NO_CDROM fixup 1999-11-23 16:54:39 +00:00
lang changed the default for CPP to be /usr/bin/cpp instead of /lib/cpp in f2c-f77 1999-11-23 21:12:12 +00:00
mail Fix build problems caused by libtool usage. 1999-11-25 14:32:42 +00:00
math add USE_FORTRAN for selection of the fortran compiler 1999-11-23 17:55:11 +00:00
mbone add RCS IDs to patches, fix patchsum and move out of X11BASE 1999-10-28 02:40:23 +00:00
meta-pkgs Use wildcard dependence for "apache" package. 1999-11-21 22:12:57 +00:00
misc create StarOffice-specific directories in ${PREFIX}/Office51, not ${PREFIX} 1999-11-24 20:04:51 +00:00
mk Document POPTOP_USE_MPPE (used in netpop package). 1999-11-24 10:33:30 +00:00
net add patch-sum. 1999-11-25 02:00:16 +00:00
news Work around for imake generated Makefile taking -lWidgets to be the shared 1999-11-25 12:14:13 +00:00
packages Add .cvsignore to stop cvs update listing every distfile and more 1999-11-24 11:53:24 +00:00
parallel -Update from 3.4beta7 to 3.4.2. 1999-11-23 16:05:28 +00:00
pkgtools Use DEPENDS in preference to RUN_DEPENDS. 1999-11-24 10:36:53 +00:00
plan9 Regen. 1999-10-13 11:32:43 +00:00
print Move from RUN_DEPENDS to plain DEPENDS. 1999-11-24 10:35:28 +00:00
security Revise previous fix (overly restrictive range check) 1999-11-13 17:32:20 +00:00
shells Make this work on more operating systems with less effort. 1999-09-19 22:27:36 +00:00
sysutils The /dev/suA-B-C symlink is _not_ necessary, specifying dev=/dev/cd0d 1999-11-20 20:45:43 +00:00
templates Add link to the cvsweb server, and to the pkg dir itself. 1999-11-03 04:12:48 +00:00
textproc Regen patches to apply without fuzz. 1999-11-14 04:45:16 +00:00
www Use our fine dependency system instead placing things in the users' hand. 1999-11-25 01:26:12 +00:00
x11 adjust 1999-11-24 17:39:13 +00:00
Makefile Ignore case when sorting lines in README-all.html 1999-10-26 01:50:04 +00:00
Packages.txt Update the DEPENDS section to remove the depricated RUN_DEPENDS variable. 1999-11-23 16:38:22 +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.