Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
martti f5f8b60a36 - I got some comments about the second line of Makefile.common (the
"obtained from..." line). Based on those comments I removed that line
  and note hereby the following thing to give credit for the previous work:

	The idea for the patch management was taken from the FreeBSD
	vim port (by obrien@freebsd.org)

- Upgraded to 6.0.92
- Ignored patches 27, 48, 53, 64, 70, 73, 87

Changes since 6.0.25:

6.0.026  GTK: menu separators could be selected with the cursor keys
6.0.027  VMS: fix printing, compiling with VAXC and other things
6.0.028  compilation error with +visualextra but without +virtualedit
6.0.029  undo doesn't work correctly in specific situations
6.0.030  "source! file" doesn't work after ":argdo" or in a loop
6.0.031  define putenv() also for non-GUI for systems that lack it
6.0.032  no redraw after a fold setting was changed
6.0.033  MS-Windows: 'wildmenu' shows name with embedded space wrong
6.0.034  calling searchpair() with three arguments could crash
6.0.035  menu to toggle toolbar didn't work when 'ignorecase' is set
6.0.036  DOS/Windows/OS/2: path in 'tags' relative to drive didn't work
6.0.037  the default syntax menu was defined even when disabled
6.0.038  when 'selection' is "exclusive" the cursor can be beyond EOL
6.0.039  "c" in blockwise Visual and "gP" left cursor in wrong position
6.0.040  when 'fileencoding' is invalid, writing may remove the file
6.0.041  if LC_MESSAGES isn't defined ":lang messages en" doesn't work
6.0.042  ":mksession" can't handle a file name with a space
6.0.043  patch 6.0.041 used vim_getenv() instead of mch_getenv()
6.0.044  syntax argument "containedin" doesn't always work properly
6.0.045  creating fold with Visual mode doesn't redraw other window
6.0.046  the stack check fails when the limit doesn't fit in a long
6.0.047  using nested regexp item in \%[] can cause a crash
6.0.048  Win32 console: mouse sometimes doesn't work right
6.0.049  the intro screen is misleading when running evim
6.0.050  "viw" doesn't include multi-byte characters before the cursor
6.0.051  UTF-8: CTRL-R on the command line skips composing characters
6.0.052  requires 6.0.046: also look in sys/resource.h for rlim_t
6.0.053  extra: various fixes for QNX
6.0.054  CTRL-V in mswin.vim and Paste menu didn't paste block of text
6.0.055  GTK: copying a selection didn't work the first time
6.0.056  CTRL-O cw results in a nested Insert mode
6.0.057  ":wincmd g}" didn't work inside a function
6.0.058  after CursorHold autocommand the ruler wasn't updated
6.0.059  'hlsearch' highlighting is not visible in diff lines
6.0.060  Motif: if fontset cannot be allocated tooltip may crash Vim
6.0.061  v:this_session wasn't used correctly in menu.vim
6.0.062  ":shell" crashes when 'verbose' is > 3
6.0.063  when 'cpo' includes "$" "cw)" didn't update syntax highlight
6.0.064  extra: improve self-installing exe made with NSIS
6.0.065  ":normal" can read redo characters before its argument
6.0.066  undo for one command can be split into two pieces
6.0.067  if_xcmdsrv.c doesn't compile on AIX
6.0.068  using "gq" on a Visual area doesn't always redraw correctly
6.0.069  "K" on a word that includes a "!" gives an error message
6.0.070  Win32: failing library load didn't give a clear error message
6.0.071  the "iris-ansi" builtin termcap isn't very good
6.0.072  Visual area not redraw correctly when 'lazyredraw' is set
6.0.073  extra: CTRL-Z doesn't position cursor for DJGPP version
6.0.074  "&" in substitute string is wrong with a few multi-byte chars
6.0.075  could equalize too many windows when closing a window
6.0.076  compiler warning in version.c (depends on 6.0.049)
6.0.077  patch 6.0.075 was incomplete
6.0.078  "daw" didn't always work at the end of a line
6.0.079  still possible to overwrite a read-only file with "W" in 'cpo'
6.0.080  session with same file in two windows gives hit-enter prompt
6.0.081  buffers menu has wrong buffer number after ":saveas file"
6.0.082  shell prompt is sometimes right after a message from vimrc
6.0.083  GTK: dialog buttons are empty when compiled without menus
6.0.084  UTF-8: "r" with composing character can't be redone
6.0.085  with "s" and using 'mousefocus' Insert mode is stopped
6.0.086  "gu" gives a wrong message
6.0.087  lang: update message translations
6.0.088  "rx" in Visual mode could not be repeated with "."
6.0.089  "==" in a C file with a dashed list in a comment works wrong
6.0.090  a wrapping line that doesn't fit and 'so' set flashes badly
6.0.091  CTRL-O in Insert mode with 've' set moves cursor unnecessary
6.0.092  MS-Windows: explorer plugin didn't ignore case of 'suffixes'
2001-11-07 16:39:15 +00:00
archivers Remove post-build target designed to make the build fail for reasons 2001-11-06 22:10:21 +00:00
audio Fix small typo noted in pkg/14450. 2001-11-06 21:57:49 +00:00
benchmarks Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
biology Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
cad Move pkg/ files into package's toplevel directory 2001-11-01 00:47:39 +00:00
chat Update maintainer's e-mail address. 2001-11-06 11:57:19 +00:00
comms Use the proper typecasts to make this compile. 2001-11-06 22:23:49 +00:00
converters Update MASTER_SITES and HOMEPAGE, per pkg/14427. 2001-11-02 18:16:46 +00:00
cross Move pkg/ files into package's toplevel directory 2001-10-31 22:03:21 +00:00
databases Workaround differences in "make" behaviour between 1.5.2 and -current. 2001-11-07 06:12:19 +00:00
devel - Fix build failure - exposed after lastest modification of 2001-11-03 09:59:35 +00:00
distfiles These files belong to $MASTER_SITE_LOCAL - moved them there! 2000-12-05 00:23:05 +00:00
editors - I got some comments about the second line of Makefile.common (the 2001-11-07 16:39:15 +00:00
emulators Fix build problems if the "libusb" package is installed. 2001-11-01 14:45:38 +00:00
finance Ensure the plugins dir is there at install time 2001-11-01 15:28:44 +00:00
fonts Remove version from DESCR. 2001-11-02 16:33:23 +00:00
games Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
graphics Finishing my cvs {rm,add} crusade in pkg/ 2001-11-01 20:38:21 +00:00
ham Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
japanese Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
lang Change reachover references into another package's pkg/ directory into 2001-11-01 09:41:13 +00:00
licenses VMWare license in preparation for the package in emulators/vmware. 2001-07-07 14:24:21 +00:00
mail Downgrade the "mutt-devel" package to version 1.3.23. The new threading 2001-11-07 09:19:03 +00:00
math Move pkg/ files into package's toplevel directory 2001-11-01 00:32:23 +00:00
mbone Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
meta-pkgs Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
misc Ensure the plugins dir is there at install time 2001-11-01 15:28:44 +00:00
mk The $DEPENDS file has the pkg's directory in the first column, followed by 2001-11-07 00:29:20 +00:00
net Install the documentation for this package in the correct place. 2001-11-07 16:31:26 +00:00
news Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
packages Add .cvsignore to stop cvs update listing every distfile and more 1999-11-24 11:53:24 +00:00
parallel Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
pkgtools Improve english in last. 2001-11-03 21:41:49 +00:00
print Change reachover references into another package's pkg/ directory into 2001-11-01 09:41:13 +00:00
security The "aliases" file is now in /etc/mail, not /etc. 2001-11-05 14:29:23 +00:00
shells Move pkg/ files into package's toplevel directory 2001-10-31 22:18:56 +00:00
sysutils this is is in .. now 2001-11-07 04:01:10 +00:00
templates Fix the location of DESCR for the readme files 2001-11-03 03:26:08 +00:00
textproc Added docbook-xml version 4.1.2, XML version of DocBook a DTD designed 2001-11-04 22:46:58 +00:00
time Move pkg/ files into package's toplevel directory 2001-10-31 22:18:56 +00:00
wm Fix build problem on systems running XFree86 3.3.x in conjuction with the 2001-11-01 10:00:52 +00:00
www Workaround differences in "make" behaviour between 1.5.2 and -current. 2001-11-07 06:12:19 +00:00
x11 Fix first part of pkg/14422, second part was already fixed (pkg/ problem). 2001-11-02 17:02:53 +00:00
Makefile Use better expressions for grep, to avoid tagging non-IPv6 enabled packages 2001-07-17 13:11:51 +00:00
Packages.txt Update for "pkg/"-removal. 2001-11-03 21:02:46 +00:00
pkglocate Update the usage message to explain what each option letter does. 2001-04-03 09:28:32 +00:00
README update a bit 2001-06-06 19:41:05 +00:00
TODO Added the gnome Nautilus file manager to be made into a pkg 2001-10-30 14:17:19 +00:00

$NetBSD: README,v 1.12 2001/06/06 19:41:05 hubertf 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/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 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 dir.
directory.