Commit Graph

5282 Commits

Author SHA1 Message Date
asami
e345d1b359 Redirect stdout from mtree to /dev/null; we don't really need to know
the list of directories being created when we install a package.
2000-01-03 22:59:27 +00:00
brian
928cb58803 Ensure that there's a bit of extra space in our buffer when it's
passed to libalias.  If there's not enough space, things like ftp
PORT commands start failing....

Reported by: Gianmarco Giovannelli <gmarco@giovannelli.it>
2000-01-03 20:09:23 +00:00
marcel
5ed0012e79 Remove -g compiler flag. 2000-01-03 12:01:30 +00:00
roberto
034f4c1883 - remove trace of libkvm. It is not used at all.
- reorganise the Makefiles: the order of variables was not the usual one.

Explained gently by:	bde
2000-01-01 23:58:01 +00:00
joe
9dba5b86f4 Added missing DPADD's. Removed unrequired SRCS's.
Obtained from:	bde
2000-01-01 15:44:11 +00:00
ache
1e11c8d094 /etc -> /etc/mail 1999-12-31 08:03:27 +00:00
brian
d229c8a13c Increase M_MAXLEN from 2048 - sizeof struct mbuf to
4096 - sizeof struct mbuf, and set MAX_MRU and MAX_MTU
back to 2048.

2048 is big enough as an MTU/MRU, but we need to be able
to allocate larger mbufs after reassembling IP fragments.
1999-12-30 13:27:15 +00:00
joe
a381d987c4 Moved flags_to_string and string_to_flags into libutil. It's used in
many places nowadays.
1999-12-30 13:15:15 +00:00
kuriyama
14606a9a3d usbd.conf is in section 5, not 8. 1999-12-30 10:46:08 +00:00
billf
6dc9df830a Fix KERNEL vs _KERNEL spammage.
Submitted by:	Paul Saab <paul@mu.org>
1999-12-30 04:12:36 +00:00
brian
65f9d00aad Add a few missing #includes 1999-12-30 03:40:29 +00:00
brian
7a49c5353e Correct usages of getuid() and geteuid()
Pointed out by: billf
1999-12-30 03:36:11 +00:00
brian
00a339312b Mention that it's only necessary to escape the '-' in chat scripts
twice (once for the arg parsing and once to make it a normal character).
Make the man page example consistent.

Reminded by: Bryan Liesner <bleez@netaxs.com>
1999-12-29 22:31:10 +00:00
peter
37d997842b Since /etc/sendmail.cf got moved to /etc/mail/sendmail.cf, a 'make world'
would leave you with a broken sendmail and local mail loss.
This evil hack moves sendmail.cf from the old location to the new one (if
required) at install time.
1999-12-29 18:56:55 +00:00
peter
5cd7c1e1a5 Preempt one brucification - I was missing a ${DESTDIR}. I hate merging
two sets of changes from different trees.
1999-12-29 18:51:36 +00:00
peter
d0ab3e3cee Add mailwrapper. It redirects to sendmail by default, but you can
point /usr/sbin/sendmail to any mailer of your choice with the
/etc/mail/mailer.conf config file.
1999-12-29 18:44:06 +00:00
peter
fa91ef53d7 Install sendmail in it's new location. 1999-12-29 18:40:56 +00:00
peter
a508f217c0 As a special case, deal with a missing mailer.conf at install time. I
don't particularly like doing this here, but the alternative (loosing mail)
is worse.
1999-12-29 18:27:35 +00:00
peter
554c63ab26 Move mailer.conf to /etc/mail at obrien's request. 1999-12-29 18:25:55 +00:00
peter
4608bdb3fc Make mailwrapper build 1999-12-29 17:51:22 +00:00
ache
f9acfaaf0b Use LC_TIME=C for date 1999-12-29 15:45:45 +00:00
shin
c1f6209fd4 Sorry, ndp command is not exist yet.
Specified by: Anders Andersson <anders@sanyusan.se>
1999-12-29 12:53:21 +00:00
shin
763bfae4f8 Forgot to add newly added udp and raw IPv6 apps to usr.sbin SUBDIR.
They are confirmed to be buildable and seems to be working.
1999-12-29 07:11:50 +00:00
peter
d53e4c1d80 Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot).  This is consistant with the other
BSD's who made this change quite some time ago.  More commits to come.
1999-12-29 05:07:58 +00:00
jkh
1a4e8a1971 Only print "couldn't install distributions" popup if any
actual distributions were found to go along with the residual
mask value.
1999-12-29 01:49:11 +00:00
shin
21448b4627 Small bug fix and improvements
(1)added error check of if_nameindex() return value at getaddrinfo().
  (2)print out more detailed information when getaddrinfo() error value
     is EAI_SYSTEM.(in this case system error num is kept in errno)

(1) is Discovered by: jinmei@kame.net in KAME environment.
1999-12-28 05:37:39 +00:00
shin
8c2ccb59ca Getaddrinfo(), getnameinfo(), and etc support in libc/net.
Several udp and raw apps IPv6 support.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-28 02:37:14 +00:00
wpaul
b39a79861d This commit adds device driver support for the ADMtek AN986 Pegasus
USB ethernet chip. Adapters that use this chip include the LinkSys
USB100TX. There are a few others, but I'm not certain of their
availability in the U.S. I used an ADMtek eval board for development.
Note that while the ADMtek chip is a 100Mbps device, you can't really
get 100Mbps speeds over USB. Regardless, this driver uses miibus to
allow speed and duplex mode selection as well as autonegotiation.
Building and kldloading the driver as a module is also supported.

