Commit Graph

5784 Commits

Author SHA1 Message Date
jrf bf7aac421e Added -v extension. Approved by Klaus (kleink). 2003-01-18 18:37:07 +00:00
kleink b3df6303a9 Rename `sigset' locals to avoid symbol shadowing warning. 2003-01-16 09:38:37 +00:00
mhitch e7852b0563 Add support for amiga. 2003-01-15 06:33:13 +00:00
augustss 9ef59a8538 Flush stdout before callong daemon(). Fixes bin/19657. 2003-01-12 13:49:54 +00:00
christos 1748ad5426 fix usage [add -r] 2003-01-11 23:44:47 +00:00
agc 17a35e2e99 Introduce the notion of "preserving" an installed package.
A preserved package may not be deleted by pkg_delete(1) (unless the -f
option is given), and the preserved capability will be carried into
any binary package. pkg_add(1) will also keep the preserved capability
if it was present in the binary package.

The "preserve" capability can be given to a package by using the
PKG_PRESERVE definition in a package Makefile in pkgsrc.

Ride on the recently-bumped lib/version.h for new functionality.
2003-01-10 11:55:44 +00:00
agc 51ace543e3 Order the getopt(3) options alphabetically. 2003-01-10 10:55:25 +00:00
agc 295b90edfd order the getopt options alphabetically. 2003-01-10 10:43:50 +00:00
agc 82e88920e0 Add a pkgdb_remove_pkg() function and use it in pkg_delete(1).
Bump lib/version.h due to added functionality.
2003-01-10 10:17:21 +00:00
taca eb37d628b3 Fix compile error with DEBUGMAIN. 2003-01-07 15:04:54 +00:00
tron 7c891035f6 Use "%u" instead "%d" in format string for bytes count reported at
termination. This should fix PR bin/19713.
2003-01-07 09:02:21 +00:00
christos 4a51bd3d7b update for struct renaming; noticed by David Laight. 2003-01-06 15:23:11 +00:00
hubertf 6824dad608 fix english 2003-01-06 14:43:01 +00:00
wiz c053751628 compatibility, not compatiblity. 2003-01-06 13:26:24 +00:00
wiz 45ad5c9584 successful with only one l. 2003-01-06 12:46:05 +00:00
wiz 5a91827c81 through, not throught. 2003-01-06 12:29:48 +00:00
wiz 7d667a5da9 Stanford, not Standford. From Chad Loder. 2003-01-06 12:18:02 +00:00
agc 60c7c151cc In pkgdb_remove(), use the return value from (*db->del), rather than
explicitly setting and checking errno.

Do some CSE in pkgdb_iter().

Use the db access functions in the proper manner.
2003-01-06 10:03:44 +00:00
thorpej 7ee41d4310 Need to -I${RPC_XDIR} now, since we don't generate the .h file
locally anymore.
2003-01-06 02:26:53 +00:00
christos cee2d9b418 exit 0 when -r 2003-01-05 22:16:22 +00:00
agc 9d61d2fff1 Add an enumerated type which is used in pkgdb_open() to specify
read-only or read-write mode.

Modify the return value of pkgdb_open() to have a more logical boolean
value.
2003-01-05 21:49:51 +00:00
agc 1b535c4ef0 Use EXIT_FAILURE, rather than hardcoding a value of '1' in err(3) and
errx(3).

Plug a memory leak by modifying the signature of
_pkgdb_getPKGDB_FILE() to take a buffer and its size, and fill in that
buffer and return it.
2003-01-05 21:27:20 +00:00
sommerfeld 8f6f405641 Use <bsd.rpc.mk> 2003-01-05 19:24:06 +00:00
pooka 732f4c9fa5 Add ${MACROS} to ${ROFF} usage to make output readable
from jbernard@mines.edu in misc/19685
2003-01-05 12:24:22 +00:00
chris 8eae0df210 Update -r option to display data in correct units, IE temperature in degC or
degF, fan speed is now correct, and indicators will now show ON/OFF.
2003-01-05 01:56:42 +00:00
lukem 9e74ffcba8 Change default permissions of newly created directories from
"0700, modified by umask", to "0777, modified by umask".
This matches the behaviour of mkdir(1) and just about every other command...

This change is useful when running with '-W', where the mode of the
new directory won't be changed to what's specified in the specfile.
(I.e, an UNPRIVED build, with a umask of 022).
2003-01-04 13:10:52 +00:00
wiz 79ebccc3b5 Sync SYNOPSIS with DESCRIPTION. From Igor Sobrado in PR 19654. 2003-01-04 01:10:47 +00:00
uwe 045242f27d Restore changes made in revision 1.20 and lost during last upgrade.
We pass HAVE_MAP_{NIS,HESIOD} on the command line, based on
USE_{YP,HESIOD} make variables, so #if 0 them here.
2003-01-03 14:07:56 +00:00
takemura bb756166c0 Used ioctl command WSMOUSEIO_GETID to identify touch panel device. 2003-01-03 04:41:49 +00:00
augustss 167e6beba4 Add -r to synopsis. 2003-01-02 14:01:30 +00:00
wiz 8b0cfb2d8e New sentence, new line. Bump date for -r description. 2003-01-02 13:55:29 +00:00
augustss 532c81c75d Document the -r flag. 2003-01-02 11:55:52 +00:00
jschauma 432d470724 Fix typos pointed out by Igor Sobrado in PR misc/19621. 2003-01-02 00:22:29 +00:00
augustss 9381d1a428 Include <paths.h> 2003-01-01 12:16:40 +00:00
augustss a57c1af9e5 ANSIfy. 2003-01-01 12:14:21 +00:00
explorer 0c77fcf312 add ENVSYS_INDICATOR and ENVSYS_INTEGER types 2002-12-31 05:27:29 +00:00
jmmv 5968c8244d Fix a typo in the yesno() function: add a missing question mark.
Approved by martti.
2002-12-27 19:47:43 +00:00
grant 653b2f1552 File types belong under 'type', not 'uname'. 2002-12-27 06:31:51 +00:00
itojun b1a19ea0e1 debugging log message committed by mistake (rev 1.8). catched by lukem 2002-12-26 14:11:28 +00:00
jmmv 0a970e7423 Add a new flag, -l, which swaps mouse buttons; this is useful for left
handed users.

Patch provided in my own PR bin/19143 with some minor changes as suggested
by wiz.
2002-12-25 19:13:53 +00:00
jmmv c29a82ed73 Fix a bug that caused the program to enter an infinite loop when selecting
an empty line.

This closes my own PR bin/19160. Reviewed by wiz.
2002-12-25 19:04:27 +00:00
lukem 3cbfaf0af4 Add -C, which dumps the specification with the full path name first,
and then all the other fields.  (I.e, like -D except with the name
first instead of last).
Consistenly strsvis(3) encode path names (even for -C and -D).
2002-12-23 04:40:19 +00:00
wiz ea577b210e Debugging is usually spelled with three gs. 2002-12-22 13:50:35 +00:00
wiz dfb66d510f instead, not insteed; from Adrian Mrva. 2002-12-21 12:58:38 +00:00
wiz 51146674bf Foundation has only one a, from Adrian Mrva. 2002-12-21 12:57:44 +00:00
wiz 7f3797c977 directory has a c. From Adrian Mrva. 2002-12-21 12:52:13 +00:00
lukem 05ac799971 enable sunlabel 2002-12-21 12:49:34 +00:00
wiz 0691bb2061 Fix order of letters in calculated, from Adrian Mrva. 2002-12-21 12:48:51 +00:00
wiz 79a9d12419 always has only one l, from Adrian Mrva. 2002-12-21 12:48:05 +00:00
wiz db8b42a060 hardware with a d, from Adrian Mrva. 2002-12-21 12:47:21 +00:00