christos
b384567c88
merge changes.
1999-08-25 02:07:41 +00:00
christos
7cd19ad6f7
New pppd, post 2.3.9 directly from the repository.
1999-08-24 20:25:43 +00:00
bouyer
28602510ee
Add libwrap support to supfilesrv, as annnounced 2 weeks ago on tech-userlevel,
...
conditioned by #ifdef LIBWRAP (on by default).
I renamed '-l' (the 'live' mode) to '-d' and '-l' is now used to enable
logging of successfull connections, to be consistent with what other NetBSD
daemon use.
These changes are on on sup2.fr.netbsd.org since 2 weeks.
1999-08-24 15:52:52 +00:00
enami
9ce05a481a
Move the actual work when dhclient got signal out of signal handlers,
...
and make not to exit the program if the signal is hanldled properly.
Reviewed by: Ted Lemon
1999-08-24 03:25:31 +00:00
hubertf
8ee940971e
Bring closer to /usr/share/misc/style with the aid of indent(1).
1999-08-24 00:48:37 +00:00
hubertf
c39c4fc075
Hide test for URLlength()>0 behind a macro (IS_URL()).
1999-08-23 15:17:03 +00:00
agc
b62dac7b36
Provide full pathnames for chgrp(1), chown(1) and chmod(1), passing
...
them down from Makefile.inc on an OS-specific basis. Fixes PR 8250
from Wiz <wiz@danbala.ifoer.tuwien.ac.at>.
1999-08-23 10:34:53 +00:00
christos
d3964689a5
add better debugging info
1999-08-23 01:09:42 +00:00
garbled
c339da615b
Add a .Xr to mailer.conf to these files.. so users might know that such
...
a manpage exists.. ;)
1999-08-21 06:51:44 +00:00
simonb
b729f2c755
Use ${INSTPRIV} with ${INSTALL}.
1999-08-21 06:27:29 +00:00
hubertf
3fb135484d
Call deinstall-script after files are removed:
...
deinstall <pkg-name> POST-DEINSTALL
(PKGTOOLS_REQD not bumped, as nothing in pkgsrc uses this so far)
1999-08-21 02:21:13 +00:00
agc
eed4a2840a
Fix braino, pointed out by enami - OS is not defined on NetBSD.
1999-08-20 14:34:34 +00:00
agc
cf95737b8e
The copy_hierarchy function is never called. Remove its definition and
...
prototype.
1999-08-20 09:20:20 +00:00
agc
b41eccc5cd
Make this work on Solaris "out of the box"
1999-08-20 09:12:10 +00:00
hubertf
c94d3e89cb
Allow specifying a package name without a version.
...
If no (installed) package is found with the given name, "-[0-9]*" is
appended, and the search retried. Withs with any options to pkg_delete
and (esp.) pkg_info:
pkg_info kde
pkg_info -e emacs
pkg_info -qL xlock
pkg_delete -v emacs
1999-08-19 19:37:20 +00:00
itojun
0b386339a3
sync with recent KAME code.
...
- do not use s6_addr{8,16,32}, which are nonstandard.
- SIGHUP handling now works correctly.
1999-08-19 17:31:05 +00:00
agc
358f97854c
Pass BINDIR down via Makefile.inc, rather than hardcoding /usr/sbin -
...
useful for systems where /usr/sbin is not the directory of choice.
1999-08-19 14:37:36 +00:00
agc
d5c5c423a3
Consolidate URL handling into a table of valid leading strings for
...
URLs, and an access function (URLlength) - saves having various
hardcoded strings all over the place. Delete isURL, and use URLlength
in its place. Also use URLlength when parsing a filename for host
and filename part.
1999-08-19 14:12:34 +00:00
agc
72077b961b
Clean up minor nits in C code.
1999-08-19 13:29:59 +00:00
tron
4ea05d6101
Add two missing "(void)" casts.
1999-08-19 07:18:38 +00:00
tron
dffe3016d3
Modify conflict check to avoid matching packages with the same name prefix
...
(e.g. "teTeX" and "teTeX-share"). Patch is based on a suggestion by
Hubert Feyrer, fixes PR pkg/8219.
1999-08-19 07:17:35 +00:00
cgd
767af34d42
copy the MBR partition table being examined to a local array, to avoid
...
unaligned structure accesses on architectures that care.
1999-08-19 06:06:02 +00:00
cgd
bca4f26548
correct usage message
1999-08-19 05:44:48 +00:00
hubertf
f3269a6dee
Clean up flex output (gram.[ch]).
...
Reported in PR 8232 by Andrew Cagney <ac131313@cygnus.com>
1999-08-19 02:27:02 +00:00
simonb
94628bf62e
In a program request packet during the second and third stage of an
...
Ultrix/mips MOP boot, the "software" packet is 256 bytes - bump the
size of the program array (maximum for the VAX must only be 16 bytes).
1999-08-17 12:38:09 +00:00
is
7637a1f341
Reflect the recent support of wscons.
1999-08-16 20:10:37 +00:00
is
2cd7cc3fc5
Add missing Amiga to the list of architectures supported.
1999-08-16 17:44:43 +00:00
simonb
299578ebd5
Spell "privilege" correctly (correct spelling from Jonathan Stone).
1999-08-16 02:59:22 +00:00
itojun
35a68ecb71
avoid multiple BUGS section.
1999-08-13 13:57:52 +00:00
lukem
ecea2953c2
if, after building WorkList, it is NULL (because there are no entries), don't
...
bother trying to qsort() or traverse it.
noticed when the diagnostic assert()s in my copy of qsort() complained
about a NULL pointer...
1999-08-12 00:19:07 +00:00
perseant
708391677c
Add nullfs, umapfs, unionfs to the list of exportable filesystem types, now
...
that these FSs are in fact exportable. (Left over from PR 5603.)
1999-08-09 20:22:39 +00:00
hwr
38bced384f
Document -s option. Fixes PR 6759 by me.
1999-08-08 16:15:17 +00:00
itojun
d65340456a
do not use tbl for formatting.
...
From: "Heiko W.Rupp" <hwr@netbsd.org>
1999-08-08 13:27:30 +00:00
itojun
d6fd5e2c88
fix dig and nslookup.
...
sizeof(_res) must be the same for libc, libresolv and libbind.
libc and libresolve uses bind4 while libbind seems to use bind8.
complete fix would be to share the same codebase among libc and libbind,
but I don't know if importing bind8 into libc/libresolv (or bind9 to
all the places) is the right answer. it involves a big change.
PR: 7966
1999-08-07 12:40:06 +00:00
bouyer
08713441c4
xref hosts_access and hosts_options in section 5, not 3.
1999-08-02 16:05:40 +00:00
erh
131ee1a7b6
Replace the provided read_line function with calls to the fparseln function in libutil. Maintain compatibility on machines without fparseln through the NEED_READ_LINE define.
1999-08-02 05:36:05 +00:00
sommerfeld
fdadab8fc8
Fix PR7739: correct -DRPC rot in inetd.c
1999-08-02 01:12:21 +00:00
thorpej
8c134b93a0
If unlink() fails w/ ENOENT, don't display an error message.
1999-07-31 05:22:05 +00:00
itojun
55ffd6053b
sync with latest KAME. (no behavior change)
1999-07-30 19:16:45 +00:00
itojun
758e308974
fix behavior on 64bit CPUs. args to ioctl() must be u_long, not int.
1999-07-30 18:59:42 +00:00
itojun
0f5e3f859a
do not include sys/netinet6/in6_systm.h, this has been empty.
1999-07-30 10:29:35 +00:00
itojun
656cf2dd52
allow "traceroute6 -q1 foo".
...
KAME PR: 135
1999-07-30 01:19:58 +00:00
hubertf
b0f5059f43
Don't ignore the return value of two unlink() commands, and print
...
some warnings instead, if unlinking fails.
Fixes PR 4634 by myself.
1999-07-29 20:08:59 +00:00
augustss
e7af5efe23
Make it possible to add a mux.
1999-07-29 18:24:09 +00:00
itojun
e1b53de44e
query service name properly on libwrap warnings.
...
NetBSD PR: 8101
1999-07-28 10:58:31 +00:00
tron
ad6d07bbfa
Message files in binary packages are not displayed with more(1).
1999-07-28 10:07:05 +00:00
itojun
11b205990c
improve icmp6 printing on jumbogram case.
...
sync print-null.c with recent KAME code.
1999-07-26 06:26:58 +00:00
itojun
c4c4038edf
s/u_short/u_int16_t/ and others (just to be sure)
1999-07-26 06:11:57 +00:00
lukem
81a3e76281
remove superfluous casts
1999-07-26 03:01:09 +00:00
itohy
5558ca668c
Eliminate illegal cast from function pointer (sig_t) to object pointer (void *).
...
Remove #include of unused headers.
Fix varargs usage.
KNF.
Const poisoning.
1999-07-26 01:31:47 +00:00
kleink
6e3b46de7d
Make ordering of Xrefs consistent.
1999-07-25 21:59:13 +00:00
lukem
7dc5b4fed5
don't call ypdb_close() until after we're finished using data returned
...
by a previous ypdb_*() operation. seems to fix a problem noted in [bin/8064]
1999-07-25 09:36:02 +00:00
lukem
275da9fc4d
because the ypserv struct datum and the db(3) struct DBT are not exactly
...
the same (datum is { char *, int }, DBT is { void *, size_t /* u_int */ }),
copy info to appropriate temporary variables before calling underlying
db(3) operations.
1999-07-25 09:33:37 +00:00
lukem
811d7dca54
fix up lossage WRT free()ing invalid pointers.
...
noted in [bin/8064]
1999-07-25 09:01:04 +00:00
lukem
96c7d69308
fix up lossage WRT free()ing invalid pointers.
...
noted in [bin/8064]
1999-07-25 07:59:48 +00:00
explorer
a3d357795d
print ip-proto PIM packets (ip proto 103)
1999-07-25 04:23:21 +00:00
itojun
ea6e86754f
print "ip6:" when -e is specified for DLT_NULL device.
1999-07-25 00:13:07 +00:00
thorpej
66986619c4
Clean this up.
1999-07-23 19:06:54 +00:00
hubertf
9992044ef5
We're about to regenerate this ourselves, and will not split it.
...
Needed to make things going with (and probably without also) obj
dirs, pointed out by Matthias Drochner.
1999-07-22 22:44:42 +00:00
hubertf
7da1e27a09
Build and install info page.
1999-07-22 01:16:59 +00:00
hubertf
b568888491
Add code to DTRT with the info file, now that we can use it.
...
Patch submitted in PR by Minoura Makoto <minoura@hauN.org>
I'll not re-import amd but rather perform the steps to get
things going manually.
1999-07-22 01:14:22 +00:00
mycroft
4b3222031d
s/dbm/hash/, since we don't support dbm files in sendmail.
1999-07-21 07:06:01 +00:00
mjacob
8dd6bc6db8
Correct prototyping- gettimeofday takes an address of a struct timeval.
...
localtime needs an address of a time_t. A time_t is not the same as
{struct timeval}.tv_sec.
1999-07-21 02:02:27 +00:00
mrg
ba255f8a34
optionally include CRYPTOPATH Makefile.frag files.
1999-07-20 09:47:07 +00:00
tron
850b3263ac
Remap "_res" to "bind_res" to fix link warnings on ELF systems.
1999-07-20 08:59:15 +00:00
ghudson
113b4934fe
se_wait stores pids; make it a pid_t.
1999-07-19 15:49:39 +00:00
tron
49492782ad
Install "named.conf" to "/usr/share/examples/named".
1999-07-19 12:04:03 +00:00
kleink
a87a0a6236
For XCU5's sake, and due to popular demand, add link(8) and unlink(8)
...
utilities. This addresses PR standards/8027 by Giles Lean, who also submitted
a different implementation along with; I chose to add those files I had written
a while ago for reasons of portability and not requiring being cleaned up wrt.
compile-time warnings.
1999-07-19 09:11:25 +00:00
abs
bb69dd0964
bind comes with a very helpful sample named.conf, so install it in
...
/usr/share/examples/named. I'm not overwhelmed about moving the file
into src/share/examples but there is prior art (amd).
1999-07-19 02:30:43 +00:00
itojun
936dae3338
use /etc/pim6dd.conf, instaed of /usr/local/v6/etc/pim6dd.conf.
1999-07-17 14:12:21 +00:00
itojun
986bd48816
pim6dd: IPv6 PIM (protocol independent multicast),
...
dense mode routing daemon.
1999-07-17 14:06:24 +00:00
itojun
0e03316884
typo and wording fixes. sync'ed with latest KAME.
1999-07-17 13:03:28 +00:00
sommerfeld
5d94c1dc69
Clarify that the empty string, not the string ANY, as the network name means
...
pick any access point
1999-07-15 14:31:52 +00:00
sommerfeld
ebe6b12815
Tweak manpage to reflect wicontrol->wiconfig rename. (This, and all
...
previous commits of the wi driver, were done using the driver in
ad-hoc mode in the 34th floor bar of the SAS Radisson Plaza hotel in
Oslo, Norway).
1999-07-14 22:43:17 +00:00
sommerfeld
13e9a1abb4
Add wiconfig
1999-07-14 22:35:20 +00:00
sommerfeld
7c00275166
Utility to configure wi* 802.11 driver
1999-07-14 22:33:33 +00:00
itojun
e5db40b6de
add faithd, IPv6-to-IPv4 tcp relay translator.
...
utilizes pseudo-device "faith".
1999-07-13 22:16:48 +00:00
thorpej
9630ed475e
Use bsd.crypto.mk.
1999-07-12 22:11:37 +00:00
tron
d5403b6b11
Remove unnecessary "${.CURDIR}/../nslookup" from ".PATH" target.
1999-07-12 08:31:49 +00:00
itojun
578761f0d3
add usr.sbin/pvcsif and usr.sbin/pvctxctl to SUBDIR.
1999-07-11 17:35:33 +00:00
itojun
5dc7053468
adapt to NetBSD code tree.
...
- add NetBSD RCS ID
- cut and paste the copyright notice from c source to manpage source
(unnecessary?)
1999-07-11 17:35:07 +00:00
itojun
47e125616d
import from ALTQ 1.2
1999-07-11 17:28:28 +00:00
itojun
a09df1fc0f
import from ALTQ 1.2 distribution
1999-07-11 17:28:02 +00:00
christos
6e1a032789
cast args to strcmp;
1999-07-10 20:17:21 +00:00
christos
ac79e98358
fix thinko in mtime stuff.
1999-07-10 19:59:28 +00:00
tron
247bd5d560
Remove "parse.c" and "parse.h" during "make cleandir".
1999-07-10 11:31:28 +00:00
thorpej
95a36e1425
Fix bug in previous; allprefixes didn't work if there were multiple prefixes.
1999-07-09 18:46:09 +00:00
thorpej
64f20db21b
Make the outputted INCLUDES directives a bit more cosmetically appealing.
1999-07-09 18:45:31 +00:00
mrg
ecdad0ec33
clean up a bit after jason :)
...
- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
$INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.
this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
1999-07-09 09:52:55 +00:00
thorpej
152af09e65
Add a mechanism to specify prefixes that are transparently prepended
...
to file specifications. The prefixes are arranged in a stack, and
nest, so that file, object, and include specifications are normalized,
and all end up relative to the kernel compile directory.
For example, in the kernel config file:
# Pull in config fragments for kernel crypto
prefix ../crypto-us/sys # push it
cinclude "conf/files.crypto-us" # include it if it's there
prefix # pop it
and in files.crypto-us:
file netinet6/esp_core.c ipsec & ipsec_esp
file netinet6/esp_output.c ipsec & ipsec_esp
file netinet6/esp_input.c ipsec & ipsec_esp
...generates the following in the kernel Makefile:
$S/../crypto-us/sys/netinet6/esp_core.c \
$S/../crypto-us/sys/netinet6/esp_output.c \
$S/../crypto-us/sys/netinet6/esp_input.c \
By placing this all in the kernel config file, all the magic involved in
reaching into non-standard kernel source directories is placed into a file
that the user is expected to edit anyway, and reasonable examples (and
sane defaults, for typical source checkouts) can be provided.
1999-07-09 06:44:58 +00:00
thorpej
02a4ec93e9
Nuke the work-around for non-normalized include paths. They have all
...
been fixed up.
1999-07-09 02:37:26 +00:00
itojun
e5244472c9
style fix (to sync with KAME/NetBSD14)
1999-07-08 16:11:40 +00:00
sommerfeld
eb61e82da9
Fix a bit-count vs. byte-count problem .. /16 routes were added as
...
host routes rather than network routes.
1999-07-08 16:04:56 +00:00
itojun
9c536f2966
sync with KAME/NetBSD14.
...
add warning about upstream/downstream advertisement.
1999-07-08 00:41:21 +00:00
itojun
6002e3435e
fix buffer overrun on kvm_openfiles, last argument.
...
From: Geoff Wing <gcw@pobox.com>
1999-07-07 00:28:29 +00:00
thorpej
0ee6c639c7
Add a mechanism for files.* files to be included, in the kernel configuration
...
file, conditional on their existence. For example:
[ in ../conf/GENERIC ]
cinclude "../crypto-intl/sys/conf/files.crypto-intl"
This required a change to the files.* grammar; pseudo-device in that
context has been changed to defpseudo, to avoid a conflicting rule
for pseudo-device in the kernel config files.
The same grammar change allows vendors to ship files.* files for
commercial drivers, rather than diffs to e.g. files.pci, i.e.:
include "arch/i386/pci/files.zap"
zap* at pci? device ? function ?
Where files.zap might contain:
device zap: ether, ifnet, arp, mii
attach zap at pci
object arch/i386/pci/zap.o zap
1999-07-07 00:02:09 +00:00
christos
78a99dbab7
portability fixes:
...
- don't use timespecs in struct stat on non 4.4BSD systems
- don't assume that tv_sec is a time_t
1999-07-06 15:11:14 +00:00
itojun
a7d1c8590c
mld6query: throw IPv6 MLD query (similar to IPv4 IGMP)
1999-07-06 13:32:01 +00:00
itojun
26c3d764fd
add NetBSD RCS ID.
1999-07-06 13:14:54 +00:00
itojun
22ece3e4cd
add NetBSD RCS ID. retain original RCS ID (without $).
1999-07-06 13:13:03 +00:00