Commit Graph

4290 Commits

Author SHA1 Message Date
enami 62589880a5 No need to invoke extra shell. 2001-02-16 01:05:32 +00:00
enami 5d315aaaf9 Run make in compat mode while evaluating rhs of != op. 2001-02-16 01:01:39 +00:00
itojun 20540573e7 pull latest faithd from kame. /etc/faithd.conf allows you to filter by prefix.
manpage cleanups.
2001-02-15 17:58:55 +00:00
simonb 785b754775 Use separate printf()s instead of using a saved format string. Fixes
compiles with "FORMAT_AUDIT=yes WFORMAT=2".
2001-02-15 02:32:26 +00:00
simonb 32f6d71ea4 Remove a duplicated "md->name" in a warnx call.
Noticed by Tyrel Beede on current-users.
2001-02-15 01:59:54 +00:00
lukem e379b8ae5f groupmod: ensure that the modified group has the trailing newline 2001-02-13 21:27:03 +00:00
assar 03d6b1489a update make infrastructure and shlib versions numbers for heimdal 0.3e 2001-02-11 18:02:04 +00:00
itojun 9e66537acb use version identification same as ISC's. 2001-02-11 06:45:59 +00:00
enami d80b31fd76 Don't rely on the struct e_vnode since it isn't a part of KERN_VNODE sysctl
interface and it actually breaks pstat -v on an architecture on which
compiler emits padding between the struct's members.
2001-02-11 03:01:05 +00:00
enami 693aff020e Protect statement macro with do { ... } while(0). 2001-02-11 02:44:27 +00:00
lukem c1c612f728 link named-xfer statically, to make building chroot-ed named cages much easier 2001-02-11 01:33:59 +00:00
enami 1cfd16779b Pull in decl. of memset() so that this can be compiled on alpha. 2001-02-09 01:31:52 +00:00
itojun 5cb09b1c66 sync with latest kame tree. ndp -n -a is prettier with longer addresses.
-l is obsolete (igored).
2001-02-08 07:37:18 +00:00
joda aaa8b0ecdc only link against -lkadm5srv 2001-02-07 14:07:47 +00:00
itojun 0a7bed1113 bring in latest kame code.
- correct RTA_NETMASK processing
- correct -A filter behavior (do not advert aggregated route to other if)
- better signal handling
- mandate getifaddrs
- do not advert connected routes on !IFF_UP routes.  experimental
sync with kame
2001-02-07 13:46:04 +00:00
pk 39ca30e495 setindex2ifc(): after a realloc(), zero the newly acquired entries. 2001-02-07 13:24:42 +00:00
joda 31a9ada156 link against -lkadm5clnt instead of -lkadm5srv (this makes the `get'
command actually do something on non-kdc machines)
2001-02-07 10:38:02 +00:00
ad 77c450a230 Squash some nits. 2001-02-06 12:53:48 +00:00
itojun 56f2ea71f0 typo. ntohl -> htonl. 2001-02-05 06:04:41 +00:00
lukem 9b7718e15b set *errmsg to errbuf, preventing coredump if no interfaces are up 2001-02-05 02:37:34 +00:00
ad ea0d957018 Add a control utility for `mlx' devices. Derived from FreeBSD's `mlxcontrol'. 2001-02-04 17:30:35 +00:00
mrg f0c3971950 use -msoft-quad-float on the sparc64. 2001-02-04 14:42:31 +00:00
minoura f42a521bf9 Class names can be specified in list mode.
Code contributed by Tetsuya Isaki <ti@hiroshima-u.ac.jp>.
2001-02-04 08:37:33 +00:00
itojun 0393c88566 avoid infinite loop when -s is specified (select loop mistake).
make agetent() 32bit clean.  KAME PR 127.
disable -R (router renumbering receiver).  sync with kame.
2001-02-04 06:19:40 +00:00
itojun bcbf09100a listen to the port number specified on argument, as advertised
in document.  part of PR 12112 from feico@pasta.cs.uit.no.
2001-02-02 14:20:33 +00:00
hubertf 1a23840177 Make this look ok when formatted.
Fixes PR 12078 by Nigel Reed <nigel@nelgin.nu>
2001-02-02 03:33:50 +00:00
garbled 25a0bdc99a Fix handling of the backspace and delete keys when editing a field. 2001-02-01 08:43:46 +00:00
garbled aa592358be Add a popup message telling users how to use the multiple selection and
list field types, so users aren't mystified when they encounter one.
2001-02-01 08:29:46 +00:00
minoura c87a3782c4 Add .Dd (date). 2001-02-01 00:51:58 +00:00
minoura 8ecdc3e510 Correct the `usage' message.
Pointed out by Tetsuya Isaki <isaki@se.hiroshima-u.ac.jp>.
2001-02-01 00:51:22 +00:00
garbled 305f1af6ff Major cleanup:
Add new form keyword, iscript, which allows script generated integer fields.
This uncovered a whole host of bugs, which uncovered a whole host of memory
leaks, which hopefully I've fixed most of now (in this file at least).
2001-01-31 09:35:42 +00:00
bjh21 a9e45dc961 Put both .S and .s files in SFILES. Fixes bin/12051. Patch from Richard
Earnshaw via Chris Gilbert.

The right solution here is to have every port use .S, but that might take a
while...
2001-01-31 00:15:40 +00:00
jmc 5ec07d55ff Hmm...My last change was a bit too drastic. Sun3's would never run the inner
bit of checksum code. Restructure #ifdef's. Really, use_openprom should just
be visible on all ports and set to 0 on sun3 or something.
2001-01-29 03:11:50 +00:00
jmc f8c082d5a5 Cleanup last set of cleanups so this compiles on systems without
openprom (ala sun3).
2001-01-28 22:22:25 +00:00
itojun ca89dc0998 minimize diffs to tcpdump.org tree, even if cosmetic.
changes include:
- do not chase header if ip/ip6 datagram is framgented, and it is not the
  first fragment
- u_short -> u_int16_t
- buffer boundary checks, including sprintf -> snprintf
- cleanup truncated packet cases
- pull tcpdump.org enhancements/corrections for RIP, IPv6 options, ICMPv6,
  OSPFv3, IPv4 options, BGP

there are a lot of local/conflicting changes.  we'd gradually decrease
# of diffs by synchronizing both ends, and then move to src/dist/tcpdump
and reachover makefile.
2001-01-28 10:05:05 +00:00
itojun 3915684b18 remove extra space after typename. sync with tcpdump.org 2001-01-28 07:56:56 +00:00
itojun b3d0e180ed print A6, DNAME and bit string label correctly.
sync with tcpdump.org.
2001-01-28 07:51:33 +00:00
itojun 64a4efdbfa for sha.o target, use decl very similar to bsd.lib.mk 2001-01-28 01:43:26 +00:00
martin 3966d2696b Disable optimization when compiling sha.c.
This is a know bug (see our libc sha1 implementation and the associated
doc/hacks entry) with the toolchain used on sparc64 currently.

XXX - somebody please check/fix OBJDIR handling for this
XXX - somebody please fix the ****** toolchain
2001-01-28 00:42:20 +00:00
itojun cd938b3400 enable DNSSEC code (using -DDNSSAFE) if MKCRYPTO=yes 2001-01-27 08:14:43 +00:00
itojun ad5df36306 update $VER 2001-01-27 07:35:32 +00:00
itojun 1a7fc7b687 upgrade to BIND 8.2.3. the upgrade is critical (security fixes).
please test.
2001-01-27 07:21:56 +00:00
hubertf 6c1d54c4cb * Make error messages from open(2) include the file/device that was
not open-able
 * Add -v switch to dump some font-stats before loading them.
2001-01-26 20:25:25 +00:00
jlam c5d65e2d74 Improve grammar slightly in the description for IPsec policy settings. 2001-01-25 21:49:31 +00:00
chuck 739ac42b5e be more picky about running /etc/apm/{battery,line} in response
to APM_POWER_CHANGE event.   some BIOS post this event periodically
while the battery is charging/discharging (no change in a/c state).
on these systems this prevents /etc/apm/{battery,line} from being
run multiple times.
2001-01-25 00:48:59 +00:00
garbled 18d0882a77 Add a function to fetch a list of different package categories that are
available to the user to install binary packages with.

Modify the function API so it can handle preforms like it is supposed to.
2001-01-24 09:30:30 +00:00
garbled 1dc7842166 Deal with null returns from script entry field types in a semi-sane manner 2001-01-24 08:29:56 +00:00
garbled 18e0c94727 Fix an off-by one error in run.c having to do with the down arrow, and fix
some minor display glitches in the form routines.
2001-01-24 07:46:23 +00:00
garbled 69f61c7f62 Fix the editing popup window so it's actually readable. 2001-01-24 07:23:51 +00:00
garbled fdb7bdb2c0 Fix some bugs pointed out by Brett Lymn where I wasn't checking the return
value of field_buffer.
2001-01-24 07:17:10 +00:00
itojun 2355131777 make sure to initialize prefix information struct before use. sync with kame 2001-01-23 15:35:54 +00:00
is 083ffe26fe This should fix PR 11865 by Petri Koistinen: modelines too short by more
than one entry would only be detected by a (core dumping) strtol().
2001-01-22 21:11:23 +00:00
garbled 73ffa92b18 Fix one of the bugs in the TODO list, sushi would die with a bad endpoint
if you hit enter on one of the blank lines in the main menu.
2001-01-22 07:12:49 +00:00
itojun 69622e75ab sync with latest kame.
- make icmp6.h spec conformant to 2292bis-02, regarding to router reumbering
  flag bit.
- latest rtadvd.
2001-01-21 15:39:32 +00:00
itojun 14296ba1e6 make it clearer that /etc/rtadvd.conf is optional (normally,
configurations were derived from kernel interface settings).

install rtadvd.conf into /usr/share/exapmles/rtadvd, instead of /etc.

sync with kame.
2001-01-21 15:01:36 +00:00
itojun 45c9804017 avoid memory leak. sync with kame 2001-01-21 07:51:17 +00:00
kleink f46c3b8662 Teach tcpdump(8) to dump VRRP. 2001-01-19 09:10:13 +00:00
garbled b0ee440a2f Update the TODO list a little bit. Add a few items that were brought to
my attention.
2001-01-19 07:50:20 +00:00
enami f93a8a97b8 Parse nfs file handle better on NetBSD. On little endian machine,
it was completely broken.  On big endian machine, it was detected as SUNOS4
and thus 32bit dev_t isn't handled properly.

XXX: The auto detect code should be integrated more cleverly if possible.
XXX: In addition, it is better if there is a way to specify server os type.
2001-01-19 01:28:50 +00:00
lukem 3b32ee2ae2 this is ntpq(8) not pq(8). (conversion problem from the html???) 2001-01-19 01:25:32 +00:00
thorpej ed7ec7c142 Make this work again for the case where there are devices
configured, but none of those devices happen to have locators.
2001-01-18 07:09:47 +00:00
mycroft 5087e52718 Kill .NOPATH, and fix some DPADDs. 2001-01-18 03:28:19 +00:00
scottr acef071496 Fix the sorting introduced in rev 1.9 for the netgroup map:
handle entries that span multiple lines correctly.
2001-01-16 07:15:18 +00:00
cgd d594ce939b comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
cgd bcc8ec9959 include stdlib.h for prototypes (typically for exit()). 2001-01-16 02:44:43 +00:00
cgd fdfcf1962d labels (even default:) _must_ be followed by statements! usr.bin/fgen/fgen.l 2001-01-16 02:43:37 +00:00
cgd c338834cd9 use expr to do subtraction. shell math isn't as portable. 2001-01-16 02:42:39 +00:00
cgd 9cfe468c74 avoid C sequence point issues warned about by development version of gcc. 2001-01-16 02:41:17 +00:00
cgd e209ced86f include string.h for prototypes. 2001-01-16 02:38:36 +00:00
cgd 3e8fb298b1 Avoid accidental use of trigraphs. Pointed out by development version of gcc. 2001-01-16 02:37:03 +00:00
cgd ede451d831 comment about the backslash used to avoid trigraph 2001-01-16 02:36:29 +00:00
cgd 4edf8bff8e Don't forget the trailing newline. 2001-01-16 02:34:34 +00:00
cgd f762cf8294 for linking, libraries should be named _after_ the libraries that need them.
In this case, curses should come after cdk & form.
2001-01-16 02:34:14 +00:00
martin 7d77421729 Comparing ch != -1 when ch is of type char is no good idea.
Fix this for ports where char is unsigned by making ch an int.

Pointed out by Matthias Pfaller.
2001-01-15 09:26:15 +00:00
itojun a88307ab86 sync with latest kame tree.
- reduce chances for signal handler rae condition
- decrease chances for misconfiguration
- feedbacks from router renumbering protocol bakeoff
2001-01-15 06:14:05 +00:00
garbled 3c1becf72b Fix a buffer overrun in the parsing of the searchpaths, and check the return
values of some curses functions I overlooked.
Pointed out by Brett Lymn in private email.
2001-01-14 21:23:23 +00:00
christos d4f4672be8 move target definition after including bsd.prog.mk so that target protection
works.
2001-01-14 10:36:11 +00:00
christos b4d783f6b6 move target after including bsd.prog.mk so that target protection works. 2001-01-14 10:34:57 +00:00
christos b420e5eb3e don't include bsd.nls.mk; bsd.prog.mk does it for us. 2001-01-14 06:26:56 +00:00
itojun 48110adac6 correct fd_set allocation. from deraadt 2001-01-12 18:53:20 +00:00
itojun 606c47534d make signo a volatile variable. sync with kame 2001-01-12 17:48:37 +00:00
itojun 5e43f4d020 make signal handler very short, to avoid possibility of race conditions.
commented by deraadt.  sync with kame
2001-01-12 14:55:13 +00:00
cgd e3e65b0f8d When building gethnamaddr.o and getnetnamadr.o from libc sources,
define _LIBC so that the weak aliases those files normally define if
built in libc get set properly.  Otherwise, this doesn't link statically.
Static linking tested on NetBSD/i386 by sommerfeld, correct runtime
operation not verified (but should be no different than before).
2001-01-12 01:43:48 +00:00
jhawk 0d99070cf2 Change wi(4)'s default from ad-hoc mode to BSS mode. Also
some minor manpage fixes.
2001-01-11 19:33:51 +00:00
enami 30fc09dacc Use PRINTOBJDIR. 2001-01-11 13:15:06 +00:00
enami 5e2a856773 Kill no longer used variable decl. 2001-01-11 13:06:28 +00:00
lukem e4099568d7 minor knf 2001-01-11 07:58:04 +00:00
lukem 06680ddb2d fix tyop 2001-01-11 03:28:03 +00:00
lukem 30724dba3e LOG_ODELAY is deprecated; it's the default 2001-01-11 03:05:42 +00:00
lukem cb4cea7120 don't use LOG_CONS 2001-01-11 02:44:03 +00:00
lukem 631bc8fbd3 oops, forgot syslog.h 2001-01-11 01:54:08 +00:00
lukem 27f625d619 use LOG_WARNING for warnings and LOG_ERR for fatal errors 2001-01-11 01:47:55 +00:00
lukem f0ccfb9aa0 skip past / if we found one in argv[0] 2001-01-11 01:45:07 +00:00
lukem 13220245b2 use explicit name rather than __progname in openlog 2001-01-11 01:43:25 +00:00
lukem 7890e93e47 remove unnecessary ":" in openlog ident 2001-01-11 01:43:10 +00:00
lukem 39c3c68f55 when calling openlog():
- don't use LOG_CONS
- use explicit name rather than __progname
2001-01-11 01:42:50 +00:00
lukem 0645f2f67b use explicit name rather than __progname in openlog 2001-01-11 01:34:28 +00:00
lukem a78cb15fc9 use "ypxfr" instead of __progname as ident arg to openlog
wrap all debug syslogs in #ifdef DEBUG (rather than just most of them)
2001-01-11 00:35:49 +00:00
lukem 48565a8e05 use "ypserv" instead of __progname as ident arg to openlog 2001-01-11 00:34:51 +00:00
lukem 74590d002a add openlog(...,pid, daemon) 2001-01-11 00:16:11 +00:00