Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
wiz 6529e963b2 Update to 7.2.7, from Andreas Wrede in PR 21643.
Fix PLIST while here.
Changes:
version 7.2.7 (Apr 9, 2003):
        - added test suite ('make test') for basic client/server
          communication tests
        - changed configure script to provide better checking of options,
          hp-ux specifics, and functions
        - console names are no longer case-sensitive
        - fixed case-sensitive DNS name comparisons - reported by
          Peter Chubb via Jorgen Hagg
        - added dmalloc and openssl version numbers to -V output
        - reordered includes for openssl-0.9.7a compatibility
        - conserver.rc looks at pidfile to find the master pid - suggested
          by Petter Reinholdtsen
        - misplaced code regarding --with-regex - patch by Andreas Wrede
        - added password support for HP-UX trusted systems - immense
          help by Greg Brown
        - potential SIGUSR1 bug where cached terminal server availability
          wasn't being cleared correctly - reported by Dave Stuit
        - server is now more forgiving about errors instead of just
          giving up and shutting everything down
        - consoles that have trouble coming up (and are forced down)
          now log when they come back up - suggested by Dave Stuit

version 7.2.6 (Mar 10, 2003):
        - the -b conserver option was mostly broken (since 7.2.0)
        - changed logging format so that all messages are of a similar
          form
        - fixed bad port number in 'cached previous timeout' message -
          reported by Dave Stuit
        - now using pid_t type for better compatibility
        - fixed the RPM and Solaris package to include the man
          page for conserver.passwd - suggested by R P Herrold
        - added restart option (-HUP) to conserver startup scripts
        - added -B option to client for sending messages to a single
          server - suggested by Dave Stuit
        - added --with-dmalloc for memory usage debugging
        - bug with multiple interfaces and -M option not maching hostname
          in configuration file - patch by Igor Sviridov
        - memory leak using openssl library plugged
        - automatic reinitialization of failed consoles now retries
          every minute like the manpage says it does - reported by Chris
          Fowler
        - when -R option is used, substring matches on console names
          from clients only match local console names (and if that
          fails just remote console names) but ambiguous name list
          returns both local and remote consoles - suggested by Todd
          Stansell

version 7.2.5 (Jan 27, 2003):
        - fixed many documentation bugs - reported by Dave Stuit
        - added -I option to client which operates like -i, but on the
          primary conserver only - suggested by Dave Stuit
        - added SIGUSR2, which does not reread the configuration file,
          but does everything else SIGHUP does - suggested at LISA 2002
        - fixed bug where LOGDIR setting gets used even if no logfile
          is wanted
        - added -R option to server to prevent client redirection to
          other conserver hosts - suggested by Todd Stansell

version 7.2.4 (Oct 14, 2002):
        - added --with-openssl for some client/server encryption
        - added -E option to client and server to allow for non-encrypted
          connections (encryption is the default if compiled in)
        - added -c option so credentials (certificate and key) can be
          exchanged between client and server
        - expanded -V output to show what optional bits actually got
          compiled into the code (libwrap, regex, etc)
        - compilation errors on non-shadow file systems without using
          --with-pam - reported by Jesper Frank Nemholt
        - client now prefers $LOGNAME, then $USER, then the current uid
          for its -l default - suggested by Dave Stuit
        - putting back socklen_t usage - it's the right thing to do,
          so tell me where it breaks things
        - configure options --with-cffile and --with-pwdfile now
          by Stu May
        - added -F server option to prevent automatic reinitialization
          of failed consoles ('|' syntax consoles which exit with a
          zero status are still reinitialized) - requested by William P
          LePera and Malcolm Gibbs
        - successful automatic reinitialization of consoles now attaches
          a client that wants read-write mode
        - added read-only client wish to become read-write in -i output
        - moved to autoconf-2.54 and fixed some small configure.in bugs
    Many thanks to John R. Jackson for the following
    fixes, cleanups, and enhancements...
        - "lost timestamps" bug (SIGALRM/sleep()/usleep()/tcp_wrapper
          interaction)
        - compiler warnings, bad fileOpenFD tests, and ability to use
          a colon after an equal in the config file (LOGDIR=C:\Logs)
        - autologin fix for Solaris BSM support

version 7.2.2 (Jun 05, 2002):
        - added 'n' as token for no-parity - patch by Greg A. Woods
        - extra timestamps occur when consoles come back up after being
          down longer than their timestamp period - reported by Dave
          Stuit
        - AIX 5.1 pseudo-terminal support broken - patch by William P
          LePera
        - PID file overwritten and not unlinked on exit - reported by
          William P LePera
        - signals cleaned up in master, child, and sub-proc sections
        - SIGPIPE now ignored - reported by Greg A. Woods
