Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
1998-07-03 14:24:42 +00:00
archivers Nuke FETCH_DEPENDS - use BUILD_DEPENDS, which actually executes before 1998-06-26 20:07:13 +00:00
audio MANPREFIX -> PREFIX 1998-07-03 03:46:03 +00:00
benchmarks Make packages which use NetBSD's bsd.man.mk work with automatic manual 1998-06-20 09:20:38 +00:00
cad portlint: remove whitespace before end of line 36. 1998-06-26 09:10:23 +00:00
comms Fix "modemd" to compile with "-Werror" on alpha, patches supplied by 1998-06-27 18:16:16 +00:00
converters Miscellaneous cleanups after the automatic manual page handling changes. 1998-06-22 13:51:33 +00:00
databases "portlint" doesn't like short pathnames in "DEPENDS". 1998-06-23 20:41:35 +00:00
devel This patch is no longer needed as the direntries are already in the orig files. 1998-07-02 14:01:46 +00:00
distfiles Explain what goes here. 1997-12-17 09:25:18 +00:00
editors Remove libpico from installation - it's static only, and we're not 1998-06-27 14:05:46 +00:00
emulators Update package Makefile for automatic manual page handling. 1998-06-22 12:29:06 +00:00
fonts/Xg %D not needed on @dirrm 1998-05-08 17:25:36 +00:00
games Update package Makefiles for automatic manual page handling. 1998-06-22 12:32:17 +00:00
graphics Update "fly" to version 1.6.1. 1998-07-01 17:01:45 +00:00
lang Remove a bunch of stuff, including the FreeBSD credit. 1998-07-02 20:47:45 +00:00
mail Update to V2.52 1998-07-02 07:09:03 +00:00
math Replace "BUILD_DEPENDS" and "RUN_DEPENDS" by "DEPENDS". 1998-05-04 19:38:44 +00:00
mbone Update package Makefiles for automatic manual page handling. 1998-06-22 12:44:29 +00:00
misc Use "-I${PREFIX}/include" not "-I/usr/pkg/include". 1998-06-30 16:33:49 +00:00
mk Fix a comment, nuke tabs at beginning of line 1998-07-03 06:18:43 +00:00
net The "gated" source may not be redistributed without a licence. 1998-07-02 21:44:57 +00:00
news Update package Makefiles for automatic manual page handling. 1998-06-22 12:58:33 +00:00
packages Explain what goes here. 1997-12-17 09:25:18 +00:00
pkgtools/xpkgwedge Update to "0.2": define ConfigDir in terms of $(X11_ROOT), so that imake 1998-07-01 15:56:35 +00:00
plan9 Update package Makefiles for automatic manual page handling. 1998-06-22 12:58:33 +00:00
print Update to transfig-3.2.1. 1998-07-03 14:24:42 +00:00
security Update to sudo-1.5.4p1. 1998-07-01 19:09:42 +00:00
shells Update package Makefiles for automatic manual page handling. 1998-06-22 12:58:33 +00:00
sysutils Don't change the datasize limit in mkisofs. 32MB is not enouth, and NetBSD's 1998-07-02 12:14:57 +00:00
templates s/Klick/Click/, as per cgd 1998-06-01 21:15:27 +00:00
textproc Update package Makefiles for automatic manual page handling. 1998-06-22 12:58:33 +00:00
www Update package Makefiles for automatic manual page handling. 1998-06-22 12:58:33 +00:00
x11 Sync CONFLICTS. 1998-07-03 11:04:09 +00:00
Makefile Comment out SUBDIR+=ai, since we don't have it yet. 1998-05-17 13:30:41 +00:00
Packages.txt Try to mention MACHINE_GNU_ARCH in PLIST 1998-07-03 06:51:37 +00:00
README Note existence of pkgsrc/mk/mk.conf.example for customization. 1998-04-30 20:58:13 +00:00

$NetBSD: README,v 1.5 1998/04/30 20:58:13 frueauf 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 weekly into a tar_file: 

	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.

+ To find out what variables exists to customize some behaviour of
pkgsrc (e.g. where it installs to) have a look at
pkgsrc/mk/mk.conf.example. You can set those in /etc/mk.conf.

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 something like Mozilla
(pkgsrc/www/mozilla), or Communicator.

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 watched 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.

See:

	http://www.netbsd.org/Documentation/netbsd/Packages.txt

for more information on the packages collection.