simonb
9c747bda1e
Fix the <ieeefp.h> problem a different way - nothing actually uses the
...
contents of that header (the only file that includes it compiles to the
same object code on multiple architectures with or without including
<ieeefp.h>), so remove all references to it.
Fix sent to NTP maintainers - they will probably implement this change
after the immenient 4.1.0 release, but don't want to change it so close
to the release date.
2000-05-03 06:08:45 +00:00
matt
25845e87d4
There ain't no IEEE FP on a VAX.
2000-05-03 03:26:12 +00:00
simonb
6e1372a422
Remove xntp3 sources.
2000-05-02 12:50:50 +00:00
simonb
8632dc5bb6
Add ntp, remove xntp.
2000-05-02 12:14:40 +00:00
simonb
1bf404af94
Install html doco under HTMLDOCDIR/ntp.
2000-05-02 12:01:10 +00:00
perry
50966bd4a6
nuke BUILD_POSTFIX
2000-04-30 21:49:26 +00:00
thorpej
9581f118ec
Need <string.h> for memset() prototype.
2000-04-30 15:47:55 +00:00
mycroft
411fdd599d
Fix obvious typo in previous commit. This could not possibly compile.
2000-04-30 07:57:45 +00:00
hubertf
c669928eeb
Print appropriate warning if the directory of a @dirrm is not present
...
at all.
Pointed out & fix reviewed by Thomas Klausner.
2000-04-29 22:39:58 +00:00
abs
6a7a9484ec
lpf used its own broken argv parsing (-h without an argument would dump core)
...
Convert to getopt() and add a basic usage()
2000-04-29 00:12:32 +00:00
thorpej
f5fc764943
Only invoke hostname(1) and domainname(1) if they exist (tested with the
...
`type' shell built-in). Makes it possible to save some space on install
media which uses DHCP.
2000-04-28 16:34:31 +00:00
itojun
5d5dd022cb
add bind operators guide into share/doc/smm/10.named. PR 9996.
2000-04-28 06:21:20 +00:00
msaitoh
c09c988278
remove unused variable
2000-04-27 13:40:18 +00:00
itojun
03b1bcc663
net/if.h is necessary for IFF_LOOPBACK.
...
accept lo[0-9] or lo$ if we check if_name.
2000-04-27 09:48:59 +00:00
jdolecek
1d83915c52
Finish transition to using getopt(3). Fixes bin/9963 by Brian Stark.
2000-04-27 09:43:38 +00:00
thorpej
d07c2b5b7e
Fix a missing ~ which caused fixed-address leases to be treated like
...
normal leases, resulting in an eventual NULL-deref in supersede_lease().
Fixes PR #9976 .
2000-04-26 23:11:20 +00:00
thorpej
acd373ca8f
.cvsignore bad! bad _MelloN_, no biscuit!
2000-04-25 21:18:44 +00:00
itojun
4be926fbb8
allow lp=port@host again. PR9975 from Andreas Gustafsson.
2000-04-25 02:34:49 +00:00
simonb
5d00c3832e
Update for 4.0.99i - noticed by Jonathan Stone.
2000-04-24 14:26:36 +00:00
itojun
17023b3e8f
style. s/switch(/switch (/.
2000-04-24 13:02:28 +00:00
itojun
65f3c2259e
- domain: avoid infinite loop in DNS packet printing.
...
- isakmp: print CERT and SIG payload. fix IPsec-AH algorithm type.
- rt6: avoid duplicated IPv6 src/dst.
sync with tcpdump.org.
XXX we need to think about future synchronization with tcpdump.org...
2000-04-24 13:01:23 +00:00
thorpej
7b512c0ae2
Avoid an unaligned access.
2000-04-24 05:38:51 +00:00
thorpej
0ce0f58ae0
Fix a bug where a clause in the client configuration file like:
...
default nis-domain "";
would cause a NULL pointer deref while writing out the lease into
the persistent database if the server didn't include an nis-domain
option in the reply.
2000-04-24 05:27:51 +00:00
itojun
e738bb5642
avoid NULL pointer access when rp=<ipv4 numberic address> (no ai_canonname).
...
From: hiro@takechi.org
XXX checkremote() should be improved. gethostname -> getaddrinfo is
not the right thing to do, we cannot assume DNS FQDNs is configured
as hostname. if the goal here is to check if it is really remote or not,
getifaddrs() is the way to go.
2000-04-24 02:53:05 +00:00
mellon
e2074b3bbf
Fix dhcpctl subdir build.
2000-04-23 21:42:29 +00:00
thorpej
7188cd9f3b
Back out previous; it builds on LP64 platforms now.
2000-04-23 18:39:54 +00:00
thorpej
4ea436d3e0
Address LP64 issues (just add some casts; the code is safe).
2000-04-23 18:39:00 +00:00
sommerfeld
c8ad38a791
Disable build of client on alpha due to LP64 issues.
2000-04-23 03:08:12 +00:00
sommerfeld
e012be0e69
unsigned != size_t (tripped up build on alpha).
2000-04-23 02:47:57 +00:00
sommerfeld
4a799f6f27
disable dhcpctl subdir to un-break build since it doesn't have a makefile yet
2000-04-22 18:04:34 +00:00
simonb
a55614023f
Updated autoconf config.h for ntp4.0.99i.
2000-04-22 15:34:05 +00:00
simonb
beae2d8675
Add new source file for ntp4.0.99i.
2000-04-22 15:26:21 +00:00
mellon
e04a818808
Initial merge of ISC DHCP 3.0 into NetBSD tree (incomplete)
2000-04-22 08:18:11 +00:00
mellon
e86d6c24ba
Initial import of version 3 of the ISC DHCP distribution.
2000-04-22 07:11:26 +00:00
itojun
98c66bf5bf
don't exit even if socket(AF_INET6) fails.
...
check if sock6_fd is available at runtime.
2000-04-20 03:28:15 +00:00
itojun
ba2e61715a
turn on IPv6 when ipv6 ifid is present (from 2.3.11)
...
don't check for Ipv6 ifid readiness on on-demand dialing, when IPv6CP
is disabled. From: Fong Siu Lung Gordon <ein@hkstar.com>
2000-04-17 08:55:33 +00:00
itojun
d31184e2a7
disable IPv6CP by default, to be friendly with old (IPv4-only) config file.
...
add "+ipv6" which enables IPv6CP. it is necessary if you want IPv6CP.
option name in sync with ppp-2.3.11.
2000-04-17 06:13:18 +00:00
itojun
066f8f835f
nroff format fix (need .Ar)
2000-04-16 16:31:55 +00:00
itojun
847f94a69d
remove ordering constraint between -h and -x.
...
notified by: hubertf
2000-04-16 16:15:59 +00:00
itojun
3e34240544
perform neighbor unreachability detection on p2p links (spec requires
...
it for bidir p2p links).
improve -i in ndp(8) to allow tweaking per-interface ND flag on.
fix ndp(8) infinite loop on certain routing table setup.
2000-04-16 15:27:59 +00:00
mrg
dd28a6c6dd
make scandir(3)'s 3rd argument take a function that takes a *const*
...
struct dirent *, rather than non-const. this makes scandir(3) the
same as the scandir implementations in libiberty and glibc, and the
select function has no need to modify the dirent.
2000-04-16 14:43:56 +00:00
tsarna
7730098ffb
Remove nfsiod, it is no longer needed.
2000-04-15 21:29:49 +00:00
itojun
08507c14c9
declare new function for getting my IPv4 address.
...
get_myaddress() is not usable any more for security reasons.
the change addresses PR8119.
2000-04-14 12:14:40 +00:00
simonb
f4be79ac40
Don't declare 'extern opt*' getopt variables.
...
Don't declare 'extern int h_errno;' - it's in <netdb.h>.
2000-04-14 06:28:18 +00:00
simonb
fd4ede242b
Don't declare 'extern opt*' getopt variables.
2000-04-14 06:26:52 +00:00
itojun
b9c3c448e1
use getifaddrs to avoid alignment constraints in SIOCGIFCONF.
...
(do you have PR # for this? >lukem)
2000-04-13 09:12:16 +00:00
itojun
e9c5139f22
use getifaddrs, not SIOCGIFCONF. (should use pcap_lookupdev instead...)
2000-04-13 08:52:44 +00:00
itojun
4e4447b130
use getifaddrs, not SIOCGIFCONF, to avoid complex alignment constraints.
2000-04-13 07:53:29 +00:00
kim
13cec62a32
The "ftp" facility was not listed.
2000-04-12 16:38:58 +00:00
itojun
0a68a1147f
enable IPv6 ppp.
2000-04-12 10:38:46 +00:00
itojun
2c97d607dd
ignore routing socket messages for unexpected (or not interesting) interfaces.
...
do not advertise reject/blackhole static routes.
2000-04-11 11:57:15 +00:00
itojun
ba8e4a38dc
use getifaddrs, to avoid complicated alignment constraint in SIOCGIFCONF.
...
(do we need to keep SIOCGIFCONF code in #ifdef?)
2000-04-11 11:36:47 +00:00
hubertf
320de3ec61
note that this is related to IPsec in the "name" section.
...
This is intended to make this manpage to show up on "apropos ipsec"
2000-04-11 00:11:46 +00:00
tron
187e2064c1
Only log unauthorized accesses in verbose log mode. Patch supplied by
...
Urban Boquist in PR bin/9555.
2000-04-10 20:26:31 +00:00
itojun
d91c2c728f
decode IPv6 packet encapsulated into ppp frame (PPP_IPV6).
2000-04-10 15:24:36 +00:00
mrg
3f207f4f5a
- fix usage message to current reality.
...
- pull over "lpd [port]" code from freebsd's lpr code.
- use posix signal handling.
2000-04-10 08:09:33 +00:00
itojun
e4458d9bed
address endian issue. sync with tcpdump.org tree.
2000-04-04 05:44:35 +00:00
hubertf
d071991a9a
Don't abort during quick depends pre-scan when -f is used
2000-04-01 23:31:39 +00:00
hubertf
f996345ebf
Improve the last change.
...
Handling all kinds of wildcards properly would be hard, though it should
handle some cases better now. Esp. ones with '-' in the pkg(!) name, and/or
ones with dewer relational versions. I.e. the teTeX-share>1.97 case should
work now.
2000-04-01 22:12:45 +00:00
augustss
93336646e4
Make this compile again.
2000-04-01 14:54:51 +00:00
hubertf
404096ac77
In the "quick depends pre-check" don't only try to replace anything
...
after a "-" with the "more liberal pattern", but also anything after
any pkg wildcard.
That way if someone has teTeX-share-1.0 installed and pkg_adds
teTeX-1.0.7 (which wants teTeX-share>1.0.2), it will be caught.
XXX This "quick depends pre-check" would be nice to be done in
bsd.pkg.mk as well
2000-03-31 22:12:56 +00:00
soren
2ef4fd2cdb
Consistently move checkeuid() call to after usage() call to allow non-root
...
to get help. Also remove a few duplicate geteuid() calls.
2000-03-31 04:09:04 +00:00
soren
4d9f35a323
Remove a few unnecessary casts.
2000-03-31 03:11:24 +00:00
soren
ae994d44aa
Use char NULs.
2000-03-31 02:54:17 +00:00
simonb
e06c3570b8
Make these a little more readable.
2000-03-30 01:49:23 +00:00
simonb
69d37f60ab
Add ntptime.
2000-03-29 14:35:45 +00:00
simonb
e7734f607a
Add man pages generated by ntp-html2mdoc.pl.
2000-03-29 13:54:44 +00:00
simonb
ccb2265fd2
Add one more ntp reachover Makefile left out of last commit.
2000-03-29 13:47:05 +00:00
simonb
b6ce3cdec4
Reach-over Makefile machinery for ntp4 build.
2000-03-29 13:13:42 +00:00
simonb
4cf4ac5591
./configure generated files for ntp 4.0.99g.
2000-03-29 13:08:33 +00:00
simonb
4be8be837f
Not needed with new dist/ntp structure.
2000-03-29 13:02:50 +00:00
deberg
3a9315446b
clarify syslog facility, fixes bin/9693
2000-03-29 06:04:49 +00:00
kleink
a3c6c197a2
Cast timeval members to types we know the printf conversions of.
2000-03-27 17:03:25 +00:00
itojun
f03b262b04
don't traverse NULL pointer on "wiconfig -p 1".
...
From: veego
2000-03-26 08:58:11 +00:00
jdolecek
bb2da7d53d
__POOL_EXPOSE is no longer needed (dev/vndvar.h does protect vnd_softc from userland)
2000-03-20 13:20:28 +00:00
hubertf
0c2cdb98d9
* in pkg_add, before the "install dependencies" loop, check ALL
...
dependencies if they _can_ be installed. I.e. if a package wants
version X installed, but version Y is already installed, pkg_adding
that required pkg will blow up later (probably some pkg_add recursions
down, given what we keep in the depends list). Now, it stopps right
away:
noon# pkg_add /usr/pkgsrc/packages/i386ELF/All/xdaemon-1.0.tgz
pkg_add: pkg `xteddy-1.*' required, but `xteddy-2.0.1' found installed.
Please resolve this conflict!
The idea of this is from Thomas Klausner, further inputs from Alistair
Crooks.
* allow pkg names without versions given to "pkg_admin check"
* Use sizeof() instead of hardcoding the buffers' size in some places
2000-03-19 17:24:27 +00:00
soren
4e809d5269
mbrlabel moves to /sbin.
2000-03-15 12:01:19 +00:00
fvdl
57b89fd44c
Moved to /cvsroot/basesrc/sbin/mbrlabel/mbrlabel.c,v
2000-03-15 11:56:03 +00:00
fvdl
cf8ce84f5b
Moved to /cvsroot/basesrc/sbin/mbrlabel/mbrlabel.8,v
2000-03-15 11:55:34 +00:00
fvdl
2d51c28037
Moved to /cvsroot/basesrc/sbin/mbrlabel/Makefile,v
2000-03-15 11:55:04 +00:00
itojun
a27d96b078
sync with latest kame.
...
- fix examples and wording in setkey.8
- allow scoped IPv6 notation (kernel side may not be really ready for this)
2000-03-15 00:24:30 +00:00
jdc
6f9a44ec3e
Add serial port power management (hw.serial.power).
2000-03-14 21:27:41 +00:00
soren
89c5a767f8
Fix doubled 'the's.
2000-03-13 22:55:05 +00:00
itojun
9034310694
avoid shlib reference for pfkey_*. compile them on our own.
2000-03-13 21:04:07 +00:00
itojun
6f7d4a0536
bring in latest kame tree. this fixes unclosed file descdriptor
...
in router renumbering case.
2000-03-13 06:16:46 +00:00
jlam
d1246a821e
Make "-d homedir" option work -- home directory wasn't being set in this
...
case.
2000-03-12 19:57:24 +00:00
itojun
c415e8231f
wording
2000-03-12 16:56:42 +00:00
itojun
db69080b84
improve SECURITY section. (sync with kame)
2000-03-12 16:47:24 +00:00
abs
fd407a99b7
If we fail due to not being able to lookup our own hostname, display the
...
name in question in an attempt to reduce the number of people who have to ask
how to get sup working...
2000-03-12 12:16:49 +00:00
itojun
1e22bb586e
correct use of perror().
2000-03-12 02:42:43 +00:00
groo
38cfdfd8fc
Add envstat(8) for displaying sensor readings from any envsys(4)
...
compatible device.
2000-03-10 05:51:56 +00:00
agc
56d283540f
When adding a group, check that it doesn't already exist.
...
Also fix a problem with reading entries when modifying a group.
Both problems found and analysed by Thomas Klausner.
2000-03-07 20:56:45 +00:00
kleink
1e9ca23a0d
Typo.
2000-03-07 19:40:54 +00:00
itojun
db0eae77a6
Fix replay window size as default to 0 when manual setting.
...
It means responder doesn't check sequence number.
(sync with latest kame)
2000-03-06 22:19:27 +00:00
itojun
8fb9de8e46
fix IPsec policy parser. #@ should affect multiple lines as documented.
2000-03-06 19:52:13 +00:00
mycroft
5ba0d0cdec
Add a `-v' option, and make various log messages depend on `-d' or `-v'.
2000-03-04 21:27:17 +00:00
tsubai
80c282dde0
We don't need #ifdef __powerpc__ part now. Remove it.
2000-03-03 15:05:47 +00:00
itojun
9c971f7c4d
typo fix (s/Ridirect/Redirect/)
2000-03-02 07:43:32 +00:00
itojun
548cc318ca
do not try to use BIND4 code in libc.
...
dig/host/whatever assumes that it is using BIND8 code. mixing BIND4 in
libc with BIND8 code will result in very strange behavior, or program panics.
it is not necessary for dig/host/whatever to obey /etc/nsswitch.conf, actually
dig(1) is explicit about it.
now dist/bind is almost clean BIND822p5, with the following exception:
- /etc/irs.conf will never be visited when running BIND8 toolchain,
to make it less complex. the search order for BIND8 toolchain is
defined in dist/bind/lib/irs/gen.c:default_map_rules().
and usr.sbin/bind compiles them in BSD make framework, with no tricks at all.
2000-03-01 10:49:58 +00:00
itojun
8dc6ef70e7
don't assume CMSG_xx are constant. (sync with latest kame)
2000-02-28 09:55:45 +00:00