Commit Graph

6166 Commits

Author SHA1 Message Date
ache
7a44ca40ed Remove unneded -lmytinfo 2000-09-16 03:33:00 +00:00
iwasaki
294b957fa6 Fix typo (rc.conf -> pccard.conf).
Submitted by:	OKAZAKI Tetsurou <okazaki@be.to>
2000-09-15 19:17:40 +00:00
jkh
7d9eed4530 Correct variable check for VAR_TRY_DHCP. 2000-09-15 08:15:14 +00:00
ache
d58c3debc9 Restore standard symlink default, return -L, remove -P, add missing -q to getopt
This is part of whole subsystem fixing

Reviewed by:	imp
2000-09-15 08:05:37 +00:00
bmah
829e892a2e pkg_version(1) will now distinguish between the different cases where
the exact relationship between an installed package and its
corresponding entry in the index file can't be determined.

Submitted by:	Mark Ovens <marko@freebsd.org>
2000-09-15 04:16:20 +00:00
iwasaki
5bb6e489c0 Add manpages acpi userland tools.
Obtained from:	ACPI for FreeBSD project
2000-09-14 22:48:39 +00:00
brian
b48cc31f09 Fix some style nits 2000-09-14 22:03:13 +00:00
brian
54bef4135c Support PPPoATM, disabled for now as /usr/include/netnatm doesn't exist
Submitted by: Jakob Stoklund Olesen <stoklund@taxidriver.dk>
2000-09-14 22:02:54 +00:00
brian
3ca5232d93 Understand IPPROTO_ESP and IPPROTO_AH packets
Submitted by: Angelos D. Keromytis <angelos@dsl.cis.upenn.edu>
2000-09-14 18:01:54 +00:00
brian
4484d23ba7 Another overhaul of the periodic stuff.
All periodic sub-scripts <larf> now have their return codes interpreted
by periodic(8).  Output may be masked based on variable values in
periodic.conf.

It's also now possible to email periodic output to arbitrary addresses,
or to send it to a log file, examples of which can be found in
newsyslog.conf.

The upshot of it all should be no discernable changes to the default
behaviour of periodic(8).

PR:	21250
2000-09-14 17:19:15 +00:00
bde
428d9ab0cb Fixed breakage of installation of kbdcontrol.1 in previous commit.
Fixed style bugs.
2000-09-14 05:29:42 +00:00
sheldonh
35614d23c5 Pass a useful pathname to rlink(). Many thanks to the PR originator
for all the debugging work.

PR:		21017
Reported by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
Submitted by:	Jos Backus <josb@cncdsl.com>,
2000-09-13 12:54:33 +00:00
dwmalone
ea825661fd Add kbdmap.5 to build.
Refer to kbdmap(5) from a few man pages.
Remove it from TODO list.
Add missing FreeBSD tags.

PR:		19260
2000-09-13 09:16:57 +00:00
dwmalone
8ce4a264b2 Man page for the file format accepted by "kbdcontrol -l".
PR:		19260
Reviewed by:	sheldonh
2000-09-13 09:02:07 +00:00
msmith
f3fe0adb52 Teach sysinstall about 'aac'. 2000-09-13 06:15:53 +00:00
gshapiro
07746c099a Allow users to add libraries for sendmail (e.g. Cyrus SASL)
Obtained from:	Sergei Vyshenski <svysh@pn.sinp.msu.ru>
2000-09-13 04:16:16 +00:00
rwatson
4161876ae1 o What a good idea, `-o'' should be a `-f'' like in every other
utility that is cautious but sometimes you want to be less
  cautious.  Go figure.

Submitted by:	sheldonh
2000-09-12 14:35:48 +00:00
rwatson
ea8dfc9145 o Add a ``-o'' argument to initattr, which causes extattrctl to overwrite
the existing attribute file rather than aborting with an error.
o Useful if you want to reset the state of attributes on the system without
  allocating different disk blocks through deletion and recreation,
  for example, if you're doing benchmarks of extended attribute code. :-)

Obtained from:	TrustedBSD Project
2000-09-12 04:40:34 +00:00
dwmalone
eeb5416b47 Add the ability to define a "shutdown" and "shutdown and poweroff" key
to syscons. I have a man page to follow describing the format of the
kbdmap file.

