Commit Graph

6893 Commits

Author SHA1 Message Date
Jesper Skriver
12417ed619 MFC candidate
Change the default mode from ad-hoc to
infrastructure, as noted in

src/share/man/man4/an.4 rev 1.8
2001-03-30 16:32:52 +00:00
Ruslan Ermilov
42037fc8b4 `buildopts' may affect the selection of object files.
Make sure we pass $(BUILDOPTS) to the `clean' target
so that `make clean' works on the same set of object
files.  Otherwise, we may end up with an incorrectly
built and up-to-date object file.
2001-03-30 08:04:25 +00:00
Jordan K. Hubbard
847c1df2db Correct message to say "shutting down" rather than just "shutting"
Noticed by:	Joachim Strömbergson <watchman@ludd.luth.se>
2001-03-29 19:56:20 +00:00
Jeroen Ruigrok van der Werven
2baf30741f Change NO_MAKEDEV to a finer granularity method:
NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN.  The former implying the latter.
The names imply what they do.  The last commit by DES based on a PR defeated
the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do
the installation of MAKEDEV.  This should satisfy both parties on the MAKEDEV
challenge.
Reflect this in mergemaster, this might later on be decided to be set to
NO_MAKEDEV_INSTALL, for now I kept to the old behaviour.
2001-03-29 14:04:19 +00:00
Jeroen Ruigrok van der Werven
723f7e3025 Change NO_MAKEDEV to a finer granularity method:
NO_MAKEDEV_INSTALL and NO_MAKEDEV_RUN.  The former implying the latter.
The names imply what they do.  The last commit by DES based on a PR defeated
the original idea behind NO_MAKEDEV, which was not to run MAKEDEV, but to do
the installation of MAKEDEV.  This should satisfy both parties on the MAKEDEV
challenge.
Reflect this in the documentation.
2001-03-29 14:03:29 +00:00
Ben Smithurst
e9d43b279b Kill vn related manual pages, they're not used any more.
Approved by:	phk
2001-03-29 11:36:46 +00:00
Dima Dorfman
06bd820586 Note that the -v option is not supported. Don't remove the actual
text because the code is still in pstat.c, and may be reincarnated at
some point.

PR:		26054
Approved by:	nik
2001-03-29 01:46:20 +00:00
Ben Smithurst
2ddc192fc0 Fix some minor nits:
IEEE802.11 -> IEEE 802.11
(infrastructure) mode. -> (infrastructure mode).
place of ".".

PR:		25985
Submitted by:	SUZUKI Koichi <metal@vc-net.ne.jp>
2001-03-29 00:12:01 +00:00
David Malone
d517199f44 Allow ident requests with trailing junk following the terminating "\n".
Reviewed by:	ben
Approved by:	green
2001-03-28 13:41:19 +00:00
Brian Somers
dc744e1949 Bring the PPPoE interface UP if required
Suggested by: archie
2001-03-28 09:45:27 +00:00
Dima Dorfman
59f0a6b75e Mention that the vga(4) driver supports 90-column video modes.
PR:		26050
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
Approved by:	nik
2001-03-28 02:32:10 +00:00
Brian Somers
e0f2c6088b Add some comments to two examples and extend a ``set ifaddr''. 2001-03-28 00:23:30 +00:00
Bill Paul
8de34b2541 Finally fix __yp_ping(). We can't use the old locally defined clntudp_call()
method anymore since the code inside the RPC library has changed too much.
Now that the clnt_dg module has the necessary code internally, we can yank
out the local method code and turn on the ASYNC hack with clnt_control().
This will make the -m flag work again.
2001-03-27 21:29:31 +00:00
Chris Timmons
5c620e2dad Document LOG_CONSOLE. 2001-03-27 19:55:53 +00:00
David E. O'Brien
e24c7ced13 Mirror the newfs(8) defaults change I made in rev 1.33 of newfs.c where
I made `22' the default number of cylinders per group.
2001-03-27 17:05:23 +00:00
Ruslan Ermilov
03c47dc9cd Fix LDADD and add missing DPADD. 2001-03-27 16:45:16 +00:00
Alfred Perlstein
8f15078110 give the "netgrent" functions a home in netdb.h 2001-03-27 09:49:03 +00:00
Ruslan Ermilov
345e52e742 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
0a5779d45b - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
Maxim Sobolev
0c8923e54b Decapitalise first letter of warning message. 2001-03-26 09:57:26 +00:00
Maxim Sobolev
9d90a8d714 In which(1) mode resolve "/../", "/./" in arguments and PLIST contents. This
is done without realpath() to avoid symlinks resolving.

