Commit Graph

2041 Commits

Author SHA1 Message Date
Ruslan Ermilov
af2786323e Removed files not present in v1.17 import. 2001-04-17 12:23:50 +00:00
Ruslan Ermilov
1d5f6a94a8 Virgin import of FSF groff v1.17 2001-04-17 12:12:05 +00:00
Ruslan Ermilov
9a381181f1 This commit was generated by cvs2svn to compensate for changes in r75584,
which included commits to RCS files with non-trunk default branches.
2001-04-17 12:12:05 +00:00
Maxim Sobolev
a4a7932740 Update/improve Ukrainian translation.
Submitted by:	Olexander Kunytsa <kunia@istc.kiev.ua> (author of translation)
2001-04-17 11:00:58 +00:00
David E. O'Brien
e5b85648a2 Remove the filename_completion_function() extern that conflicts with the
latest version of this fuction in Readline 4.2
2001-04-14 01:49:32 +00:00
Ruslan Ermilov
566f5a4859 mdoc(7) police: removed hard sentence breaks introduced in rev.1.10. 2001-04-13 08:49:52 +00:00
Andrey A. Chernov
7de69ff097 Activate backward-compatible prototypes 2001-04-12 17:18:46 +00:00
David E. O'Brien
5e4c98b1a6 The internal declaration for tilde_expand() now conflicts with the one
that was finally added to the readline headers in readline 4.2.

