Commit Graph

1631 Commits

Author SHA1 Message Date
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
mrg 1297123066 we don't need these files. 1997-04-13 09:58:19 +00:00
mrg 6c5a8afbd7 we don't need these files either. 1997-04-13 09:55:08 +00:00
mrg 70ec5be749 we don't need these files. 1997-04-13 09:23:05 +00:00
mrg 6d2a687f9c BIND 4.9.5-P1 1997-04-13 09:06:10 +00:00
mrg c4f6f69f43 install this in /sbin still. 1997-04-13 02:06:04 +00:00
mrg d459462a6c ipf is now here. 1997-04-12 23:57:37 +00:00
mrg bf62e97c3b ipf goes into src/usr.sbin/ipf/ipf now. 1997-04-12 23:51:04 +00:00
lukem ed2bf17af1 use rm -f ... to remove the script before creating
refer to $@ not the explicit name
1997-04-07 07:56:13 +00:00
lukem fe17ee6907 use rm -f ... , incase it doesn't exist
refer to $@ not ndc
1997-04-07 07:55:37 +00:00
lukem 84610801c2 remove ndc before rebuilding it 1997-04-07 07:48:53 +00:00
cgd ecaada7dec fix up various bogons (bogus casts, missing prototypes for functions
which return pointers, incorrect types for variables) that kept this from
compiling on the Alpha.
1997-04-04 01:52:45 +00:00
mikel 9d6bac5230 fix misplaced parens in sizeof exprs; from Simon Burge in PR bin/3427. 1997-04-03 06:14:37 +00:00
scottr bb2149b938 Remove trailing space from last commit 1997-04-01 18:10:01 +00:00
mellon 56748ee1ef Build dhclient with -static and install in /sbin unless BINDIR is overridden 1997-04-01 00:52:37 +00:00
mellon a79541acb5 Must include bsd.obj.mk to get __objdir before testing it 1997-04-01 00:50:12 +00:00
mellon 012ad58baa use ${__objdir} instead of obj - pointed out by Matt Ragan 1997-03-31 23:50:17 +00:00
jonathan f9d83c5401 Update sbin and usr.sbin Makefiles for mountd, nfsd, nfsiod in /usr/sbin. 1997-03-31 23:48:11 +00:00
mellon a3962d667b Import a couple of NetBSD fixes from CGD 1997-03-31 23:45:45 +00:00
fvdl f7d4d2acec Split handling reserved port handling for NFS rpcs and mount rpcs up;
-noresport -> -noresvport, and new option: -noresvmnt

