Commit Graph

4293 Commits

Author SHA1 Message Date
lukem
5bb4d7013b use Ar macro appropriately 2001-03-19 03:41:42 +00:00
hubertf
648fa44a28 Add -u switch to pkg_add to do a very rudimentare form of pkg upgrading:
When invoked with 'pkg_add -u ...', and the package to be installed is
found already being installed, the old (installed) package is removed
with pkg_delete, and the new one is installed.

A very crude handling of dependencies is done (by moving the +REQUIRED_BY
file aside before pkg_delete, and back into place after the new pkg is
installed).

This needs a lot more work to TRT, but it's a first start.
2001-03-18 03:20:28 +00:00
christos
097d846614 use fparseln() 2001-03-17 20:43:55 +00:00
tron
ba90c54610 Don't force numeirc IP address for "-h" argument when invoking "ypxfr"
because neither "ypxfr" nor the YP bits of "libc" can handle IPv6. If the
hostname is used there will be an automatic fallback to IPv4 which makes
server pushed work again in mixed IPv4 and IPv6 environments. This fixes
bin/11755 by myself.
2001-03-16 22:14:45 +00:00
agc
22e9dcf29e Prevent a core dump if a kernel doesn't have a valid symbol section
header - instead, fail gracefully with a "no symbol section header
found" message.
2001-03-16 14:12:43 +00:00
garbled
d0d9366447 Back out part of last change. it had an undesired effect. 2001-03-16 12:54:47 +00:00
fair
1cab78c82a Document TCPmux internal service, per additional discussion of PR 12325.
The text was snatched directly from the comment about it in inetd.c and
modified for better clarity.
2001-03-16 08:19:13 +00:00
garbled
db9db9cc00 Handle the error case that the script specified in an escript-like form
function does not exist a little better, rather than dying later in fgetln.
Also fix up a wierd corner case in escript where the programmer forgets
to put in the scriptname.
2001-03-15 09:10:31 +00:00
bouyer
154b1d1121 Fix int overflow for large quota, PR bin/12383 from mori@tri.asanuma.co.jp 2001-03-14 19:34:37 +00:00
garbled
dc4794cae1 Fix a few bugs in the handling of INVIS and NOEDIT fields. Mostly having
to do with very large fields being cut off by the end of the screen.
Also.. change the max-width of an onscreen field to 19 from 21..  I don't
know where I got 21 from.. but it was definately wrong.
2001-03-14 08:22:00 +00:00
hubertf
ee1019de50 Update description a bit - inspired by Jeremy C. Reed <reed@reedmedia.net>
from tech-pkg.
2001-03-13 18:25:30 +00:00
wiz
6b37581cf5 Restore default handler for SIG_CHLD before starting grand-children.
Idea by Christos Zoulas. Fixes bin/11778.
2001-03-13 17:51:50 +00:00
christos
4b374bca7a add -lcurses 2001-03-13 16:30:13 +00:00
christos
c4e5d9e2b5 add -DSTATETOP to enable top(1) style display for ipfstat. 2001-03-13 16:29:42 +00:00
itojun
0dff585654 cope with malformed packets better.
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-01:28/timed.patch
2001-03-13 00:14:39 +00:00
wiz
63f7d31eeb Fix -r: Show REQ/+REQUIRE file for a package, if existing. Fixes pkg/12210.
Patch by Hubert Feyrer.
Note: REQ support has been taken out of bsd.pkg.mk in v1.628; since
pkg_create still supports it, we should support it in pkg_info too,
though.
2001-03-10 18:41:45 +00:00
wiz
c62849a451 Minor cleanup, no functional change. Patch by Hubert Feyrer. 2001-03-10 13:18:09 +00:00
fair
232ed76f81 Add text to more clearly document that tcpd is not needed, per PR 10754.
Add a FILES section. Add a few more references to SEE ALSO.
Clean up nroff nits (e.g. spaces at end of line).
2001-03-10 11:52:51 +00:00
simonb
7cbb4e05a0 ANSIfy, KNF, in preperation for more work. 2001-03-09 03:09:45 +00:00
itojun
ac2d37627a correct delroute() against host routes. clarify ROUTE6D p2p advert behavior
(no behavior change for normal use).  sync with kame
2001-03-08 03:24:47 +00:00
garbled
3812bc3f00 Remove __FILE__ and __LINE__ from a normal error message reported via
syslog.  Closes PR 5875
2001-03-07 21:46:04 +00:00
garbled
2566752a91 Add IPV6 and IPV4 field types to sushi. 2001-03-07 10:10:20 +00:00
wiz
a456915f39 Bump version to 20010307 (yesterday's bugfix, and a 1.4 build fix). 2001-03-07 10:04:33 +00:00
wiz
2bf9002908 This header file needs no __RCSID. 2001-03-07 09:44:40 +00:00
wiz
f2496b9080 Test matching entries in /var/db/pkg on if they are directories.
Fixes pkg/12073 by Dan McMahill.
2001-03-06 10:30:54 +00:00
wiz
e0fc1c5416 Fix typos in comments 2001-03-06 10:29:11 +00:00
wiz
45678a8082 version.o depends on version.h. 2001-03-05 18:24:58 +00:00
wiz
429d019073 Don't allow NULL version packages to match. Patch by hubertf.
Bump version to 20010306.
2001-03-05 18:12:49 +00:00
wiz
2ba98ef9a1 Add -V option to all pkgtools, which reports the version of the pkgtools.
Document it. While there, fix the ordering of the option descriptions in
some man pages. Set version to 20010305.
2001-03-05 16:53:12 +00:00
wiz
fcf23e4f53 Using strcmp with NULL pointers is a bad idea. Fixes pkg/11647. 2001-03-05 16:48:35 +00:00
wiz
6c81e9b559 Fix command line for tar in the case that the file to be handled doesn't
end in 'z' or 'Z'.
2001-03-05 16:46:23 +00:00
hubertf
4b8c25f151 Prevent some minor descriptor leaks. 2001-03-04 18:16:42 +00:00
mrg
9f716be17e quote argments to .Nd 2001-03-04 15:59:55 +00:00
bjh21
e4fc14ba1d Mention relevant RFCs in "SEE ALSO". 2001-03-04 14:18:32 +00:00
garbled
bde8ce5b17 Change the scripting and logging functions to flip the value, rather than
require an on/off argument.  Change the little bottom-label so the user
can see what the current value of scripting and logging is at all times.
2001-03-03 13:54:22 +00:00
itojun
f57618a4b7 sync cisco hdlc packet printer with tcpdump.org. 2001-03-01 15:13:31 +00:00
cgd
82f3142780 fix NetBSD RCS id tags 2001-02-27 19:04:39 +00:00
christos
b0d96d85f8 make this compile again. 2001-02-23 08:52:00 +00:00
itojun
96863758b7 remove WARNS=0. from enami 2001-02-22 03:11:24 +00:00
itojun
a5316a5fa5 sync with 2/22 code. -B and -Z,
bundle proposal interpretation, and some other fixes.
XXX WARNS?=0 in racoon/Makefile is necessary to compile yacc-generated files
(static function, generated by yacc, is never used).
2001-02-22 02:33:06 +00:00
hubertf
55a4568c92 Make usage message match that of other pkg_* programs:
* user lowercase "usage"
 * do not use __progname/getprogname() to make this build on old systems
   (the pkg_install pkg is intended to run on 1.4 and maybe 1.3 too...)
2001-02-21 13:12:47 +00:00
minoura
271f6f5585 Accept INSCSI0, EXSCSI3, etc. as the boot.device setting.
Code from Tetsuya Isaki <isaki@se.hiroshima-u.ac.jp>.
Plus, some const'ify.
2001-02-21 13:09:18 +00:00
agc
542fb8cd9a Mention that pwd_mkdb(8) is used to update the database, and that it may
take some time to complete at large sites, as in vipw(8).

Cross-reference pwd_mkdb(8)
2001-02-21 12:16:07 +00:00
agc
2add959bb8 Mention that useradd(8), userdel(8) and usermod(8) all conform to the
locking scheme, and cross reference those utilities.
2001-02-21 12:14:37 +00:00
itojun
aa13ada450 print multiple question section. improve TSIG printing.
sync with tcpdump.org.
2001-02-21 05:59:25 +00:00
cgd
040de26f85 call setprogname(argv[0]) at start of main() 2001-02-21 00:06:22 +00:00
cgd
c2bdafab79 use getprogname() 2001-02-20 23:51:59 +00:00
hubertf
1156c833f6 Remove all the "#ifdef __APPLE__" code, to make this actually
build again on Darwin. The code in question is outdated.

OK'd by Wilfredo Sanchez wsanchez@MIT.EDU.
2001-02-20 19:45:51 +00:00
joda
7478bd5e34 convert parameters to host byte order before printing them 2001-02-20 19:18:32 +00:00
cgd
25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00