PR:		19273
Reviewed by:	sheldonh
2000-09-11 20:37:42 +00:00
bmah
b878458952 Arrgh. Back out a change used during debugging and fix a typo. 2000-09-11 18:25:12 +00:00
sheldonh
f3696ea83a Mark a path up with Pa. 2000-09-11 10:21:10 +00:00
sheldonh
2d2deaa14c Whitespace-only change: apply normal line breaking style. 2000-09-11 10:19:15 +00:00
kato
df75e73d46 Moved boot0cfg into IBM-PC only section (MACHINE=="i386").
Pointed out by:	nyan
2000-09-10 15:33:07 +00:00
bmah
b9a0a91943 Remove a workaround for a long-fixed bug in fetch(1).
Update URL for on-line Ports Collection INDEX file.
2000-09-09 21:45:19 +00:00
bmah
f974d44667 pkg_version.pl now understands the new package/port numbering scheme
introduced by version 1.349 of ports/Mk/bsd.port.mk and originally
submitted by kris.

In particular, it understands the $PORTREVISION (FreeBSD-specific changes
or patches to a port) and $PORTEPOCH (for re-sorting version numbers
when not used or when broken).
2000-09-09 21:28:06 +00:00
rnordier
92d82755e6 Provide correct information regarding "packet" option default.
PR:            20936
Originated by: obrien
2000-09-09 18:30:48 +00:00
rwatson
1e15252cd8 o When pre-allocating attribute storage space, also allocate space for
attribute instance headers, or higher inode numbers will require
  additional disk blocks to be allocated later.

Obtained from:	TrustedBSD Project
2000-09-07 20:32:31 +00:00
jkh
48a226d4c8 MFS: sync with -stable by removing the now-vestigal X_AS_PKG stuff. 2000-09-07 16:05:52 +00:00
brian
1c08fd2080 Spelling police
Submitted by:	des
2000-09-06 21:02:06 +00:00
nectar
748554442d Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
  functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
    . getgrent, getgrnam, getgrgid
    . getpwent, getpwnam, getpwuid
    . getusershell
    . getaddrinfo
    . gethostbyname, gethostbyname2, gethostbyaddr
    . getnetbyname, getnetbyaddr
    . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc.  rc.network has been modified
  to warn that host.conf is no longer used at boot time.  In addition, if
  there is a host.conf but no nsswitch.conf, the latter is created at boot
  time from the former.

Obtained from:	NetBSD
2000-09-06 18:16:48 +00:00
sheldonh
cd45fb7cb1 Add ftp.no.freebsd.org.
PR:		21068
Submitted by:	Martin Eggen <martin@copyleft.no>
2000-09-06 13:16:58 +00:00
jkh
1e310dc145 enable sshd by default. This only effects *new* installs, so
upgraders will not receive any unpleasant surprises.
2000-09-04 15:50:15 +00:00
sheldonh
a3f7b962cd Whitespace-only: remove the only hard sentence break in the file. 2000-09-04 08:58:41 +00:00
brian
f94d0c01f2 Don't use libutil now that setproctitle() is in libc 2000-09-02 20:52:15 +00:00
brian
c587741e5f Remove libutil - setproctitle() is now in libc 2000-09-02 20:42:19 +00:00
rwatson
e6a536221c Modify extended attribute protection model to authorize based on
attribute namespace and DAC protection on file:
	- Attribute names beginning with '$' are in the system namespace
	- The attribute name "$" is reserved
	- System namespace attributes may only be read/set by suser()
	  or by kernel (cred == NULL)
	- Other attribute names are in the application namespace
	- The attribute name "" is reserved
	- Application namespace attributes are protected in the manner
	  of the target file permission

o Kernel changes
	- Add ufs_extattr_valid_attrname() to check whether the requested
	  attribute "set" or "enable" is appropriate (i.e., non-reserved)
	- Modify ufs_extattr_credcheck() to accept target file vnode, not
	  to take inode uid
	- Modify ufs_extattr_credcheck() to check namespace, then enforce
	  either kernel/suser for system namespace, or vaccess() for
	  application namespace
o EA backing file format changes
	- Remove permission fields from extended attribute backing file
	  header
	- Bump extended attribute backing file header version to 3
o Update extattrctl.c and extattrctl.8
	- Remove now deprecated -r and -w arguments to initattr, as
	  permissions are now implicit
	- (unrelated) fix error reporting and unlinking during failed
	  initattr to remove duplicate/inaccurate error messages, and to
	  only unlink if the failure wasn't in the backing file open()

