freebsd-nq/usr.sbin/pkg_install
Mario Sergio Fujikawa Ferreira fc12c41ca3 pkg_create incorrectly does not add trailing '\n' when it receives
either COMMENT or DESCR from the command line. When a port is
installed, one gets both +COMMENT and +DESCR files with a trailing
'\n' character. However, +COMMENT does not contain a trailing '\n'
when it is installed from a package due to this behavior of pkg_create.

 Therefore, make sure it behaves exactly the same regardless of
where got its information; either command line or files. The modified
functions are used by pkg_create.

PR:		52097
Reviewed by:	bento, kris,
		portmgr, re,
		Michael Nottebrock <michaelnottebrock@gmx.net>,
		Martin Horcicka <horcicka@FreeBSD.cz>
Approved by:	re (scottl)
MFC after:	1 week
2003-05-26 17:12:22 +00:00
..
add Erase whitespace at EOL. 2003-05-22 11:56:41 +00:00
create Retire the useless NOSECURE knob. 2003-05-19 15:52:01 +00:00
delete Retire the useless NOSECURE knob. 2003-05-19 15:52:01 +00:00
info Add a trailing '\n' character if none is found in the information 2003-05-26 17:06:05 +00:00
lib pkg_create incorrectly does not add trailing '\n' when it receives 2003-05-26 17:12:22 +00:00
sign Initialize sign to NULL so that we don't attempt to free() it in case 2003-02-20 20:13:07 +00:00
version Retire the useless NOSECURE knob. 2003-05-19 15:52:01 +00:00
Makefile Retire the useless NOSECURE knob. 2003-05-19 15:52:01 +00:00
Makefile.inc Use some black make(1) magic to make pkg_install build even without 2002-02-27 19:03:15 +00:00
README
tkpkg

This is the pkg_install suite of tools for doing maintainance of
software "packages".  More documentation is available in the man pages
for each individual command.

This code was written by Jordan Hubbard for FreeBSD, snatched and
mildly reshaped by John Kohl in NetBSD and the changes taken back into
FreeBSD again by Jordan, who then proceeded to add another couple
of dozen features on top.  Whee! :-)