christos
ce88ebe827
Propagate the fix to Makefile.inc
1998-09-27 16:30:31 +00:00
christos
ee5bcaffb1
Don't add LDADD dependencies in the libamu build.
1998-09-27 16:28:54 +00:00
hwr
fadc6762f7
Add for packtes of IPPROTO_MOBILE (55). This is yet another
...
tunneling protocol which is described in RFC2004.
XXX There is no verification of the miniheader checksum at the moment.
1998-09-25 19:10:25 +00:00
jtk
5372885234
fix synopsis, per pr #6194
1998-09-25 00:47:01 +00:00
marc
3386dbf8ac
refer to dhclient-script(8)
1998-09-24 04:45:32 +00:00
marc
d09fc7c471
include the appreviation in the synopsis so that man -k works
...
intelligently.
1998-09-24 04:33:45 +00:00
itohy
20b86c5f48
The return value of setmode(3) is a pointer to malloc()'ed area
...
and must be freed to avoid memory leaks if called repeatedly.
1998-09-23 19:46:00 +00:00
matt
08e1d890a4
Changes so that BPF readers will get the data in fddi packet aligned along
...
normal boundaries. This makes tcpdump much happier.
1998-09-20 02:36:08 +00:00
hwr
f781823236
Main is int. From Soren S. Jorvang <soren@t.dk>.
1998-09-17 07:41:11 +00:00
frueauf
c548010b99
Fix pr 5071 better after feedback from the Originator Havard Eidnes.
1998-09-14 21:23:07 +00:00
frueauf
988c143116
Add (ugly?) code to prevent core dump as described in pr 5071 by Havard Eidnes.
...
XXX Maybe someone with more taste and understanding should have a look
XXX at this? At least I prefer this over the solution provided in the pr.
1998-09-14 11:52:21 +00:00
tv
1428a599bf
Rethink the origins of LDSTATIC. Instead, use an option NOLINKLIB, which
...
builds and installs only what is necessary to link and run binaries, when
the library is not externally useable.
- NOPIC: Create and link against a static library.
- PIC: Create, link against, and install a shared object.
- PIC+LDSTATIC: Create and link against a static library; create and
install a shared object.
1998-09-13 23:25:18 +00:00
hwr
1374569d41
Add a tool to set/display the configuration of gre(4) interfaces.
1998-09-13 20:50:55 +00:00
hwr
bdf6e1db02
Also build greconfig
1998-09-13 20:48:57 +00:00
hubertf
966a060e98
minor fixup for -e option
1998-09-12 21:59:18 +00:00
kim
cc01fea167
Before running "rm -rf" on a directory try to turn on the S_IRWXU bits.
1998-09-12 07:36:49 +00:00
pk
f6ed324c42
Deal with superblock changes; from PR#6032.
1998-09-11 21:22:53 +00:00
kleink
c039c662a2
GMT -> UTC
1998-09-10 19:30:37 +00:00
mouse
b95116821c
Create tcp.keepidle, tcp.keepintvl, tcp.keepcnt, tcp.slowhz sysctls.
1998-09-10 10:46:03 +00:00
tron
63ef9847d5
Fix broken package dependence handling mentioned by Brook Milligan on
...
"tech-pkg@netbsd.org".
1998-09-08 21:54:01 +00:00
kim
06f0e05806
Fix paths to match the current code.
1998-09-06 06:25:59 +00:00
lukem
72549586a8
distclean is a synonym for cleandir
1998-09-05 14:57:41 +00:00
christos
b5b77bba54
Back out accidental removal of CDTRCTS and fix rcsid's
1998-09-04 19:13:04 +00:00
mellon
f0ee4a66e9
Oops, release the lease _before_ deconfiguring the interface.
1998-09-04 18:03:56 +00:00
mellon
2c64334bb9
Build sysconfd and statmsg
1998-09-04 18:01:59 +00:00
mellon
17cf92b7ae
Reincorporate sysconfd support. Add support for releasing leases.
1998-09-04 18:01:14 +00:00
mellon
f397d4ea4a
Add prototype for client_reinit()
1998-09-04 18:00:17 +00:00
mellon
65a4f4bad8
Mention that statmsg depends on sysconfd.
1998-09-04 17:58:16 +00:00
mellon
a8737b8da6
Documentation for sysconfd.
1998-09-04 17:57:33 +00:00
mellon
753854cd53
Add release-current-dhcp-leases message.
1998-09-04 17:51:36 +00:00
mellon
d424c62366
Document statmsg command.
1998-09-04 17:50:23 +00:00
mellon
b9680f85dc
Add sysconf message to release DHCP-acquired leases.
1998-09-04 16:47:56 +00:00
christos
44d3b0974b
Apply diffs from patchlevel 5.
1998-09-02 20:55:55 +00:00
enami
692962babe
add -Dunix to CPPFLAGS to suppress cpp warning.
1998-09-01 03:16:48 +00:00
pk
3237c34e03
Emit device name to device major number table.
1998-08-30 21:33:27 +00:00
nathanw
b757463521
Add braces to satisfy egcs.
1998-08-30 03:20:09 +00:00
nathanw
a542b8e8e3
Add braces to satisfy egcs.
1998-08-30 01:40:15 +00:00
hubertf
e6c468e777
Make really sure to only nuke LogDir when it's been set. Fixes problem
...
described in PR 5308, code was contributed by Eivind Eklund <eivind@yes.no>.
1998-08-28 00:35:51 +00:00
hubertf
90c872591e
Allow symlinks to directories instead of pure directories in several
...
places (/usr/pkg, /var/db/pkg, ...). Closes PR 6009 by Jim Bernard
<jimjbernard@ox.mines.edu>.
1998-08-27 23:37:35 +00:00
ross
b1934d6034
{} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs.
1998-08-27 20:31:00 +00:00
ross
206d54f97f
LP64 fixes for recently added code. (In LP64, ptrdiff_t != int.)
1998-08-27 20:11:31 +00:00
ross
5b1f2d4c8c
Add {} pairs to shut up egcs.
1998-08-27 18:03:42 +00:00
agc
8bdbb59a69
Add csh(1)-style alternates to pkg_info -e.
...
Add dewey-decimal relational number matching for package version numbers.
1998-08-27 12:54:03 +00:00
christos
73270b4cf4
Add the default route as static, so that routed does not delete it.
1998-08-27 06:55:16 +00:00
lukem
f6a3acc90d
in -x, print MB/s two 2 decimal places. noted by enami@netbsd.org
1998-08-27 03:17:49 +00:00
tv
2ba70f299c
#include <string.h>
1998-08-27 03:11:37 +00:00
enami
cb5c756e90
add -x in usage.
1998-08-27 01:59:38 +00:00
enami
b8d6676d67
add missing endif.
1998-08-26 02:11:58 +00:00
lukem
26afa02db6
* implement -x; extended disk statistics. option inspired by solaris' iostat.
...
* fix a few typos
* a bit of KNF and egcs cleanup
* add a HISTORY (hopefully correct)
1998-08-25 08:05:47 +00:00
hubertf
2fb1caee16
Pass prefix for depending pkgs.
1998-08-25 01:16:03 +00:00
hubertf
d54f140300
Remove some trailing (extra) "."s.
1998-08-25 00:54:08 +00:00
hubertf
1285035fe7
Don't exit cleanup() functions if not called from signal handler - this
...
will show error messages before aborting.
Patch supplied by Jim Bernard <jbernard@ox.mines.edu> in PR 6010, cleanup()
in delete/perform.c prepared to be used as signal handler by me.
1998-08-25 00:12:16 +00:00
tron
6986701b82
Sync manual page and usage() with reality, patches supplied by
...
Jim Bernard in PR pkg/6005.
1998-08-23 10:16:19 +00:00
bouyer
95abfb960b
note that messages are send to syslog daemon using facility LOG_DAEMON.
1998-08-21 09:39:32 +00:00
bouyer
fe94b8f229
- Makes ypbind use syslog() (with LOG_DAEMON) instead of warn()/err().
...
Messages will still be printed to stderr if ypbind is started in debug mode.
- Don't exist if none of the servers listed in
/var/yp/binding/<domainname>.ypservers are reacheable. It's a temporary
failure that can be recovered from.
1998-08-21 09:39:04 +00:00
tv
767b9acc8e
"featch" -> "fetched"
1998-08-19 12:29:00 +00:00
msaitoh
d06e28b7f7
eliminate duplicated protos
1998-08-17 17:51:54 +00:00
christos
3511f44e2e
Fix typos...
1998-08-12 14:25:08 +00:00
christos
a7a81d1b02
Resolve corn-flakes
1998-08-12 14:11:49 +00:00
mycroft
6bbe486e22
If we get a weird vendor ID, just send it back. This is necessary to make at
...
least one type of system (old NeXTs) boot.
1998-08-09 16:47:52 +00:00
christos
01c4ec85f3
Change amq string size to 10K from 1K so that we can print large versions.
1998-08-08 22:52:59 +00:00
christos
ac8587765d
Resolve corn-flakes and remove obsolete files
1998-08-08 22:33:27 +00:00
christos
0d352ac375
Import a16, with some local fixes...
1998-08-08 22:05:22 +00:00
mycroft
f350d95237
NetBSD.ORG -> netbsd.org
1998-08-07 13:55:12 +00:00
kleink
ee14eecc51
Change the primary/secondary WINS Configuration Option Type IDs (128, 130) to
...
match those specified by RFC1877 (130, 132); from Terry Moore <tmm@mcci.com>
in PR bin/5701.
1998-08-06 20:13:14 +00:00
tv
c166f15971
NetBSD doesn't support the tahoe.
1998-08-06 14:56:17 +00:00
mikel
f48c684893
handle negative arguments correctly
1998-08-04 04:33:15 +00:00
sommerfe
ff9a2c8d5c
oops, KNF that
1998-07-31 21:38:43 +00:00
sommerfe
c13b52407e
Fix long-standing bug which causes dhclient to clobber interface configs on uninvolved interfaces
1998-07-31 21:27:08 +00:00
tron
0ffcc8e911
Use "[host]: " as prefix for forwarded messages to distinguish them
...
from message originated by the forwarding host, fixes PR bin/5860 by
Greg A. Woods.
1998-07-30 23:29:29 +00:00
frueauf
d7e113cce6
Use the variable u instead of p in line 641 to prevent sup coredumping.
1998-07-30 21:03:48 +00:00
fair
72dfb07bbe
usage & comment string patch, per PR#5859
1998-07-29 07:26:29 +00:00
simonb
d3eedb9246
Remove useless BINOWN=root, BINMODE=555 and BINDIR=/usr/sbin
1998-07-29 01:19:00 +00:00
mycroft
af3e07f7d1
__AUDIT__ cleanup.
1998-07-28 19:27:39 +00:00
mycroft
2e9ada3aff
const propagation.
1998-07-27 15:11:06 +00:00
mycroft
c77b5a980c
const poisoning.
1998-07-27 01:07:01 +00:00
mycroft
1f86e5830d
const poisoning.
1998-07-27 00:52:00 +00:00
mycroft
3d7514132e
const poisoning.
1998-07-26 16:01:12 +00:00
mycroft
160249f79c
const poisoning.
1998-07-26 15:48:43 +00:00
mycroft
3c0eeb1ed3
const poisoning.
1998-07-26 15:34:18 +00:00
mycroft
66427701ea
const poisoning.
1998-07-26 15:23:39 +00:00
mycroft
907740b591
Nuke redundant extern.
1998-07-26 13:27:34 +00:00
mycroft
48ba78aafd
const poisoning.
1998-07-26 12:00:43 +00:00
explorer
d1c69e189b
HAVE_HDLC, not just HDLC
1998-07-25 11:39:53 +00:00
explorer
5aab21dfbb
changes to print hdlc framing info
1998-07-25 11:30:43 +00:00
mycroft
b21020c6b1
SPARC uses 8k virtual pages for linking.
1998-07-25 06:01:13 +00:00
augustss
a07569cb70
Fix typo in getopt string.
1998-07-23 18:39:53 +00:00
augustss
cf835b8a8d
Update man page.
...
Be a little more verbose with -v when no controllers were found.
1998-07-23 13:57:51 +00:00
drochner
017037d6b1
adapt to changed dkinit() in ../../usr.bin/vmstat/dkstats.c
1998-07-19 17:48:15 +00:00
lukem
786b86d71b
use AF_LOCAL instead of AF_UNIX
1998-07-18 05:04:35 +00:00
is
a9f772b8bb
Add path mtu discovery. Idea and code fragments by W. Richard Stevens.
1998-07-17 23:45:24 +00:00
tron
ec7c8ec161
From "buqtraq": avoid file descriptor leak if service is looping.
1998-07-16 08:55:43 +00:00
fvdl
e2380de37c
Clarify -n comment.
1998-07-15 22:00:59 +00:00
lukem
ee2b020c89
pull in /etc/rc.conf if it exists, and use $named_flags as an arg to named
1998-07-15 02:44:52 +00:00
frueauf
6711f91976
Fix typo, closes pr 5753 by Mason Loring Bliss.
1998-07-14 21:19:08 +00:00
mrg
84ce584a5f
- standardise some option processing
...
- don't bother copying the exports filename, it isn't necessary
- unblock SIGHUP after returning "mount refuse" error
- KNF, and remove the singular register
1998-07-13 14:24:24 +00:00
mrg
99b44231f5
minor KNF nits.
1998-07-13 12:01:03 +00:00
augustss
6b7023e319
Fix some typos.
1998-07-13 11:01:50 +00:00
mrg
5c8240d257
KNF. be safe with buffers. use setsid().
1998-07-13 06:31:31 +00:00
mrg
7899faca6b
KNF.
1998-07-13 05:43:50 +00:00
augustss
3ac7469e03
Remove some Makefile cruft and improve an error message.
1998-07-12 20:40:44 +00:00
augustss
81565845ef
Add missing copyright notice.
1998-07-12 20:32:30 +00:00
augustss
deb00272b9
Add USB support. Supported so far:
...
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00
veego
dd81fd7d91
Resolve conflict from the import.
1998-07-12 15:01:49 +00:00
veego
2e7d01894c
Import IP Filter 3.2.9
1998-07-12 14:48:00 +00:00
veego
1fdca009c8
ups, forgot to remove the #'s.
1998-07-12 14:45:10 +00:00
veego
8b98bfa257
Fix the 'RCS tag' conversion.
1998-07-12 14:39:11 +00:00
hubertf
89f14c0f4e
Prevent args of pkg_info -e from expansion (in case wildcard matching is requested)
1998-07-12 14:05:51 +00:00
mrg
1cd9ed7799
minor KNF.
1998-07-12 09:13:27 +00:00
mellon
e7910d8d32
Hard-code NetBSD-specific directory names
1998-07-11 00:04:23 +00:00
mellon
dac2726066
Document NetBSD-specific system requirements.
1998-07-11 00:02:39 +00:00
mellon
b13a0491e0
Hard-code NetBSD-specific directory names
1998-07-11 00:02:08 +00:00
mellon
53904df9e4
Document NetBSD-specific system requirements.
1998-07-10 23:58:27 +00:00
rvb
a7bec6f8a2
The .o files should depend on the h file, not the .c files
1998-07-10 16:37:55 +00:00
msaitoh
4944940fcf
Declare ints, too, don't default them.
1998-07-09 18:32:52 +00:00
hubertf
7a033bd0d4
Extend "pkg_info -e" to allow pkg-globbing, and allow using it.
1998-07-09 17:49:51 +00:00
hubertf
ad11dcd500
Replace FreeBSD's libftpio with our calls to our great ftp client.
1998-07-09 16:47:26 +00:00
cgd
da88f08f26
if you're going to length-check a field before using it, length-check
...
the field you're actually going to use. (bp_sname was being checked
instead of bp_file.)
1998-07-08 22:14:10 +00:00
mrg
31283e2cd0
fix error in previous pointed out by bad. minor KNFing.
1998-07-08 15:17:57 +00:00
hubertf
cab003200b
Abort on "rm -rf /"...
1998-07-08 07:17:30 +00:00
mrg
18ae3abbcd
fix "-s" option
1998-07-07 17:05:28 +00:00
mrg
c0aa4ce503
oops, missed this in gethostname sweep.
1998-07-07 03:36:53 +00:00
mrg
33c0bbba35
add "lp -s" switch, from darcy@druid.net in pr#5713. document "lp -s" and "lp -o"
1998-07-07 02:01:37 +00:00
mrg
80efe80bc9
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
...
and the top, and then set the effective gid back to kmem around the call to
kvm_openfiles(). this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
1998-07-06 07:50:18 +00:00
mrg
32f519716b
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
...
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
mrg
2beab49a06
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
...
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
tron
1ea9bb436f
When adding a binary package from a locale file "pkg_add" fails now if
...
a dependence can't be resolved unless "-f" is used, fixes PR pkg/5625
by Jeremy Cooper.
1998-07-05 21:15:55 +00:00
mrg
c2b498a921
KNF.
1998-07-05 06:20:05 +00:00
mrg
5b9ccc383d
use destination's size in 2 memcpy calls.
1998-07-04 21:31:59 +00:00
mrg
5a91a6622c
KNF + check for fork failure.
1998-07-04 21:04:02 +00:00
mrg
26b338e7f0
ensure we do not overrun errbuf.
1998-07-04 20:47:24 +00:00
jonathan
50ca59e842
Fix braino.
1998-06-30 03:42:23 +00:00
jonathan
eaa351c789
* Check that any declared option (def{opt,param,flag}, filesystem
...
is declared at most once.
* Do option dependency across all def{opt,param, flag}.
* Make the default value of otherwise-unspecified defopt's be 1,
for consistency with non-defopt'ed options.
* Wrap an abstraction layer (macros) around tests for defopt, filesystem,
defparam, etc. to catch outdated defopt-vs-filesystem tests.
1998-06-30 03:30:56 +00:00
nathanw
e14ca04293
Document shortcorename support and control.
1998-06-28 21:36:55 +00:00
scottr
a5427da04d
Add and document the -v flag, and only print option-related warnings
...
if this flag is specified.
1998-06-28 04:41:36 +00:00
tv
bf6bf05ae1
Fix hannken's fix: The correct way to keep pstat.c from looking for any
...
"opt_*.h" files is to set a flag that tells the header files not to look for
anything in the kernel compile directory, i.e. _LKM.
Just rearranging includes doesn't work because it'll just break again,
eventually, as more stuff is defopted.
1998-06-26 19:52:29 +00:00
hannken
653c43d0f5
Make it compile again. Include <sys/socket.h> before setting _KERNEL.
...
Otherwise the chain pstat.c -> <sys/mount.h> -> <sys/socket.h> fails
with 'opt_compat_freebsd.h: No such file or directory' ...
1998-06-26 14:17:01 +00:00
jonathan
0925cf4fda
Stronger checking of options:
...
* machinery for nonfatal warnings.
* new backend config-file keywords:
defparam -- like defopt, but each defparam option is required
to have a value when configured via "options".
defflag -- like defopt, but defflag options may not have a value.
Also, on "option FOO", a needs-count style flag
(NFOO, either 0 or 1) is emitted to the .h file.
* Warn about old-style options that aren't defined via def{opt,param,flag}
and which are added to IDENT. (These behave subtly differently
to defopt options when no explicit value is given.)
1998-06-24 11:20:54 +00:00
kleink
1f491461e0
Need <time.h> for time().
1998-06-24 10:26:08 +00:00
tron
00d198478f
Fix broken call to dbopen(), fixes PR bin/5637 by Azuma Okamoto.
1998-06-22 20:40:01 +00:00
lukem
e31c1515a6
divide (not multiply) ratio by 256
1998-06-18 08:03:08 +00:00
kleink
41dc2c91bd
Fix LP64 botches introduced in last commit.
1998-06-11 14:50:46 +00:00
kleink
8bced1141c
Fix an LP64 botch introduced in last commit; reported by Tim Rightnour.
1998-06-10 21:15:41 +00:00
scottr
e6eb7d0530
Implement option dependencies as part of the defopt action. We currently
...
restrict depended-on (or "implied") options to those that have been
previously defopt'ed, which inherently eliminates any cycles in the option
graph.
1998-06-10 04:33:31 +00:00
lukem
fc90756956
Implement a new manual page category ``SECURITY CONSIDERATIONS''
...
(suggested by mycroft)
1998-06-08 12:41:41 +00:00
lukem
d86c20ef36
remove unnecessary comment
1998-06-08 12:38:41 +00:00
lukem
fa0c2d578e
everything has bugs; either document them or don't bother with a BUGS section
1998-06-08 12:36:55 +00:00
lukem
211a72a8dc
convert from in-house read_line to fparseln()
1998-06-08 06:53:47 +00:00
lukem
d595bfe79d
add ypinit -c (setup yp client)
1998-06-08 06:29:25 +00:00
lukem
3ed28f5cc1
disable INSECURE=yes now that libc support master.passwd YP maps
1998-06-08 03:44:34 +00:00
lukem
c5b39b1d5a
treat single "+" as "+:::::::::" (pw_scan() doesnt like former). minor KNF
1998-06-08 03:23:07 +00:00
lukem
77a05c5b00
clear flags before calling pw_scan()
1998-06-07 14:40:29 +00:00
enami
fcc684632c
Remove comma at the end of SEE ALSO list.
1998-06-07 08:03:50 +00:00
frueauf
dd2f801595
Add support for CONFLICTS entry, implement -C switch for pkg_create
...
and document that new feature.
1998-06-05 11:22:19 +00:00
msaitoh
e167016fdb
The service name of the rwhod(8) is not "rwho" but "who".
1998-06-04 13:31:40 +00:00
lukem
ce2d32b0d7
don't leak unnecessary info
1998-06-03 00:13:02 +00:00
kleink
e6be56ae0b
Need <stdlib.h> for mktemp() prototype.
1998-06-01 14:05:35 +00:00
kleink
cf82cd0b86
Need <stdlib.h> for setkey() prototype.
1998-06-01 14:00:11 +00:00
thorpej
c7a84c77fa
If the client requests a specific boot file, echo it back, per RFC951.
1998-05-31 00:37:38 +00:00
veego
7176ddee62
Ups, again put the NetBSD rcs id into this files.
1998-05-29 21:01:45 +00:00
veego
42364dd3bb
Remove 14 and the hole results directory during a make clean.
1998-05-29 20:59:43 +00:00
veego
e8450f8d3b
A little better support to make it work in an NetBSD tree.
1998-05-29 20:57:10 +00:00
veego
8ed932e111
Fix a printf compiler warning.
1998-05-29 20:52:04 +00:00
veego
1e27ada63f
Fix a compiler warning for the handlehup argument.
1998-05-29 20:50:55 +00:00
veego
1198b69377
Resolve conflicts from the import of IPFilter 3.2.7.
1998-05-29 20:46:45 +00:00
veego
5f1fcd9bd8
Import IP Filter 3.2.7
1998-05-29 20:14:16 +00:00
jeremy
52a7423256
Documented how the require and install scripts interact with the installation
...
process more clearly.
1998-05-28 02:30:39 +00:00
matt
40841db9cc
NetBSD uses "normal" bit order for FDDI addresses.
1998-05-24 21:41:30 +00:00
thorpej
6ac52dea77
Display a more meaningful error message if the bpf open fails.
1998-05-24 20:30:55 +00:00
kleink
2a4b2482f5
Permit checking the availability of the POSIX File Synchronization Option
...
(a/k/a fsync(2)), System V style message queues, semaphores and shared memory
at runtime by adding a sysctl variable for each.
1998-05-24 19:52:01 +00:00
tv
2c23336179
Add missing colon in error message.
1998-05-22 19:29:00 +00:00
msaitoh
f8c66df30b
sort entries and delete extra periods in SEE also section.
1998-05-22 18:27:50 +00:00
veego
0d6591bf7b
Partly apply the patch from bin/5466. One fix was allready imported during
...
the last ipf import.
1998-05-20 19:21:19 +00:00
hubertf
c086a7443b
No need to unpack file after fileGetURL(), which already did the work for us;
...
Fixes PR 5456 by "Heiko W.Rupp" <hwr@pilhuhn.de>
1998-05-18 23:47:23 +00:00
hubertf
55444efe60
return new dir; fixes PR 5456 by "Heiko W.Rupp" <hwr@pilhuhn.de>
1998-05-18 23:43:57 +00:00
mellon
9f60f89a46
Version 2.0 Beta 1 Patchlevel 1
1998-05-18 06:53:52 +00:00
veego
255d05844a
Fix some warnings introduced in the new version:
...
- unused label finishbuf
- missing protoype for logopts
- unused function handlehup
1998-05-17 17:16:32 +00:00
veego
82423e3d01
Resolve conflicts
1998-05-17 16:50:15 +00:00
kml
ac2b8eb7d6
Correct copyright date and NetBSD revision name formatting
1998-05-17 16:47:26 +00:00
veego
d7c5c548fb
Import IP Filter 3.2.5
1998-05-17 16:29:42 +00:00
veego
8e900f5ee8
Fix mkdir lossage from rev 1.22 and change two Makefiles to match the one
...
in tree.
1998-05-17 16:05:39 +00:00
kml
d073a8144e
Adding eshconfig, used to configure esh (HIPPI network interface)
1998-05-16 18:55:17 +00:00
is
6ee3015175
Avoid using FP where its no win.
1998-05-14 21:49:13 +00:00
thorpej
51e30a086a
Quote confFOO, pointed out by enami@netbsd.org
1998-05-12 01:23:49 +00:00
thorpej
a23636d506
oops, typo
1998-05-12 00:43:08 +00:00
thorpej
59c3272ca2
Add temporary mailer configuration for babylon.netbsd.org
1998-05-12 00:42:35 +00:00
kleink
37bede84a4
Use strerror(3) instead of sys_errlist and sys_nerr.
1998-05-09 17:22:07 +00:00
kleink
f6c179f10e
Fix arithmetics lossage on typeless pointers.
1998-05-08 19:03:41 +00:00
agc
47f6bce353
Add a check (from FreeBSD) so that the removal of the temporary dir
...
takes place only once, if pkg_add is interrupted, and exit after the
cleanup is done.
1998-05-06 15:05:29 +00:00
mrg
870d77713b
commit BIND 4.9.7-TB1 changes (still no BIND 4.9.7 release): from the
...
BIND changes file:
808. [security] A number of routines did insufficient bounds checking which
could cause crashes by reading from an invalid memory
location. (From BIND-8).
807. [bug] The server sometimes leaked the flushset (ns_resp.c).
(From BIND-8).
806. [bug] add_related_additional() leaked memory if the name
was already in the related array. (From BIND-8).
1998-05-06 05:21:45 +00:00
mycroft
9c56569322
Change some variable names to reflect changes in the previous revision.
1998-05-05 08:59:56 +00:00
christos
ea4bc98c9f
PR/5384: Tom Ivar Helbekkmo: We need a ctty to fsetown.
1998-05-02 15:28:32 +00:00
christos
a6551c37bd
Resolve conflicts
1998-05-02 14:55:19 +00:00
christos
1e38977381
Resolve conflicts
1998-05-02 14:31:10 +00:00
christos
30402427a8
Import the readme files, setup and FAQ
1998-05-02 14:21:43 +00:00
christos
57daeb39d8
Resolve conflicts.
1998-05-02 14:19:13 +00:00
thorpej
932b5508ac
Note net.inet.tcp.ack_on_push.
1998-05-02 04:20:18 +00:00
tv
95fadaa10e
Add CLEANFILES+=gram.h as noticed by tron (PR 5383)
1998-05-01 13:02:09 +00:00
thorpej
723fb3cccc
Add support for specifying the send and receive socket buffer sizes. This
...
is especially useful for TCP servers which must specify the receive
socket buffer size before the connection is made so that the connection's
window scale factor can be properly advertised.
Example /etc/inetd.conf configuration line:
shell stream tcp,rcvbuf=1m nowait root /usr/libexec/rshd rshd
That line will cause the rshd to advertise a 1 megabyte window, which could
improve the performance of an rcp in some situations.
1998-05-01 01:57:26 +00:00
thorpej
e1a08a949e
Note the existence of net.inet.ip.mtudisctimeout.
1998-04-30 21:46:00 +00:00
thorpej
44bd3f51fe
Note the presence of net.inet.tcp.: mssdflt, sack, win_scale, timestamps,
...
compat_42, cwm, cwm_burstsize.
1998-04-30 21:36:03 +00:00
fair
1628920950
Fix man to mdoc conversion mistakes, mostly of the form ^\.[A-Z][A-Z]
1998-04-28 07:19:28 +00:00
fair
dc026e0515
Change occurrences of "UNIX" to .Ux or .At as appropriate.
1998-04-28 06:00:51 +00:00
fair
c46ab392dc
Principally, change foo(N) to .Xr foo N
...
Also, do some other mdoc tagging.
1998-04-28 04:07:04 +00:00
fair
c462d9c37d
add documentation of /etc/ptmp and vipw failure modes per PR#5340
1998-04-27 21:10:25 +00:00
kleink
70ae83a7e1
Use <sys/param.h> instead of <sys/types.h>: <netdb.h> and MAXHOSTNAMELEN are
...
not related to each other, and it should not be assumed that inclusion of the
former makes visible the latter.
1998-04-23 19:32:40 +00:00
tv
5c58321a6f
mk-amd-map severe breakage fixes as pointed out by noud@knot.nl:
...
- use dbm_close() so that the file actually gets written to disk
- rename %s.db, not *s.{dir,pag}; we use Berkeley DB, not ndbm.
1998-04-23 11:51:07 +00:00
agc
62aaf11f0b
In isdir() function, use lstat(2) instead of stat(2), so that we do
...
not traverse through any symbolic link. This fix means that packages
which make symbolic links to directories can now be de-installed.
1998-04-23 10:40:04 +00:00
mrg
b7e46f9175
support /var/run/rarpd.pid
1998-04-23 02:48:33 +00:00
ross
aaa420bc1f
Restore lost line breaks before .Nm. (David Brownlee PR# 5343)
...
Two more cases fixed, also.
1998-04-22 06:24:55 +00:00
frueauf
6326329eba
Don't use "+CONTENTS" direct, use CONTENTS_FNAME instead.
1998-04-20 08:27:45 +00:00
tv
2fd6f54874
Make the yacc rules work on 1.3 as well as -current without updating the
...
.mk files: build the .c and .h files manually. This should be removed
after the next release. XXX.
1998-04-16 18:47:05 +00:00
mrg
aebb3d6c08
add a -l (logging) switch.
1998-04-15 15:06:06 +00:00
fair
c0ad440bd6
fix my boo-boo documented by PR#5293
1998-04-14 20:20:16 +00:00
fair
c85ab8db8e
A few more error message changes for better information.
1998-04-14 04:51:19 +00:00
fair
dd15ee1ce0
Handle the problem cited in PR#1328 (no checking for I/O errors).
...
Improve some of the error messages to provide more accurate information.
Repaired a bug by inspection (function pointer reference through a
free'd DB structure!! How did this *ever* work?)
1998-04-13 23:12:45 +00:00
kml
fcf0227962
Fix to ensure that the correct MSS is advertised for loopback
...
TCP connections by using the MTU of the interface. Also added
a knob, mss_ifmtu, to force all connections to use the MTU of
the interface to calculate the advertised MSS.
1998-04-13 21:18:19 +00:00
lukem
77a346fea2
use COPTS not CFLAGS
1998-04-13 14:42:03 +00:00
tv
a40db43400
missed 3 lines on sync
1998-04-12 21:38:58 +00:00
tv
3d6a264267
sync with Makefile.inc
1998-04-12 21:09:35 +00:00
tv
5321eb363d
PIC systems no longer build libamu.a; depend them on libamu_pic.a.
1998-04-12 20:45:05 +00:00
thorpej
f483a368ce
Fix ptrdiff type lossage on Alpha.
1998-04-09 17:17:28 +00:00
tv
99a2626b0e
Make use of NOSTATICLIB addition to <bsd.lib.mk>
1998-04-09 00:52:06 +00:00
tv
482063559a
.y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
...
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
tv
e1463ca305
sync with install changes from amd/Makefile
1998-04-07 19:33:09 +00:00
tv
ecaca3d6a7
No build environment is installed for libamu; install only the shared
...
library, and only if on a non-NOPIC system.
1998-04-07 16:36:02 +00:00
mrg
261b062b1d
oops, finish previous.
1998-04-07 14:05:07 +00:00
mrg
43b364f518
refuse an inverse query if the length is not INT32SZ. from vix.
1998-04-07 04:51:36 +00:00
cgd
9ed503832c
offset and length should be u_char.
1998-04-03 05:06:04 +00:00
kleink
53ec1d7147
Need <time.h> for ctime() prototype.
1998-04-02 11:55:52 +00:00
kleink
36443aa874
Need <time.h> for strftime(), localtime() and time() prototypes.
...
<sys/file.h> and <sys/time.h> are not required, so remove these inclusions.
1998-04-02 11:54:03 +00:00
kleink
3b86eeb257
Include <time.h> unconditionally, as there always dependencies on its
...
definitions.
1998-04-01 20:59:08 +00:00
christos
aa476ac7ea
WARNSify [patches sent to Udel]
1998-04-01 15:01:17 +00:00
mycroft
c22d2f71a5
Change return type of main to int.
1998-03-31 02:36:13 +00:00
hubertf
4ca037fe41
Fix handling of doubleclicking on installed packages.
...
With many thanks to Alistair Crooks for his TCL knowledge.
1998-03-30 21:37:47 +00:00
mrg
eae61447e8
remove unused extern.
1998-03-30 03:33:05 +00:00
mrg
90abe03d9c
use static int instead of static
1998-03-30 02:37:43 +00:00
mrg
ef395ee2f1
remove unused extern.
1998-03-30 02:34:33 +00:00
mrg
05f0779a44
work around gcc warning.
1998-03-30 02:33:37 +00:00
mrg
98d6cbcc95
use static int instead of static
1998-03-30 02:33:23 +00:00
mrg
f95b2a874c
main returns int.
1998-03-30 02:31:22 +00:00
mrg
5ddb76d383
remove some register
1998-03-30 02:29:14 +00:00
mrg
b5464ed20a
main returns int.
1998-03-30 02:27:56 +00:00
mycroft
553452c450
Display the TS_DIALOUT flag.
1998-03-29 12:24:44 +00:00
agc
efa0b41486
Clean up some lint warnings about return value of errx.
1998-03-27 12:17:58 +00:00
agc
ac649ec457
When reading the PLIST file, don't abort everything if you don't
...
recognise an '@' command - just flag the line as being unrecognised,
and move to the next line.
1998-03-27 12:16:26 +00:00
thorpej
eb671b4eaa
Build with -ansi, prevents a parse error apparently generated because
...
some versions of GCC have a `restrict' keyword (??).
1998-03-26 07:07:55 +00:00
thorpej
407311a4bc
Fix types lossage on Alpha.
1998-03-26 06:44:19 +00:00
fair
d0121866f7
These changes from PR#3190 (second set of diffs) deal with rarpd
...
refusing to work in "-a" mode on a host with more than one Ethernet,
and at least one non-ethernet device. Frankly, the interface
initialization loop is badly structured and should be rewritten,
and these changes do nothing to fix that. However, they oughta do
the requested job, quick & dirty.
1998-03-23 08:44:07 +00:00
mycroft
b4d89784ef
Reset the SIGPIPE handler to SIG_DFL after forking.
1998-03-21 06:25:37 +00:00
mycroft
f9e1d205d7
Replace TS_WOPEN with t_wopen, per mail on tech-kern.
1998-03-21 04:40:24 +00:00
lukem
58c55f6451
add missing "${.CURDIR}/"
1998-03-20 07:43:22 +00:00
bouyer
67010392f2
Add support for non-native byteorder FFS.
...
The quota file is still in host byteorder. quotacheck needs to be re-run
when a FS has been moved to an architecture to another. Running quota
on a non-native byteorder ffs is considered a marginal case.
1998-03-18 17:22:38 +00:00
bouyer
8e1f7e498a
Add support for non-native byteorder FFS.
1998-03-18 17:19:14 +00:00
mikel
1dae4d16e9
(8C) -> (8)
1998-03-18 06:42:32 +00:00
lukem
29a031c322
migrated to ../bootp/bootptest
1998-03-15 01:20:47 +00:00
lukem
e5958978a2
migrated to ../bootp/bootpgw
1998-03-15 01:20:02 +00:00
lukem
593654b5f2
migrated to ../bootp/bootpef
1998-03-15 01:19:03 +00:00
lukem
720665de16
remove (repos copied to ../bootp/*/)
1998-03-15 01:17:54 +00:00
lukem
9311657fdc
replace bootp{d,ef,gw,test} with bootp
1998-03-15 01:16:32 +00:00
lukem
7b9e551896
move (using repository copy) bootp{d,ef,gw,test} into a common hierarchy
...
with a libcommon - to stop unnecessary recompilation of the source.
add Makefile* to suit.
1998-03-15 01:13:24 +00:00
lukem
0cab215df5
remove WARNS=0
1998-03-14 04:43:06 +00:00
lukem
9493bb7939
warnsify
1998-03-14 04:39:53 +00:00
thorpej
294dcf56b9
Fix typos lossage on the Alpha.
1998-03-11 17:44:02 +00:00
fair
95f309a67f
adjust documentation to reflect reality per PR#4859
1998-03-11 05:40:06 +00:00
christos
50e0331ef5
Resolve conflicts.
1998-03-06 18:17:13 +00:00
christos
eed5e96410
Import xntp 3-5-92
1998-03-06 16:32:56 +00:00
tron
924093ca0b
Include unistd.h to import declaration of getopt(3)
1998-03-05 23:23:29 +00:00
christos
15a8029930
WARNSify
1998-03-05 18:23:31 +00:00
christos
b1af8732b4
Remove WARNS=0
1998-03-05 18:03:35 +00:00
christos
150424aaf5
WARNSify
1998-03-05 14:02:00 +00:00
cgd
83202075dd
allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf
1998-03-04 01:38:57 +00:00
cgd
af8d9682ca
NOLINT isn't necessary here, so don't define it.
1998-03-04 01:38:38 +00:00
cgd
0c1dd0740a
update for ipf/Makefile LDSTATIC changes
1998-03-03 19:24:27 +00:00
cgd
5de00677ba
fix the "Back out the ipnat static change." commit (rev 1.18). Bernd
...
accidentally clobbered ipf's LDSTATIC/BINDIR defn's, instead of ipnat's.
(Noticed when he reminded me to update the script for my ipf LDSTATIC
changes.)
1998-03-03 19:23:16 +00:00
thorpej
a14f3dad40
Fix printf formats on Alpha: cast quads to long long for printing w/
...
%qd.
1998-03-03 07:35:50 +00:00
cgd
8aaf609a0a
allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf
1998-03-02 19:42:25 +00:00
fvdl
6559ed7a58
Fix these for ufs/ufs/ufsmount.h usage. Missed in the merge.
1998-03-01 23:48:58 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
perry
9724404197
gettable is long obsolete.
1998-02-27 16:00:17 +00:00
perry
ae09a69c7e
htable is long obsolete.
1998-02-27 15:59:19 +00:00
perry
56bd64fcbd
remove gettable and htable, + resort/reformat
1998-02-27 15:57:07 +00:00
christos
0499e8aedb
WARNSify
1998-02-22 12:17:31 +00:00
fvdl
ed4bb065a1
When getting an unmount request from a non-reserved port, don't loop
...
forever.
1998-02-21 23:32:19 +00:00
mycroft
4462053ab3
Fill in missing (default) mmap(2) flags.
1998-02-20 09:27:18 +00:00
wrstuden
6cd4f9d65d
Up the minor number for libamu.so to 1. The update in January
...
added new routines, so we have a new interface.
Aproved by christos.
1998-02-20 07:43:09 +00:00
thorpej
129a20a049
Fix a think'o that caused "config netbsd root on ? type ffs" to fail.
...
Fixes PR #5021 .
1998-02-20 00:11:02 +00:00
thorpej
a522c869e5
Fix a few semantic problems wrt. file-system, deffs, and options, pointed
...
out by Chris Demetriou.
1998-02-19 06:13:51 +00:00
thorpej
d12d850cfe
Add a "deffs" keyword, similar to "defopt", that defines file systems.
...
Only things defined with this keyword will be allowed on "file-system"
lines in the kernel config files.
By default, -D... directives for file systems are not generated, since
they are not needed for most file systems now that vfs_conf.c is gone.
However, some file systems must have dependencies generated on them
(e.g. NFS, UNION). So, provide a way to specify an option file for
these file systems.
1998-02-19 00:27:00 +00:00
thorpej
ed063c61d5
Emit the default set of file systems as vfs_list_initial[].
1998-02-18 07:00:27 +00:00
perry
ba7b5f16ff
add -DPMAP_NEW if PMAP_NEW is on in mk.conf
1998-02-18 03:54:58 +00:00
thorpej
ea4d1b7ea1
Rather than using a separate "class" keyword, treat device classes like
...
special attributes. From Chris Demetriou.
1998-02-16 22:05:35 +00:00
lukem
e8664c7183
revert; we can't break the existing ABI and API
1998-02-12 03:32:51 +00:00
lukem
e2d55944f4
minor knf
1998-02-10 07:04:21 +00:00
lukem
80d1e4afc8
use %d instead of %ld to print rpc version
1998-02-10 06:46:10 +00:00
lukem
f18da82e69
use u_int32_t instead of u_long
1998-02-10 06:32:42 +00:00
mrg
8a1743897f
nit: order rcsid/sccsids
1998-02-10 03:50:24 +00:00
mrg
92e05e0e2c
add a verbose (-v) flag for when adding/deleting arp entries.
1998-02-10 03:45:05 +00:00
mrg
279ce528ce
add -DUVM to CPPFLAGS if defined(UVM)
1998-02-09 06:25:15 +00:00
thorpej
b06b31d8e2
Sendmail configuration for zhadum.netbsd.org.
1998-02-08 06:57:00 +00:00
cgd
0aa4deb7f3
lint
1998-02-07 00:03:19 +00:00
jonathan
0ed5e261c4
Tell user to use xnptdc to view kern.ntptime, as a workaround until
...
sysctl and libntp agree about "progname".
Based on a patch suggested by Soren S. Jorvang <soren@t.dk> in PR bin/4433.
1998-02-06 21:18:46 +00:00
mikel
e134619946
must track changes to src/sys/lkm/netinet/if_ipl/Makefile here
1998-02-06 06:44:47 +00:00
perry
34a98169f0
macroize BSD, NetBSD, FreeBSD and misc cleanup
1998-02-06 05:54:12 +00:00
gwr
f4889dbff7
Begone KERNBASE, and KERNTEXTOFF too!
1998-02-05 03:46:46 +00:00
thorpej
7137b45cd0
Cast time_t to long for printing.
1998-02-04 21:51:44 +00:00
christos
6efeed277f
Don't hardcode 1900
1998-02-04 15:29:19 +00:00
christos
c27c461ff9
Use strftime.
1998-02-04 15:27:28 +00:00
christos
9f5b6131b3
Y2K fixes: in arpadate (currently not used) format the time using strftime,
...
using the format other mail programs use.
1998-02-04 15:27:19 +00:00
perry
75a6e03535
change includes to fix compiler warning
1998-02-03 04:55:59 +00:00
perry
6cbd3cb0ff
change #ifdef around include to fix compiler warning
1998-02-03 04:51:29 +00:00
perry
a12002f43a
change includes to fix compiler warning
1998-02-03 04:39:14 +00:00
frueauf
fbebae54cf
check_error uses type "const char *" instead of "char *" as argument.
...
reflects recent change to cron.h.
1998-02-01 14:36:36 +00:00
christos
cced5db98f
Determine endian-ness and define WORDS_BIGENDIAN if appropriate.
1998-02-01 13:48:08 +00:00
christos
1773ee5638
Add -DLBL_ALIGN to handle architectures that need memory alignment.
1998-02-01 13:46:53 +00:00
christos
12a6e4b92e
Add missing ARGS_MAX
1998-01-31 15:07:14 +00:00
christos
0335fca704
Remove crappy globbing stubs. If the feature needs to be added it should
...
be using glob(3).
1998-01-31 14:44:47 +00:00
christos
9ac7be0692
Warnsify:
...
- add __RCSID
- remove nested comments
- remove register and auto keywords
- change into posix signals
- fix prototypes
1998-01-31 14:40:13 +00:00
veego
48b59e11c5
Back out the ipnat static change.
1998-01-24 19:15:04 +00:00
veego
ccd79b8dca
Update for the static ipnat programm.
1998-01-23 22:34:12 +00:00
veego
a0f14625a7
Build ipnat statically and install it into /sbin. Fix pr4879.
1998-01-23 22:32:08 +00:00
lukem
93480d2ed5
use .Tn YP instead of YP
1998-01-23 13:38:24 +00:00
lukem
a985fee84c
* -insecure is for binding to insecure *servers*, not insecure *clients*.
...
noted by Bill Studenmund <skippy@macro.stanford.edu>.
* use .Tn YP instead of YP
1998-01-23 13:36:57 +00:00
mikel
332409ce59
update to match new reality (/usr/lib/supfiles -> /etc/supfiles)
1998-01-21 09:10:40 +00:00
mikel
ef33c3eddc
Add -DEE_XXX to CPPFLAGS so that system supfiles are obtained from
...
/etc/supfiles instead of /usr/lib/supfiles.
1998-01-21 09:07:04 +00:00
christos
9fab7a4ffa
PR/4837: Jeff Thieleke: inetd does not compile without libwrap.
1998-01-20 16:44:22 +00:00
hubertf
fdbf4d9eec
Quote filenames handed off to tar, chmod, chown. (Fixes possible security
...
problem discovered while looking at pkgsrc/audio/tracker).
1998-01-19 00:24:03 +00:00
christos
02f88f3555
PR/4835: Izumi Tsutsui: rarpd does not set the link level address length.
...
While there change "6" to "ETHER_ADDR_LEN"
1998-01-17 11:38:36 +00:00
cgd
27ef674380
(char)-1 != (int)-1 on unsigned-char machines.
1998-01-15 22:58:28 +00:00
enami
491b9bd801
Remove redundant assignment.
1998-01-14 01:15:24 +00:00
hubertf
9bc65afc99
Check length of given user name to (slip)login. Fixed the exploit in
...
http://www.rootshell.com/archive-Rbf4ahcmxzw5qn2S/199801/sliplogin.c .
1998-01-12 08:59:56 +00:00
thorpej
bc1733bc88
Add code to emit the cfdriver structures into ioconf.c. This requires
...
a change to the config grammar, to specify a device's class (i.e. DV_xxx)
like:
device sd class disk: ...
Also emit an ioconf.h, which contains extern declarations of the
cfdriver structures.
While I'm here, add support for specifying multiple options per defopt
line, as well as specifying the file name in which the options will
appear.
defopt foo bar baz
generates "opt_foo.h", "opt_bar.h", and "opt_baz.h"
defopt opt_mumble.h foo bar baz
generates "opt_mumble.h" which contains all three options.
Also, clean up and fix some bugs in the code that generates header files.
1998-01-12 07:37:40 +00:00
perry
3fe138c146
RCS Id Police.
1998-01-09 08:03:16 +00:00
perry
4db5a54188
RCS Id Police.
1998-01-09 06:06:02 +00:00
lukem
028802f851
document net.inet.ip.anonport{min,max}
1998-01-05 09:59:03 +00:00
lukem
0acc42ca87
fix rcsid
1998-01-05 05:59:45 +00:00
thorpej
1679a04502
Change a couple of exit()s to _exit(), to make it safe for vfork().
1997-12-31 06:59:54 +00:00
mikel
1f38aba134
auto-rebuild /etc/aliases.db to match 'traditional' behavior,
...
suggested by perry
1997-12-22 05:53:06 +00:00
kleink
b90b902782
Update a comment: neither does POSIX define the `-h' option, nor does it
...
define symbolic links.
1997-12-21 18:34:30 +00:00
kleink
65d1679f46
Add a paragraph to document the clearing of the setuid and setgid bits unless
...
invoked by the super-user.
1997-12-21 18:11:19 +00:00
christos
0c52e80b3e
Install the docs.
1997-12-21 16:14:41 +00:00
christos
24209f3874
Obj dir and groff fixes.
1997-12-21 16:00:49 +00:00
christos
8f09e5bcdb
Use obj dirs
1997-12-21 15:53:38 +00:00
veego
65e263edc6
You can't use %\ns in a fprintf.
1997-12-21 13:35:34 +00:00
darrenr
19ab75620c
add missing \n's for fprintf
1997-12-21 12:53:01 +00:00
christos
16c7b8eb7e
PR/4569: Phil Nelson: inconsistent documentation / examples.
1997-12-20 20:36:04 +00:00
christos
24ef784453
PR/4383: Martin Husemann: ipnat fails to mention file name on open errors
1997-12-20 20:29:12 +00:00
christos
5e54e11fbe
PR/3830: Enami Tsugutomo: ipnat -l prints netmask in dot-notation even if
...
contiguous.
1997-12-20 20:18:47 +00:00
christos
96b7728cb2
PR/3576: Enami Tsugutomo: getline overruns and bugs
1997-12-20 20:07:47 +00:00
bad
0a833b6587
Remove leftovers from last rcsmerge.
1997-12-15 16:23:46 +00:00
mrg
1d8157e01a
use MAP_PRIVATE|MAP_FILE
1997-12-15 04:21:33 +00:00
thorpej
c3b579a571
Mention net.inet.tcp.init_win.
1997-12-11 23:38:01 +00:00
thorpej
406a5ad503
Fix a paste-o.
1997-12-11 18:50:58 +00:00
mycroft
a88cef6970
Ignore SIGPIPE, which may be caused by non-forking internal TCP services if
...
the remote side closes the connection before we answer.
1997-12-04 06:39:02 +00:00
mikel
57c740296d
eliminate invalid options from SYNOPSIS; from Johan Danielsson in PR 4570
1997-12-02 08:21:45 +00:00
kleink
96720d8f9c
Remove a paragraph obsoleted by the recently implemented `-h' option; add
...
Xref to lchown(2).
1997-11-26 17:37:53 +00:00
is
d4fc5fab1b
If we answer a RARP request, also add the mapping to the local arp cache.
...
[This was broken when the 4.4BSD ARP table changes were done, and never
repaired.]
Inspired by Jarle Greipsland, PR 4531; code stolen from arp.a and cleaned
up (mostly removing global variables).
XXX As pointed out in the PR, this should be in some library (libutil?),
to be usable by other servers like bootpd and dhcpd.
1997-11-24 18:43:12 +00:00
veego
e7c9edc89c
- New FILES section for /dev/ipauth, /dev/ipl and /dev/ipstate
...
- Add ipl(4), ipmon(8) and ipnat(8) to the SEE ALSO section
1997-11-24 14:39:27 +00:00
veego
c72cabd3ae
- Add /dev/ipauth, /dev/ipl, /dev/ipstate and /usr/share/examples/ipf
...
to the FILES section
- Add iptest(1), ipf(4), ipnat(5) and ipfstat(8) to the SEE ALSO section
- s/ipftest(8)/ipftest(1)/
1997-11-24 14:38:34 +00:00
veego
cb4b3eba6c
- New FILES section for /dev/ipauth, /dev/ipl, /dev/ipnat and /dev/ipstate
...
- Add ipl(4) and ipnat(4) to the SEE ALSO section
1997-11-24 14:36:27 +00:00
veego
0845d43628
Add ipsend(5) and resort the SEE ALSO section.
1997-11-24 14:35:52 +00:00
veego
398c9613b6
Add ipsend(1), iptest(1), hosts(5), protocols(5), and services(5) to the
...
SEE ALSO section.
1997-11-24 14:34:40 +00:00
veego
72c99f0790
s/ipsend(1)/ipsend(5)/
1997-11-24 14:33:14 +00:00
veego
ec33220e8b
- remove the the empty FILES section
...
- s/ipresend(1)/ipsend(1)/ and add ipsend(5)
1997-11-24 14:31:30 +00:00
veego
111d2c1172
- New FILES section for /dev/ipnat and /usr/share/examples/ipf
...
- Remove ipftest(1) from the SEE ALSO section
1997-11-24 14:30:02 +00:00
veego
d58e05351c
- Add /dev/ipnat and /usr/share/examples/ipf to the FILES section
...
- Add hosts(5), services(5) and ipf(8) to the SEE ALSO section
1997-11-24 14:28:33 +00:00
veego
e8363d9e81
New FILES section for /dev/ipnat and move the BUGS section at the end.
1997-11-24 14:27:45 +00:00
veego
da4678c8db
- Add /dev/ipnat and /dev/ipstate to the FILES section
...
- Add ipl(4) and ipnat(8) to the SEE ALSO section
1997-11-24 14:27:14 +00:00
veego
a8799fada7
remove the empty FILES section and resort the SEE ALSO section
1997-11-24 14:26:17 +00:00
veego
04c6eee3a5
- s/vmunix/netbsd/
...
- s/ipl/ipstate/
- Add /dev/ipstate to the FILES section
1997-11-24 14:25:28 +00:00
veego
be87239f57
Remove the reference to snoop(1m), etherfind(8c) and dlpi(7p).
1997-11-24 08:35:44 +00:00
veego
89b8e7ca72
Remove the refernce to etherfind(8c).
1997-11-24 08:34:35 +00:00
lukem
0e3b290810
fix .Nx usage (use 1.0 instead of 0.9a, etc), and other minor cleanups
1997-11-24 06:28:50 +00:00
veego
754a245e76
Sync with the ipresend changes.
1997-11-23 23:20:08 +00:00
veego
6e1753fbee
Add the ipresend directory and sort the SUBDIR entries.
1997-11-23 23:14:34 +00:00
veego
8e1315283a
Add ipft_pc.c to the SRCS line to fix a build error.
1997-11-23 23:06:32 +00:00
veego
68c9310ae3
s/IPF/MKFILTERS/ and add a FILES section.
1997-11-23 22:12:03 +00:00
veego
95fbaa5446
Fix the SEE ALSO section:
...
old: ipfstat(1), ipftest(1), ipf(5), mkfilters(1)
new: ipf(4), ipf(5), ipfstat(8), ipftest(1), mkfilters(1)
1997-11-23 21:58:51 +00:00
veego
77f0313d88
Fix the SEE ALSO section:
...
old: ipf(1), ipftest(1), mkfilters(1)
new: ipf(8), ipftest(8), mkfilters(1)
1997-11-23 21:58:28 +00:00
veego
47f9129923
Fix the formated SYNOPSIS section and fix the SEE ALSO section:
...
old: ipfstat(1), ipf(1), ipf(5)
new: ipf(5), ipf(8), ipfstat(8)
1997-11-23 21:57:55 +00:00
veego
95eb61a865
Remove the reference to dlpi(7p).
1997-11-23 21:57:02 +00:00
veego
e805977ac0
This is section 8 and not 1.
...
Fix the SEE ALSO section:
old: ipfstat(1), ipftest(1), ipf(1), ipnat(5)
new: ipnat(5), ipf(8), ipfstat(8), ipftest(1)
1997-11-23 21:56:00 +00:00
veego
24ef9d9374
Fix the SEE ALSO section:
...
old: ipnat(1), ipf(5), ipnat(4)
new: ipf(5), ipnat(4), ipnat(8)
1997-11-23 21:55:30 +00:00
veego
f70c10d1d4
Fix the formated SYNOPSIS section and fix the SEE ALSO section:
...
old: ipfstat(1), ipf(1), ipf(4), ipnat(5)
new: ipf(4), ipf(8) ipnat(5), ipnat(8), ipfstat(8)
1997-11-23 21:55:00 +00:00
veego
78cd44279b
Fix the SEE ALSO section: ipf and ipfstat are in section 8 and not in
...
section 1.
1997-11-23 21:05:38 +00:00
veego
91cc2be060
Fix the SEE ALSO section: ipf(8) and not ipf (1)
1997-11-23 21:01:58 +00:00
veego
ca3ac8917a
update for mkfilters(1).
1997-11-23 20:59:42 +00:00
veego
423fabec06
Remove the '.if make(install)' for the rules subdirectory to build the
...
manpage for mkfilters.
1997-11-23 20:56:35 +00:00
veego
02effaf52c
Add the mkfilters perl script and the manpage for it.
1997-11-23 20:54:14 +00:00
veego
69b4e69ea3
import missing files from ip-filter 3.2.1
1997-11-23 20:46:46 +00:00
mellon
0c2e0b74fe
Build the dhclient.leases and dhclient-script man pages
1997-11-22 09:37:25 +00:00
mellon
911d9b399b
Build the dhcpd.leases man page
1997-11-22 09:32:12 +00:00
mellon
5c92c77573
Build the dhcp-options man page
1997-11-22 09:31:00 +00:00
mellon
eab517a1d1
ISC DHCP Snapshot on November 22, 1997
1997-11-22 09:13:21 +00:00
veego
a77f2190fd
Fix the case problem of the flags field and a problem with a # in the
...
middle of a line (pr#4545). Thx Ted.
1997-11-20 10:35:15 +00:00
christos
ffb419d374
Enable CHAPMS and MSLANMAN. Make them compile. I don't have access to a test
...
setup to verify that it works.
1997-11-19 11:59:58 +00:00
fvdl
9bef2d1d82
If the arp cache is empty, don't even attempt to retrieve it. Fixes
...
'bad address' message when the cache is empty.
1997-11-18 23:14:38 +00:00
thorpej
e07f4ba47c
Need <string.h> for prototypes.
1997-11-18 22:58:00 +00:00
lukem
8e4ac5fee0
use warn("%s", func()) instead of warn(func())
1997-11-18 07:01:50 +00:00
lukem
6236ac0333
use .Tn YP
1997-11-18 06:52:15 +00:00
mrg
732e64a580
fix PR#4412 (from darren reed).
1997-11-18 06:09:25 +00:00
lukem
e91c20c007
overhaul code, provide saner error messages, etc
1997-11-18 00:44:19 +00:00
lukem
a2a60bf6a6
note that INSECURE=no isn't yet supported for netbsd clients
1997-11-18 00:37:23 +00:00
lukem
48b4356758
rewritten yppush from Chuck Cranor.
1997-11-18 00:32:57 +00:00
mrg
8ad67291ce
document -F s (from darren reed).
1997-11-17 14:57:47 +00:00
agc
5c0d2a645d
Implement default -Ia arg to pkg_info a bit differently.
1997-11-17 12:08:59 +00:00
christos
f5024bbed0
PR/4509: Jarle F. Greipsland: avoid redefinition of rfc931_timeout.
1997-11-16 21:30:25 +00:00
is
c4aac00e95
Make deleting proxy arp entries on ARCnet interfaces work again.
...
Fixes my own last PR, whose number I don't know yet.
1997-11-16 11:25:08 +00:00
msaitoh
39c2acb633
fix typo
1997-11-15 21:01:36 +00:00
msaitoh
6bbe51cef1
fix typo
1997-11-15 17:42:07 +00:00
mrg
d2143111bd
merge ip-filter 3.2.1
1997-11-14 12:57:55 +00:00
mrg
61cbfaca09
import ip-filter 3.2.1
1997-11-14 08:03:01 +00:00
thorpej
ade3ce9789
Fix int vs. size_t lossage.
1997-11-13 18:35:57 +00:00
thorpej
0e42d89fac
Oops! Forgot this yesterday: Add read_line.o goo.
1997-11-13 17:09:04 +00:00
thorpej
481e558f6c
Oops! Forgot to commit this: build read_line.o
1997-11-13 17:05:20 +00:00
hubertf
793d82f785
Alter the default behaviour of pkg_info. With no options given, behave as
...
if -Ia was given, instead of showing usage.
1997-11-13 15:15:48 +00:00
veego
84123ddbb6
- s/samples\/ipf/examples\/ipf/
...
- Added missing ipf examples from the import of 3.2
1997-11-13 09:46:41 +00:00
thorpej
e6889efbce
Make sup(1) handle lines continued with '\'. Fixes PR #4430 , from
...
Ty Sarna <tsarna@endicor.com>.
1997-11-13 01:05:28 +00:00
veego
67ed3b4d0c
Add the ipftest.1 manpage.
1997-11-11 10:14:42 +00:00
veego
5048b71642
Fix some manpage section numbers and remove the SEE ALSO entry for
...
snoop(1m).
1997-11-11 10:11:19 +00:00
mrg
dc05f41d80
add missing .Nm sections
1997-11-11 10:07:34 +00:00
veego
13cfd2b17f
Updated for the missing ipftest.1 manpage.
1997-11-11 10:07:31 +00:00
veego
525c710d19
import a missing manpage from ip-filter 3.2
1997-11-11 10:02:25 +00:00
hubertf
fa829ce599
Document $PKG_PATH and $PKG_DBDIR
1997-11-10 00:29:21 +00:00
cjs
60c8449a61
sendmail 8.8.8 merge
1997-11-09 22:25:58 +00:00
cjs
3016f7f3b8
sendmail 8.8.8 import
1997-11-09 22:15:17 +00:00
cjs
3acc53a34a
sendmail 8.8.8 import
1997-11-09 22:14:04 +00:00
lukem
4cda73731b
more fixes for OPTIMIZE_DB (seems like this code was an unfinished idea;
...
i've fixed a lot of bugs in it):
* implement yp_close_map(struct opt_map *), to close a specific map,
using the guts of yp_close_last()
* simplify yp_close_last() to use yp_close_map()
* ypdb_open_db(): add the st_dev, st_ino, and st_mtime of each map to
the cached info, and check if changes if the db is cached; if so, close
the map and reopen it fresh. also uncache entries if the domain or
file disappear
1997-11-08 15:36:09 +00:00
lukem
721843cf7a
use ".Tn YP" instead of "YP", fix up some .Nd entries, use .Pa for mapnames
1997-11-08 15:03:21 +00:00
thorpej
3d2b522093
Don't prototype ether_aton() here if __NetBSD__.
1997-11-08 05:57:15 +00:00
mrg
507e5c88b3
use warn not warnx to find out why the open failed (as old quot did).
1997-11-06 14:36:45 +00:00
lukem
699d49fc00
don't ignore blank lines after a continuation backslash
1997-11-06 00:27:58 +00:00
fair
f97bb69df7
grammatical errors fix from PR#4409
1997-11-05 18:46:07 +00:00
lukem
71d53f5fd6
use in-house localhostname instead of gethostname - returns FQDN
1997-11-04 11:43:49 +00:00
lukem
1140eceb13
add { } in the right place; indentation alone isn't sufficient for
...
if (test1)
if (test2)
error()
else {
...
}
this happened when i changed test2 from a void statement to actually
checking its return value.
the effect of this? a YP_MASTER_KEY value wasn't being added to the
generated databases, which was Not Good.
1997-11-04 11:28:46 +00:00
ross
4b634c4e10
Much cleaner fix for alignment error bug.
1997-11-03 21:17:17 +00:00
lukem
a8b7ec8d99
ensure sizeof hostname buf for ether_(ntohost|line) is >= MAXHOSTNAMELEN + 1
1997-11-02 14:25:25 +00:00
lukem
c32b6d75d3
ensure sizeof hostname buf for ether_(ntohost|line) is >= MAXHOSTNAMELEN + 1
1997-11-02 14:25:23 +00:00
lukem
f4fb444bd9
* rewrite read_line(), partially based on get_line in netgroup_mkdb.c:
...
- use fgetln() instead of fgets()
- store info in internal buffer
- fix \\ support
- count line numbers internally, so \\ lines don't mess up count
* ypdb_store():
- ensure that the length of key or val doesn't exceed YPMAXRECORD
* makedbm, mknetid, revnetgroup, stdethers, stdhosts:
- improve error handling
- take advantage of rewritten read_line(), and cleanup line parsing
- don't print trailing ` ' for key/val pairs with an empty val
* Makefile.yp:
- fix up building of ypservers (from Chuck Cranor)
* ypinit.sh:
- remove leading spaces in variable assignment (from Chuck Cranor)
1997-11-01 14:24:50 +00:00
enami
af29cb2306
Sync with release branch so that it compiles.
...
- include arpa/inet.h in ipsopt.c
- declare yyerror() in iplang_l.l
1997-11-01 09:12:21 +00:00
lukem
3e8e744696
getopt returns -1 not EOF
1997-11-01 06:49:14 +00:00
ross
ba9c8e00db
Eliminate some alignment assumptions in packed IP/UDP frames. (port-alpha issue)
1997-10-31 23:32:24 +00:00
mrg
60c28e1f95
sigh. merge ipfilter 3.2 onto the trunk. merge to the branch was a mistake.
1997-10-30 16:08:54 +00:00
mrg
44c002beb1
import ip-filter 3.2
1997-10-30 05:27:24 +00:00
christos
1815a8d4a4
Resolve RCSID conflicts; hopefully this is the last time :-)
1997-10-26 00:24:41 +00:00
christos
5d8bee0f9f
New version from Erez
1997-10-26 00:02:11 +00:00
lukem
736ba086df
WARNSify, KNFify
1997-10-25 13:45:55 +00:00
fvdl
b592c266f8
3rd argument to msync() is now needed by NetBSD as well.
1997-10-25 10:49:36 +00:00
lukem
ad4916f857
fix spellos and incorrect man page references
1997-10-25 10:18:36 +00:00
lukem
0a94f4f077
use CPPFLAGS instead of CFLAGS
1997-10-25 06:57:53 +00:00
thorpej
bab116cf5f
To print a size_t, cast to u_long and use %lu printf format so that
...
this works on the Alpha.
1997-10-25 01:29:30 +00:00
enami
7a8787ba53
Make this compile again on NetBSD/alpha; cast off_t variable to long long
...
so that it matches printf format `%qd'.
1997-10-24 03:12:06 +00:00
mrg
bc13fc9251
prefer snprintf() to sprintf()
1997-10-24 01:41:47 +00:00
mrg
d23e58fc15
while catman doesn't `work' properly yet, use snprintf() when creating the
...
man paths, and add man section 9. hopefully, this program will actually
work soon.
1997-10-24 01:31:35 +00:00
enami
a5372bf523
Add missing newline at the end of exit message.
1997-10-23 12:35:12 +00:00
enami
758c6a0d0f
Work around GCC uninitialized variable warning.
1997-10-23 12:30:32 +00:00
enami
7ffe3c6167
Make this compile on NetBSD/alpha; to print size_t variable,
...
- use %lu instead of %d.
- cast the variable to (u_long) so that this also compiled on NetBSD/i386.
1997-10-23 12:26:02 +00:00
lukem
44c22033e4
use CPPFLAGS instead of CFLAGS
1997-10-23 06:31:59 +00:00
lukem
6e1d64c8d1
quieten gcc -Wall
1997-10-23 06:29:16 +00:00
lukem
f0fe153c0a
use CPPFLAGS instead of CFLAGS
1997-10-23 06:27:34 +00:00
fair
461f420e35
initialize "cp" in hasquota() to avoid gcc/sparc compiler error:
...
repquota.c:287: warning: `cp' might be used uninitialized in this function
1997-10-23 04:53:03 +00:00
fair
f23cf79ee0
Initialize "cp" to make gcc/sparc error go away:
...
quotaon.c:222: warning: `cp' might be used uninitialized in this function
1997-10-22 18:43:16 +00:00
christos
1175f55b11
Use a db(3) hash database instead of shared memory. Don't fork() to service
...
requests in the database when restarting.
1997-10-21 20:38:03 +00:00
is
3b81cd07b7
Only map 16MBytes of file, enough for some 16000 hosts on the LAN.
...
Stopgap fix for PR 4225 by Matthias Scheler (rpc.statd doesn't run on m68k).
XXX This should be done in a different way. XXX
Matthias proposes to use a PMAP capable of mapping more than 256 MB
per user process (You can do this by changing your vm_param constants
even now).
However, statd could use saner data structure to save on address space
easily. E.g., most host names will be much smaller than the allocated
1024(+1 for trailing zero) bytes. Using variable length names would
allow, depending on environment, a factor of 30 more hosts per address
space.
Btw, if anybody really needs more than 16k hosts handled by statd, the
data structure is unsuable anyway; currently, the array of entries is
linearly searched. Something like a DB_BTREE should be used.
1997-10-21 13:33:23 +00:00
mrg
6b8ca7ecc6
fix compile warning on the sparc (erik fair).
1997-10-21 06:40:40 +00:00
mellon
0cbb4ea470
NetBSD-style Makefile for statmsg
1997-10-21 00:04:47 +00:00
mellon
112397fa9d
NetBSD-style Makefile for sysconfd
1997-10-21 00:03:54 +00:00
mellon
75ed7158ea
Add sysconf.c
1997-10-21 00:02:55 +00:00
mellon
8f105dcd01
NetBSD 1.3 Alpha snapshot of ISC dhcp
1997-10-20 23:28:10 +00:00
drochner
24393e44bb
Oops, mrg had a reason to use %ld format.
...
We really need a cast to print off_t values.
1997-10-20 18:42:17 +00:00
drochner
462ad8b47d
fix printf format
1997-10-20 18:25:05 +00:00
drochner
41e3b9d2f4
The previous changes were not sufficient, we need more kvm reads.
1997-10-20 18:12:56 +00:00
drochner
c111d4e6c2
make compile after NFS (struct nfsnode) changes
1997-10-20 17:32:51 +00:00
drochner
2b0cbc07da
include <sys/cdefs> before __RCSID
1997-10-20 17:18:04 +00:00
veego
42d21d7042
Add a SEE ALSO section for other graphics manpages.
1997-10-20 14:31:18 +00:00
scottr
94cf433266
Add support for DTR/CTS flow control, from Bill Studenmund.
1997-10-20 08:07:47 +00:00
mycroft
6af5bbb01a
Use S_IS*(), not S_IF*.
1997-10-19 19:53:54 +00:00
mycroft
e8018f6da9
Use S_IS*(), not S_IF*.
1997-10-19 19:40:21 +00:00
mycroft
004f255040
Use S_IS*(), not S_IF*.
1997-10-19 19:27:40 +00:00
fvdl
88d9f0f6a9
Add a warning about exporting a filesystem using WebNFS and also exporting
...
it the normal way, read/write to specific clients.
1997-10-19 15:29:20 +00:00
mrg
a62207fee8
fix compile warnings on the alpha.
1997-10-19 09:56:10 +00:00
mrg
ca2afdd453
fix compile warnings on the alpha.
1997-10-19 09:39:35 +00:00
mrg
e180ed08d5
fix compile warnings on the alpha.
1997-10-19 09:23:29 +00:00
kml
6b86b260cb
change sysctl net.inet.icmp.mtudisc to net.inet.ip.mtudisc
1997-10-18 21:18:28 +00:00
mrg
d71f6e87ae
clean up, WARNS.
1997-10-18 17:31:35 +00:00
drochner
01a642fa68
The third argument to msync() got lost - bring it back.
1997-10-18 14:11:43 +00:00
lukem
ffbc1b4bf5
deprecate register, s/bcopy/memmove
1997-10-18 11:38:26 +00:00
lukem
b46ed65876
use memset instead of bzero
1997-10-18 11:37:45 +00:00
lukem
e5d6d67c63
deprecate register, use warn/err
1997-10-18 11:37:10 +00:00
lukem
7e8074195e
use memcmp/memset/memmove instead of bcmp/bzero/bcopy
1997-10-18 11:27:49 +00:00
lukem
64bd1fd0d2
use memmove instead of bcopy
1997-10-18 11:23:55 +00:00
lukem
7f43427b52
use strchr/strrchr/memset/memmove instead of index/rindex/bzero/bcopy
1997-10-18 11:23:20 +00:00
lukem
22597304f5
use memset instead of bzero
1997-10-18 11:23:19 +00:00
lukem
dd30ff553b
use strchr/strrchr/memset/memmove instead of index/rindex/bzero/bcopy
1997-10-18 11:23:03 +00:00
lukem
a13f0387b9
use memcmp/memset/memmove instead of bcmp/bzero/bcopy
1997-10-18 11:18:39 +00:00
lukem
de441420bd
deprecate register, use err/warn instead of perror, memmove instead of bcopy
1997-10-18 11:11:18 +00:00
lukem
c355b33f75
deprecate register
1997-10-18 11:06:52 +00:00
lukem
2cd3ac027a
use emset instead of bzero
1997-10-18 11:06:08 +00:00
lukem
031fee8254
use strchr/strrchr/memset/memmove instead of index/rindex/bzero/bcopy
1997-10-18 11:05:34 +00:00
lukem
88e3ac566e
use memcmp/memset/memmove instead of bcmp/bzero/bcopy
1997-10-18 11:02:19 +00:00
lukem
fbafdc25f8
use memcmp/memset/memmove instead of bcmp/bzero/bcopy
1997-10-18 08:52:17 +00:00
lukem
c9fcc32882
deprecate register, use memset/memmove instead of bzero/bcopy
1997-10-18 08:40:40 +00:00
lukem
7e44e0ebc2
deprecate register, use memset/memmove instead of bzero/bcopy
1997-10-18 08:18:00 +00:00
lukem
5c351d3f52
use errx instead of perror
1997-10-18 08:13:06 +00:00
lukem
73d91b2129
WARNSify, deprecate register, remove unused functions
1997-10-18 07:58:56 +00:00
lukem
7cbe3d2c32
use __progname
1997-10-18 07:32:17 +00:00
lukem
8ff96fa48d
use err()
1997-10-18 07:26:45 +00:00
lukem
9f6ff4ad6f
use string.h instead of strings.h
1997-10-18 07:05:31 +00:00
mikel
af641bd13a
xref tcpdump(8), not nonexistent tcpdump(1)
1997-10-18 07:01:38 +00:00
mikel
bee22c9c19
xref ypbind(8), not nonexistent ypbind(1)
1997-10-18 06:50:50 +00:00
lukem
f5bf267d90
enable WARNS=1 by default, but disable in unclean 3rd party code
1997-10-18 06:42:25 +00:00
lukem
7866707a39
minor .Nm cleanup
1997-10-18 06:33:48 +00:00
lukem
149f1867d1
rcsid fascism
1997-10-18 04:36:50 +00:00
lukem
272b4a406a
getopt returns -1 not EOF, WARNSify
1997-10-18 04:11:01 +00:00
lukem
98ec13d8d9
WARNSify
1997-10-18 04:08:16 +00:00
lukem
2c30449e9c
getopt returns -1 not EOF, turn off WARNS
1997-10-18 04:08:12 +00:00
lukem
188f2b35aa
WARNSify
1997-10-18 04:08:11 +00:00
lukem
03a401c4d5
getopt returns -1 not EOF, turn off WARNS
1997-10-18 04:08:08 +00:00
lukem
acbb568349
WARNSify
1997-10-18 04:06:28 +00:00
lukem
61f747bdbc
getopt returns -1 not EOF, turn off WARNS
1997-10-18 04:05:50 +00:00
lukem
9aeee5cb77
getopt returns -1 not EOF, turn off WARNS
1997-10-18 04:05:46 +00:00
lukem
b9a4b3321c
getopt returns -1 not EOF, turn off WARNS
1997-10-18 04:05:38 +00:00
lukem
1b31876813
WARNSify
1997-10-18 04:01:10 +00:00
lukem
dc0e957a43
WARNSify
1997-10-18 03:54:00 +00:00
lukem
4e5fdf217a
WARNSify
1997-10-18 03:50:58 +00:00
thorpej
1849d27507
Note net.inet.ip.subnetsarelocal.
1997-10-17 21:24:01 +00:00
lukem
021be7fd11
WARNSify; generate ansi c code with rpcgen, cleanup manpage, add rcsids
1997-10-17 16:12:48 +00:00
lukem
489b57b190
fix .Nm usage
1997-10-17 16:12:03 +00:00
lukem
90a9b36a70
WARNSify; generate ansi c code with rpcgen, cleanup manpage, add rcsids
1997-10-17 16:02:51 +00:00
lukem
6d66b6be40
WARNSify; generate ansi c code with rpcgen, cleanup manpage
1997-10-17 15:59:05 +00:00
carrel
d2f6e52d96
WARNS-ification
1997-10-17 15:44:08 +00:00
lukem
05941d095a
WARNSify, cleanup Makefiles
1997-10-17 14:53:18 +00:00
lukem
bb2c8b04e6
ntp_getopt returns -1 not EOF, disable WARNS here
1997-10-17 14:34:38 +00:00
lukem
14e91f97ec
WARNSify
1997-10-17 14:26:43 +00:00
lukem
31bc9c50ba
WARNSify
1997-10-17 13:59:34 +00:00
lukem
8b8cc0b749
minor .Nm cleanup
1997-10-17 13:57:46 +00:00
lukem
2ba239a7a3
getopt returns -1 not EOF
1997-10-17 13:57:02 +00:00
lukem
a352e573d5
fix use of unix domain socketname length, and signal error if this
...
is exceeded. from enami tsugutomo <enami@ba2.so-net.or.jp> [bin/3369]
1997-10-17 13:53:30 +00:00
lukem
47852f1f67
getopt returns -1 not EOF
1997-10-17 13:49:37 +00:00
lukem
d2d85e1519
minor .Nm cleanup
1997-10-17 13:46:09 +00:00
lukem
745600d863
WARNSify
1997-10-17 13:36:36 +00:00
lukem
eea5ba720b
add Makefile.inc to use ../Makefile.inc, and cleanup subdir Makefiles
1997-10-17 13:32:28 +00:00
lukem
aa5b34a6f5
call msync() correctly
1997-10-17 13:21:06 +00:00
lukem
8d79db1093
WARNSify
1997-10-17 13:13:40 +00:00
lukem
166448c2dc
WARNSify
1997-10-17 13:02:01 +00:00
lukem
0a9c07ac82
getopt returns -1 not EOF
1997-10-17 12:52:25 +00:00
lukem
d0f8d5f560
minor .Nm cleanup
1997-10-17 12:49:57 +00:00
lukem
bffabae34b
WARNSify
1997-10-17 12:40:03 +00:00
lukem
756f7931f0
minor .Nm cleanup
1997-10-17 12:36:36 +00:00
lukem
d07d094491
WARNSify
1997-10-17 12:36:30 +00:00
lukem
95ce1aeabe
WARNSify, getopt returns -1 not EOF
1997-10-17 12:18:16 +00:00
lukem
aef4182020
WARNSify
1997-10-17 12:16:54 +00:00
lukem
2b042c28d8
add Makefile.inc to use ../Makefile.inc, and cleanup subdir Makefiles
1997-10-17 12:07:28 +00:00
lukem
e94356b174
fix make -j race condition building lib/ , use ../Makefile.inc for BINDIR
1997-10-17 12:03:36 +00:00
lukem
1dc35d9949
getopt returns -1 not EOF, minor cleanup
1997-10-17 12:01:19 +00:00
lukem
c80b353465
WARNSify
1997-10-17 11:53:25 +00:00
lukem
4eb7653054
WARNSify, getopt returns -1 not EOF
1997-10-17 11:46:30 +00:00
lukem
cb37f89394
WARNSify
1997-10-17 11:25:37 +00:00
lukem
25a12a5eab
WARNSify
1997-10-17 11:18:10 +00:00
lukem
bc741e3624
WARNSify
1997-10-17 10:38:25 +00:00
lukem
ea649a155d
fix race condition when building libcommon.a with make -j, use ../Makefile.inc
1997-10-17 10:38:21 +00:00
lukem
c73b1c8336
WARNSify
1997-10-17 10:38:20 +00:00
lukem
d85b07eb41
fix race condition when building libcommon.a with make -j, use ../Makefile.inc
1997-10-17 10:38:11 +00:00
lukem
593df3da4c
WARNSify
1997-10-17 10:28:39 +00:00
lukem
fcfec169df
WARNSify
1997-10-17 10:18:36 +00:00
lukem
e5436d326b
WARNSify, getopt returns -1 not EOF
1997-10-17 10:14:59 +00:00
lukem
ffaa76b353
WARNSify, getopt returns -1 not EOF
1997-10-17 09:54:27 +00:00
mrg
1dc6e4f898
merge lite-2 rcsids
1997-10-17 09:04:12 +00:00
lukem
77a8cb6e83
WARNSify
1997-10-17 09:03:53 +00:00
mrg
18b882a973
merge lite-2
1997-10-17 08:49:29 +00:00
enami
dd88a36ade
Fix typo; `symbolic link' -> `a symbolic link'.
1997-10-17 08:10:22 +00:00
enami
38b64e4e86
Fix typo; `symbolic link' -> `a symbolic link'.
1997-10-17 08:10:10 +00:00
mrg
3bbeacd12c
merge lite-2
1997-10-17 08:05:18 +00:00
lukem
f680483348
WARNSify, rcsid police
1997-10-17 08:00:23 +00:00
mrg
efba0505b4
merge lite-2
1997-10-17 07:35:05 +00:00
mrg
b3e461525d
4.4BSD-Lite2
1997-10-17 07:06:38 +00:00
lukem
b5229aee10
WARNSify, rcsid police
1997-10-17 07:06:04 +00:00
lukem
03b56f7f94
WARNSify
1997-10-17 06:58:54 +00:00
lukem
f738e698e8
WARNSify
1997-10-17 06:58:37 +00:00
mrg
c72a99c7d0
merge lite-2
1997-10-17 06:46:02 +00:00
mrg
d8bc5f0aa6
merge lite-2
1997-10-17 06:34:19 +00:00
lukem
03e80bf7ea
WARNSify (XXX: as best as I could on an i386; could an hp300 user please fix
1997-10-17 06:09:11 +00:00
lukem
e67cc03557
minor cleanup, turn off WARNS=1
1997-10-17 05:58:23 +00:00
lukem
065400a1f3
WARNSify, use err/warn, cleanup manpage
1997-10-17 05:47:27 +00:00
mrg
4c8ecdc3eb
oops, didn't mean part of last merge.
1997-10-17 05:40:16 +00:00
mrg
68136a9566
merge lite-2
1997-10-17 05:37:32 +00:00
lukem
e4e7016851
WARNSify, use err/warn, use opendisk
1997-10-17 05:31:02 +00:00
mrg
590bf19cde
merge lite-2
1997-10-17 05:24:29 +00:00
mrg
9463544113
merge lite-2
1997-10-17 05:06:40 +00:00
lukem
e477b94d93
remove unnecessary externs
1997-10-17 04:57:31 +00:00
lukem
e38303c1b4
sort SUBDIR list
1997-10-17 04:54:33 +00:00
lukem
13a5e774a4
remove WARNS?=1 - it's inherited
1997-10-17 04:53:19 +00:00
lukem
955c39c7ef
minor cleanup
1997-10-17 04:31:55 +00:00
lukem
a8a5cfb5e0
WARNSify, deprecate bcmp/perror et al in favour of memcmp/err* et al
1997-10-17 04:24:20 +00:00
lukem
699d25a64e
WARNSify, deprecate bcmp/perror et al in favour of memcmp/err* et al
1997-10-17 02:25:02 +00:00
lukem
328c1f1d90
WARNSify
1997-10-17 00:16:55 +00:00
lukem
a210b9277f
getopt returns -1 not EOF, deprecate register
1997-10-17 00:12:51 +00:00
lukem
0a469c567a
WARNSify, getopt returns -1 not EOF
1997-10-17 00:12:49 +00:00
lukem
cdede3a245
getopt returns -1 not EOF, deprecate register
1997-10-17 00:12:46 +00:00
lukem
2bc4f43c42
WARNSify, getopt returns -1 not EOF
1997-10-17 00:12:43 +00:00
lukem
ca32e63825
getopt returns -1 not EOF
1997-10-17 00:10:42 +00:00
lukem
df4958aa0b
getopt returns -1 not EOF
1997-10-17 00:07:21 +00:00
lukem
409801916f
WARNSify
1997-10-16 23:46:38 +00:00
lukem
95dff5caaf
WARNSify
1997-10-16 23:41:32 +00:00
lukem
3fbb7cea25
WARNSify
1997-10-16 23:39:17 +00:00
christos
c36a502364
msync needs a third argument.
1997-10-16 23:32:27 +00:00
lukem
07ed891089
- WARNsify
...
- KNFify (a bit)
- use int32_t & u_int32_t instead of long and u_long
- clean up man pages a bit
1997-10-16 23:24:50 +00:00
lukem
b3f8f59032
- WARNsify
...
- KNFify (a bit)
- use int32_t & u_int32_t instead of long and u_long
- clean up man pages a bit
1997-10-16 23:24:18 +00:00
mikel
0ed58c18f2
fix typo in CLEANFILES
1997-10-16 08:26:50 +00:00
lukem
c518f62858
- compile common code once (into libcommon.a), and link that in.
...
cut's compilation time by half!
- build a common version.c in libcommon.a
- don't build version.h - nothing uses it
- comment out the ifdef INFO and -DINFO stuff - it's always compiled in
- XXX: don't compile mopprobe with -DNODL (which actually changes the
compilation of stuff in common/*). nothing else does this, and it
meant that mopprobe would have had different behaviour. if this behaviour
is desired, a workaround can be put in place
1997-10-16 07:36:12 +00:00
lukem
29689d8440
clean up previous
1997-10-16 05:22:37 +00:00
lukem
f0923775df
fix race condition when building libamu with make -j
1997-10-16 05:18:41 +00:00
lukem
4d10189f4c
fix race condition when building libcommon with make -j
1997-10-16 05:10:14 +00:00
hubertf
ca6157bdca
- document $PKG_PATH
...
- use -v on pkg_add for dependent packages (forgot on last commit)
- most important: do string-magic on the right variable when trying
to find dependent packages on the local disk (i.e. package given as
filename, not URL)
1997-10-16 00:55:01 +00:00
hubertf
508ee08a34
Second part of intrgration of FreeBSD pkg_install as of 971013.
...
This patch adds @option preserve and handling for -s (SrcDir)
option.
1997-10-16 00:50:20 +00:00
hubertf
d0245e3952
First cut on importing pkg_install as of FreeBSD 971013:
...
- warn()/err() instead of whinge()/barf()
- Update RCS Id strings
- Update manpages (mostly)
1997-10-16 00:31:32 +00:00
lukem
7cb9d0d79c
database routines:
...
- rename OPTDB to OPTIMIZE_DB
- if OPTIMIZE_DB, in ypdb_open(), close a database if the open failed
with ENFILE or EMFILE [from openbsd].
- because of the above, don't bother checking first if any FDs are
available (with open("/", RDONLY) - it's a superfluous check.
- ensure that *map_info is set if a database was a cached open -
without this fix OPTIMIZE_DB didn't work too well...
- enable OPTIMIZE_DB by default - should speed up lookups
secure map support:
- add ypdb_secure(), which returns non-zero if the map has the YP_SECURE
private key set (which makedbm(8) -s adds) [from openbsd]
- modify various functions to check if a map is secure, and if so,
refuse to serve information to clients not requesting from an
IPPORT_RESERVED port [from openbsd]
- ensure that domainnames and map names are valid (don't contain
"/"'s, aren't too long, etc) [idea from openbsd, but using our
_yp_invalid_domain() et al, which does more checking.]
misc:
- add rcsid's
- implement _yp_invalid_map() (complements _yp_invalid_domain() in
libc - eventually _yp_invalid_map() may move to libc...)
- use %#x instead of 0x%x in debug log messages
1997-10-15 05:01:07 +00:00
lukem
b252d2a436
- major cleanup of Makefile.yp to use modern make(1) variables, and
...
follow our formatting convetions.
- add support for aliases, amd.home, master.passwd and netgroup maps
[initially from openbsd, reworked as above]
- if INSECURE != "yes" then the passwd.by* maps will not contain the
encrypted version of the passwd - privileged clients will request
info from the master.passwd.by* maps.
FreeBSD originally implemented this, and & OpenBSD supports it too.
[from openbsd].
By default, passwd maps are INSECURE, but in a *BSD-only environment,
this could be disabled to allow for a [slightly] higher degree of
security from non-root users...
1997-10-15 03:01:57 +00:00
mellon
8e6f88f680
Fix command-line argument processing
1997-10-14 20:38:09 +00:00
cjs
808e7bd9b8
Add hack to avoid gcc warnings.
1997-10-14 05:17:35 +00:00
cjs
5e411157a1
Ugly hack to make this compile without warnings on alpha.
1997-10-13 20:45:40 +00:00
cjs
83c227ec28
If you're going to pass a u_char as an int, cast it first.
1997-10-13 20:44:09 +00:00
lukem
ec79495f83
add rcsid
1997-10-13 07:44:01 +00:00
lukem
16199f1de9
don't use home-grown ether_ntoa() - ether_toa(3) in libc works fine...
1997-10-13 07:41:48 +00:00
lukem
88b87b1582
add rcsid
1997-10-13 07:38:09 +00:00
lukem
7eaa3f736a
add rcsid
1997-10-13 04:00:27 +00:00
lukem
2a43cbe64c
add rcsid
1997-10-13 03:51:58 +00:00
lukem
9e8a6cf527
s/LINT/lint
1997-10-13 03:48:49 +00:00
lukem
21504c46eb
- ignore trailing NUL in database key/value pairs (which sendmail's
...
aliases.db has)
- add rcsid
1997-10-13 03:47:07 +00:00
lukem
652dc94093
- hack ypdb_open() to try the standard hash (for sendmail's aliases.db)
...
if the initial open fails with EFTYPE. if a different database
format is found to be more efficient, just add the code to open it
prior to that of the other formats; this maintains backward
compatibility with older databases whilst providing new functionality...
- add rcsid's
1997-10-13 03:42:27 +00:00
lukem
64718e58ff
add rcsid
1997-10-13 03:15:30 +00:00
veego
066829337c
Only install the available m4 files.
1997-10-12 19:14:27 +00:00
mycroft
ccacc504e5
Make this work again, and add ethers to the list of recursive targets.
1997-10-12 11:53:11 +00:00
hubertf
e10ebcabe2
pass the "-v"-switch on pkg_add to any pkg_add-calls
...
made for dependent packages
1997-10-11 22:25:16 +00:00
christos
3a2d682898
Fix for WARNS?= 1
1997-10-11 21:48:50 +00:00
christos
f8dba09cca
Cleanup for WARNS = 1
...
- add prototypes
- comment out rfc931(); it conflicts with the one in -lwrap and is not needed
anyway.
- remove unused variables
- add NetBSD rcsids.
1997-10-11 21:41:34 +00:00
mycroft
26a3dbe1c4
GC some garbage variables.
1997-10-11 20:26:58 +00:00
hubertf
0df6d19df1
add case PLIST_UNEXEC in show_plist();
...
makes "pkg_info -v" barf no more when @unexec command are present in PLIST
1997-10-11 20:26:22 +00:00
mycroft
3ec2ebdb68
GC some garbage variables.
1997-10-11 20:25:53 +00:00
veego
e288b27b29
Don't install this libraries, we only this during the build.
1997-10-11 19:42:34 +00:00
veego
0751ae9b9b
Use \" for /'s in Makefile defines.
1997-10-11 18:11:41 +00:00
enami
136d7f791b
Add -h option to usage.
1997-10-11 03:14:12 +00:00
christos
fcc796698e
Fix printf format warnings.
1997-10-10 16:12:10 +00:00
christos
81dbba7d10
PR/4082, PR/4149: amd dumps core if a server is down, amd cannot mount
...
filesystems from servers that fail the portmapper version test [lanman].
1997-10-10 16:11:12 +00:00
mycroft
e8f7fd90c1
Actually, punt the `library' keyword; it does the same thing as `object',
...
and we really only need one of them.
1997-10-10 10:41:18 +00:00
mycroft
7d58ce9471
Add `object' and `library' keywords to pull in precompiled .o and .a files.
...
Syntax is like the `file' keyword; e.g.:
object arch/i386/i386/mumble.o [mumble] [needs-flag]
Largely from Michael Richardson in PR 3833, with some changes by me.
1997-10-10 10:27:53 +00:00
mycroft
054b6cb773
Allow options and makeoptions to take an empty string as a value.
1997-10-10 09:32:03 +00:00
lukem
0acf0ef008
only compile common_source/* once (25% faster), remove unused printcap.c
1997-10-10 09:26:35 +00:00
mrg
74f573d85d
remove advertising clause from all my licenses.
1997-10-10 05:39:47 +00:00
hubertf
b979def939
Fix typo: hte -> the
1997-10-10 03:42:18 +00:00
cjs
b1caf63d0a
Build smrsh to use /usr/libexec/sm.bin and install in /usr/libexec/smrsh.
1997-10-09 20:09:38 +00:00
cjs
cec80a9c8c
Bring sendmail/cf fully into sync with sendmail-8.8.7.
1997-10-09 19:39:51 +00:00
mrg
38811f7fea
document -d, -s. remove bogus #port. fix getopt().
1997-10-09 07:58:39 +00:00
jtc
3bc5599f8b
Fix tipo inherited from old version of TNF copyright template.
1997-10-08 22:19:18 +00:00
cjs
faa16d67af
Include <string.h> and use proper types for str*() so that this compiles
...
on the Alpha. Also remove register decl's while I'm here.
1997-10-08 20:47:38 +00:00
cjs
2c695bcd2a
Include <string.h> and use proper types for str*() so that this compiles
...
on the Alpha. Also remove register decl's while I'm here.
1997-10-08 20:25:24 +00:00
veego
98d951955c
s/CURDIR/.CURDIR/ and add a missing "
1997-10-08 18:59:38 +00:00
mycroft
b1f70b30ce
Byte-swap the ethernet type field as required. From Dave Huang in PR 4215.
1997-10-08 16:57:04 +00:00
kleink
fde532da89
getopt(3) usage police: EOF is deprecated, check against -1.
1997-10-08 16:55:41 +00:00
lukem
f5eefd0a1d
- set the umask to 077, to protect the created directory
...
- clean up a couple of the messages
1997-10-08 14:09:19 +00:00
lukem
7b926dd1c9
- print a message and exit if the port returned by clnt(udp|tcp)_create isn't
...
a reserved port
- don't define optarg/optind - it comes from <unistd.h>
- deprecate register
1997-10-08 13:45:21 +00:00
mycroft
c5aacdd3b3
Don't sleep if we get EINTR from select(2) (e.g. because we got
...
a SIGCHLD when something died). From PR 4056, by David Holland.
1997-10-08 07:15:59 +00:00
lukem
91b6547967
fix cutnpasto
1997-10-08 00:11:51 +00:00
lukem
87ca3b181a
minor KNFify
1997-10-07 15:00:35 +00:00
lukem
93c1ffe13c
use err instead of errx, so the user has some idea why the file wasn't opened
1997-10-07 14:59:37 +00:00
lukem
5f88ebd1a3
fix & simplify test for skippable lines
1997-10-07 14:56:11 +00:00
lukem
6ea62c3327
simplify test for skippable lines
1997-10-07 14:46:48 +00:00
lukem
0d2bc0fdb6
use err instead of errx, so the user has some idea why the file wasn't opened
1997-10-07 14:45:18 +00:00
lukem
618db68108
grabage collect this
1997-10-07 14:43:44 +00:00
lukem
55d8f20490
use err instead of errx, so the user has some idea why the file wasn't opened
1997-10-07 14:42:32 +00:00
lukem
c0495ebb45
nuke register & unnecessary extern's, factor out common code
1997-10-07 14:39:06 +00:00
lukem
dc497bdd46
cleanup typos, grammaros, thinkos, and misuse of mdoc macros
1997-10-07 14:23:50 +00:00
thorpej
738a90b1b7
Build sup.
1997-10-07 01:36:21 +00:00
thorpej
b7b213b4f5
Add a README describing how to build this on a non-NetBSD system (yes,
...
that's actually useful :-) using the Makefile in the source/ subdirectory.
1997-10-07 01:33:30 +00:00
thorpej
b92a5b9b37
Add NetBSD Makefile infrastructure for building the sup programs.
1997-10-07 01:31:07 +00:00
thorpej
42d99e64c5
Garbage-collect the USE_CRYPT stuff.
1997-10-07 01:27:14 +00:00
hubertf
c6393b5c9a
Fix off-by-one error, closing PR bin/4067 by myself.
1997-10-07 01:24:05 +00:00
enami
b6cd49460e
Document -h flag, option to manupilate symbolic link.
1997-10-06 13:33:54 +00:00
enami
7bb0a4feb9
Change the noop flag -h to do the real work. Now if -h is given,
...
owner/group of symbolic link is changed.
1997-10-06 13:28:00 +00:00
lukem
07e169df74
add mkalias & revnetgroup
1997-10-06 06:55:50 +00:00
lukem
7307c9a9a5
KNF & WARNSify
1997-10-06 06:54:09 +00:00
lukem
6a8388c539
- KNFify
...
- cleanup for WARNS
- cleanup man page
1997-10-06 06:10:15 +00:00
lukem
42f1aa0434
revnetgroup - generate extra netgroup maps for YP
1997-10-06 05:01:30 +00:00
lukem
56b7c4c7c7
mkalias - generate YP version of sendmail aliases
1997-10-06 04:59:13 +00:00
lukem
e14f5c8e03
clarify that "domainname" in various pathnames is the actual domain name
1997-10-06 01:20:15 +00:00
lukem
a2de9f91bf
use WARNS?=1 not WARNS=1, cleanup manpage
1997-10-06 00:57:08 +00:00
lukem
b34611f260
use WARNS?=1 not WARNS=1 , cleanup manpage typo
1997-10-06 00:52:51 +00:00
lukem
af8294fc63
- WARNS?=1 not WARNS=1
...
- fix .Nm usage
1997-10-06 00:33:18 +00:00
lukem
132501b5d3
rcsid facism
1997-10-06 00:08:43 +00:00
mrg
1bb06f8aab
fix alpha compile warnings.
1997-10-05 16:45:43 +00:00
mrg
2d06dcebcd
WARNS?=1
1997-10-05 16:40:24 +00:00
mrg
7d7091ccdd
merge lite2 [actually, just update ucb sccs id's]
1997-10-05 16:16:10 +00:00
mrg
d66fe73851
in rcleanup() don't unlink() the dfname if it contains a /. noted
...
by matt power <mhpower@mit.edu>.
1997-10-05 15:21:46 +00:00
mrg
fe7ed7ce37
- WARNS?=1
...
- be safe with unlinking files (from freebsd)
- remove register
- clean up $NetBSD$'s.
- use inet_ntoa() in one place (from openbsd)
- nul terminate after a bunch of strncpy()'s
- #ifdef __STDC__ rather than #if (from freebsd)
- be safe with a bunch of string operations (from freebsd)
- use warn()/err() over home grown versions (some from freebsd)
- rename warn() to nodaemon() to remove conflict with above
- check errno from failed kill(2) against ESRCH (from freebsd)
- use getopt() rather than home grown versions (from freebsd)
- clean up a bunch of man pages (some from freebsd)
- check for hostname spoof (from freebsd)
- use POSIX wait() interfaces
- use sysconf(_SC_OPEN_MAX) in preference to NOFILE (from freebsd)
- deal with fork() failure
- index/rindex -> strchr/strrchr (some from freebsd)
- add B57600 and B115200 speeds (from freebsd)
- some KNF
- be safe with files passed in over the network (some from freebsd)
- check return value of malloc(), calloc() and strdup()
1997-10-05 15:11:58 +00:00
mrg
90778e67aa
add rcsid, use FILES, etc., in Makefile.
1997-10-05 12:48:35 +00:00
mrg
bf7db08c40
freebsd's lp frontend for lpr
1997-10-05 12:40:42 +00:00
mrg
cf3fe2a0b6
oops; did not mean to import these.
1997-10-05 12:35:50 +00:00
mrg
e6a91a0997
merge 4.4 lite2
1997-10-05 11:52:17 +00:00
mrg
e5d28dbbe3
lite-2
1997-10-05 11:20:29 +00:00
christos
f2a271f76d
Make imports easier.
1997-10-04 16:33:04 +00:00