christos
228c411fb5
PR/3774: Torsten Duwe: Add missing clocks to xntp; fix some bugs in xntp2netbsd
1997-06-23 17:34:15 +00:00
christos
085df7da2f
Adjust the Makefile for the new clocks and make this compile cleanly
1997-06-23 17:31:38 +00:00
christos
30bc5bd182
Fix bugs from the distribution.
1997-06-23 17:30:42 +00:00
christos
50b2781909
Per Jonathan Stone's request...
1997-06-23 17:30:07 +00:00
christos
aa009acb0e
PR/3774: Add parsers for the reference clocks.
1997-06-23 17:28:33 +00:00
mrg
78033298f7
decend all subdirs for man pages.
1997-06-23 14:48:02 +00:00
lukem
37def5da97
Don't incorrectly warn about a subdirectory of 'foo' called 'bar' when there's
...
directory at the same level as 'foo' called 'bar'. (e.g, a definition
of usr/obj exists, and a def for usr/bin, but none for usr/obj/bin. don't
warn about usr/obj/bin because of the usr/bin entry).
Fix from enami tsugutomo <enami@ba2.so-net.or.jp> in [bin/3365]
1997-06-23 14:34:52 +00:00
mrg
d784866e5a
reword some things here.
1997-06-23 14:15:33 +00:00
mrg
a51fab1e8f
merge iteconfig again.
1997-06-23 14:11:01 +00:00
mrg
1829865649
add iteconfig.8
1997-06-23 13:59:08 +00:00
mrg
0553741950
move man pages into share/man.
1997-06-23 04:51:16 +00:00
lukem
045cfc87d2
Add a CAVEATS section explaining that making this setuid root is bad.
...
As per discussion generated by [misc/2634].
1997-06-22 08:26:10 +00:00
veego
10042202c7
Use ../sbin/ to get the right path after quotacheck has moved to usr.sbin.
1997-06-21 19:16:19 +00:00
lukem
12c67164dc
* use MAXHOSTNAMELEN+1 instead of 256
...
* don't use LOG_CONS - it's unnecessary and spams the console if syslogd
fails (a bad thing, really)
From [misc/873] by Giles Lean <giles@nemeton.com.au>:
* explain why the name lookup failed
* always send debug() via syslog(3) (unlike the PR, which added a -s flag)
* enhance the man page a bit (even in the commented out section which
is only relevant to the -DREQUIRE_TFTPBOOT case
1997-06-21 14:30:03 +00:00
lukem
885db8b7ed
remove unnecessary CFLAGS+=-I${.CURDIR} and SRCS=rarpd.c
1997-06-21 14:23:57 +00:00
lukem
068fe25da7
Display quota type in quotaoff verbose messages, and in warnings.
...
From Joao Carlos Mendes Luis <jonny@gaia.coppe.ufrj.br> in [bin/2099]
1997-06-21 09:36:48 +00:00
lukem
1375baa210
* convert to using getopt instead of parsing argv[] by hand, solving
...
part of [bin/1500] - from Peter Svensson <petersv@df.lth.se> - as
a side effect.
* ensure ty: is set when -d is used (from [bin/1500])
* only ask for bad144 support for SMD disks (from [bin/1500])
* add prototypes, and ensure structures are initialised correctly
* fix up prior conversion of gets() to fgets(); the former removes
trailing \n, the latter leaves it.
* check return value of fgets() so that EOF won't infinatly loop
* fix a couple of man page typos
1997-06-21 09:07:07 +00:00
pk
13f64269f3
Add `dumpfs', `dumplfs' and `quotacheck'.
1997-06-20 20:19:23 +00:00
christos
801ce09dea
Make sure you set _base, otherwise we core dump.
1997-06-18 15:25:42 +00:00
christos
c7a226af02
When creating directories, make sure you remove previous non-directories
...
before doing so, otherwise sup fails.
1997-06-18 15:23:52 +00:00
christos
1933233e0b
Cleanup unsigned char -> char and #if __STDC__ -> #ifdef __STDC__
...
inconsistencies
1997-06-17 21:38:23 +00:00
christos
7a1ede0553
- add $NetBSD$
...
- remove all $Log$ instances and the extra logs caused by our local changes.
1997-06-17 18:56:02 +00:00
christos
12f6930b5a
Avoid coredump in svrfinishup.
1997-06-17 18:37:59 +00:00
cgd
5b0861d013
don't include newline in warnx format string
1997-06-17 06:10:47 +00:00
christos
7b4f0552a5
PR/3746: Olaf Seibert: not really an innetgr problem, but...
...
netgroup_mkdb screwed up reverse maps that contained recursive
netgroup names.
1997-06-16 23:18:50 +00:00
thorpej
05297fb9f5
Sync "which nlist formats should I support?" with libc's nlist code.
...
Makes kvm_mkdb work properly on MIPS and PowerPC.
1997-06-15 23:51:09 +00:00
thorpej
9fec93804a
Changes to config(8) to support dump configuration in the wake of the
...
new swap system. The dump specification syntax is now more flexible,
and supports constructs like the following:
config netbsd root on ? type ? dumps on ?
- wildcarded root, fstype, and dump device
config netbsd root on ? type ffs dumps on sd0b
- wildcarded root, ffs root fs, always dump on sd0b
config netbsd root on de0 type nfs dumps on wd0b
- mount an nfs root using de0, and write kernel crash dumps
to wd0b
Also, garbage-collect some now unused code, now that swap configuration
is no longer handled by config(8).
1997-06-14 04:25:55 +00:00
agc
04cc1342e6
Fix for misuse of NULL definition, from Arne Juul
...
(<arnej@math.ntnu.no>). Fixes bin/3745.
1997-06-13 16:10:15 +00:00
mrg
4a5d7f4d75
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:03:43 +00:00
mrg
7d9c89b0ce
remove "swap" configuration.
1997-06-12 15:03:09 +00:00
bouyer
558f2d0ebe
Make this compile again, and add support for ext2fs.
...
Also 2 ufs->ffs conversions in pstat.8.
1997-06-12 07:45:28 +00:00
agc
937e3175e7
Add pkg_install.
1997-06-09 16:45:01 +00:00
agc
cafa757ff8
Use malloc and free in extract.c, not alloca.
...
Minor mods to English in pkg_info.1
Add a mandatory argument to Synopsis section of pkg_create.1
1997-06-09 15:24:32 +00:00
lukem
fff951788c
for some reason, the last 3K of this was missing. update from a copy
...
of named.8 from 4.9.5-p1, doing the @xxx@ substitutions by hand.
1997-06-08 05:44:15 +00:00
mellon
2d333f8ed0
970607 snapshot
1997-06-08 04:53:30 +00:00
veego
07ce26bfc3
Update the manpage for hw.machine_arch.
1997-06-06 23:23:14 +00:00
kleink
ba5c221ead
Fix a reverse test botch, causing the exit code to be contaminated on success.
1997-06-06 06:55:07 +00:00
mellon
1a51a4cc68
ISC 970605 snapshot
1997-06-06 02:18:40 +00:00
thorpej
3dcfaef872
NetBSD Makefiles use "MAN=foo.3" not "MAN3=foo.0". However, since we
...
do not install this library, do not even bother with the ftpio.3 manpage.
1997-06-05 20:43:28 +00:00
agc
2ad13dba57
Don't install libinstall.a (from Bernd Ernesti)
...
pkg_delete manual page mods got lost in previous commit.
1997-06-05 14:25:49 +00:00
agc
153272e388
Add NetBSD Ids
...
Un-munge pkg_install/lib/Makefile which I'd overwritten on libftpio commit.
Make it compile on NetBSD.
Install pkg_* programs in /usr/sbin
XXX agc - Still to do XXX
Cleanup call to mktemp (for a tmp dir) in pkg_install/lib/pen.c
Create ftperr.c in the correct directory.
1997-06-05 12:59:18 +00:00
agc
5d78b65530
Initial import of FreeBSD libftpio.
...
Placed here (under pkg_install) to make it private to that tool.
1997-06-05 09:11:59 +00:00
agc
5d4508e153
Initial import of FreeBSD packaging tool.
1997-06-05 08:54:23 +00:00
mikel
5f77ad2313
indicate more clearly that [Tfstv] options are mutually exclusive;
...
fixes PR misc/2655.
1997-06-05 06:14:16 +00:00
mellon
e888b2d22b
Lose message on short icmp echoreplies
1997-06-04 21:04:10 +00:00
mellon
57eeaacdcc
Add dns.c and resolv.c
1997-06-04 00:31:53 +00:00
mellon
185e701358
970602 snapshot
1997-06-03 02:49:04 +00:00
kleink
f8c2019a61
Add chrtbl(8).
1997-06-02 10:17:41 +00:00
kleink
06b78a313c
Add a utility to create character classification and upper <-> lower conversion
...
tables, as well as numerical formatting specifications.
Thanks go to Christos Zoulas for reworking this into SVR4/Solaris style,
and to Matthias Scheler <tron@lyssa.owl.de> for contributing his initial
work in PR/3592!
1997-06-02 10:16:41 +00:00
cjs
7a66732d34
Back out BUILDDIR and NOINSTALL changes.
1997-05-31 21:21:13 +00:00
cjs
83498d7e88
Remove empty libinstall target and add NOINSTALL=1.
1997-05-30 13:43:06 +00:00
mikel
46e8e30c38
fix typos; from Paul Goyette in PR bin/3676
1997-05-29 07:47:05 +00:00
cgd
c917dfb5b2
Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
...
.Dd is supposed to be invoked like:
.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
pk
7c7220b290
Macros take no more than nine arguments.
1997-05-28 22:03:34 +00:00
pk
29afaac55f
Display VDIROP vnode flag (so we're congruent with the man page).
1997-05-28 19:26:52 +00:00
thorpej
153eb09cc6
Avoid type-size problems converting a pointer (in kernel memory) to
...
an off_t passed to lseek() (used for reading kernel memory).
1997-05-28 03:08:40 +00:00
thorpej
643e2915e1
Add a comment about why we don't copy ipfilter's tcpip.h.
1997-05-28 03:05:55 +00:00
thorpej
30c04b997f
We cannot use the tcpip.h that comes with ipfilter, as the license on
...
that file does not allow redistribution; use the version in <netinet/tcpip.h>
instead. FIXME WHEN A NEW tcpip.h IS INCLUDED WITH IPFILTER!
1997-05-28 03:04:44 +00:00
thorpej
c4aac2cbce
Resolve conflicts from merge of 3.2a7, take 2.
1997-05-27 22:51:36 +00:00
thorpej
57d41e13fb
Resolve conflicts from merge of 3.2a7, take 2.
1997-05-27 22:34:05 +00:00
thorpej
f265273d8b
Correct several mistakes:
...
- Don't make copies of ip_frag.c, ip_state.c, and ip_nat.c for ipftest.
These should be .PATH'd in from sys/netinet.
- Get paths to ipmon and ipnat correct when we copy the manual pages.
- ipsend/ipresend/iptest actually live in the "ipsend" subdirectory
of the ipfilter distribution. Take this into account when copying
the sources.
- Add ip_proxy.h to the list of #include directives that we fixup.
- ipsend.h needs to include a copy of ip_compat.h that is private
to ipsend/ipresend/iptest. Perform a fixup on that file to take
that into account.
- Clean up any CVS residue from the conversion process.
- Update Makefile output to reflect new .PATH directives, etc.
1997-05-27 22:24:25 +00:00
thorpej
a920c55e26
ipfilter2netbsd did not produce correct output for last import of
...
3.2a7. Re-import it now that ipfilter2netbsd is fixed.
1997-05-27 22:16:47 +00:00
thorpej
772cb9b986
Don't make separate copies of these files; .PATH them in from sys/netinet.
1997-05-27 22:01:47 +00:00
mrg
a307477d27
strip dollar signs from incoming RCSids
1997-05-27 07:16:24 +00:00
darrenr
24ca7d0e94
fix rcsid conflicts
1997-05-26 15:16:38 +00:00
cjs
5fd7ce7066
These updates to the build allow building against include files
...
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
thorpej
267e8357fc
Implement an unfortunate, and temporary, kludge to address the problem
...
reported in PR #3668 from maximum entropy <entropy@tanstaafl.bernstein.com>.
The problem: The unit number is not being conveyed to the configuration
crosscheck with root is a network interface; the device number is set
to NODEV, which sets up the (correct) defaults for swap/dump devices.
We can't change NODEV to a unit number, as the PR's patch suggests, as
this breaks the swap/dump defaults. Rewriting that code is not really
justified, since it's soon to be obsoleted.
The kludge: add an "nv_ifunit" member to struct nvlist, which convey's
a network interface's unit number to the crosscheck routine. It's not
pretty, but it's not terribly invasive, and can be garbage-collected
easily when the swap/dump goo is obsoleted.
1997-05-25 18:42:54 +00:00
darrenr
87427f3d2e
fix conflicts
1997-05-25 12:04:53 +00:00
darrenr
2cae843bdc
Import version 3.2alpha7
1997-05-25 11:45:50 +00:00
thorpej
3c8f9e9de8
Fix a comment.
1997-05-23 03:09:56 +00:00
lukem
b6572fdce5
free returned value from yp_match() if an error occurs
1997-05-21 07:20:13 +00:00
mikel
7c77aacfb1
separate option argument from description; from Enami Tsugutomo in PR 3637.
...
also RCSid police.
1997-05-20 04:53:12 +00:00
mikel
d066405291
fix typo, from Enami Tsugutomo in PR bin/3636
1997-05-20 04:42:56 +00:00
christos
2916e1d817
Resolve conflicts
1997-05-17 22:14:13 +00:00
christos
f7f066707a
resolve conflicts
1997-05-17 21:33:06 +00:00
christos
63f466a41d
Resolve conflicts
1997-05-17 21:23:04 +00:00
pk
80bb266e0e
NULL => 0 (Arne Juul; PR#3629)
1997-05-17 20:31:15 +00:00
christos
f0fe357c91
eliminate struct sigcontext
1997-05-17 15:52:52 +00:00
christos
ac58fd7ef4
Fix sighandler signature.
1997-05-17 15:48:50 +00:00
veego
924c7fcffa
Add y.tab.h to CLEANFILES
1997-05-15 10:04:27 +00:00
mikel
09e3ffba3e
fix typos; from Dave Huang in PR bin/3611.
1997-05-13 04:55:33 +00:00
mikel
71f0bfd8cc
refer to proper key file, not gettytab; from Dave Huang in PR bin/3610.
1997-05-13 04:38:20 +00:00
mikel
b674a8fd0e
fix typos noted by Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>.
1997-05-13 04:15:06 +00:00
mikel
5ea01ec0b8
use ../../Makefile.inc instead of defining BINDIR locally.
...
eliminate redundant SRCS definition.
1997-05-11 05:27:09 +00:00
christos
ffb5f0fbd1
Include ../../Makefile.inc
1997-05-11 01:06:01 +00:00
mycroft
2c0b6f8e7f
Use DPSRCS.
1997-05-09 13:56:04 +00:00
mycroft
6ae00799f3
Correct .PATH after this was moved down.
1997-05-09 09:36:28 +00:00
mycroft
cc4a1553a1
Eliminate bogus redefinitions of standard targets.
1997-05-09 07:50:03 +00:00
mycroft
a7f6387809
Remove the extraneous SUBDIR line.
1997-05-09 04:43:01 +00:00
gwr
10e180cc49
Back out the .PATH.c changes. The .depend problem (and others)
...
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
christos
71cc8337ed
Move pppd in its own directory.
1997-05-08 18:07:28 +00:00
lukem
a18d6f1948
fix typo. from msaitoh@spa.is.uec.ac.jp, [misc/3584]
1997-05-07 23:19:03 +00:00
mycroft
185b24dd5b
Use libinstall::, not install:, to prevent instaling LIB.
1997-05-07 16:20:26 +00:00
mycroft
1b437a22e5
Use SCRIPTS to install this.
1997-05-07 16:17:40 +00:00
mycroft
8306be60f4
Use afterinstall, not proginstall, to run post-installation crap.
1997-05-07 16:03:15 +00:00
mrg
78c51899a9
use ${.CURDIR} correctly. from enami tsugutomo in pr#3582
1997-05-07 13:20:40 +00:00
mycroft
77baecd155
Don't try to create pain.cf, which no longer exists.
1997-05-07 08:29:42 +00:00
mycroft
fd8daf980e
Add .MAKE to the .OBJDIR hacks, so they work with `make -n'.
1997-05-07 07:15:34 +00:00
gwr
a6437aa465
backout previous
1997-05-06 22:38:46 +00:00
gwr
012e528f2e
Use .PATH.c: ...
1997-05-06 20:44:56 +00:00
mrg
a3ca95f80d
move ipfilter2netbsd, and remove extra copies of opt.c that got added.
1997-05-04 15:10:36 +00:00
veego
8071a0d69a
Remove a .
1997-05-04 09:52:49 +00:00
jtc
93eaf3dc87
A user name can be invalid, but not illegal
1997-05-02 01:36:18 +00:00
mrg
fbb54fd51b
meantion ppp(4) rather than README.bsd (inspired from PR#3548 from Martin Husemann)
1997-04-28 04:22:24 +00:00
lukem
0dbf4ab9b1
Determine filesystem level (ref: fsck_ffs(8) -c ...) and display it.
...
Code was derivied from observing how fsck_ffs `upgrades' to a given
level, and has been tested on recent NetBSD filesystems (reports as "3"),
SunOS ("1"), and ULTRIX ("0"). I haven't found a filesystem of level
"2" to test, but the code should detect it. Fixes [bin/1353]
1997-04-26 05:41:32 +00:00
mrg
151d9c8a60
add 0 and 0x prefixes for octal and hex numbers, in debug messages (based on pr#2964).
1997-04-26 05:12:32 +00:00
mrg
dca7ab624c
do not write pid file in debug mode. (pr#2825)
1997-04-26 05:08:29 +00:00
mikel
b4f13ff0c4
use appropriate strto*() functions, and cast results when appropriate;
...
fixes PR bin/1582.
1997-04-25 05:45:24 +00:00
cjs
8b76947495
added net.inet.ip.allowsrcrt
1997-04-23 08:09:08 +00:00
mrg
a64b21ab51
expand a bit on the sematics required.
1997-04-23 00:28:03 +00:00
mrg
d16c8bdb59
merge in missing change from upgrade.
1997-04-21 06:19:13 +00:00
mrg
057f4195a8
handle 64-bit warnings.
1997-04-21 05:53:58 +00:00
mrg
72fe828af4
pull in <string.h> as required.
1997-04-21 05:49:00 +00:00
mrg
ec59f26fc3
ctime() takes (time_t *) not (long *).
1997-04-21 05:46:59 +00:00
christos
c98409d753
PR/3519: Brad Spenser: xntpd now uses sysctl to get clockrate info.
1997-04-21 03:07:28 +00:00
mycroft
52aae8dc8a
Don't do libwrap checking for UDP services; they must do it internally on
...
every packet to be correct.
1997-04-20 22:04:59 +00:00
christos
5620f08591
- Remove remnants of html [from Kim]
...
- Fix perl script to use %% NetBSD <comment-prefix>
1997-04-20 21:53:19 +00:00
pk
01c7186f85
Compute object subdirectories correctly.
1997-04-20 20:27:07 +00:00
thorpej
b6c41d0d18
getc() returns an int, not a char.
1997-04-19 06:33:13 +00:00
thorpej
e612682b6c
getopt() returns an int, not a char.
1997-04-19 06:27:03 +00:00
thorpej
95a1173e37
icmpcode() returns an int, and, more importantly, -1 on failure. So,
...
make this work on systems with unsigned chars by placing the return
value of icmpcode() in a temporary variable, checking for failure, and
then only setting fil.fr_icode (a char) upon success.
1997-04-19 06:25:10 +00:00
cgd
a30d503d4e
casts to avoid warnings on alpha
1997-04-18 21:01:37 +00:00
christos
a148a58d6d
Don't put an extra $NetBSD$ in the domestic/libntp Makefile
1997-04-18 19:04:58 +00:00
christos
13d79cda56
Add version.c to the lib Makefiles
1997-04-18 14:28:04 +00:00
christos
cff982ecc5
Add BINDIR=/usr/sbin in Makefile.inc and the script
1997-04-18 14:06:15 +00:00
christos
468a1180c0
Add xntp
1997-04-18 13:58:50 +00:00
christos
19c64a2a37
Use mkstemp on BSD4_4 systems.
1997-04-18 13:51:44 +00:00
christos
a165c1628c
Make this compile under gcc; cast away volatile pointers.
1997-04-18 13:50:40 +00:00
christos
7222699681
Perl script to aid future importers.
1997-04-18 13:49:37 +00:00
christos
098fd1d087
Xntp 3-5.90 from louie.udel.edu
1997-04-18 13:22:49 +00:00
mikel
e6c909f2ac
argument given to -t flag is in minutes; from SAITOH Masanobu in PR
...
misc/3509. nuke a typo while I'm here.
1997-04-18 05:22:35 +00:00
christos
697285d609
- Move common definitions to Makefile.inc
...
- Revert change common/os.h -> os.h. From Mats O Jansson.
1997-04-17 21:08:57 +00:00
christos
32b4ce594c
PR/3504: Brian Baird:
...
- Do what the manual page says; don't create the log file if it does not exist.
- Limited support for ypserv v1; apparently sunos4 clients use it and sunos5
server provides the same.
1997-04-17 17:46:16 +00:00
cgd
e3149f181c
sort cloning units for a given devbase after non-cloning units. Addresses
...
the same problem as PR 3503, but with different code.
1997-04-17 05:01:09 +00:00
christos
eaf28d8fab
Correctly prototype the signal handler.
1997-04-16 17:45:05 +00:00
christos
b14c47df8b
Tyop oplice.
1997-04-16 13:48:46 +00:00
christos
c0988e0e24
Don't include "os.h", include "common/os.h" like it does for the other
...
includes.
1997-04-16 13:30:57 +00:00
christos
193fd51548
Don't need to .PATH: .. or -I${.CURDIR}/common and -I${.CURDIR}; it will
...
actually break things in the future.
1997-04-16 13:29:57 +00:00
mrg
8ac5819cc1
normalise all these.
1997-04-14 09:46:24 +00:00
veego
1ef9434f47
We don't use %INDOT%. Add it to the sed line.
1997-04-14 08:49:09 +00:00
veego
137ca06f6c
We don't use %INDOT%. Add it to the sed line.
...
Add a FILESMODE to install it with execute bits.
1997-04-14 08:48:38 +00:00
veego
ae77d25de7
We don't use %INDOT%. Add it to the sed line.
1997-04-14 08:47:26 +00:00
mrg
c4fc1d57cf
eliminate scanf.
1997-04-14 08:18:36 +00:00
veego
b97a9a425b
ipf is build with -static and installed in /sbin
1997-04-13 18:42:20 +00:00
veego
5386901ec4
build it static.
1997-04-13 18:31:07 +00:00
mrg
f1467295f1
look for ipf sources in ../ipf
1997-04-13 14:49:38 +00:00
mrg
b6bb351e9c
be safe with buffers.
1997-04-13 13:45:02 +00:00
mrg
a9437d1189
be safe with buffers.
1997-04-13 13:36:46 +00:00
mrg
1e8283acfe
GC these.
1997-04-13 12:27:03 +00:00
mrg
9af7a40037
merge in bind 4.9.5-P1
1997-04-13 10:50:07 +00:00