Obtained from:	TrustedBSD Project
2000-09-02 20:31:26 +00:00
n_hibma
827cc0ab25 Don't check for ohci/uhci to be loaded, check for the usb module. 2000-09-02 10:17:58 +00:00
brian
e9aa407589 libutil.h is no longer required for setproctitle() 2000-09-02 02:16:51 +00:00
brian
15ac2ddf3c libutil is no longer required as setproctitle() has moved to libc 2000-09-02 02:01:18 +00:00
sanpei
c1223233b1 fix multi io window patch(Rev. 1.48)
Submitted by:	iwasaki
Obtained from:	PAO3
2000-09-01 08:51:37 +00:00
iwasaki
2bbee59fc9 Activate acpi. 2000-08-31 15:12:23 +00:00
iwasaki
d15e4891fc This commit was generated by cvs2svn to compensate for changes in r65287,
which included commits to RCS files with non-trunk default branches.
2000-08-31 14:45:00 +00:00
iwasaki
53d00480b6 import amldb(8) from ACPI For FreeBSD project.
Obtained from:  ACPI For FreeBSD project
2000-08-31 14:45:00 +00:00
iwasaki
960c7c47e2 This commit was generated by cvs2svn to compensate for changes in r65285,
which included commits to RCS files with non-trunk default branches.
2000-08-31 14:42:32 +00:00
iwasaki
2e85c753ff import acpidump(8) from ACPI For FreeBSD project.
Obtained from:  ACPI For FreeBSD project
2000-08-31 14:42:32 +00:00
iwasaki
9aa790fd41 This commit was generated by cvs2svn to compensate for changes in r65283,
which included commits to RCS files with non-trunk default branches.
2000-08-31 14:41:23 +00:00
iwasaki
8b89c74a2f import acpiconf(8) from ACPI For FreeBSD project.
Obtained from:  ACPI For FreeBSD project
2000-08-31 14:41:23 +00:00
iwasaki
9348a564d8 Add Makefile for acpi userland tools.
Obtained from:	ACPI For FreeBSD project
2000-08-31 14:38:47 +00:00
rse
f1908a0e71 Fix resolv.conf line hint: "name-server" -> "nameserver" 2000-08-31 11:13:20 +00:00
brian
ed0f07d9dd Use arc4random() instead of random() 2000-08-31 00:45:24 +00:00
brian
543225026f Don't treat two or more whitespace followed by a comment as
an empty argument

PR:	20937 (maybe)
PR:	20938
2000-08-30 20:51:13 +00:00
brian
50a3c4fd88 Complain about invalid arguments passed to ``set ifaddr'' 2000-08-30 20:49:50 +00:00
iwasaki
a8d8728b12 A lot of changes on acpi driver code.
- The "Osd*" stuff went away from acpi driver code, use the bus_space
   functions directly instead.
 - Fix minor english bugs.
   acpi_registers_input  -> acpi_register_input
   acpi_registers_output -> acpi_register_output
 - Remove all magic numbers for the sleeping states.  We now have
   #defines for these.
 - NULL is treated the same as the return from aml_get_rootname in
   aml_find_from_namespace().

Suggested by:	msmith

Thanks mike!
2000-08-29 20:30:54 +00:00
brian
a0d9c873d0 Correct LogMAX
Broken by:	me
Submitted by:	Mark Hannon <markhannon@one.net.au>
2000-08-29 17:00:52 +00:00
brian
ff7c637251 Use srandom() under OpenBSD
Submitted by:	Matt Behrens <matt@megaweapon.zigg.com>
2000-08-29 16:47:45 +00:00
sanpei
1ebed5b984 set pccard insertion beep type in install floppy.
When we use PC-Card as install media, it is a patch
to tell with beep about whether we were able to
recognize it well.

Reviewed by:	jkh, imp
Tested by:	Kenji Yamada <kyamada@ISI.EDU>
2000-08-29 00:42:31 +00:00
brian
f1f515c997 Add LogFILTER logging to log packets allowed by the dial filter and
dropped by any filter.

Submitted by: Mark Hannon <markhannon@one.net.au>

with some small tweaks by me.
2000-08-28 23:24:52 +00:00
brian
cb1cdc90fa Support radius accounting, and add a packet count to throughput
statistics as a side effect.

Submitted by: Marcin Cieslak <saper@system.pl>

with some tweaks to RAD_ACCT_SESSION_ID and
RAD_ACCT_MULTI_SESSION_ID generation by me.
2000-08-28 22:44:54 +00:00
murray
7918d735c0 This allows you to script sysinstall to say "NO" to DHCP and IPv6.
Previously, you could only script these features if you said YES.

Oops.  Accidentally commited to releng_4 first.

