freebsd-dev/usr.sbin
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
..
ac
accton Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
acpi Support functions for the new ACPI import. 2003-04-29 18:50:34 +00:00
adduser Document the -g option in the usage message. 2003-03-23 23:06:44 +00:00
amd style.Makefile(5) 2003-04-04 17:49:21 +00:00
ancontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
apm Assorted mdoc(7) fixes. 2003-05-22 11:52:23 +00:00
apmd
arp Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
atm
bluetooth Reapply mdoc(7) fixes that got accidentally lost in the last 2003-05-20 21:01:21 +00:00
boot0cfg Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
boot98cfg s/DIOCGPC98/DIOCSPC98/ 2003-05-02 14:55:42 +00:00
bootparamd
btxld Make this work on different endianness machines. 2003-03-11 13:48:58 +00:00
burncd Assorted mdoc(7) fixes. 2003-05-22 11:52:23 +00:00
cdcontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
chkgrp Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
chown Erase whitespace at EOL. 2003-05-22 11:56:41 +00:00
chroot Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ckdist - Align the function prototype of the external `crc' function with 2003-03-13 23:34:18 +00:00
config Don't convert the kernel ident to uppercase when writing the Makefile. 2003-04-24 00:52:58 +00:00
cron
crunch The second chdir(1) that I trimmed is needed too 2003-04-23 04:28:35 +00:00
ctm Remove the maximum patch size limit. It was intended as a check against 2003-04-07 08:09:53 +00:00
daemon style.Makefile(5) 2003-04-04 17:49:21 +00:00
dev_mkdb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
devinfo
digictl style.Makefile(5) 2003-04-04 17:49:21 +00:00
diskinfo Correct a type in the bugs section. Also turn it into a list. 2003-05-11 22:22:10 +00:00
editmap
edquota Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
elf2exe
extattr
extattrctl When giving examples of how to use extattrctl(8) to configure UFS1 2003-05-14 20:31:06 +00:00
faithd
fdcontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
fdformat
fdread
fdwrite
fwcontrol Nitpicking. 2003-05-22 11:54:53 +00:00
getfmac
getpmac
gifconfig
gstat Install the gstat manual page. 2003-04-28 11:54:01 +00:00
i4b Oops. Back out a style "fix" in the previous commit. SRCS must be defined 2003-04-13 14:21:56 +00:00
ifmcstat style.Makefile(5) 2003-04-04 17:49:21 +00:00
inetd
iostat style.Makefile(5) 2003-04-04 17:49:21 +00:00
ipftest
ipresend
ipsend
iptest
IPXrouted
jail Force output of jail ID (if necessary) before excuting the command, 2003-04-21 17:20:48 +00:00
jexec o Add jls(8) for listing active jails. 2003-04-09 03:04:12 +00:00
jls IP addresses can be up to 15 characters long, not 12. 2003-04-22 13:24:56 +00:00
kbdcontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
kbdmap
kernbb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
keyadmin
keyserv
kgmon Use correct item to track max width of list 2003-03-24 20:55:28 +00:00
kgzip Convert kgzip(8) to be an i386 cross-tool. This is needed for 2003-03-11 11:45:43 +00:00
kldxref style.Makefile(5) 2003-04-04 17:49:21 +00:00
lastlogin
lpr Change DEFMX to 0. This removes the size limit for print jobs by default. 2003-03-27 08:33:01 +00:00
lptcontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
mailstats
mailwrapper
makemap
manctl
memcontrol
mergemaster Preserve directory structure in PRESERVED_FILES_DIR to avoid 2003-05-03 06:35:19 +00:00
mixer Assorted mdoc(7) fixes. 2003-05-22 11:52:23 +00:00
mld6query
mlxcontrol
mount_nwfs
mount_portalfs
mount_smbfs
mountd style.Makefile(5) 2003-04-04 17:49:21 +00:00
moused Grammar and punctuation fixes 2003-04-25 22:31:06 +00:00
mptable
mrouted Backed out previous commit. Use ${LIBMROUTED} in LDADD again instead of 2003-04-16 14:53:51 +00:00
mtest
mtree Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
named "Fixed" LDADD by backing out part of the previous commit. -lfoo in 2003-04-16 13:50:52 +00:00
named.reload
named.restart
ndc style.Makefile(5) 2003-04-04 17:49:21 +00:00
ndp
newsyslog Fix age_old_log checking so that it will notice log files which were 2003-05-05 23:38:03 +00:00
nfsd style.Makefile(5) 2003-04-04 17:49:21 +00:00
ngctl
nghook
nologin
nslookup style.Makefile(5) 2003-04-04 17:49:21 +00:00
nsupdate
ntp style.Makefile(5) 2003-04-04 17:49:21 +00:00
ofwdump style.Makefile(5) 2003-04-04 17:49:21 +00:00
pccard Remove obsolete compatibility ifdef. 2003-04-23 23:41:48 +00:00
pciconf Moved $FreeBSD$ tag to where it belongs. 2003-05-22 11:55:26 +00:00
pcvt Call exit(0), not exit. 2003-04-29 19:53:00 +00:00
periodic
pkg_install pkg_create incorrectly does not add trailing '\n' when it receives 2003-05-26 17:12:22 +00:00
pnpinfo style.Makefile(5) 2003-04-04 17:49:21 +00:00
ppp Add a pretty cheesy hack to avoid a gcc-3.2.2 ICE (internal compiler 2003-05-25 07:39:06 +00:00
pppctl style.Makefile(5) 2003-04-04 17:49:21 +00:00
pppd Retire the useless NOSECURE knob. 2003-05-19 15:52:01 +00:00
pppstats
praliases
prefix
procctl Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
pstat Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
pw Add information about the log file. 2003-05-08 00:28:36 +00:00
pwd_mkdb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
quot Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
quotaon Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rarpd Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
raycontrol Don't dereference a NULL pointer when we don't have a ':' in the 2003-04-20 03:34:59 +00:00
repquota Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rip6query
rmt Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
route6d
rpc.lockd When getting back an NLM DENIED response for a requested lock from the 2003-05-15 03:19:30 +00:00
rpc.statd style.Makefile(5) 2003-04-04 17:49:21 +00:00
rpc.umntall Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rpc.yppasswdd Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rpc.ypupdated Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rpc.ypxfrd Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rpcbind style.Makefile(5) 2003-04-04 17:49:21 +00:00
rrenumd
rtadvd - fixed byte order of route lifetimes in route info opptions. 2003-04-10 07:31:34 +00:00
rtprio
rtsold style.Makefile(5) 2003-04-04 17:49:21 +00:00
rwhod style.Makefile(5) 2003-04-04 17:49:21 +00:00
sa Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
sade Add __amd64__ ifdefs to enable the bootblock handling code, slices, etc. 2003-05-24 21:12:14 +00:00
sendmail Retire the useless NOSECURE knob. 2003-05-19 15:52:01 +00:00
setfmac style.Makefile(5) 2003-04-04 17:49:21 +00:00
setkey Use NI_xxx macros. 2003-04-16 09:53:29 +00:00
setpmac
sgsc
sicontrol
sliplogin
slstat Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
spkrtest
spray
stallion
sysinstall Add __amd64__ ifdefs to enable the bootblock handling code, slices, etc. 2003-05-24 21:12:14 +00:00
syslogd Avoid a corrupt timestamp on the console 2003-05-17 20:07:54 +00:00
tcpdchk
tcpdmatch
tcpdump Retire the useless NOSECURE knob. 2003-05-19 15:52:01 +00:00
timed
traceroute
traceroute6
trpt Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
tzsetup style.Makefile(5) 2003-04-04 17:49:21 +00:00
ugidfw style.Makefile(5) 2003-04-04 17:49:21 +00:00
usbd A few grammatical improvements. 2003-05-04 22:13:00 +00:00
usbdevs
vidcontrol
vipw Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
vnconfig
watch Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
wicontrol Assorted mdoc(7) fixes. 2003-05-22 11:52:23 +00:00
wlconfig
yp_mkdb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ypbind Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
yppoll Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
yppush Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ypserv Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ypset Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
zic style.Makefile(5) 2003-04-04 17:49:21 +00:00
Makefile Add a pretty cheesy hack to avoid a gcc-3.2.2 ICE (internal compiler 2003-05-25 07:39:06 +00:00
Makefile.inc