2003-05-22 06:35:02 +00:00
archivers Update to 3.2.2, from Juan RP in PR 21629. 2003-05-20 15:26:47 +00:00
audio Update KDE to 3.1.2. 2003-05-22 03:05:38 +00:00
benchmarks Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
biology Update to version 5.1. 2003-05-10 23:46:15 +00:00
cad Some fixes so this will build. Needs cmake in a builds depend. Actually delete 2003-05-22 03:00:57 +00:00
chat Update to 0.63: 2003-05-21 17:36:02 +00:00
comms Update to 7.2.7, from Andreas Wrede in PR 21643. 2003-05-22 06:35:02 +00:00
converters Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
cross Update to 1.4.0 2003-04-27 13:50:09 +00:00
databases add and enable p5-MARC 2003-05-17 01:45:41 +00:00
devel Update KDE to 3.1.2. 2003-05-22 03:03:37 +00:00
distfiles These files belong to $MASTER_SITE_LOCAL - moved them there! 2000-12-05 00:23:05 +00:00
doc Note KDE update to 3.1.2. 2003-05-22 03:14:29 +00:00
editors Update xemacs-current to 21.5.13 2003-05-16 18:11:35 +00:00
emulators Typo police 2003-05-18 13:55:28 +00:00
finance Put back a mistakenly removed fix in ${WRKSRC}/configure for Gtkhtml 2003-05-19 03:03:34 +00:00
fonts add and enable kochi-otf package. 2003-05-14 14:26:52 +00:00
games Update KDE to 3.1.2. 2003-05-22 03:02:21 +00:00
graphics Update KDE to 3.1.2. 2003-05-22 03:01:00 +00:00
ham Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
inputmethod Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
lang Update to version 1.0 2003-05-21 19:43:03 +00:00
licenses Whitespace cleanup. 2003-05-19 06:05:07 +00:00
mail Updated the IPv6 patch. IPv6 support is activated by setting 2003-05-21 09:24:00 +00:00
math Add NetBSD RCS tags. 2003-05-18 13:09:02 +00:00
mbone Add & enable rtptools. 2003-05-07 20:53:25 +00:00
meta-pkgs Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
misc Update KDE to 3.1.2. 2003-05-22 02:57:10 +00:00
mk In case license is not acceptable per /etc/mk.conf, tell user to view license 2003-05-19 06:02:10 +00:00
net Update KDE to 3.1.2. 2003-05-22 02:53:23 +00:00
news Update "inn" package to version 2.3.5. Changes since version 2.3.4: 2003-05-13 11:56:44 +00:00
packages Add .cvsignore to stop cvs update listing every distfile and more 1999-11-24 11:53:24 +00:00
parallel Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
pkgtools Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
print Add a conflict with version 5.x of the "acroread" package. 2003-05-08 16:35:41 +00:00
security Update to version 1.15. 2003-05-21 14:07:45 +00:00
shells Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
sysutils Updated etcupdate to 20030509 2003-05-09 08:03:08 +00:00
templates Fix the location of DESCR for the readme files 2001-11-03 03:26:08 +00:00
textproc In order for the html interface to work this needs ghostscript, psutils 2003-05-22 01:50:07 +00:00
time Enable p5-Time-Period 2003-05-15 11:53:01 +00:00
wm Update golem to 0.0.5nb1 - handle invalid keysyms and allow numeric keycodes 2003-05-18 21:09:07 +00:00
www Update KDE to 3.1.2. 2003-05-22 02:48:58 +00:00
x11 Update KDE to 3.1.2. 2003-05-22 03:07:17 +00:00
Makefile Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
Packages.txt Fix example - advise user to extract pkgsrc.tar.gz into /usr 2003-05-08 13:31:06 +00:00
pkglocate Apply mods from PR 14495, from Ryo HAYASAKA (ryoh@jaist.ac.jp), so that 2001-11-07 22:11:13 +00:00
README Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00

$NetBSD: README,v 1.15 2003/05/06 17:40:18 jmmv 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 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" while in the directory for the package.

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

+ Optionally, you can periodically run "make clean" from the top
level pkgsrc directory. This will delete extracted and built files,
but will not affect the retreived source sets in pkgsrc/distfiles.

+ 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/bsd.pkg.defaults.mk gives
the defaults which are used in pkgsrc.  This file can be used as a
guide to set values in /etc/mk.conf - it is only necessary to set
values where they differ from the defaults.

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 pkgsrc/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.

One limitation of using binary packages provided from ftp.netbsd.org
is that all mk.conf options were set to the defaults at compile time.
LOCALBASE, in particular, defaults to /usr/pkg, so non-X binaries
will be installed in /usr/pkg/bin, man pages will be installed in
/usr/pkg/man...

When a packaged tool has major compile time choices, such as support
for multiple graphic toolkit libraries, the different options may
be available as separate packages.

For more information on the packages collection see the file
Packages.txt file in the same place where you found this README,
usually in the top-level pkgsrc directory.