Submitted by:	sobomax, Garrett Rooney <rooneg@electricjellyfish.net>
2001-03-26 09:31:41 +00:00
Alfred Perlstein
e0a509bb08 Don't call daemon() and setup our signal handlers until after we check
and do the unregister/reregister work.

Don't call syslog in the unregister/reregister code as we haven't called
openlog() yet.

Be a more conservative about accepting errno values from socket(2),
only EPROTONOSUPPORT means that the kernel isn't supporting it
something like INET6.  The other possible errnos would be returned
if there was a mistake in the socket(2) call so remove them from the
list of "acceptable" return values.
2001-03-25 23:32:55 +00:00
Alfred Perlstein
69444aa31b Disable ipv6 when getnetconfigent("udp6"/"tcp6") fails.
Submitted by: Martin Blapp <mb@imp.ch>
2001-03-25 23:28:03 +00:00
Brian Somers
2da5df67a7 Issue a ``quit'' after other ppp commands given on the command line and
then wait for the connection to be closed by the peer.

This means that commands such as ``pppctl ... show links'' will
display the correct output again (rather than truncating it depending
on how much data arrived in the last packet).
2001-03-25 20:06:08 +00:00
Alfred Perlstein
7b98a1d680 Replace pmap_unset() with rpcb_unset() which fixes the unregistering.
Submitted by: Martin Blapp <mb@imp.ch>
2001-03-25 19:59:07 +00:00
Alfred Perlstein
95b9973991 Deal with lack of IPv6 support gracefully.
Submitted by: Martin Blapp <mb@imp.ch>
2001-03-25 19:57:58 +00:00
Brian Somers
16004197c4 If we're adding an interface address that is already one of the interface's
aliases with the same netmask and destination, don't remove it and then
re-add exactly the same thing.

