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
lukem
43b126d3f1
no need for LOG_PERROR if we're about to daemon()ize (and close
...
stderr in the process)
2001-01-10 23:48:14 +00:00
jdolecek
c7121de1da
use getcwd() instead of getwd() - mainly to avoid link warning, this
...
particular usage is safe
2001-01-10 22:53:22 +00:00
thorpej
e153fd2620
CPPFLAGS is for CPP flags, not COPTS.
2001-01-10 18:11:05 +00:00
garbled
b4aac50fda
Changes to sushi to allow users to bind different keys to the various
...
built-in functions. This allows users to change F1 to say, ^X, in the case
where a function key might not be available, or perhaps is bound to a window
manager.
problem noted by Nathan Williams
2001-01-10 10:00:29 +00:00
jmc
ca4a8d27dc
Move routines which fill in tbuf in addrmerge(). The fixes in 1.4 pick a new
...
interface but don't fill in tbuf which results in clients getting garbage back
in part of the answer. This makes sure there's something in tbuf.
At some point this whole logic should be looked at, as just picking a random
local up interface for non-local requests doesn't feel right.
2001-01-10 05:23:43 +00:00
garbled
ee3a00e29e
de-lint
2001-01-10 03:05:48 +00:00
garbled
259b42afe7
Some cleanups in how help is handled. Now print a dialog box saying that
...
help could not be found when no help files are available. When the help
window dissapears, redraw the screen so the menu isn't invisible.
2001-01-09 21:38:53 +00:00
garbled
009ea1962a
Fix a segfault when the user hits ESC inside the F4 selection box for a
...
list field.
2001-01-09 19:32:35 +00:00
garbled
f6177aaaba
When dropping out to a shell for the user via F9, use $SHELL if it's
...
available, rather than hardcoding /bin/sh. Problem noted by itojun on
tech-userlevel
2001-01-09 19:01:57 +00:00
augustss
54f9960ad3
Update usage message.
2001-01-09 17:35:45 +00:00
augustss
d56c24a854
Make this compile again.
...
(Compile before commit...)
2001-01-09 17:08:47 +00:00
garbled
4ce5fb6f63
Handle finding help for F1 better in the toplevel menu.
...
TODO: print a dialog message if help cannot be found.
2001-01-09 09:41:41 +00:00
garbled
74db0945af
Backout the addition of timeout(). This did not have the desired effect
...
at all. problem noted by itojun on tech-userlevel.
2001-01-09 08:06:22 +00:00
lukem
443a19e035
convert to using .WAIT
2001-01-09 03:13:39 +00:00
garbled
a2633f6a37
Add better handling of a failure to find any menus at all for sushi to
...
process. Document the ability to use "quicknames" in the sushi manpage.
2001-01-08 21:19:31 +00:00
itojun
6931d9c234
do not decode non-first IPv6 fragment. sync with tcpdump.org code
2001-01-08 16:42:29 +00:00
garbled
ff9d32a832
Add a bug that I forgot about in here.. so that I don't forget to fix it.
2001-01-08 08:33:24 +00:00
garbled
5a95f8151c
Add the sushi manpage to the makefile.
2001-01-08 08:24:17 +00:00
garbled
729ebd2d8e
Write a manpage for sushi. Closes PR 11902 by Lennart Augustsson.
2001-01-08 08:12:54 +00:00
martin
6f9aebaaf0
Cleanup startup error message handling, copy fatal messages to stderr
...
too when not (yet) running in background.
Avoid calling endwin() when curses has not been initialized. Fixes a core
dump reported by Bernd Ernesti when running full-screen mode with
configuration file errors.
2001-01-08 07:18:54 +00:00
martin
a6df9f9ad3
Fix coyp&pasto bug when parsing the ppp-expect-password option, reported by
...
Thomas Moestl against the FreeBSD version.
2001-01-07 21:01:03 +00:00
martin
d6af3290ae
Remove accidently imported generated y.tab.h file and make sure it's
...
removed by "make cleandir".
2001-01-07 09:03:21 +00:00
martin
9093099039
Fix configuration of isp* (ISDN ppp) devices via isdnd.rc,
...
patch from Christoph Badura.
2001-01-07 09:00:49 +00:00
enami
270db080e9
Use PRINTOBJDIR.
2001-01-07 08:00:54 +00:00
hubertf
f4f6931307
Alphabetize options.
2001-01-07 01:39:20 +00:00
veego
df22eba7da
len is size_t and not int.
...
Fixes compile problem on alpha.
2001-01-06 15:04:05 +00:00
jdolecek
4723e61556
rename sushi.msg.en to C.msg
...
build and install message catalog
2001-01-06 14:00:33 +00:00
martin
bb3d9aa044
Enable ISDN userland utilities.
2001-01-06 13:03:49 +00:00
martin
fbf08005d7
Import of essential ISDN4BSD userland utilities and their documentation.
...
The left out parts (which have not been installed by ISDN4BSD on NetBSD
anyway), may be added as pkgs later (if demand exists).
2001-01-06 13:00:10 +00:00
christos
f5e6028400
Get rid of the TRY_AGAIN kludge. It is completely counter intuitive to have
...
every DNS lookup fail after the first TRY_AGAIN failure.
Also take care of minor lint stuff [extra h_errno declaratation/NULL vs. 0 etc]
2001-01-05 19:34:13 +00:00
thorpej
33191e72a1
Use ${PRINTOBJDIR}.
2001-01-05 19:01:59 +00:00
thorpej
8463038876
Fix some things that were missed when this program was renamed to
...
"sushi".
2001-01-05 18:57:25 +00:00
agc
f1eeab30f5
Language police:
...
"It's" is short for "it is".
The possessive pronoun is "its".
2001-01-05 17:05:26 +00:00
garbled
c235d349be
Enable Sushi
2001-01-05 15:46:10 +00:00
lukem
c2aa46e7c2
use %ll_ instead of the less standard %q_
2001-01-05 03:27:26 +00:00
lukem
2537f730fa
always use %lld for INT64_FORMAT (rather than %ld on __alpha__ and __sparc_v9__
...
and %qd on everything else), and always cast the vars to (long long).
2001-01-05 03:21:53 +00:00
shin
745fabb2ce
MACHINE_ARCH for MIPS machine is "mipsel" or "mipseb".
2001-01-05 01:35:45 +00:00
garbled
fbbe4d12db
Initial import of sushi.
...
Sushi is an interactive, menu-based program that is designed to aid
the user or administrator with administrative and complex tasks on thier
machines.
Sushi provides a menu of various functions that the user can perform on
his or her machine. Once the user selects a desired function, the
function is either performed outright, or in most cases, the user is
asked to fill in a simple form with required and option information,
which is then processed by sushi, and the action occurs.
The programming interface for sushi is very simple. There are
directories containing various files, such as menu indexes, or forms for
the user to fill out. These files are interpreted by sushi to generate
the menus the user sees on his/her screen. When the form is filled out
by the user, the entries are passed as command-line arguments to a
program, or script contained in one of the subdirectories. In this way,
it is possible to add new entries to the sushi menu structure, by simply
adding a new menu item, form and script, the binary does not need to be
recompiled to take advantage of this new menu.
2001-01-05 01:28:33 +00:00
itojun
4519a2cf89
libc has clnt_sperrno(), no need to pull it into libamu.
...
this also raises problem when we try to link amd statically. PR 11187.
bumps libamu major.
2001-01-04 14:21:09 +00:00
itojun
92ee339d1c
sh3 split
2001-01-04 09:43:05 +00:00
itojun
11a8150bad
unbroken it. dev/i2p/iopvar.h requires sys/device.h for sizeof(dv_xname).
...
not sure if it is the right fix or not.
2001-01-04 06:16:02 +00:00
itojun
06b30834dd
${PRINTOBJDIR}
2001-01-03 15:57:00 +00:00
itojun
9857da78ba
s/make/${MAKE}/
2001-01-03 08:43:05 +00:00
hubertf
6e6337b43d
* findmatchingname():
...
When the bzip-pkg handling was introduced, a dewey pattern (foo>1) may get
a character-class-pattern attached (.t[bg]z), and the code was not prepared
to match that. I've special-cased handling of character-class pkg suffixes
for ".t[bg]z", and when scanning a dir in findmatchingname() now both the
'first' part of the pattern (e.g. "foo>1") and the suffix (e.g. ".t[bg]z")
must match the file, hence the two pmatch() calls.
* findbestmatchingname_fn():
Caught a case where ".t[bg]z" was not properly handled. Must do the same
suffix-processing again here!
Fixes PR 11856 by Dan McMahill <mcmahill@mit.edu>
2001-01-01 22:07:35 +00:00
martin
8679c35174
More va_list vs. _BSD_VA_LIST_ lossage
2000-12-30 21:45:44 +00:00
martin
8d2fdb358e
Don't duplicate system declarations (vsprintf and friends) already
...
present in system headers. Even worse: those declarations have slightly
different argument types (va_list vs. _BSD_VA_LIST_)
2000-12-30 21:36:23 +00:00
augustss
26ebe4297f
Add a flag to show the device driver(s) associated with each device.
2000-12-30 13:57:44 +00:00
augustss
7f426f36c1
ANSIfy.
2000-12-30 13:50:43 +00:00
itojun
4a49026fe0
move .PATH after bsd.prog.mk
2000-12-29 05:22:07 +00:00
itojun
3207cfe8dd
install sample configuration files into /usr/share/examples/racoon.
...
make variable "SBIN_RACOON" will build static racoon binary, and installs
it into /sbin (nonstandard)
2000-12-29 03:16:39 +00:00
itojun
31daf71078
visit usr.sbin/racoon in build process (if MKCRYPTO != no).
2000-12-29 02:41:55 +00:00
itojun
54e4101852
synchronize with latest tcpdump.org tree
2000-12-29 02:38:23 +00:00
itojun
66927d4789
move racoon build framework from sbin/racoon to usr.sbin/racoon.
2000-12-29 02:33:38 +00:00
thorpej
7490542205
Document the name forms of the ICMP and TCP field offsets/values
...
recently added to libpcap's compiler.
2000-12-28 22:43:39 +00:00
wiz
1d1f43e05c
Improve handling of -l with -m, and update documentation.
...
Based on an idea by Alistair Crooks in bin/11707.
2000-12-23 17:19:48 +00:00
wiz
a73ca31ff8
Clarify what happens if -d is specified without -m.
...
Fixes second part of bin/11707.
2000-12-23 16:30:21 +00:00
wiz
39df6581fe
Fix moving a user's home directory with 'useradd -md /new/home/dir user'.
...
Clarify code (newpwp was referencing the same struct as pwp).
Fixes first part of bin/11707.
2000-12-23 16:29:35 +00:00
itojun
8537da23ad
use strlcpy/at throughout the code. more strct argument validation.
...
revoke setuid privilege earlier.
sync with kame.
2000-12-22 15:12:04 +00:00
cgd
8d81e0e116
__CONCAT does token pasting, not string concatnation. if something like:
...
__CONCAT("foo","bar");
actually works to concantate strings, it's because the preprocessor expands
it into "foo""bar" as separate strings, and then ANSI string concatenation
is performed on that. It's more straightforward to just use ANSI string
concatenation directly, and newer GCCs complain (rightly) about misuse
of token pasting.
2000-12-20 01:34:39 +00:00
cgd
94e108c80f
avoid accidental use of ANSI C trigraphs.
2000-12-20 01:30:26 +00:00
cgd
d87582beba
avoid use of ANSI C trigraph ??)
2000-12-20 01:29:21 +00:00
itojun
10fb60e4ee
do not declare errno on our own. from: Patrick Welche <prlw1@newn.cam.ac.uk>
...
sync with the latest kame tree.
2000-12-19 23:55:02 +00:00
nathanw
95ecff2f0d
Pull in ${DESTDIR}/usr/include before ${DESTDIR}/usr/include/openssl, so
...
that we get the system's err.h, not openssl's.
2000-12-19 21:18:32 +00:00
scw
ab70197801
Select the object format in the Makefile, to allow selecting on
...
%MACHINE when deciding what object formats to support.
2000-12-18 20:43:58 +00:00
mike
ba39d0a858
Correct display of invalid username error and cache duplicate password
...
lookup (fixes PR#11695).
2000-12-17 22:47:14 +00:00
thorpej
893fdc80cf
Descend into altq.
2000-12-17 03:06:53 +00:00
thorpej
28f0042b51
Build glue for ALTQ programs.
2000-12-16 18:57:34 +00:00
thorpej
d4bf5787dc
Token bucket regulator config program for altq.
2000-12-16 17:53:19 +00:00
thorpej
8726857e6b
Import the altq status program.
2000-12-16 17:40:16 +00:00
thorpej
09dce659bf
Import the altq configuration daemon.
2000-12-16 17:39:40 +00:00
thorpej
95a6556014
Import the altq library.
2000-12-16 17:38:07 +00:00
lukem
1d0a6f62b8
revert 1.51 and 1.52 (_KERNEL_foo stuff), due to loud objections from
...
a couple of people. we'll just have to go back to adding this manually
to our config files...
2000-12-14 22:14:45 +00:00
scw
eee03f150e
No need to initialise a global to zero.
2000-12-13 23:00:32 +00:00
ad
ad2150de6f
Remove debug printf.
2000-12-13 12:34:02 +00:00
enami
f0f66cd139
..., and fix new warning on i386.
2000-12-13 11:07:16 +00:00