Include a warning in the exports manual page on how -alldirs does
not guarantee that all accesses from a client stay below the mounted
subdirectory.
1997-03-30 20:53:31 +00:00
veego d21fe25380 Add missing .include "${.CURDIR}/../../Makefile.inc"
otherwise the binaries are installed into / instead of /usr/sbin
1997-03-30 12:00:33 +00:00
mellon 55622d465e Small but significant bug fix from ISC code 1997-03-29 23:57:54 +00:00
mellon 2a0680d372 Obsoleted by new dhcp/ tree 1997-03-29 23:27:49 +00:00
mellon 89c5dd24ac Obsoleted by new dhcp/ tree 1997-03-29 23:24:49 +00:00
mellon 19fea7dfee Build dhcp, not dhcpd. 1997-03-29 23:22:39 +00:00
mellon 6d30ac6583 Move common declarations to single file 1997-03-29 23:20:52 +00:00
mellon 8814b58c39 Top-level BSD-style Makefile 1997-03-29 23:19:13 +00:00
mellon 1f376e9eef Not needed by NetBSD 1997-03-29 23:17:25 +00:00
mellon 33d15ff158 Move common declarations to single file 1997-03-29 23:09:00 +00:00
mellon 97241bca9e Not needed by NetBSD 1997-03-29 23:00:38 +00:00
mellon 0c5591b0e4 BSD needs makefile to install client script 1997-03-29 22:46:12 +00:00
mellon c835f908cb BSD-style Makefile 1997-03-29 22:45:09 +00:00
mellon 3658d198d1 Not needed by NetBSD 1997-03-29 22:44:52 +00:00
mellon 8b59da0ca0 BSD-style Makefile 1997-03-29 22:28:44 +00:00
mellon bbdaa0dea3 Not needed by NetBSD 1997-03-29 22:27:46 +00:00
mellon a2dbbb23a4 BSD-style Makefile 1997-03-29 22:25:08 +00:00
mellon 2b041c374a Not needed in NetBSD 1997-03-29 22:24:43 +00:00
mellon 5432e7db26 Don't need bogus non-BSD Makefile 1997-03-29 22:17:30 +00:00
mellon 1d8d24c579 BSD-style makefile for libdhcp.a 1997-03-29 22:17:08 +00:00
mellon 2a70b408dc Not needed in NetBSD 1997-03-29 22:08:11 +00:00
mellon 78832e06d1 Not needed by NetBSD 1997-03-29 22:06:45 +00:00
mellon f5aacd55fe March 29 snapshot 1997-03-29 21:52:15 +00:00
thorpej c18ae5ec1d Bring this in touch with reality. 1997-03-29 20:28:17 +00:00
thorpej 9620a4f12a remove unneeded -I directive from CFLAGS 1997-03-29 20:23:31 +00:00
thorpej 7d74a4ae8d remove unneeded -I diretive from CFLAGS 1997-03-29 20:19:48 +00:00
thorpej 2acf8851b4 remove unneeded -I directive from CFLAGS 1997-03-29 20:07:26 +00:00
thorpej 6acb22838b Remove unneeded -I directive from CFLAGS. 1997-03-29 20:00:36 +00:00
thorpej 2e11c06394 - Use IPL_NAME defined in <netinet/ip_fil.h>
- Make these compile in light of is-newarp
1997-03-29 19:49:02 +00:00
darrenr fa592ade6f fixup changes from import 1997-03-29 04:31:10 +00:00
darrenr e7fbefddb2 add extra ipfilter programs 1997-03-29 04:30:30 +00:00
darrenr 4632a3d666 add extra directories to CFLAGS and PATH to pickup all the required .h and .c
files for these programs.
1997-03-29 04:28:28 +00:00
darrenr e8fb8bd3a9 Properly import usr.sbin/ipf updates 1997-03-29 02:49:40 +00:00
thorpej 91d0b1474b Resolve conflicts from import of 3.2alpha2. 1997-03-28 21:54:38 +00:00
christos cc117ae3ac Don't keep trying getpwuid(0) when ll_time == 0! This brings down the
execution time from 5 minutes -> 1 second in our password file.
1997-03-27 17:25:49 +00:00
darrenr fe3bc025d0 Bring in entire 3.2alpha2 source tree 1997-03-27 15:13:58 +00:00
cgd 34732bad50 log date changes to wtmp, in the same way that 'date' does. 1997-03-26 21:12:58 +00:00
thorpej 87ca1d62e0 Print Ethernet and FDDI addresses in the same format as ether_ntoa().
From Matt Thomas <matt@3am-software.com>
1997-03-26 01:49:44 +00:00
is 45ae7d19f3 Mention correct PID file location. 1997-03-25 16:06:55 +00:00
thorpej fcab4c339d RCS id police. 1997-03-25 03:06:58 +00:00
christos 0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
fvdl 4df5a6390b Checking for the use reserved ports by clients (both for mount/umount
and individual NFS requests) now depends on the '-noresport' option
in the exports file. Checking for reserved ports is the default.

