Commit Graph

1903 Commits

Author SHA1 Message Date
lukem c0495ebb45 nuke register & unnecessary extern's, factor out common code 1997-10-07 14:39:06 +00:00
lukem dc497bdd46 cleanup typos, grammaros, thinkos, and misuse of mdoc macros 1997-10-07 14:23:50 +00:00
thorpej 738a90b1b7 Build sup. 1997-10-07 01:36:21 +00:00
thorpej b7b213b4f5 Add a README describing how to build this on a non-NetBSD system (yes,
that's actually useful :-) using the Makefile in the source/ subdirectory.
1997-10-07 01:33:30 +00:00
thorpej b92a5b9b37 Add NetBSD Makefile infrastructure for building the sup programs. 1997-10-07 01:31:07 +00:00
thorpej 42d99e64c5 Garbage-collect the USE_CRYPT stuff. 1997-10-07 01:27:14 +00:00
hubertf c6393b5c9a Fix off-by-one error, closing PR bin/4067 by myself. 1997-10-07 01:24:05 +00:00
enami b6cd49460e Document -h flag, option to manupilate symbolic link. 1997-10-06 13:33:54 +00:00
enami 7bb0a4feb9 Change the noop flag -h to do the real work. Now if -h is given,
owner/group of symbolic link is changed.
1997-10-06 13:28:00 +00:00
lukem 07e169df74 add mkalias & revnetgroup 1997-10-06 06:55:50 +00:00
lukem 7307c9a9a5 KNF & WARNSify 1997-10-06 06:54:09 +00:00
lukem 6a8388c539 - KNFify
- cleanup for WARNS
- cleanup man page
1997-10-06 06:10:15 +00:00
lukem 42f1aa0434 revnetgroup - generate extra netgroup maps for YP 1997-10-06 05:01:30 +00:00
lukem 56b7c4c7c7 mkalias - generate YP version of sendmail aliases 1997-10-06 04:59:13 +00:00
lukem e14f5c8e03 clarify that "domainname" in various pathnames is the actual domain name 1997-10-06 01:20:15 +00:00
lukem a2de9f91bf use WARNS?=1 not WARNS=1, cleanup manpage 1997-10-06 00:57:08 +00:00
lukem b34611f260 use WARNS?=1 not WARNS=1 , cleanup manpage typo 1997-10-06 00:52:51 +00:00
lukem af8294fc63 - WARNS?=1 not WARNS=1
- fix .Nm usage
1997-10-06 00:33:18 +00:00
lukem 132501b5d3 rcsid facism 1997-10-06 00:08:43 +00:00
mrg 1bb06f8aab fix alpha compile warnings. 1997-10-05 16:45:43 +00:00
mrg 2d06dcebcd WARNS?=1 1997-10-05 16:40:24 +00:00
mrg 7d7091ccdd merge lite2 [actually, just update ucb sccs id's] 1997-10-05 16:16:10 +00:00
mrg d66fe73851 in rcleanup() don't unlink() the dfname if it contains a /. noted
by matt power <mhpower@mit.edu>.
1997-10-05 15:21:46 +00:00
mrg fe7ed7ce37 - WARNS?=1
- be safe with unlinking files (from freebsd)
- remove register
- clean up $NetBSD$'s.
- use inet_ntoa() in one place (from openbsd)
- nul terminate after a bunch of strncpy()'s
- #ifdef __STDC__ rather than #if (from freebsd)
- be safe with a bunch of string operations (from freebsd)
- use warn()/err() over home grown versions (some from freebsd)
- rename warn() to nodaemon() to remove conflict with above
- check errno from failed kill(2) against ESRCH (from freebsd)
- use getopt() rather than home grown versions (from freebsd)
- clean up a bunch of man pages (some from freebsd)
- check for hostname spoof (from freebsd)
- use POSIX wait() interfaces
- use sysconf(_SC_OPEN_MAX) in preference to NOFILE (from freebsd)
- deal with fork() failure
- index/rindex -> strchr/strrchr (some from freebsd)
- add B57600 and B115200 speeds (from freebsd)
- some KNF
- be safe with files passed in over the network (some from freebsd)
- check return value of malloc(), calloc() and strdup()
1997-10-05 15:11:58 +00:00
mrg 90778e67aa add rcsid, use FILES, etc., in Makefile. 1997-10-05 12:48:35 +00:00
mrg bf7db08c40 freebsd's lp frontend for lpr 1997-10-05 12:40:42 +00:00
mrg cf3fe2a0b6 oops; did not mean to import these. 1997-10-05 12:35:50 +00:00
mrg e6a91a0997 merge 4.4 lite2 1997-10-05 11:52:17 +00:00
mrg e5d28dbbe3 lite-2 1997-10-05 11:20:29 +00:00
christos f2a271f76d Make imports easier. 1997-10-04 16:33:04 +00:00
christos 89ab9fcd0f Fix conflicts. 1997-10-04 16:31:24 +00:00
mrg 3bf140db34 merge BIND 4.9.6 1997-10-04 15:11:25 +00:00
mrg 25916a62c6 BIND 4.9.6 1997-10-04 14:08:21 +00:00
christos 313a9cff6b Import LBL's traceroute-1.4a5 1997-10-03 22:25:12 +00:00
christos 0382099526 Revert decrementing the length too early; this was broken before the merge... 1997-10-03 20:38:03 +00:00
christos f9b3c069f3 Import assistance. 1997-10-03 20:04:32 +00:00
christos b03548c3bc Resolved conflicts. 1997-10-03 19:54:07 +00:00
christos f42c6d42a2 Import LBL's tcpdump 3.4a5 1997-10-03 17:24:11 +00:00
mikel 7e0384f892 replace -W flags in CFLAGS with WARNS?=1, cleanup 1997-10-03 05:39:03 +00:00
mikel f06175c4c6 apm is new in 1.3, update HISTORY to say so 1997-10-03 05:37:05 +00:00
lukem ac64718550 - build common/* once, into a library, rather than recompiling each of
the files multiple times in the other subdirectories (saves about
  10% on compilation time)
- clean up the manual pages
1997-10-02 14:16:12 +00:00
enami 3aeffdc83c - Xref opendisk(3).
- Refer vnode disk as vnd0 instaed of vnd0c.
- Rename argument to specify vnode disk from special_file to vnode_disk.
- Explain that vnode_disk is a special file or name like vnd0.
- Add one example which uses vnd0 instead of /dev/vnd0c.
1997-10-01 01:32:59 +00:00
christos 16848faf66 PR/4145: Dave Huang: pppd unable to change interface addr when demand dialing
w/unspecified local address
1997-09-30 16:45:16 +00:00
scottr dbeee4956b Implement the -T flag, used to (optionally) specify the kernel text
start address for a.out executables.  This is useful in the case that
kernel text starts in the second physical page, in which case the
clever hack to work around the problem is defeated.

This option was patterned after the -T flag documented in the ld(1)
man page.  (It does not support the undocumented '-Ttext <addr>'
usage, however, since that would require a parser or getopt(3) hacks.)
1997-09-30 06:20:16 +00:00
christos 6a39b449bc Add back the NetBSD specific lack of ppp in kernel message, and remove a
NetBSD1_2 ifdef
1997-09-29 19:05:53 +00:00
christos ac0debcff2 Set clocal while processing chat scripts [this was changed on 2.3.1 and
broke all existing chat scripts].
1997-09-29 16:57:51 +00:00
enami 24a227ce40 In the function config(),
- Back to use `rdev' which the name of raw partition, since now opendisk(3)
  initializes `buf' except in very trivial case (it is `buf' is NULL).
- Use `rdev' instead of `dev' in verbose output.
- Output `rdev' when warn ioctl failure.
1997-09-29 06:43:14 +00:00
enami 9babafd737 In the function config(),
- Use `dev' instead of `rdev' to warn, since latter may not initialized.
- Don't use device file name as a format of warn().  Instead, pass "%s"
  explicitly.
1997-09-29 05:44:19 +00:00
enami 7dcf4bfe8e Use opendisk(3). 1997-09-29 05:24:24 +00:00
christos 2f3fcf9d35 Enable CBCP support by default. 1997-09-29 03:53:38 +00:00
christos 64b94f4c92 PR/2705: Jim Bernard: pppd exits with 0 error code when connection fails 1997-09-29 03:52:37 +00:00
christos 3e6d71d911 We don't have if_ether.h... 1997-09-26 20:28:47 +00:00
christos d9447f387e From Stephen Ma, discussed in tech-net and verified by paulus
mru computation was off-by-one
1997-09-26 20:24:12 +00:00
christos 16f22c5efc remove unused variable 1997-09-26 20:23:00 +00:00
christos a5eb79afe9 PR/4136: Geoff Wing: pppd writes wtmp, but not lastlog. 1997-09-26 20:22:26 +00:00
christos 6272590b95 Fix gcc warnings. 1997-09-26 20:14:42 +00:00
christos 651d523cbe Resolve conflicts 1997-09-26 19:52:08 +00:00
christos b94f88cd02 PR/4141: Daniel Hagerty: DTRT with appletalk. 1997-09-26 18:12:35 +00:00
christos c1b53cf091 Fix remaining warnings. 1997-09-26 17:08:09 +00:00
christos 5d124d82c6 Resolve conflicts; Damned RCSid's... I should fix the amd2netbsd script
to strip them.
1997-09-26 16:59:40 +00:00
christos 04c4910102 Import am-utils-6.0a12 1997-09-26 16:05:48 +00:00
fair 99d14e3181 correct man page pathnames to reflect reality, per PR#4148 1997-09-25 06:49:59 +00:00
thorpej d10050d5b9 sizeof() returns a size_t which is an unsigned long on the Alpha. We have
to use %lu and a cast to u_long to print these in a portable way.
1997-09-25 01:45:14 +00:00
pk 2d32cc7658 Only reap children that are ready to be reaped from the SIGCHILD handler
(PR#4143; Uwe Arndt).
1997-09-24 13:22:06 +00:00
jeremy fe56753f5e Add sun3x to the list of machines using this program. 1997-09-24 07:22:37 +00:00
veego c219cd3ba0 Restore revision 1.3: 'make depend' needs a config_local.h in the SRCS=
line of libamu/Makefile
1997-09-23 08:46:25 +00:00
veego 1a9080a871 Restore one change from revision 1.4: 'make depend' needs a config_local.h
in the SRCS= line of libamu/Makefile
1997-09-23 08:40:57 +00:00
mrg ddc2dd4f02 be safe with buffers, from dholland@eecs.harvard.edu in pr#4138 1997-09-23 07:28:29 +00:00
christos 2903fbdf71 Resolve conflicts. 1997-09-22 22:09:51 +00:00
christos 30d4fdf78e Import am-utils-6.0a11 1997-09-22 21:11:12 +00:00
christos 1b45de5df5 String overflow bugs (from OpenBSD) 1997-09-22 13:57:36 +00:00
veego 968d3837cd We no longer need this header file. 1997-09-21 18:13:28 +00:00
veego c505e9ce05 GC. 1997-09-21 18:12:01 +00:00
veego 4508fb4354 Resolve conflicts from the merge of ipf 3.2beta5. 1997-09-21 18:00:54 +00:00
veego 6a116d459c Resolve conflicts from the merge of ipf 3.2beta5. 1997-09-21 17:02:33 +00:00
veego 985ac74a98 Import ip-filter 3.2beta5 1997-09-21 16:47:50 +00:00
veego 4f72ff44fd Changes for ipf 3.2beta5:
- Add the main Makefile and Makefile.inc for src/usr.sbin/ipf
- New rules subdirectory
- Remove a include directory from ipftest/Makefile
- Add a MLINKS for ipnat.5 -> ipnat.conf.5
- Add new Manpages: ipresend.1, ipsend.1, ipsend.5, iptest.1
- Add new iplang files for src/usr.sbin/ipf/ipsend
- Copy the tcpip.h. It has now a BSD license and remove a comment about it
- Add ip_log.c to sys/lkm/netinet/Makefile
- Add *.y and *.l files to the list of transformed files
- Remove the ipsend.h fix because we now use only one ip_compat.h
- Fix file and directory permissions during the import
1997-09-21 16:34:31 +00:00
mikel c833d17bf1 xref rmail(8) not nonexistent rmail(1) 1997-09-20 06:02:44 +00:00
mikel f1b4d4127e fix xrefs: signal(2) -> signal(3), syslog(8) -> syslog(3) 1997-09-20 05:16:29 +00:00
christos 6807fc37b2 Fix uninitialized variable 1997-09-19 21:22:38 +00:00
leo a539aec784 Commit userland part of pr-1891. 1997-09-19 19:17:17 +00:00
lukem a9c0a86a3c fix .Nm usage 1997-09-16 13:10:29 +00:00
lukem 375567dca2 * resolve conflicts from lite-2 merge
* cleanup for WARNS=1
1997-09-16 13:07:59 +00:00
lukem ea2eef1424 resolve conflicts 1997-09-16 03:13:18 +00:00
mrg f4d8afa436 make a link from ipf.5 to ipf.conf.5 1997-09-16 02:06:41 +00:00
enami 241ba6ead1 If f->f_type is F_FORW, don't close f->file. 1997-09-15 03:25:42 +00:00
lukem aa125494d1 - use .Nm instead of .Xr
- don't refer to the command as /sbin/mountd - it's not there anymore
1997-09-14 02:26:14 +00:00
enami 747812c50c Store constant `F_UNUSED' into the right place f->f_type
rather than f->f_file.
1997-09-13 07:53:10 +00:00
cjs 25e1ee9531 Sendmail 8.8.7 merge. 1997-09-09 06:35:00 +00:00
cjs c75d7d513a Sendmail 8.8.7 import. 1997-09-09 06:19:07 +00:00
mikel f13c41584f add missing newline in usage(); from Hubert Feyrer in PR bin/4064 1997-09-08 03:18:19 +00:00
mikel 312c78327b kill excess newlines in debug output; from Enami Tsugutomo in PR bin/4076 1997-09-08 02:21:52 +00:00
veego 2e55dbcfd0 Sync it for libamu/Makefile. 1997-09-07 21:56:12 +00:00
fvdl d2200ee791 Add missing argument to 2 warnx() calls. From <msaitoh@spa.is.uec.ac.jp>,
PR 4086.
1997-09-05 10:52:10 +00:00
is 3845c4168d Make it recognize ICMP_UNREACH_ADMIN_PROHIBITED (type 13) as !A, and print
!{number} for unknown numbers.
This patch is part of PR 4038 by Havard Eidnes <he@vader.runit.sintef.no>,
who in turn did loosely base his patch on the FreeBSD 2.2.2 version.
1997-09-02 21:48:50 +00:00
mikel 31cff31e63 use correct name for default accounting file; from Hubert Feyrer in
PR bin/4063.
1997-09-01 23:32:45 +00:00
lukem 77735b9c46 update for WARNS?=1
check getopt() against -1 not EOF
1997-08-28 08:09:53 +00:00
lukem 5010818f51 Prevent info gathering attacks by returning EACCES when a directory
doesn't exist as well as when there aren't enough privileges.
As highlighted on BUGTRAQ.
1997-08-28 05:49:15 +00:00
mikel 480894feb2 xref sliplogin(8), not nonexistent sliplogin(1) 1997-08-27 07:59:19 +00:00
thorpej aeeac5d7fd Fix usage with NIS+ servers in NIS compat mode, which was lost in the
last amd update.  From Matthieu Herrb <matthieu@laas.fr>, PR #4023.
1997-08-26 19:47:19 +00:00