PR:		20334
Approved by:	jkh
2000-08-28 18:18:47 +00:00
grog
fb570e69fa Add the description of some hard-learnt restrictions and a workaround. 2000-08-28 05:47:05 +00:00
jwd
57a27cc0ac Remove a stray backspace character.
Reviewed by:	Eivind Eklund <eivind@FreeBSD.org>
2000-08-27 18:49:12 +00:00
ben
55b1f4b48e Make mergemaster ignore files in /dev if /dev is a devfs.
Approved by:	Doug Barton <Doug@gorean.org>
2000-08-26 12:15:24 +00:00
peter
05f5722996 If a ${KERNEL}.hints file exists, and no hints are specified explicitly,
then include the hints with a marker indicating that it is a fallback.
The kernel side of this is to come shortly.
2000-08-25 19:30:03 +00:00
takawata
3135216f2b Add orthogonal part of ACPI support code.
This does not come effect until non-orthogonal part is commited.

Approved by: jkh
Obtained from:	ACPI for FreeBSD CVS repository.
2000-08-24 09:33:30 +00:00
alfred
702a9ba819 the code assumes that getgroups() always returns NGROUPS groups, however
that is not true.  Instead of looping NGROUPS times, get the return value
from getgroups() and loop over the return that many times.

Noticed by: David A. Holland <dholland@eecs.harvard.edu>
2000-08-23 23:36:32 +00:00
bmah
8089880386 Update my email address in various places in pkg_version. 2000-08-23 17:10:34 +00:00
billf
5c853570eb Now that Bruce Mah is a committer, retire my co-maintainership
of pkg_version.
2000-08-22 18:42:27 +00:00
roberto
2be6f39774 Correct the naming. The default server is ftp.fr and #1 is the same.
Add back ftp6.
2000-08-22 14:28:16 +00:00
roberto
e0fe0e6f83 Reflect the name changes in fr.freebsd.org. 2000-08-22 13:07:59 +00:00
jkh
13942925c5 Remove device type field - there are no block devices left. 2000-08-22 03:14:39 +00:00
green
67c40ef892 Add working and easy crypt(3)-switching. Yes, we need a whole new API
for crypt(3) by now.  In any case:

Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation to -lutil.
Support for switching crypt formats in passwd(8).
Support for switching crypt formats in pw(8).

The simple synopsis is:
edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :)

Reviewed by:	peter
2000-08-22 02:15:54 +00:00
ume
1c624ac57c Add UNIX domain socket feature to pccardd. This makes pccard
related PAO3/ports such as gxcardmon work.

Reviewed by:	imp
Obtained from:	PAO3
2000-08-20 16:16:57 +00:00
brian
bac59a32d0 Make -DNOSUID (or -DPPP_NOSUID) possible to build ppp without SUID
capabilities.
2000-08-18 00:01:44 +00:00
brian
c0049c3df2 Warn that the ``alias'' command is depricated.
We still process it for now though.
2000-08-18 00:01:30 +00:00
dwmalone
d2bdccc3f8 Allow people to set the default boot slice with boot0cfg.
PR:		18923
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
Reviewed by:	jhb
Approved by:	rnordier
2000-08-17 18:42:13 +00:00
brian
c2fd0b7000 If we're in MP mode with a single open link, MP link level compression
isn't open and the links MRU >= our MRRU, send outbound traffic as
PROTO_IP rather than PROTO_MP.  This shaves some bytes off the front
of each packet 'till the second link is brought up.

Idea obtained from: Cisco
2000-08-17 14:14:54 +00:00
jhb
2a98230257 Add in the linux, tcl83, and tk83 ports categories.
PR:		bin/20328
Submitted by:	obrien
2000-08-16 18:44:40 +00:00
jhb
0338204b01 Add new 'ruby' ports category.
PR:		conf/20629
Submitted by:	asami
2000-08-16 17:44:35 +00:00
brian
65f020c63b ISDN B channels have a bandwidth of 64000, not 65536
Pointed out by: Christian Weisgerber <naddy@mips.inka.de>
2000-08-16 13:54:04 +00:00
brian
f03fa7361a If the -p option is used, use setproctitle() to hide it's argument
(a password) asap.
2000-08-16 12:01:17 +00:00
brian
a7aa2e6cdb setproctitle() doesn't need to be called with root privs, so move
it from id.c into defs.c
2000-08-16 09:07:23 +00:00
brian
724f61b07d Default the bandwidth of an ISDN B channel to 65536bps 2000-08-16 09:06:59 +00:00
brian
2e8f0fe474 Maintain input and output throughput averages and choose the highest
of the two when calculating the MP throughput average for the ``set
autoload'' implementation.