The -n option has become obsolete but is maintained for backwards
compatibility.
1997-03-23 20:58:14 +00:00
cgd b241147c80 fix some u_long vs. u_int32_t bogons in uses of nameserver lookup results. 1997-03-23 00:48:15 +00:00
lukem 789002a23e use O_EXCL with O_CREAT when making the temporary db files 1997-03-22 03:32:36 +00:00
lukem cd08442b0d use O_EXCL with O_CREAT when making the tempfile 1997-03-22 03:20:38 +00:00
mycroft 14656f0069 Don't attempt to use libwrap for `stream wait' services, where
we only have the listening socket.
1997-03-19 00:05:05 +00:00
mycroft 95c740d58b Oops; for waiting stream services, we don't do an accept(); we
pass down the fd of the listening socket.
1997-03-18 04:47:22 +00:00
veego 80109470c6 s/if_ether.h/if_inarp.h/ 1997-03-17 10:39:53 +00:00
cjs ec30dbdca7 Added mopd. 1997-03-17 00:02:02 +00:00
cjs ed137f7c05 Import of Mats O Jansson's MOP boot program for DEC machines. 1997-03-16 22:23:34 +00:00
veego 3a388c65c6 s/if_ether.h/if_inarp.h/ 1997-03-16 17:20:48 +00:00
is 00cef679df New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:37:27 +00:00
perry 729632280d transations -> transactions per pr 3333 from SAITOH Masanobu 1997-03-14 23:24:23 +00:00
perry 2b46e80f93 transations -> transactions per pr 3333 from SAITOH Masanobu 1997-03-14 23:23:24 +00:00
jtk 0b044b117e . NULL terminate the list of locator names on each attachment
. link to the list of locator names from each entry in cfdata[] (for
future use by programs to print out the device tree nicely and/or
for boot-time configuration tools)
1997-03-14 22:54:08 +00:00
leo 0b28c6c0b1 Don't dump when a non-existent root device is specified. (missed a
param to error()).
1997-03-14 20:43:05 +00:00
mycroft 6ebf01d197 Output a + line for the tcpmux `help' service, and list itself. 1997-03-14 03:18:25 +00:00
christos 95e251ee4e Better fix for the va_list problem from paulus. 1997-03-14 01:53:29 +00:00
mycroft 16cc2efbbd Change _PATH_MASTERLOCK to /var/run/lpd.pid. 1997-03-14 01:17:34 +00:00
jtk 0f6d8d88b8 Add hash table walking functions to emit manifest constants for locator
offsets within cf->cf_loc[].
Also include locator names as strings in ioconf.c.

Still to do: wire the locator names into the cfdata.
1997-03-14 00:14:09 +00:00
mycroft b860cb428b Move all of the libwrap checking and subprocess startup into a separate
function.  Arrange for tcpmux() to be called like other builtins, and have it
call the aforementioned function recursively.  This allows tcpmux to be
wrapped, and always runs it after forking, so we don't freeze everything
else.
Also, use FD_CLOEXEC to close file descriptors, rather than iterating through
them ourself.
1997-03-13 20:15:04 +00:00
christos 28b883a7db put back filtering options, and rcsid police. 1997-03-13 19:08:15 +00:00
christos aae03a189a Fix for the void * arg hack; reported by cgd 1997-03-13 19:05:51 +00:00
mycroft a68a078f3e Fix typo. 1997-03-13 18:39:50 +00:00
mycroft 51fa5e9be7 Make the previous dependent on LIBWRAP_INTERNAL, which is not defined by
default.
1997-03-13 18:36:35 +00:00
cgd f919d5c499 fix an 'if' that could never be true to do what it really meant to do. 1997-03-13 18:23:19 +00:00
mycroft 249eced8da If we forked for an internal service, make sure we always exit afterward. 1997-03-13 18:19:35 +00:00
mycroft df6ec691b5 If we're using libwrap. always fork. This only affects the time and daytime
services anyway.
1997-03-13 18:08:19 +00:00
mycroft cf5f8c252d Slight rearrangement to forking code. Also, always close the new descriptor
after a fork failure, even for a waiting service.
1997-03-13 18:06:15 +00:00