Submitted by:	ache
2001-04-11 16:15:19 +00:00
Andrey A. Chernov
c8f896e658 Remove conflicting readline prototype 2001-04-11 04:07:38 +00:00
Andrey A. Chernov
a39df769f3 Merge local changes 2001-04-11 03:15:56 +00:00
Andrey A. Chernov
3be056262b This commit was generated by cvs2svn to compensate for changes in r75406,
which included commits to RCS files with non-trunk default branches.
2001-04-11 02:33:07 +00:00
Andrey A. Chernov
fb21882ffc v4.2 initial import 2001-04-11 02:33:07 +00:00
David E. O'Brien
370d222b7f Remove MIPS support.
It has rotted quite badly and no one has provided updates for it.
2001-04-11 00:12:48 +00:00
David E. O'Brien
907ca3853b Removed these old 2.9.x files. 2001-04-10 23:53:32 +00:00
Ruslan Ermilov
a8209d83f8 psroff(1) has never been a part of Groff. 2001-04-10 17:04:31 +00:00
Ruslan Ermilov
f3c9372abd Merge in latest CSRG revisions:
- .Fn and .Fc now print a final semicolon (`;') after a
  function declaration in the SYNOPSIS
- .%I implemented
- .At outputs ``AT&T UNIX'' if called without arguments
- minor cleanup

Obtained from:	CSRG archives
2001-04-09 13:02:20 +00:00
Nick Sayer
036790848a Clean up telnet's argument processing a bit. autologin and encryption is
now the default, so ignore the arguments that turn it on. Add a new -y
argument to turn off encryption in case someone wants to do that. Sync
these changes with the man page (including removing the now obsolete
statement about availability only in the US and Canada).
2001-04-06 15:56:10 +00:00
Chris D. Faulhaber
0873af5d5f Do not log every potential exploit attempt since a denial-of-service
may result.
2001-04-06 14:34:15 +00:00
Chris D. Faulhaber
12695b686a - Correct off-by-one error and buffer underflow from previous fix
- int -> unsigned char fixes

Submitted by:	ache, dillon, Mark Andrews, et.al. (on -security)
2001-04-06 14:15:38 +00:00
Nick Sayer
6a1fe28e41 Reactivate SRA.
Make handling of SIGINT and SIGQUIT follow SIGTSTP in TerminalNewMode().
This allows people to break out of SRA authentication if they wish to.
2001-04-05 14:09:15 +00:00
Ruslan Ermilov
6405e53deb Record -lposix1e death. 2001-04-05 07:59:19 +00:00
Poul-Henning Kamp
0cad4cb4e6 Fix a potential ROOT-exploit in NTPD.
PR:		26358
Reviewed by:	dima
2001-04-04 23:07:22 +00:00
Bill Fenner
7e9c480713 Check in the diff for rev 1.11 of tcpdump.org's print-smb.c
to replace freebsd.org's rev 1.2.
2001-04-04 00:11:06 +00:00
Bill Fenner
84c29ae3c4 This commit was generated by cvs2svn to compensate for changes in r75147,
which included commits to RCS files with non-trunk default branches.
2001-04-04 00:11:06 +00:00
Bill Fenner
943ee2b15a Merge tcpdump 3.6.2 2001-04-03 07:50:46 +00:00
Bill Fenner
685295f4d7 Virgin import of tcpdump.org tcpdump v3.6.2 2001-04-03 07:45:48 +00:00
Bill Fenner
4df395f42e This commit was generated by cvs2svn to compensate for changes in r75115,
which included commits to RCS files with non-trunk default branches.
2001-04-03 07:45:48 +00:00
Bill Fenner
8e1481d144 Merge libpcap 0.6.2 2001-04-03 04:32:48 +00:00
Bill Fenner
bd053aaff0 This commit was generated by cvs2svn to compensate for changes in r75107,
which included commits to RCS files with non-trunk default branches.
2001-04-03 04:18:09 +00:00
Bill Fenner
dc2c730546 Virgin import of tcpdump.org libpcap v0.6.2 2001-04-03 04:18:09 +00:00
David E. O'Brien
393efa2bde Consistently space the output. 2001-03-31 09:26:03 +00:00
David E. O'Brien
3cf5f81f9f Change "*coff*" to "coff*" so that the pattern will not dike out xcoffsolib.h.
I'll revisit the pattern on the next import.
2001-03-30 02:37:55 +00:00
Gregory Neil Shapiro
f21dafbc5c Forgot to update this README when I imported 8.11.3 2001-03-30 02:09:19 +00:00
David E. O'Brien
7fd39efb06 Remove these MD files that we've never needed. 2001-03-30 01:44:39 +00:00
David E. O'Brien
fe45817a0c Remove this auto-generated file (and isn't part of 5.0 as it shouldn't be). 2001-03-30 01:41:02 +00:00
David E. O'Brien
e614c11f2c Remove these GDB 4.18 docs that did not make it into 5.0. 2001-03-30 01:40:04 +00:00
David E. O'Brien
3801fcd9f1 Remove this GDB 4.18 file that is no longer part of GDB [5.0]. 2001-03-29 20:53:56 +00:00
David E. O'Brien
b6cfd1f43d Update for file 3.34. 2001-03-25 18:38:47 +00:00
David E. O'Brien
adef7cde57 Virgin import of Christos Zoulas's FILE 3.34. 2001-03-25 18:37:04 +00:00
David E. O'Brien
9d48a2e64c This commit was generated by cvs2svn to compensate for changes in r74784,
which included commits to RCS files with non-trunk default branches.
2001-03-25 18:37:04 +00:00
David E. O'Brien
cf1ed2f80f List of distfile contents to delete using rm' and find -delete'.
Simular to the FREEBSD-Xlist used with `tar -X ... -xf'.
This file is typically used when one starts with the GDB anoncvs repo
rather than a release tarball.
2001-03-24 09:37:48 +00:00
David E. O'Brien
66d7199d63 Import the setjump/longjump exception handling fixes from GCC 2.95.3.test3
that were removed from GCC 2.95.3.test4 and the subsequent release due
to problems on HP-UX.  However, they work just fine on all the BSD's.

W/o these patches the following program segmentation faults if compiled
with -O2 (but not -Os or -O or -O0):

#include <stdio.h>

class A {
public:
  A() { printf("c'tor A\n"); }
  ~A(){ printf("d'tor A\n"); }
};

class foo : public A {
public:
  foo()  { printf("C'tor foo\n"); throw 8; }
  ~foo() { printf("D'tor foo\n"); }
};

int main(){
  try { foo fii; }
  catch (int){ printf("catch ...\n"); }
  return 0;
}
2001-03-24 01:58:31 +00:00
David E. O'Brien
8338ba3e77 This commit was generated by cvs2svn to compensate for changes in r74722,
which included commits to RCS files with non-trunk default branches.
2001-03-24 01:58:31 +00:00
Andrey A. Chernov
fcf8327355 Don't attempt to parse %c 2001-03-21 21:17:54 +00:00
David E. O'Brien
06b8915d1f Virgin import of GCC 2.95.3's libobjc 2001-03-19 20:56:11 +00:00
David E. O'Brien
6020fb6068 This commit was generated by cvs2svn to compensate for changes in r74485,
which included commits to RCS files with non-trunk default branches.
2001-03-19 20:56:11 +00:00
David E. O'Brien
5ed6456a06 Virgin import of GCC 2.95.3's libstdc++ 2001-03-19 20:51:52 +00:00
David E. O'Brien
332b41b792 This commit was generated by cvs2svn to compensate for changes in r74483,
which included commits to RCS files with non-trunk default branches.
2001-03-19 20:51:52 +00:00
David E. O'Brien
addb3faa55 Virgin import of GCC 2.95.3's libio -- the C++ iostream facility. 2001-03-19 20:49:58 +00:00
David E. O'Brien
a7b0f5f340 This commit was generated by cvs2svn to compensate for changes in r74481,
which included commits to RCS files with non-trunk default branches.
2001-03-19 20:49:58 +00:00
David E. O'Brien
41fd0c09eb Remove some files that are no longer in the FSF branch. 2001-03-19 19:50:17 +00:00
David E. O'Brien
1e1e1a599e Merge gcc-2.95.3 changes onto mainline. Update FreeBSD changes to converge
with changes made in the FSF tree.
2001-03-19 19:50:16 +00:00
David E. O'Brien
843b04fb90 Virgin import of the GCC 2.95.3 compilers 2001-03-19 19:46:16 +00:00
David E. O'Brien
59543307c9 This commit was generated by cvs2svn to compensate for changes in r74473,
which included commits to RCS files with non-trunk default branches.
2001-03-19 19:46:16 +00:00
Nick Sayer
989efc86f5 Fix core noted in -stable with 'auth disable SRA'.
I just mistakenly commited this to RELENG_4. I have contacted Jordan to see
about how to fix this. Pass the pointy hat.
2001-03-18 09:44:25 +00:00
Ruslan Ermilov
99d2a6766d .St macro cleanup:
- spell the abbreviation of 1003.1 as ``POSIX.1''
- fixed the description of -p1003.1-90; it was sold as ISO/IEC 9945-1:1990
- removed -p1003.1b; it only existed as 1003.1b-1993 (-p1003.1b-93), and
  is part of 1003.1 since 1003.1-1996.
- replaced -p1003.1g (project) with -p1003.1g-2000 (approved draft)
- changed abbreviation of -isoC from ``ISO C'' to ``ISO C89''
- removed -iso9899 alias for -isoC
- IEC was missing from some names
- added abbreviation for -susv2 (``SUSv2'')
2001-03-12 17:19:38 +00:00
Assar Westerlund
bb330cd01e enable auto-negotiation of encrypt and decrypt 2001-03-12 03:54:48 +00:00
Kris Kennaway
fc03710c55 This commit was generated by cvs2svn to compensate for changes in r73569,
which included commits to RCS files with non-trunk default branches.
2001-03-05 02:54:13 +00:00
Kris Kennaway
18690202e2 Import patch to fix non-constant format string abuses. This patch was
approved by the vendor and will be present in future releases.
2001-03-05 02:54:13 +00:00
Kris Kennaway
28ae2e3a2b Import vendor fix for buffer overflow in HOME environment variable 2001-03-03 23:45:43 +00:00
Kris Kennaway
30b14dd1d0 This commit was generated by cvs2svn to compensate for changes in r73393,
which included commits to RCS files with non-trunk default branches.
2001-03-03 23:45:43 +00:00
Ruslan Ermilov
afcf05e46a setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
2001-03-02 16:52:14 +00:00
David E. O'Brien
9dcc3a35a1 Change "NO_PROFILE_DATA" to "NO_PROFILE_COUNTERS" to match the commit by
the FSF/GCC people in the stock 2.97 source that is like our custom change
modulo the conditional compilation symbol.
2001-03-02 08:46:15 +00:00
David E. O'Brien
49bd150d88 Move the obvious bits of mixed ELF and a.out support down into this MD
header to reduce the difference of our sources to the stock GNU/FSF ones.
While the mix binary format support was nice to have in the FreeBSD MI
header as a frame work, it just clutters up too much and makes the FreeBSD
MI header more different from the FSF/GNU stock one than it needs to be.
2001-03-02 02:46:05 +00:00
David E. O'Brien
c04329d184 Push as much as was easy of the mixed ELF & a.out support for the i386
into the i386 MD FreeBSD header.  Also comment tweaking, continuation line
style changes, and other minor changes to make this closer to the latest
FSF/GNU 3.0 sources (to reduce my headache when 3.0 is imported).
2001-03-02 02:42:42 +00:00
Ruslan Ermilov
127cffed5a Fixed undesirable hyphenation on the dash of a flag argument.
Example:

.Sh SYNOPSIS
.Nm natd
.Fl unregistered-only
.Fl proxy-only
.Fl deny-incoming
.Fl use-sockets
.Fl same-ports

Ported from:	mdocNG
2001-03-01 12:46:29 +00:00
Ruslan Ermilov
abec56f578 Fixed two bugs with -tag lists.
If the -tag list definition didn't have a -width modifier,
the first .It call was supposed to set the width depending
on the first argument type; if it is a macro name, use the
macro's width value; otherwise, use width value of `No'.

The following two lists should produce identical output:

.Bl -tag -width Er -compact
.It Er EINVAL
invalid argument
.El
.Bl -tag -compact
.It Er EINVAL
invalid argument
.El

If the outermost -tag list definition did't have a -width
modifier, the .It elements of inner lists might not work
(producing a list where each successive element `walks' to
the right).

Example:

.Bl -tag -compact
.It outer
.It outer
.Bl -tag -compact
.It inner
.It inner
.El
.It outer
.It outer
.El

Ported from:	mdocNG
2001-03-01 12:13:04 +00:00
Ruslan Ermilov
7e55afcbbc mdoc(7) police: misc fixes. 2001-03-01 11:06:56 +00:00
David E. O'Brien
6ed0ce16ce Stylistic changes mirroring ones done in the FSF/GNU 3.0 development sources. 2001-02-28 22:37:32 +00:00
Gregory Neil Shapiro
b466200952 Repair 8.11.3 merge conflicts 2001-02-28 00:22:47 +00:00
Gregory Neil Shapiro
602a2b1b1d Import sendmail 8.11.3 2001-02-28 00:19:57 +00:00
Gregory Neil Shapiro
1ed4a948e1 This commit was generated by cvs2svn to compensate for changes in r73188,
which included commits to RCS files with non-trunk default branches.
2001-02-28 00:19:57 +00:00
Ruslan Ermilov
dbd205544b Synch with NetBSD and OpenBSD: replace -iso9945-1 with -p1003.1-96. 2001-02-26 14:41:05 +00:00
Ruslan Ermilov
849447b80d Revert part of rev 1.2: make -ansiC equivalent to -ansiC-89. 2001-02-26 13:29:46 +00:00
Ruslan Ermilov
e9ac6c2070 Do not output extra space after .Ef call.
Ported from:	mdocNG
2001-02-26 09:24:14 +00:00
Kris Kennaway
4674b9b242 Resolve conflicts 2001-02-26 07:17:03 +00:00
Kris Kennaway
f506601163 This commit was generated by cvs2svn to compensate for changes in r73064,
which included commits to RCS files with non-trunk default branches.
2001-02-26 07:13:00 +00:00
Kris Kennaway
a078a05252 Initial import of bc 1.0.6 2001-02-26 07:13:00 +00:00
Ruslan Ermilov
0a3a912634 Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.
The new Groff release will support this feature.

Requested by:	peter
2001-02-23 09:35:33 +00:00
Peter Wemm
4fd2864862 Flip the default for CVS_RSH to "ssh". I am tired of getting asked this
all the time, and IMHO it is long overdue.
2001-02-23 04:52:30 +00:00
Gregory Neil Shapiro
12d67cf44c Return to the code as distributed by sendmail.org. This eliminates a
warning on Alphas.  It is still not the perfect solution for machines
which sizeof(u_long) != sizeof(void *) but it is as close as we are going
to get for now and consistent with the rest of the code.  8.12 has solved
this problem by providing a portable snprintf() which understands %p.

PR:		bin/14142
2001-02-22 17:47:24 +00:00
Gregory Neil Shapiro
2003ac3f25 Document the vacation -d and -l options
PR:		docs/22875
2001-02-22 05:54:31 +00:00
Ruslan Ermilov
f3bef032de Do not output extra comma before "and" for references with two authors.
Example:
	.Rs
	.%A Author1
	.%A Author2
	.%B Book
	.Re

Produced:
	Author1, and Author2, Book.

Now produces:
	Author1 and Author2, Book.

Ported from:	mdocNG
2001-02-19 11:58:15 +00:00
Jeroen Ruigrok van der Werven
a5625a3bc7 Virgin import of ISC BIND v8.2.3-REL docs 2001-02-17 15:48:22 +00:00
Jeroen Ruigrok van der Werven
e191b7bd72 This commit was generated by cvs2svn to compensate for changes in r72571,
which included commits to RCS files with non-trunk default branches.
2001-02-17 15:48:22 +00:00
Jeroen Ruigrok van der Werven
aea157ebca Remove old DNS setup document. We have long past the times where
BIND 4 was the thing of the day.
2001-02-17 15:19:00 +00:00
David E. O'Brien
6ec77f62cc Merge rev 1.2 (-fformat-extensions); 1.{7,9} (complain about -O2 on the
Alpha & FORCE_OPTIMIZATION_DOWNGRADE); 1.8 (-Wnon-const-format)
into GCC 2.95.3(RC#3).
2001-02-17 09:06:31 +00:00
David E. O'Brien
0e907ffc9a Merge gcc-2.95.3-test3 changes onto mainline. Bump FreeBSD cc version. 2001-02-17 08:35:00 +00:00
David E. O'Brien
c4ac962157 Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #3 2001-02-17 08:34:50 +00:00
David E. O'Brien
9520158aff This commit was generated by cvs2svn to compensate for changes in r72562,
which included commits to RCS files with non-trunk default branches.
2001-02-17 08:34:50 +00:00
Ruslan Ermilov
ee41f1b1cf SEE ALSO is the special name, and should not be taken in quotes,
since -mdoc checks for the "SEE" word only to set its variables.
In the SEE ALSO section, -mdoc automatically emits an empty line
before each new reference.
2001-02-16 11:35:39 +00:00
Ruslan Ermilov
9b751f2080 1. Disable the recognition of the last dot character in the
default .Ar argument as an end-of-sentence character.

Example:
    .Ar
    foo
Produced:
    file ...  foo
Now produces:
    file ... foo

2.  Fixed an off-by-one bug in the .It macro for the -hang lists.

Example:
    .Bl -hang -width 8n -compact
    .It 1234
    OK
    .It 1234567
    OK
    .It 12345678
    BUG
    .El
Produced:
     1234      OK
     1234567   OK
     12345678 BUG
Now produces:
     1234      OK
     1234567   OK
     12345678  BUG

Ported from:	mdocNG
2001-02-14 11:03:06 +00:00
Ruslan Ermilov
c6be5d415a Fixed the .St strings so that no single-character component of
the name could be wrapped, e.g. ``ISO C'' is always printed on
the same line.

Ported from:	mdocNG
2001-02-08 12:00:18 +00:00
Ruslan Ermilov
5981123128 Fixed the .Xr macro so that it produces the right spacing
and no hyphenation is possible on a dash (`-') character.

Ported from:	mdocNG
2001-02-08 11:22:34 +00:00
David E. O'Brien
e09c90cd8a Bump __FreeBSD_cc_version to 500002 to show the -pthread option change. 2001-02-08 05:27:17 +00:00
Jeroen Ruigrok van der Werven
2b081e30cf Synch: Add $FreeBSD$. 2001-02-07 21:58:16 +00:00
Ruslan Ermilov
3a4ab3655c 1. Disable hyphenation on a dash (`-') character in macro arguments.
2.  Disable recognition of end-of-sentence characters in text-type
    macro arguments.
3.  Fix the missing space bug when an end-of-sentence character was
    followed by another punctuation character.
4.  Fix the bug where hyphenation was left disabled after .Re.

Obtained from:	mdocNG
2001-02-07 17:45:22 +00:00
Ruslan Ermilov
b51747eb5e Add a missing line-break request so that -ragged
-compact lists always start from the new line.

Example:

	foo
	.Bd -ragged -compact
	bar
	.Ed

Produced:

	foo bar

Now produces:

	foo
	bar
2001-02-07 11:26:57 +00:00
Jeroen Ruigrok van der Werven
2fa72ea7d4 Fix typo: compatability -> compatibility.
Compatability is not an existing english word.
2001-02-06 12:05:58 +00:00
Jeroen Ruigrok van der Werven
9a01d32bfd Fix typo: seperate -> separate.
Seperate does not exist in the english language.

Submitted to look at by:	kris
2001-02-06 10:39:38 +00:00
Jeroen Ruigrok van der Werven
2cdd9c0332 Fix typo: wierd -> weird.
There is no such thing as wierd in the english language.
2001-02-06 09:32:26 +00:00
Darren Reed
f590526d0a fix conflicts 2001-02-04 14:26:56 +00:00
Darren Reed
84822a3b55 Import IP Filter update 2001-02-04 14:25:38 +00:00
Darren Reed
ddd584a728 This commit was generated by cvs2svn to compensate for changes in r72003,
which included commits to RCS files with non-trunk default branches.
2001-02-04 14:25:38 +00:00
Ruslan Ermilov
f78fa00345 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 17:12:45 +00:00
Ruslan Ermilov
1f56a9494c Make the exclamation mark (`!') a recognizable punctuation character.
Obtained from:	mdocNG
2001-02-01 16:17:06 +00:00
Jeroen Ruigrok van der Werven
13a6ffa5e8 Update port_after.h to reflect FreeBSD values. 2001-01-30 12:28:21 +00:00
Jeroen Ruigrok van der Werven
e11258ca5f Resolve conflicts after import. 2001-01-28 23:06:48 +00:00
Jeroen Ruigrok van der Werven
98ff752a5e Virgin import of BIND v8.2.3-REL 2001-01-28 23:00:22 +00:00
Jeroen Ruigrok van der Werven
93841e4d67 This commit was generated by cvs2svn to compensate for changes in r71756,
which included commits to RCS files with non-trunk default branches.
2001-01-28 23:00:22 +00:00
John Polstra
747291735d Make the "-pthread" option work again, now that libc_r has to be
linked in addition to libc rather than instead of libc.

Ideally, "-pthread" would now be equivalent to adding "-lc_r" to the
end of the link command.  But it is slightly different in this
implementation.  Adding "-lc_r" to the link command would produce a
"ld" command line containing this:

    ... -lc_r /usr/lib/libgcc.a -lc /usr/lib/libgcc.a ...

but this implementation of the "-pthread" option produces this:

    ... /usr/lib/libgcc.a -lc_r -lc /usr/lib/libgcc.a ...

It would be possible to make them identical, but that doesn't fit
as nicely into GCC's way of doing things.  I don't think the ordering
change will make any difference in practice.
2001-01-25 18:57:13 +00:00
Ben Smithurst
460b1a2c10 Add entry for libcipher. 2001-01-24 14:26:06 +00:00
Ruslan Ermilov
7ed5e54567 -pthread -> -lc_r 2001-01-24 13:55:37 +00:00
Gregory Neil Shapiro
0dc3067b45 Update FreeBSD import README 2001-01-21 22:22:31 +00:00
Gregory Neil Shapiro
c46d91b759 Repair 8.11.2 merge conflicts 2001-01-21 22:21:43 +00:00
Gregory Neil Shapiro
193538b7da Import sendmail 8.11.2 2001-01-21 22:17:06 +00:00
Gregory Neil Shapiro
c0e6e8f8f8 This commit was generated by cvs2svn to compensate for changes in r71345,
which included commits to RCS files with non-trunk default branches.
2001-01-21 22:17:06 +00:00
Ruslan Ermilov
c5083414f8 mdoc(7) police: removed leading whitespaces that are not inside
Bd/Ed; these hardly degrade the quality of the produced output.
2001-01-19 14:15:40 +00:00
Ruslan Ermilov
86a64baacd Add librpcsvc. 2001-01-17 18:19:06 +00:00
David Malone
b8980b2773 Make tcpwrappers use the magic in syslog.h for getting syslog facility
and level names.

Add FreeBSD tag.

PR:		24218
Approved by:	markm
2001-01-14 23:00:59 +00:00
Ruslan Ermilov
5ba22da471 Reduce diffs (mostly whitespace) to mdocNG.
Obtained from:	mdocNG through NetBSD
2001-01-12 15:20:26 +00:00
Ruslan Ermilov
9fa792216e Make .Ft and .Vt macros accept punctuation characters as
arguments, make .Vt usable outside the SYNOPSIS section.

Obtained from:	mdocNG (not yet submitted for inclusion)
2001-01-12 15:14:28 +00:00
Ruslan Ermilov
ebaf16d373 Fixed the ``undesirable hyphenation'' problem, most noticeable with Xr.
Obtained from:	mdocNG
2001-01-11 09:18:31 +00:00
Ruslan Ermilov
bc5b7aaa50 Fixed the bug in D1 macro where it would eat its first (text) argument.
Obtained from:	mdocNG
2001-01-11 09:16:28 +00:00
Ruslan Ermilov
72c60cff38 Prepare for mdoc(7)NG. 2001-01-10 16:51:28 +00:00
Ruslan Ermilov
1d66272a85 Prepare for mdoc(7)NG. 2001-01-10 14:18:12 +00:00
Ruslan Ermilov
e28f215467 Prepare for mdoc(7)NG. 2001-01-10 14:01:39 +00:00
Archie Cobbs
dceab8ea63 When pcap_compile() detects an error, it longjmp()'s out of the
scanner/parser. FreeBSD recently made 'flex' its default implementation
of 'lex'. One of the incompatibilities of 'flex' vs. 'lex' is that
if you longjmp() out of the scanner, you must call yyrestart()
before doing another scan (as documented in flex(1)). So add an
invocation to yyrestart() in lex_init(). This change should be
backwards compatible with the original 'lex'.

PR:	bin/24116
2001-01-07 00:26:32 +00:00
David E. O'Brien
5720952623 Upgrade instructions that describe the 11-July-2000 import. 2001-01-04 11:21:44 +00:00
Ben Smithurst
f0ff2d5f66 more(3) -> more(1), and add $FreeBSD$
PR:		24033
Submitted by:	Rich Morin <rdm@cfcl.com>
2001-01-03 18:32:10 +00:00
David E. O'Brien
ac82a333b2 Merge rev 1.2 (-fformat-extensions); 1.{7,9} (complain about -O2 on the
Alpha & FORCE_OPTIMIZATION_DOWNGRADE); 1.8 (-Wnon-const-format)
into GCC 2.95.3(RC#1).
2001-01-03 18:05:31 +00:00
David E. O'Brien
f0ae320070 Merge gcc.2.95.3-test1 changes onto mainline 2001-01-03 17:17:01 +00:00
David E. O'Brien
14193a95b7 Merge gcc 2.95.3-test1 changes onto vendor branch 2001-01-03 17:17:00 +00:00
Peter Wemm
8f90f252f4 Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #1 2001-01-03 17:16:05 +00:00
David E. O'Brien
48f9f7204c This commit was generated by cvs2svn to compensate for changes in r70635,
which included commits to RCS files with non-trunk default branches.
2001-01-03 17:16:04 +00:00
David E. O'Brien
5401a9ce8b Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #1 2001-01-03 17:16:04 +00:00
Ruslan Ermilov
ec99c9e90b Fixed the ``no space after a .Fl'' problem.
Example:

.Fl flag .
The space is missing.

Obtained from:	mdocNG
2000-12-15 14:57:11 +00:00
Alfred Perlstein
5af128b21e Adapt to new struct kinfo_proc and unbreak world.
Apologies to: darrenr who is maintainer
2000-12-14 23:35:57 +00:00
David E. O'Brien
a7f8efad11 Import of a GCC 2.96 snapshot taken from the trunk of the FSF GCC anoncvs
server on 11-July-2000, at 17:32 Zulu.

This is the last point [that I know of] that Cygnus synced their internal
IA-64 GCC tree with the public FSF one.
2000-12-14 21:42:21 +00:00
David E. O'Brien
50a37bc4a7 This commit was generated by cvs2svn to compensate for changes in r70029,
which included commits to RCS files with non-trunk default branches.
2000-12-14 21:42:21 +00:00
Ruslan Ermilov
e64b430e47 Prepare for FreeBSD 4.3, we already have the manpage that refers to it. 2000-12-14 11:50:42 +00:00
Assar Westerlund
ba688fa510 (scrub_env): change to only accept a listed set of variables,
including only non-filename contents for TERMCAP
2000-12-10 20:50:20 +00:00
Ruslan Ermilov
78621becb9 Do not duplicate our efforts checking FreeBSD version. For a new version,
simply define the empty string before the .Fx macro definition, like this:

.ds Fx*4.3
2000-12-06 18:31:21 +00:00
Ruslan Ermilov
4c5804ea54 Install the stock (as supplied by groff(1) distribution) tmac.an
and tmac.andoc files.  The man(1), catman(1) and bsd.man.mk have
been modified to call groff(1) with -mandoc argument.
2000-12-06 17:02:33 +00:00
Ruslan Ermilov
081b301be3 Backout rev 1.2 (emulate :o' and /o' letters using 'o'),
since they are already emulated in tmac.tty-char.
2000-12-06 12:45:10 +00:00
Ruslan Ermilov
c0f2657bc2 Reduce the diffs with the stock (FSF) version. 2000-12-06 09:32:10 +00:00
Ruslan Ermilov
0138a93062 Backout rev 1.2 (workaround for gcc 2.60 expression evaluation
bug) as later versions of gcc have apparently this bug fixed.
2000-12-06 09:21:36 +00:00
Ruslan Ermilov
a022bb6ce3 Use stock (FSF) version of this file. 2000-12-06 08:49:05 +00:00
Ruslan Ermilov
6d856126f9 Resolve conflicts after v1.16.1 import. 2000-12-05 19:06:41 +00:00
Ruslan Ermilov
efa37f53c6 Removed yacc(1) output files. 2000-12-05 18:53:29 +00:00
Ruslan Ermilov
f10b398a26 Removed files not present in v1.16.1 import. 2000-12-05 18:52:33 +00:00
Ruslan Ermilov
c8d1b47c7f Virgin import of FSF groff v1.16.1 2000-12-05 18:49:44 +00:00
Ruslan Ermilov
a8c609dad1 This commit was generated by cvs2svn to compensate for changes in r69626,
which included commits to RCS files with non-trunk default branches.
2000-12-05 18:49:44 +00:00
Ruslan Ermilov
d3bc44f91c This commit was generated by cvs2svn to compensate for changes in r69482,
which included commits to RCS files with non-trunk default branches.
2000-12-01 15:36:10 +00:00
Ruslan Ermilov
b8d4dc6c68 Follow POLA and bind the <End> key to the `$' command.
This is committed to the vendor (BOSTIC) branch because
it was accepted (committed) by ``nvi'' maintainers:

On Fri, Dec 01, 2000 at 03:51:14PM +0100, Sven Verdoolaege wrote:
[...]
> RCS file: /b/CVSROOT/vi/cl/cl_bsd.c,v
> Working file: cl_bsd.c
> head: 8.32
> branch:
> locks: strict
> access list:
> symbolic names:
>         nvi1-81-1: 8.31
>         nvi1-81-0: 8.30
>         nvi1-80: 8.29.0.2
> keyword substitution: kv
> total revisions: 32;    selected revisions: 1
> description:
> ----------------------------
> revision 8.32
> date: 2000/12/01 13:56:17;  author: skimo;  state: Exp;  lines: +2 -1
> allow use of <End> key on AT-compatible keyboards (Ruslan Ermilov <ru@FreeBSD.org>)
> =============================================================================
>
> RCS file: /b/CVSROOT/vi/cl/cl_term.c,v
> Working file: cl_term.c
> head: 10.28
> branch:
> locks: strict
> access list:
> symbolic names:
>         nvi1-81-1: 10.27
>         nvi1-81-0: 10.23
>         nvi1-80: 10.23.0.2
> keyword substitution: kv
> total revisions: 47;    selected revisions: 1
> description:
> ----------------------------
> revision 10.28
> date: 2000/12/01 13:56:18;  author: skimo;  state: Exp;  lines: +2 -1
> allow use of <End> key on AT-compatible keyboards (Ruslan Ermilov <ru@FreeBSD.org>)
2000-12-01 15:36:10 +00:00
Sheldon Hearn
52bb494f29 Catch up to perl-5.6.0. 2000-12-01 12:11:24 +00:00
David E. O'Brien
9ea458c501 Update the 3-June-2000 import delete list to keep mkdeps.[ch] which
is needed by the new C preprocessor.
2000-12-01 11:02:05 +00:00
David E. O'Brien
d14352244a Comment an endif. 2000-12-01 10:20:17 +00:00
Andrey A. Chernov
1b9b1d4d57 This file not present in 6.10 2000-11-30 21:07:50 +00:00
Andrey A. Chernov
3b6eaa7b1e Initial import of slightly trimmed tcsh 6.10 2000-11-30 21:05:33 +00:00
Andrey A. Chernov
5b91eb6c78 This commit was generated by cvs2svn to compensate for changes in r69408,
which included commits to RCS files with non-trunk default branches.
2000-11-30 21:05:33 +00:00
Jeroen Ruigrok van der Werven
acd1c3499e Add more environment variables to be filtered through scrub_env().
Synched from normal telnet.
2000-11-30 13:14:54 +00:00
Jeroen Ruigrok van der Werven
d904cf9f8e String paranoia fix. Synched from normal telnet. 2000-11-30 13:10:01 +00:00
Jeroen Ruigrok van der Werven
7e8f2fef03 String paranoia. Merged from regular telnet. 2000-11-30 10:55:25 +00:00
Kris Kennaway
f6fd83ed27 Correct definition of MAXHOSTNAMELEN in ifdef'ed code.
Submitted by:	Edwin Groothuis <mavetju@chello.nl>
PR:		bin/22787
2000-11-26 21:37:51 +00:00
David E. O'Brien
d352c316d4 Information on how I did the import and upgrade instructions. 2000-11-26 21:29:25 +00:00
David E. O'Brien
ebb4cbb2d0 Virgin import of Christos Zoulas FILE 3.33. 2000-11-26 21:26:20 +00:00
David E. O'Brien
200f92ce8d This commit was generated by cvs2svn to compensate for changes in r69216,
which included commits to RCS files with non-trunk default branches.
2000-11-26 21:26:20 +00:00
David E. O'Brien
bf9a5db426 Import a virgin (but trimed) Binutils 2.10 release. 2000-11-26 01:21:09 +00:00
David E. O'Brien
8949746149 This commit was generated by cvs2svn to compensate for changes in r69180,
which included commits to RCS files with non-trunk default branches.
2000-11-26 01:21:09 +00:00
David E. O'Brien
1c58bf46ba Import of GNU Binutils version 2.10.1.
Believe it or not, this is heavily stripped down.
2000-11-25 10:29:36 +00:00
David E. O'Brien
abe1ff27c1 This commit was generated by cvs2svn to compensate for changes in r69159,
which included commits to RCS files with non-trunk default branches.
2000-11-25 10:29:36 +00:00
David E. O'Brien
04fa5c9c88 Remove binutils 2.9.1 files that are not part of 2.10.x. 2000-11-25 10:23:21 +00:00
David E. O'Brien
b068880df6 Remove binutils 2.9.1 files that are not part of 2.10.x. 2000-11-25 09:57:13 +00:00
David E. O'Brien
bc2c479e0a Remove this binutils 2.8.1 file that was never part of any FreeBSD release. 2000-11-25 02:08:34 +00:00
David E. O'Brien
afee4f874c Remove this binutils 2.8.1 file that was never part of any FreeBSD release. 2000-11-25 02:02:01 +00:00
David E. O'Brien
4ae4f784dc Update for the Bintuils 2.10.1 import. 2000-11-23 12:28:19 +00:00
Ben Smithurst
33bbe5bb02 Add the appropriate magic to make .Fx 4.1.1 work. 2000-11-23 11:17:33 +00:00
Ruslan Ermilov
2ba69799de Make An macro understand two special arguments, -nosplit
and -split.  See the mdoc.samples(7) manpage for details.

Reviewed by:	sheldonh
2000-11-22 08:39:17 +00:00
Ruslan Ermilov
e97407b4f2 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
Sheldon Hearn
3ec9f22241 Add libcompat record for .Lb macro. 2000-11-20 15:07:14 +00:00
Kris Kennaway
f743d11975 Fix a buffer overflow from a long local hostname.
Obtained from:	OpenBSD
2000-11-19 10:08:26 +00:00
Ruslan Ermilov
aaf0d9a64c While in the SYNOPSIS section, Nm macro always required an
argument to setup indentation for the rest of the synopsis
line and to automatically emit a line break for a non-first
synopsis line.  It does not require it anymore.

The following now works as expected:

.Sh NAME
.Nm utility
.Sh SYNOPSIS
.Nm
.Cm start
.Nm
.Cm stop
2000-11-18 17:34:55 +00:00
Ruslan Ermilov
1dbbcab2fb Return to the stock version of this file as local FreeBSD mods
to it have been made in mdoc(7) format, but now it is again in
man(7) format, and the vendor apparently incorporated our mods.
2000-11-17 16:30:34 +00:00
Ruslan Ermilov
7897159684 Fixed Nm macro so that it accepts punctuation characters as argument.
For example, neither of the following worked before:

     .Nm ,       name,
     .Nm .       name.
     .Nm :       name:
     .Dq Nm      ``name''
     .Op Nm .    [name].
2000-11-17 15:30:41 +00:00
Ruslan Ermilov
9e202696b0 Make the question mark (`?') a valid punctuation character.
One can now, for example, write:

.Sh EXAMPLES
Have you read the
.Xr mdoc 7 ?
.Pp
Do you like
.Fx ?

The mdoc.samples(7) page has been automatically updated to
record this change.
2000-11-16 17:04:14 +00:00
Ruslan Ermilov
82490b9ad8 Fix problem with extra space after an Xr, because aZ was being called twice.
Fix the no-space-after-a-period-in-macro problem.

Obtained from:	NetBSD
2000-11-16 16:05:13 +00:00
David E. O'Brien
5d6d24e9e8 dyn-string.* moved to libiberty/ and include/. 2000-11-15 21:27:22 +00:00
David E. O'Brien
b8637d9f22 Merge rev 1.2 into Binutils 2.10.1.
Teach `ld' about FreeBSD (ie, fix the All the World's Linux) and how to
access our ld ELF hints.
2000-11-15 21:26:21 +00:00
David E. O'Brien
594f11a5ea Merge conflicts. Adds revs 1.2 and 1.3 (FreeBSD configuration support),
and preliminary sparc, strongarm, PPC FreeBSD support to Binutils 2.10.1.
2000-11-15 21:25:10 +00:00
David E. O'Brien
5d2cf377df Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.10.1. 2000-11-15 21:24:10 +00:00
David E. O'Brien
ee5fdef30c Merge conflicts into Binutils 2.10.1.
This fixes the i386 config bits, merge in the Alpha bits, and adds
arm32 & sparc bits.
2000-11-15 21:23:09 +00:00
David E. O'Brien
a931252992 We use the stock version of this file now. 2000-11-15 21:20:56 +00:00
David E. O'Brien
e5c271f3d1 Return to the vendor's version of this file as in rev 1.4. 2000-11-15 21:20:05 +00:00
David E. O'Brien
3cb0460bb0 We use the stock version of this file now.
(Our needs have been addressed by the Binutils maintainers)
2000-11-15 21:11:53 +00:00
David E. O'Brien
74b4d11d4e Only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined elsewhere.
FreeBSD does not adhear to the System V 64-bit ABI for the dynamic
[linker] interpreter, and thus must override this value.
2000-11-15 21:07:32 +00:00
David E. O'Brien
8a10a1e8f8 Only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined elsewhere.
FreeBSD does not adhear to the Intel386 System V ABI for the dynamic
[linker] interpreter, and thus must override this value.
2000-11-15 21:05:56 +00:00
David E. O'Brien
ac9fb8ca50 Merge our ELF branding into Binutils 2.10.1. 2000-11-15 21:04:41 +00:00
David E. O'Brien
98c12ca6b6 Import of GNU Binutils version 2.10.1.
Believe it or not, this is heavily stripped down.
2000-11-15 20:52:56 +00:00
David E. O'Brien
e3e2243d4d This commit was generated by cvs2svn to compensate for changes in r68765,
which included commits to RCS files with non-trunk default branches.
2000-11-15 20:52:56 +00:00
Ruslan Ermilov
b5c508fba3 Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
Ruslan Ermilov
5e8eaa452b Fixed the last-minute bug I have made in previous revision (.ie -> .if). 2000-11-13 16:23:00 +00:00
Ruslan Ermilov
44977436b7 Really make the Fx macro parsed and callable. 2000-11-13 15:22:57 +00:00
David E. O'Brien
3191012c29 Import a virgin (but trimed) Binutils 2.10 release. 2000-11-13 09:30:58 +00:00
David E. O'Brien
e1ffd53830 This commit was generated by cvs2svn to compensate for changes in r68673,
which included commits to RCS files with non-trunk default branches.
2000-11-13 09:30:58 +00:00
David E. O'Brien
6332cabb9b remove files not needed. 2000-11-13 09:22:26 +00:00
David E. O'Brien
5a436ba7a4 Upgrade to Binutils 2.10.0. 2000-11-13 09:14:15 +00:00
David E. O'Brien
08c6aaebe3 This commit was generated by cvs2svn to compensate for changes in r68670,
which included commits to RCS files with non-trunk default branches.
2000-11-13 09:14:15 +00:00
David E. O'Brien
e4475bb03f Properly format the SUBTARGET_SWITCHES so that ``gcc -v --help'' prints
them out.

PR:		19326
Submitted by:	Naohiko Tsuji <yakisoba@f2.dion.ne.jp>
2000-11-11 04:50:51 +00:00
Ruslan Ermilov
726b61ab5f Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
David E. O'Brien
7d6cccab42 Remove the -kthread option that matched [sort of] the LinuxThreads port.
This option depended on bits not part of the base system and required
people to install the LinuxThreads port in a manner non-consistent with
the workings of our Ports Collection.
The directions for properly linking with LinuxThreads are given by that
port at install time.

Requested by:	jasone
2000-11-07 21:49:08 +00:00
Jeroen Ruigrok van der Werven
8e14eeeb1d Fix AA being cleared on notify "queries"
Submitted by:	Mark Andrews <marka@nominum.com>
2000-11-06 16:10:57 +00:00
Jeroen Ruigrok van der Werven
a16a1bed6d This commit was generated by cvs2svn to compensate for changes in r68396,
which included commits to RCS files with non-trunk default branches.
2000-11-06 16:10:57 +00:00
David E. O'Brien
75a6cdb3a2 Virgin import of FILE 3.32 2000-11-05 08:33:55 +00:00
David E. O'Brien
e1d1cf43d7 This commit was generated by cvs2svn to compensate for changes in r68349,
which included commits to RCS files with non-trunk default branches.
2000-11-05 08:33:55 +00:00
Kris Kennaway
b3a5f6c29d Import vendor fix for insecure temporary filename creation with the
'<<' operator, reported on bugtraq by proton <proton@ENERGYMECH.NET>
2000-11-04 22:23:19 +00:00
Kris Kennaway
2004645454 This commit was generated by cvs2svn to compensate for changes in r68332,
which included commits to RCS files with non-trunk default branches.
2000-11-04 22:23:19 +00:00
David E. O'Brien
c6c78b97ca * Consistently use the `make_resolv_conf' function.
* Better handling of the 127.0.0.1 route.
* Minor style tweak to reduce diffs from v3 script and ours.

Obtained from:	ISC v3 client script
2000-11-04 20:45:35 +00:00
David E. O'Brien
235854e865 This commit was generated by cvs2svn to compensate for changes in r68325,
which included commits to RCS files with non-trunk default branches.
2000-11-04 20:14:55 +00:00
David E. O'Brien
7657fb140f Import Patchlevel 5 of the ISC 2.0 dhcp client plus bug fixes from the
beta ISC DHCP version 3 offering.

In message http://www.isc.org/ml-archives/dhcp-client/2000/10/msg00001.html
author Ted Lemon stated "This will not be fixed in any 2.0 release - 2.0
is no longer being maintained." to a reported problem about an
interoperability problem against Microsoft servers.  FreeBSD went with the
ISC client vs. the WIDE client because others convinced me it was better
supported.  Sigh.  I wonder if version 3 will get the same treatment after
its release...

Since FreeBSD generally uses only released contrib products and the ISC
version 3 offering is still in beta, our backs are up against the wall.

The common/options.c rev 1.65 work around for erroneous Microsoft DHCP
servers has been back ported to the version 2.0pl5 client.  Since this
comes from a change in the vendor's own code (and would no doubt also be
committed to the version 2 client if the author were still supporting it),
we will consider this a vendor release and import this as such.

PR:	21658
Submitted by:	Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
2000-11-04 20:14:55 +00:00
David E. O'Brien
7b9e3929de Fix conflicts. 2000-11-04 19:59:11 +00:00
David E. O'Brien
33abda25ac Import Patchlevel 5 of the ISC 2.0 dhcp client. 2000-11-04 19:57:10 +00:00
David E. O'Brien
148441e52a This commit was generated by cvs2svn to compensate for changes in r68320,
which included commits to RCS files with non-trunk default branches.
2000-11-04 19:57:10 +00:00
Warner Losh
70cf0d7ec3 Fix another possible bufer overflow in top.
PR: bin/22496
2000-11-03 22:00:10 +00:00
Jeroen Ruigrok van der Werven
3051954cb4 Resolve conflicts. 2000-10-31 14:19:55 +00:00
Jeroen Ruigrok van der Werven
015944e3a5 Virgin import of BIND v8.2.3-T6B 2000-10-31 14:17:05 +00:00
Jeroen Ruigrok van der Werven
da1b4bb715 This commit was generated by cvs2svn to compensate for changes in r68073,
which included commits to RCS files with non-trunk default branches.
2000-10-31 14:17:05 +00:00
Jeroen Ruigrok van der Werven
bc3a71005f Resolve conflicts. 2000-10-31 12:38:22 +00:00
Jeroen Ruigrok van der Werven
0fa5b6b1ab Virgin import of BIND v8.2.3-T6B 2000-10-31 12:35:45 +00:00
Jeroen Ruigrok van der Werven
054caa0371 This commit was generated by cvs2svn to compensate for changes in r68068,
which included commits to RCS files with non-trunk default branches.
2000-10-31 12:35:45 +00:00
David E. O'Brien
2644e5e81b Start using crt[in].o to adhear to the ELF ABI
(and crtstuff.c's requirements).
2000-10-30 12:25:22 +00:00
David E. O'Brien
1c31aa84e2 Catch a left over reference to "/a". 2000-10-30 10:54:09 +00:00
Darren Reed
c91fbe3bb4 fix conflicts created by import 2000-10-29 08:08:32 +00:00
Darren Reed
801aabae69 Import IP Filter 3.4.13 into src/contrib, not src/contirb 2000-10-29 08:07:08 +00:00
Darren Reed
2bd1292fe1 This commit was generated by cvs2svn to compensate for changes in r67855,
which included commits to RCS files with non-trunk default branches.
2000-10-29 08:07:08 +00:00
John Polstra
ae5dbaf270 Fix a bug that shows up when checking out files by date with the
"-D date" command line option.  There is code in the original to
handle a special case.  If the date search finds revision 1.1 it
is supposed to check whether revision 1.1.1.1 has the same date
stamp, which would indicate that the file was originally brought
in with "cvs import".  In that case it is supposed to return the
vendor branch version 1.1.1.1.

However, there is a bug in the code.  It actually compares the date
of revision 1.1 for equality with the date given on the command
line -- clearly wrong.  This commit fixes the coding bug.

There is an additional bug which is _not_ fixed in this commit.
The date comparison should not be a strict equality test.  It should
allow a fudge factor of, say, 2-3 seconds.  Old versions of CVS
created the two revisions with two separate invocations of the RCS
"ci" command.  We have many old files in the tree in which the
dates of revisions 1.1 and 1.1.1.1 differ by 1 second.

Approved by:	peter
2000-10-29 03:56:49 +00:00
Kris Kennaway
579c78c7f6 Sync with usr.bin/telnet/telnet.c r1.9 - fix buffer overflow in DISPLAY 2000-10-29 00:10:14 +00:00
David E. O'Brien
a918f16a94 Defining usage() "__dead" is just ridiculous. It also won't compile with
a June 2000 GCC 2.96 snapshot.

Reviewed by:	bde
2000-10-27 05:51:59 +00:00
Darren Reed
33fe2fbd37 fix conflicts from rcsids 2000-10-26 12:47:40 +00:00
Darren Reed
7aba7e7040 Import IP Filter 3.4.12 2000-10-26 12:45:54 +00:00
Darren Reed
c5de53b9a7 This commit was generated by cvs2svn to compensate for changes in r67615,
which included commits to RCS files with non-trunk default branches.
2000-10-26 12:45:54 +00:00
David E. O'Brien
53f303f5db Remove GLOBAL -- it has moved to Ports.
Approved by:	unanimous response on arch@freebsd.org (June time frame)
2000-10-15 07:01:47 +00:00
David E. O'Brien
eb8a206034 Helper to trim extracted files for use when importing new versions of
gperf.  This version coresponds to the gerpf 2.7.2 import.
2000-10-13 12:36:13 +00:00
David E. O'Brien
8c91c0948a This commit was generated by cvs2svn to compensate for changes in r67064,
which included commits to RCS files with non-trunk default branches.
2000-10-13 12:04:55 +00:00
David E. O'Brien
20ea4fec1d Virgin import of gperf v2.7.2. 2000-10-13 12:04:55 +00:00
David E. O'Brien
035d965568 Helper listing file specs to remove from a FSF/GCC anoncvs checkout
before importing new versions of GCC.  This differs from FREEBSD-Xlist
in that this is for use only with anoncvs checkouts, not tarball'ed
releases [snapshots].

This delete list applies to the 3-June-2000 import.
2000-10-13 11:35:53 +00:00
David E. O'Brien
86d0ff06b7 Upgrade instructions that describe the 3-June-2000 import. 2000-10-13 11:32:20 +00:00
Ruslan Ermilov
6c9e7248c0 Cleaned up the .St macro.
Obtained from:	NetBSD
2000-10-11 09:51:27 +00:00
Peter Wemm
5702016eec Merge ncurses vendor changes (v5_1_20000701->v5_1_20001009) onto mainline 2000-10-11 07:33:47 +00:00
Peter Wemm
18259542b2 Import ncurses-5.1-20001009 onto the vendor branch 2000-10-11 07:31:01 +00:00
Peter Wemm
6e0da8f8c9 This commit was generated by cvs2svn to compensate for changes in r66963,
which included commits to RCS files with non-trunk default branches.
2000-10-11 07:31:01 +00:00
David E. O'Brien
a404a90a1b Add a macro for ISO C99 ("isoC-99"). 2000-10-10 23:14:55 +00:00
Gregory Neil Shapiro
3d1a10799a Add FreeBSD-only options to the getopt string
PR:		21544
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
2000-10-10 22:27:08 +00:00
Kris Kennaway
c9f7579521 Don't write past the end of our fd_set
Obtained from:	OpenBSD, via KAME
2000-10-08 07:58:32 +00:00
Kris Kennaway
d35c03b40d Format string paranoia. 2000-10-08 07:54:43 +00:00
Ruslan Ermilov
427f20937d Fix the `missing footer' problem. See the comment for details.
Obtained from:	NetBSD
2000-10-06 13:22:24 +00:00
Kris Kennaway
7524a0790d * Buffer-safe string function cleanup. There are a couple of strcpy()
and strcat()s which would be more difficult to fix, but I think they're
  safe anyway.
* Don't crash at runtime by overflowing a buffer with constant data in
  print-icmp.c on a long hostname.
* Don't overflow a static buffer by trying to decode an AFS ACL into a buffer
  which is way too small for it.

Reviewed by:    -audit
2000-10-05 02:49:49 +00:00
Warner Losh
1e3661ab60 display.c: sprintf -> snprintf
top.c: fix from NetBSD/OpenBSD: make sure that new_message() is called
with a format.

Add $FreeBSD$ While I'm here.

These files are already off the vendor branch.
2000-10-04 23:34:16 +00:00
Peter Wemm
ba9369b9b9 Merge changes from 1.10.7 -> 1.11 into mainline. Note that the old
anoncvs no-password hack is gone and is replaced by the official version.
2000-10-02 06:43:58 +00:00
Peter Wemm
a3b502f88f Import cvs-1.11 onto vendor branch. 2000-10-02 06:33:59 +00:00
Peter Wemm
d65e2e3fd6 This commit was generated by cvs2svn to compensate for changes in r66525,
which included commits to RCS files with non-trunk default branches.
2000-10-02 06:33:59 +00:00
Gregory Neil Shapiro
31305937b3 Add missing FreeBSD-only flag to the usage statement. 2000-10-01 16:32:16 +00:00
Gregory Neil Shapiro
e30cb8b125 Update FreeBSD import information after sendmail 8.11.1 import 2000-10-01 02:06:00 +00:00
Gregory Neil Shapiro
d995d2ba6b Fix conflicts from merge of sendmail 8.11.1 2000-10-01 02:03:50 +00:00
Gregory Neil Shapiro
42e5d16589 Import of sendmail version 8.11.1 into vendor branch SENDMAIL with
release tag v8_11_1.

Obtained from: ftp://ftp.sendmail.org/pub/sendmail/
2000-10-01 01:49:02 +00:00
Gregory Neil Shapiro
a9ff8c001c This commit was generated by cvs2svn to compensate for changes in r66494,
which included commits to RCS files with non-trunk default branches.
2000-10-01 01:49:02 +00:00
Gregory Neil Shapiro
f14ecfa18a Remove Build files -- they rely on the devtools system which isn't imported
(or used)
2000-10-01 01:22:44 +00:00
Peter Wemm
33cd46fe61 Missing quote
PR:		misc/19745
Submitted by:	Tony Finch <dot@dotat.at>
2000-09-25 18:23:34 +00:00
Hajimu UMEMOTO
6568848868 - reject numeric address
- validate scope in sockaddr comparison logic

patch was originally submitted by itojun and slightly modified by me.

Reviewed by:	itojun, kris
2000-09-25 00:41:55 +00:00
Hajimu UMEMOTO
2f0cc2fd05 Don't touch ai_canonname without checking NULL. Current
implementation of getaddrinfo() may return NULL ai_canonname.
There is no consensus how getaddrinfo() should fill ai_canonname
when numeric hostname is given.

Reported by:	kris
2000-09-23 15:40:12 +00:00
Ruslan Ermilov
05afaf4b47 Removed files not present in v1_15 import. 2000-09-22 10:05:18 +00:00
Ruslan Ermilov
7a0a11ad32 Fixed the `mysterious blank lines' problem. This was due to unconditional
use of the .ne requests.  groff(1) apparently inserts some virtual trap at
the end of each page, and this was causing the .ne request to output extra
lines.  Solution is to only use them in troff mode.

Also fixed a related bug in .It macros, where it would insert a page break
in the middle of a sentence.

Removed the end of page trap in nroff mode, as this causes .sp requests to
sometimes eat the space due to the nearby trap.

Removed blank line that appeared as the first line on each nroff-formatted
manual page.

Obtained from:	NetBSD
2000-09-21 17:02:15 +00:00
Peter Wemm
a1e753fa30 Don't declare ospeed as a common - and it happens to be incorrect as well.
top doesn't use it and it causes a linker warning.
2000-09-16 19:36:18 +00:00
Brian Feldman
0fbf304b54 Also coerce diff(1) into working the other way (from no-\n to \n).
Taking out the evil warning fixed it one way, but didn't make the
other way any better, so replace it with printing a single \n.
2000-09-15 11:35:16 +00:00
Brian Somers
fd4409e068 Revert my last change. libutil.h is still required for setusercontext()
and unistd.h is already included.

Requested by:	gshapiro
2000-09-06 17:59:37 +00:00
Sheldon Hearn
c3f4a67494 Fix bug that causes gawk to choke when parsing long source files.
Reported by:	Tony Fleisher <takhus@takhus.mind.net>
Submitted by:	Aharon Robbins <arnold@skeeve.com>
2000-09-04 10:42:19 +00:00
Brian Somers
9feac5c218 Move setproctitle() from libutil to libc (after a repo-copy)
and bump __FreeBSD_version to 500012 to mark the occasion.

setproctitle() is prototyped in unistd.h as opposed to stdlib.h
where OpenBSD and NetBSD have it.

Reviewed by: peter
2000-09-02 01:51:36 +00:00
Ruslan Ermilov
35cf65631c Teach .Fx and .Os about FreeBSD 4.2. 2000-09-01 10:30:40 +00:00
David E. O'Brien
405177510c Document change to the default mount dir. 2000-09-01 01:17:18 +00:00
David E. O'Brien
9f299dcfbb Since this is off the vendor branch, might as well change the default
mounting directory to what we always specify in /etc/defaults/rc.conf.
2000-09-01 01:15:56 +00:00
Alexey Zelkin
b0f28b7f4a Add libusb record for .Lb macro 2000-08-29 15:15:48 +00:00
Kris Kennaway
4635a6924f Fix for buffer overflow in command-line arguments to dnsquery(1) which
will be appearing in 8.2.3

Approved by:	Paul A Vixie <vixie@mibh.net>
2000-08-23 09:25:05 +00:00
Kris Kennaway
4fbd047fee This commit was generated by cvs2svn to compensate for changes in r65016,
which included commits to RCS files with non-trunk default branches.
2000-08-23 09:25:05 +00:00
Alexey Zelkin
2cdbd5eec4 Ukrainian message catalogs for vi.
Submitted by:	Kunytsa Oleksander <kunia@snark.ukma.kiev.ua>
2000-08-22 21:59:42 +00:00
Mark Murray
24ad19c546 Resolve conflicts. 2000-08-20 09:51:08 +00:00
Mark Murray
169c95233c This commit was generated by cvs2svn to compensate for changes in r64866,
which included commits to RCS files with non-trunk default branches.
2000-08-20 08:43:07 +00:00
Mark Murray
8947993a91 Vendor supplied patches to fix procname ($0) 2000-08-20 08:43:07 +00:00
Sheldon Hearn
e4b22f69ae Describe the process used for the gawk-3.0.6 update in
FREEBSD-upgrade and remove the config.h which should never
have existed in the contrib area.  That file has been moved
into gnu/usr.bin/awk where it belongs.
2000-08-15 14:42:50 +00:00
Sheldon Hearn
3c28a656f2 Merge the vendor release of gawk-3.0.6 onto HEAD.
This addresses one known problem in the PR database.

PR:		13921
Reported by:	Jin Guojun <j_guojun@lbl.gov>
2000-08-15 10:20:01 +00:00
Sheldon Hearn
4192247c04 Update vendor branch to gawk-3.0.6. 2000-08-15 10:02:07 +00:00
Sheldon Hearn
86a0a16ecd This commit was generated by cvs2svn to compensate for changes in r64666,
which included commits to RCS files with non-trunk default branches.
2000-08-15 10:02:07 +00:00
Mark Murray
29c800e0e7 Suidperl fixes.
1) Official patch - remove the whole effort to fork off a process
   to run /bin/mail; we don't have a /bin/mail, but this brings our
   code in line with mainstream Perl recommendation.

2) Make the "Can't do setuid" message a bit clearer; when our userbase
   bumps into our suidperl-with-no-commit-bit, give them a good clue as
   to what is going on.
2000-08-13 20:05:58 +00:00
Gregory Neil Shapiro
9350bdc398 Fix syntax for Received: header after conflict resolution.
Problem noted by: Andrey A. Chernov <ache@FreeBSD.ORG>
2000-08-13 18:47:42 +00:00
Darren Reed
561e006b67 resolve conflicts 2000-08-13 05:00:44 +00:00
Darren Reed
f345cd2b83 Import base ipfilter 3.4.9 into contrib dir. 2000-08-13 04:58:02 +00:00
Darren Reed
3002dee911 This commit was generated by cvs2svn to compensate for changes in r64588,
which included commits to RCS files with non-trunk default branches.
2000-08-13 04:58:02 +00:00
Gregory Neil Shapiro
cd904b75f9 Add a FREEBSD-upgrade file describing what was done for the import
Remove obsolete files after the 8.11.0 import
2000-08-12 22:25:19 +00:00
Gregory Neil Shapiro
3299c2f123 Fix conflicts from merge of sendmail 8.11.0.
PR:		bin/11552 misc/18512 bin/15088
2000-08-12 22:19:16 +00:00
Gregory Neil Shapiro
06f25ae9f1 Import of sendmail version 8.11.0 into vendor branch SENDMAIL with
release tag v8_11_0.

Obtained from: ftp://ftp.sendmail.org/pub/sendmail/
2000-08-12 21:55:49 +00:00
Gregory Neil Shapiro
e8c96e01af This commit was generated by cvs2svn to compensate for changes in r64562,
which included commits to RCS files with non-trunk default branches.
2000-08-12 21:55:49 +00:00
David E. O'Brien
4a0d94aa19 Fix conflicts. 2000-08-09 18:38:26 +00:00
David E. O'Brien
3b5006fdf4 Vendor approved fix where with some CIDR subnets, dhclient would set the
broadcast address to the [sub]net address.

Approved by:	Ted Lemon <mellon@nominum.com>
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
2000-08-09 18:37:31 +00:00
David E. O'Brien
48a0f0c81a This commit was generated by cvs2svn to compensate for changes in r64234,
which included commits to RCS files with non-trunk default branches.
2000-08-04 09:35:05 +00:00
David E. O'Brien
6bb613ded9 Virgin import of gdb-5.0 2000-08-04 09:35:05 +00:00
David E. O'Brien
3378439583 These files are for an arch we don't care about. 2000-08-04 08:34:04 +00:00
David E. O'Brien
c3a39688f9 Update for GDB 5.0. 2000-08-02 20:18:50 +00:00
David E. O'Brien
d283e618bd These files are for an arch we don't care about. 2000-08-02 11:56:42 +00:00
Mark Ovens
3cb6c91f9b Remove reference to non-existent manpage (ctl-amd(8)).
PR:		20091
Submitted by:	Bruce A. Mah <bmah@cisco.com>
Approved by:	nik
2000-07-28 19:51:57 +00:00
David E. O'Brien
084059f84f Use the cleaner "-n" syntax w/in [] rather then compare against `""'.
Submitted by:	green
2000-07-28 09:20:39 +00:00
David E. O'Brien
df463686ea Prevent 'set' from it interpreting the shell var as an argument.
Submitted by:	green
2000-07-28 08:53:40 +00:00
David E. O'Brien
8e128180b2 The result of 'set' gives parameters starting with $1, not $0.
Submitted by:	green
2000-07-28 08:46:08 +00:00
Brian Feldman
2f3f4cfcb8 s/Diggest/Digest/ 2000-07-28 01:54:17 +00:00
David E. O'Brien
cfcf9e97c9 Back out rev 1.12 (safe quoting) until I have a chance to rework the change
and get wider testing.  Too many people are having problems with the
script in its current form.
2000-07-24 20:50:18 +00:00
Brian Feldman
0c09388123 Get rid of the stupid bug where diff sticks trash in your generated
diff output; there being no trailing newline caused it to bitch and
moan and ruin diffs.  That's dumb, if I may say so myself.

Yes, this file is coming off the vendor branch.  It hasn't been
updated in 6 years.

Approved by:	peter
2000-07-24 07:40:02 +00:00
Bill Fenner
bb63323352 Import rev 1.26 of tcpdump.org's inet.c -- don't free
the buffer before it's used.
2000-07-20 21:26:45 +00:00
Bill Fenner
c231f6de29 This commit was generated by cvs2svn to compensate for changes in r63696,
which included commits to RCS files with non-trunk default branches.
2000-07-20 21:26:45 +00:00
David E. O'Brien
61203ed3a0 Fix vendor bogon where one of dhcp_option_ev_name()'s formal parameter
types did not match the prototype.

(Note: this is one bug that an Ada compiler would have found as when you
typedef a new type, the new type is not assignment compatabile with the
type used to make it up.  C should only be so featureful.)
2000-07-20 19:51:37 +00:00
Hajimu UMEMOTO
c847fdb1f9 Fix buffer size of ALIGNed buffer.
PR:		bin/20053
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2000-07-20 14:54:04 +00:00
Alexey Zelkin
bcfbf8ad07 Correct default value for -s option.
PR:           bin/12946
Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
2000-07-20 13:27:58 +00:00
David E. O'Brien
f488fa12ec Update to match the upgrade I just performed. 2000-07-20 10:07:13 +00:00
David E. O'Brien
e6d7feef80 Careful with long, command-line provided interface names.
Obtained from:	OpenBSD (rev 1.5)
2000-07-20 09:56:18 +00:00
David E. O'Brien
11c898d281 arp(8) invocations fixed -- one does not use "-n" with "-d".
Obtained from:	OpenBSD (rev 1.7)
2000-07-20 09:55:08 +00:00
David E. O'Brien
38234a80b2 safe shell quoting
Obtained from:	OpenBSD (rev 1.6)
2000-07-20 09:53:10 +00:00
David E. O'Brien
6ad39c5859 Make sure we delete the PID file when we exit.
Obtained from:	OpenBSD rev 1.3 (this semi-security fix was hidden as a
                                 lease time fix)
2000-07-20 09:33:24 +00:00
David E. O'Brien
795cf8bb96 Add yet more options to usage() that the author did not document. 2000-07-20 09:16:30 +00:00
David E. O'Brien
4bb78bf510 Careful with long, command-line provided interface names.
Obtained from:	OpenBSD (rev 1.7)
2000-07-20 08:57:29 +00:00
David E. O'Brien
3074027e68 Fix conflicts. 2000-07-20 08:44:53 +00:00
David E. O'Brien
134783f7a8 Import Patchlevel 3 of the ISC 2.0 dhcp client. 2000-07-20 08:36:42 +00:00
David E. O'Brien
46814e0b72 This commit was generated by cvs2svn to compensate for changes in r63616,
which included commits to RCS files with non-trunk default branches.
2000-07-20 08:36:42 +00:00
Darren Reed
23053d8f2f actually commit merged diffs to the trunk 2000-07-19 23:10:29 +00:00
Archie Cobbs
75da303298 Fix breakage caused by ether_aton() prototype change.
PR:		bin/20033
2000-07-19 16:30:02 +00:00
Archie Cobbs
07da1e52ec Fix make world breakage.
Broken by:	me
2000-07-19 16:03:34 +00:00
Darren Reed
c0230397c7 fix conflicts 2000-07-19 13:56:18 +00:00
Darren Reed
02aea5e854 Import v3.4.8 into -current 2000-07-19 13:52:47 +00:00
Darren Reed
83a94a22b3 This commit was generated by cvs2svn to compensate for changes in r63516,
which included commits to RCS files with non-trunk default branches.
2000-07-19 13:52:47 +00:00
Peter Wemm
ecece7e319 Add missing $FreeBSD$ to files that are NOT still on vendor a branch. 2000-07-16 05:48:49 +00:00
Hajimu UMEMOTO
b208ff84c1 Add IPv6 scoped address support.
It enables us to control link-local connections by interface like
this:

    ALL : [fe80::%ed0]/10 : allow
    ALL : [fe80::]/10 : deny
2000-07-14 17:15:34 +00:00
David Malone
c268f6e47c Stop the tcp_wrappers ident code sending a request which is split
across several packets. This is done by not turning off buffering
on the stdio stream for the ident connection. Originally this was
done to avoid reading back what you'd just written into the buffer.
However ANSI C gives a list of functions which should allow you to
safely change direction on a stdio stream, and Wietse found that
fseek seemed to be the most portable.

The original patch used a different workaround, but this should be
a real fix.

PR:		16086
Reviewed by:	wietse@porcupine.org
(Original version) Approved by:	markm
2000-07-14 15:07:37 +00:00
Paul Saab
15596da42f Merge vendor changes onto mainline. 2000-07-14 09:57:37 +00:00
Paul Saab
94cc830866 This commit was generated by cvs2svn to compensate for changes in r63128,
which included commits to RCS files with non-trunk default branches.
2000-07-14 09:51:40 +00:00
Paul Saab
8ed69c6ff9 Import less v358. 2000-07-14 09:51:40 +00:00
Paul Saab
51525cb020 Make control-c exit when in more compatability mode.
Submitted by:	Scott Long <samsco@mho.com>
2000-07-14 09:13:35 +00:00
Ben Smithurst
ac03480440 Mention "amd -H" in the synopsis so that references to the "first form
listed", etc, make sense.

PR:		18592
Submitted by:	Patrick Gosling <jpmg@eng.cam.ac.uk>
2000-07-12 20:32:43 +00:00
Nick Sayer
67bf7a0ac8 Fix 'telnet -X sra' coredump
PR# 19835
2000-07-11 15:04:05 +00:00
Mark Murray
67205a5041 Find pod2man in the right place.
Submitted by:	aDe (Amongst others).
2000-07-10 17:42:38 +00:00
Kris Kennaway
88868b1649 Correct security hole in setproctitle(). We don't compile this code, but
having the security hole there makes my skin itch.
2000-07-10 07:30:28 +00:00
Kris Kennaway
19a32101dd Don't call printf with no format string. 2000-07-10 05:16:59 +00:00
Hajimu UMEMOTO
1c60903414 Make telnet -s work. It is corresponding to EAI_NONAME -> EAI_NODATA
change (getaddrinfo.c rev 1.12).
2000-07-08 05:22:00 +00:00
Guy Helmer
671dd36817 Document the -S flag (added in rev. 1.4) in the usage() function.
PR:		bin/18153
Prompted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-07-07 19:44:36 +00:00
Jun-ichiro itojun Hagino
7e154dad2e sync with usr.bin/telnet/commands.c 1.21 -> 1.22. pierre.dampure@alveley.org 2000-07-07 12:35:05 +00:00