This means that static (non-sticky) routes that use the interface address
(or destination address) as a destination will not suddenly evaporate when
IPCP comes up (not unless the negotiated IPs have changed anyway).
2001-03-25 01:34:27 +00:00
Satoshi Asami
b44318d3c2 Add new categories science and ukrainian. 2001-03-24 21:52:25 +00:00
David E. O'Brien
ca7d5f8ab6 Revert the warning elimination in rev 1.292. It breaks the Alpha build with:
/usr/src/usr.sbin/sysinstall/menus.c:1323: initializer element is not computable at load time
/usr/src/usr.sbin/sysinstall/menus.c:1323: (near initialization for `MenuNetworking.items[9].aux')
2001-03-24 17:28:06 +00:00
Jordan K. Hubbard
fb52a2c4e1 Preserve ssh directory across upgrades.
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
PR:		conf/25633
2001-03-24 05:40:43 +00:00
Jordan K. Hubbard
386deae89c afterstep doesn't need an explicit xterm started for it either. 2001-03-24 03:17:35 +00:00
Jordan K. Hubbard
7257af7aa3 s/dependant/dependent
Submitted by:	rwatson
2001-03-24 01:26:51 +00:00
Alfred Perlstein
d85036cec8 revert rev 1.3: restore MAN1 directive to unbreak world 2001-03-24 01:17:51 +00:00
Maxim Sobolev
c805813625 - Add which(1)-like functionality into pkg_info;
- fix a harmless bug in match_installed() function introduced in my last
  commit;
- uniformely reorder includes across files.

Submitted by:		Garrett Rooney <rooneg@electricjellyfish.net>
Not objected by:	jkh, -ports
2001-03-23 18:45:24 +00:00
Bruce Evans
f1f3ee06b3 Fixed style bugs (use normal formatting for assignment, and don't override
the correct default for MAN1).
2001-03-23 13:47:46 +00:00
Brian Somers
1f39538d63 Quote PPP_CONFDIR in CFLAGS 2001-03-23 13:28:28 +00:00
Brian Somers
7a66a36d2a Change _PATH_PPP to PPP_CONFDIR and allow it to be overridden at compile time 2001-03-23 11:43:22 +00:00
Jordan K. Hubbard
4f2348e52e Make wizard mode get out of raw mode first before going interactive with
the user.

Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
PR:		bin/24061
2001-03-23 08:26:43 +00:00
Jordan K. Hubbard
468255abf1 Fix a bug with setting the soft updates option from a script.
Eliminate an old warning brought about by insufficient foresight when creating
the Menu structure.  Have I ever mentioned that sysinstall really needs to
be rewritten?
2001-03-23 08:06:19 +00:00
Jordan K. Hubbard
6a74b0f7e2 Switch from lynx to "links" as the default doc browser.
Submitted by:	jim
2001-03-23 07:53:45 +00:00
Ian Dowse
bae528bab5 Add missing specification of the `-s' option to the usage line.
PR:		bin/26004
Submitted by:	ushida@msa.biglobe.ne.jp
Reviewed by:	rnordier
2001-03-22 22:55:13 +00:00
Alfred Perlstein
392df6bce7 Remove struct cmessage from sys/socket.h and reintroduce the private
definitions.

Requested by: wollman
2001-03-22 20:43:13 +00:00
Andrey A. Chernov
21b3f5311a Unbreak world by removing struct cmessage already define in sys/socket.h 2001-03-22 18:18:32 +00:00
Jordan K. Hubbard
2feddabf1d Include docs with "default X dist" so XF86Config won't complain about it. 2001-03-22 05:36:54 +00:00
Jordan K. Hubbard
8eea31b1d5 Don't install Kerberos stuff if user has selected minimal or "user"
modes.
2001-03-22 05:33:15 +00:00
Alfred Perlstein
4ed6d63483 Hopefully fix some of the bugs in passing credentials over UNIX domain sockets.
Make struct cmessage visible from socket.h (about 4 places were
defining it for themselves which wasn't good)

Make __rpc_get_local_uid() useable and give it prototype that's
visible.

Fix some issues with printing out usernames from rpcbind and keyserv.
2001-03-22 04:31:30 +00:00
Robert Watson
2f7aab1c26 o Remove BINMODE=0550 -- no need to restrict execution rights as the
authorization check is on /dev/{,k}mem.
o Update man page to reflect requirement that gid kmem privileges must
  be held, not root.  (submitted by: peter)
2001-03-22 04:27:46 +00:00
Robert Watson
a8ee378010 o Strip BINMODE from Makefile. Installing watch with 0500 provides no
added security benefit, as it doesn't provide extra privilege.
  Protection against inappropriate snooping is done by protecting
  /dev/snp* properly.
2001-03-22 04:10:51 +00:00
Bill Paul
d0230d0442 ypserv has intimate knowledge of the server transport handle which is
needed to make the asynchronous DNS lookup mechanism work. (It needs to
be able to get/set the transaction ID in the trasport handle so it can
deliver a delayed UDP response when a reply is received from a DNS
server.) With TI-TPC, the transport handle has changed slightly (what
used to be an int is now a size_t) so we need to account for this.
2001-03-21 23:47:18 +00:00
Andrey A. Chernov
b01e74b72e Use %c for expire/change dates 2001-03-21 13:46:09 +00:00