Commit Graph

4033 Commits

Author SHA1 Message Date
matt 5cde4cf735 If a port-specific Makefile.<port> doesn't exist, try a arch-specific
Makefile.<arch>.
Emit MACHINE=<port> and MACHINE_ARCH=<arch> to the emitted Makefile.
2000-12-02 23:01:54 +00:00
is e077acfb61 Document that text (console) modes need a depth field of 4. 2000-12-02 21:58:10 +00:00
hubertf 1e2914d00b Document that the path to the configuration file given on the command
line must be absolute, unless the -d option is given on the command line.
2000-12-02 02:15:34 +00:00
simonb 0833efd07d Remove extern variables and functions now declared in dkstats.h. 2000-12-01 02:10:22 +00:00
simonb 80bd9216d2 ANSIfy. 2000-11-30 23:59:03 +00:00
hubertf 4b8a7a0e49 Fix pkg_info w/ URLs (*sigh*) 2000-11-30 10:09:15 +00:00
mrg 6ce96c999f several clean ups:
- don't include eeprom support on sparc64.
	- work out if we are eeprom or openprom from the results of open()
	and/or ioctl(), rather than grovelling the kernel.
	- move all eeprom specific code to eehandlers.c
	- update manpage for sparc64 usage, remove delete -N switch