Note that in order to make this driver work, I had to make what some
may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer()
function will use tsleep() for synchronous transfers that don't complete
right away. This is a problem since there are times when we need to
do sync transfers from an interrupt context (i.e. when reading registers
from the MAC via the control endpoint), where tsleep() us a no-no.
My hack allows the driver to have the code poll for transfer completion
subject to the xfer->timeout timeout rather that calling tsleep().
This hack is controlled by a quirk entry and is only enabled for the
ADMtek device.

Now, I'm sure there are a few of you out there ready to jump on me
and suggest some other approach that doesn't involve a busy wait. The
only solution that might work is to handle the interrupts in a kernel
thread, where you may have something resembling a process context that
makes it okay to tsleep(). This is lovely, except we don't have any
mechanism like that now, and I'm not about to implement such a thing
myself since it's beyond the scope of driver development. (Translation:
I'll be damned if I know how to do it.) If FreeBSD ever aquires such
a mechanism, I'll be glad to revisit the driver to take advantage of
it. In the meantime, I settled for what I perceived to be the solution
that involved the least amount of code changes. In general, the hit
is pretty light.

Also note that my only USB test box has a UHCI controller: I haven't
I don't have a machine with an OHCI controller available.

Highlights:

- Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part.
- Updated usbdevs and regenerated generated files
- Updated HARDWARE.TXT and RELNOTES.TXT files
- Updated sysinstall/device.c and userconfig.c
- Updated kernel configs -- device aue0 is commented out by default
- Updated /sys/conf/files
- Added new kld module directory
1999-12-28 02:01:18 +00:00
brian
5269dd341c Add a bunch of `const's and fix a typo.
Submitted by: Rich Neswold <rneswold@MCS.Net>
1999-12-27 11:54:57 +00:00
brian
8d3683f53b Don't allowt '#' as a comment when it's embedded in quotes:
set something "xxx yyy # zzz" aaa

shouldn't be interpreted as

  set something "xxx yyy" aaa
1999-12-27 11:43:31 +00:00
peter
78525996f4 kvm_mkdb(8) no longer exists (in .Xr) and kvm_nlist(8) has even less to do
with dev_mkdb(8) than it did before.
1999-12-27 08:01:11 +00:00
peter
7db4aa0748 Zap kvm_mkdb, it was for kvm_nlist's benefit, but now it goes direct
to the in-kernel hashed symbol tables (including modules).
1999-12-27 07:27:50 +00:00
brian
0c62acb307 Don't bother fork()ing after closing a ctty if ppp is about to
terminate anyway.
1999-12-23 21:43:25 +00:00
brian
da8bf273f7 Understand double-quotes anywhere on a command line in the same
way that a shell does.  The previous way ppp did it just didn't
make any sense.
1999-12-23 21:43:12 +00:00
brian
d191496da2 Correct warning about unindented commands when the unindented command
is actually a new label with a comment at the end of the line.
1999-12-23 21:43:00 +00:00
dcs
f39fe09d78 configSamba is gone, and is not coming back. 1999-12-23 10:16:46 +00:00
brian
baf28880b3 Don't munge ``set dial|login|logout|hangup'' arguments before
ExpandString() has a chance to do its own substitutions.
1999-12-22 21:48:12 +00:00
shin
50ba589c66 IPSEC support in the kernel.
pr_input() routines prototype is also changed to support IPSEC and IPV6
chained protocol headers.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-22 19:13:38 +00:00
roberto
07fa87617a Bye bye xntpd. 1999-12-22 15:24:45 +00:00
roberto
6b3a2b7335 Don't compile mktime, it is already present elsewhere.
Submitted by:	bde
1999-12-22 09:36:41 +00:00
jkh
b71f510e43 Fix the brain-o which prevented the Custom installation item from
working.  It was, as I predicted, a stupid bug and thanks to the
submitter for spotting it.  I'll also re-roll some 3.4-RELEASE install
floppies for this.
1999-12-22 01:44:57 +00:00
archie
e3b28ee187 Fix minor typo. 1999-12-22 01:25:07 +00:00
asmodai
dd4337b929 Properly manify this manpage. 1999-12-21 11:25:10 +00:00
julian
443430016e Manual page style work.
Submitted by:	Alexey Zelkin <phantom@FreeBSD.org>
thanks!
1999-12-21 01:25:21 +00:00
brian
20cf74c9c7 Fix my '#'-at-end-of-lines change, spammed by a subsequent commit. 1999-12-20 20:47:58 +00:00
brian
89c7950e1a Use getpwuid()->pw_dir instead of $HOME when expanding ``~''. 1999-12-20 20:30:47 +00:00
brian
540cfa0f95 Use getpwuid() instead of getlogin() in ``allow users''. 1999-12-20 20:30:40 +00:00
brian
b6574956b6 Add missing linefeed. 1999-12-20 20:30:35 +00:00
brian
32de026316 Cosmetic: clean up some parenthesis confusion 1999-12-20 20:30:30 +00:00
brian
0a37c5b3ad Handle comments at the end of lines. 1999-12-20 20:30:25 +00:00