This makes more sense as all links I know of are full-duplex.  This
also means that people may need to adjust their autoload settings
as 100% bandwidth is now the theoretical maximum rather than 200%
(but of course, halfing the current settings is probably not the
correct answer either!).

This involves a ppp version bump as we need to pass an extra
throughput array through the MP local domain socket.
2000-08-15 10:25:42 +00:00
joe
2be7b9be57 When warning that a log file can't be compressed, tell the reader which
log file it was.
2000-08-15 09:34:41 +00:00
kris
8946b5171a Don't extract these files as mode 664 during build, use mode 644 instead. 2000-08-15 09:17:50 +00:00
sobomax
18c955d6f3 Several cleanups:
- use getopt(3) to parse command line arguments instead of home-made incomplete
  parser;
- be more verbose when error in command line encountered (i.e. incorrect
  playing/recording device, incorrect recsrc syntax).
2000-08-15 05:42:39 +00:00
brian
99a91bd0c2 Calculate the average link throughput using a counter based on the
cumulative total of all active links rather than basing it on the
total of PROTO_MP traffic.

This fixes a problem whereby Cisco routers send PROTO_IP packets only
when there's only one link (hmm, what a good idea!).
2000-08-15 00:59:21 +00:00
brian
b6a0e38086 Don't delete sticky routes when unconfiguring the interface.
Deleting all routes that match the interface is sufficient.
2000-08-14 08:43:40 +00:00
itojun
cd0197dbb9 fix LP64 issue in routing socket manipulation.
make behavior of -A safer.
(sync with kame)
2000-08-14 04:54:58 +00:00
gshapiro
34bd54827a Turn on support for IPv6 2000-08-14 02:36:29 +00:00
brian
f0e7cc686d Index: ppp.8
===================================================================
RCS file: /home/ncvs/src/usr.sbin/ppp/ppp.8,v
retrieving revision 1.233
diff -u -r1.233 ppp.8
--- ppp.8	2000/08/10 13:26:01	1.233
+++ ppp.8	2000/08/12 19:50:41
@@ -1,8 +1,8 @@
 .\" $FreeBSD: src/usr.sbin/ppp/ppp.8,v 1.233 2000/08/10 13:26:01 brian Exp $
 .Dd 20 September 1995
 .nr XX \w'\fC00'
-.Os FreeBSD
 .Dt PPP 8
+.Os
 .Sh NAME
 .Nm ppp
 .Nd Point to Point Protocol (a.k.a. user-ppp)
2000-08-13 22:03:42 +00:00
gshapiro
468a7634ef Use new aliases path (/etc/mail/aliases)
Approved by:	Doug Barton <DougB@gorean.org>
2000-08-13 19:32:19 +00:00
gshapiro
2424c7393a Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.
2000-08-13 18:38:58 +00:00
ume
d3b79934ef Add output of per battery information to apm(1).
New ioctl APMIO_GETPWSTATUS is introduced.

Reviewed by:	-mobile and -current folks (no objection)
2000-08-13 17:05:27 +00:00
gshapiro
eec2af9031 Get rid of the /etc/aliases -> /etc/mail/aliases hack. /etc/mail/aliases
now exists in the distribution.
2000-08-13 08:36:40 +00:00
gshapiro
002ef51d6e The rest of the changes needed to support the new version of sendmail (8.11.0).
Beyond changes to the build system, this includes fixing up the sample
freebsd.mc configuration for changes in defaults and syntax, removing
outdated documentation, and updating the release notes.
2000-08-12 22:39:25 +00:00
nyan
784618782e - Added support for installing boot0 and boot0.5 for PC-98.
- Cosmetic changes.
2000-08-12 14:20:31 +00:00
jkh
0f9d7e675d Make the selection of pccard IRQs fully selectable at installation time.
Submitted by:	"Sean O'Connell" <sean@stat.Duke.EDU>
2000-08-12 07:48:25 +00:00
sheldonh
6f43e98744 Explain why adding ``options NFSKERB'' breaks the kernel build.
PR:		10642
Reported by:	Stefan Eggers <seggers@semyam.dinoco.de>
Submitted by:	johan
2000-08-11 13:03:13 +00:00
brian
b45901a5b4 Mention that pppoe requires netgraph(4) and without it, an external
pppoe program must be used (such as pppoe(8) on OpenBSD).
2000-08-10 13:26:01 +00:00