with these changes, eeprom(8) no longer needs to be setgid.
2000-11-28 22:31:37 +00:00
sommerfeld 057fcccd0c Default crontab size limit is 256k, not 32k; correct documentation to
match code.
2000-11-28 14:06:13 +00:00
mycroft 9ff73e166a Oops; the increment needs to be in check1pkg() for the case where the user
specifies a list.
2000-11-28 05:23:35 +00:00
mycroft 23451da968 pkgcnt was incremented twice during a `check'... 2000-11-28 05:21:57 +00:00
hubertf fc8a285aa2 Fix timeout in expect():
The FTP coprocess formerly wrote the output of the "get | tar vxf -" pipe
to stderr, which resulted in no output to the feedback pipe (stdout), and
thus the timeout was not updated for any line printed by the "tar" process.
This was now changed to also feed back the chars to the expect() routine,
updating the timeout handler. The "also" part is implemented by passing
the output through "tee /dev/stderr".

At least NetBSD and Solaris have this, so no problem there.

Thanks to Frank van der Linden for helping me to debug this.
2000-11-28 01:16:01 +00:00
mycroft 04adf420b1 Don't terminate the loop after getting a short packet, either. 2000-11-27 17:36:19 +00:00
mycroft a23cc61626 For BPF, we must loop on receive_packet(). BPF may return multiple packets at
once, and we obviously won't get a select() hit for each one in that case.
2000-11-27 17:33:02 +00:00
mycroft 33515cb532 Make sure to BPF_WORDALIGN() the buffer pointer for each packet, as BPF does in
the kernel.  Otherwise the pointers get out of sync and dhcpd goes nuts.
2000-11-27 17:08:16 +00:00
hubertf ec58d85250 Don't mkdir("/usr/tmp") in a desperate try to get some space.
If it's there, use it. If it's not there - bad luck.

Pointed out by Simon Burge <simonb@wasabisystems.com>.
2000-11-26 03:12:01 +00:00
jdolecek c40ad1440d cast isprint() parameter to (unsigned char) - it looses if the character has high
bit set when the architecture is using signed char by default
This fixes bin/11556 by Michael Eriksson.
2000-11-24 09:53:36 +00:00
itojun 50ac5d898b move rcsid to the top 2000-11-24 07:42:07 +00:00
veego 048d058532 Fill in 26 defines for MNT2_NFS_OPT_ which the configure script didn't
find and were lost in the upgrade of am-utils.
2000-11-21 12:14:18 +00:00
enami 6bc7e18094 Don't try to deallocate an object pointed by NULL pointer. Instead,
deallocate the right one.
2000-11-21 03:47:41 +00:00
wiz 45b07c3e8f Since amd compiles with WAUDIT=2, include it in Makefile. 2000-11-21 02:03:26 +00:00
is b002f5435b With RARP, MAC asks, and IP answers. Fixes PR 11330 by Thilo Manske, who
also provided the fix (modulo formatting).
2000-11-20 14:59:30 +00:00
tron f8f9801395 Use empty string as default prefix so that e.g "/etc/spwd.db" is used
instead of "//etc/spwd.db".
2000-11-20 14:09:36 +00:00
wiz 20845d16f4 remove outdated comment 2000-11-20 01:58:43 +00:00
wiz c9669422d2 Make config_local.h more cross-compile safe. Thanks simonb! 2000-11-20 01:56:13 +00:00
wiz d53f0cf553 Fix thinko on my part (we do have setitimer). 2000-11-20 01:23:14 +00:00
wiz 0f1a444c28 restore ID tag (forgot removing $$) 2000-11-20 00:27:23 +00:00
wiz e5d9f656ce Replace old build structure with new reach-over one. 2000-11-20 00:24:41 +00:00
wiz 4f035159de Import of amd reach-over Makefiles for using the sources in dist/am-utils. 2000-11-20 00:16:18 +00:00
bouyer 9c9d109bdd Fix bin/11253: seg-fault in mopd
Once we found the correct slot, make sure dle points to it. dle was left
pointing out of the array by the for(;;) loop.
Fix from Ken Wellsch <kwellsch@tampabay.rr.com>
2000-11-19 16:40:16 +00:00
mrg 7996c8de3a de-__P-ify. 2000-11-19 11:15:01 +00:00
cgd a1a91fd28f if there are no locators or parent, don't output those arrays. (Sometimes
you really want no devices whatsoever.  In that case, you get unused
static var warnings from the compile.)  Reviewed by sommerfeld.
2000-11-18 00:51:29 +00:00
msaitoh c1fd8f00d4 Add forgottern addarg(&al, NULL, 0) before execve() to prevent coredump. 2000-11-16 08:33:33 +00:00
tv a32617f770 This is now 8.2.2-P7, so update VER. 2000-11-13 22:45:05 +00:00
perseant a3bb9e16b4 Report, and detect and correct inconsistencies in, the number of clean
segments.  Patches from Jesse Off <joff@gci-net.com> (PR #11470).
2000-11-13 00:30:48 +00:00
martin d045d83e39 Make ntp work on sparc64 (workaround for toolchain problems) by
adding -msoft-quad-float.
2000-11-12 19:48:55 +00:00
wiz 18c121ba47 ispell 2000-11-12 15:32:57 +00:00
itojun 980886f151 do not advertise dynamic/cloned routes 2000-11-10 18:15:57 +00:00
itojun 7da1bb7a9c synchronize with BIND 8.2.2-P7.
- resolve conflicts (there are many conflicts with $NetBSD$ tags -
  dunno why they happen).
- type pedant (couple of typecasts).

correct yacc-generated file handling.  remove bin/named/ns_parser.h,
use the header yacc generates at compilation time.
2000-11-10 09:56:56 +00:00
wiz efad173586 Add amd.conf.5 from dist/am-utils/scripts here, and install it.
Fixes PRs 5051, 7524, 8999, 10814.
XXX: Why are amd & friends not using reachover Makefiles, but a copy of
the source? This should be fixed...
2000-11-08 12:00:48 +00:00
itojun bfef63a365 do not print "PIM" twice 2000-11-08 07:23:54 +00:00
tron 68fa36f81f Avoid segmentation fault if "dns_zone_lookup()" is called with an empty
string as name. Problem noted by Simon Burge.
2000-11-07 13:21:36 +00:00
lukem 279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
lukem ebcd47ebf3 use .Xr 2000-11-07 05:44:50 +00:00
lukem 6ccf8e332e format the option descriptions in a more standard (and imho readable) style 2000-11-05 03:05:48 +00:00
simonb 3854f3f705 Fix behaviour of 'useradd -m': it is now a fatal error if the target home
directory already exists.  Previously new skel files from /etc/skel were
copied and permissions/ownerships changed even if the directory already
existed.
2000-11-04 04:31:43 +00:00
tron dd8effead0 Adapt to the new line discipline scheme. 2000-11-02 21:40:37 +00:00
wiz 341453a017 Remove duplicate entry for -d option, fixing misc/11414.
Sort options while I'm here.
2000-11-02 18:16:43 +00:00
taca 6a3b366a8c Patch from the ISC DHCP CVS repository, fix dhclient problem,
"Re: dhclient still taking up 95% of CPU" in current-users:

: Fix for bug #416: If a server hands dhclient an insanely large
: lease time, select() can get passed a too-large timeout, causing it
: to return EINVAL.  This fix restricts the select() timeout to one day.
2000-11-02 03:14:21 +00:00
taca e3e05b89d4 Patch from the ISC DHCP CVS repository:
: Tweak omapi_protocol_connect() so that authenticators are sent in the
: proper order.
2000-11-02 03:14:02 +00:00
simonb a2358fe791 Remove some debugging cruft in the removal of user home directories
accidently left in from revision 1.25.
2000-11-01 22:35:30 +00:00