Commit Graph

3157 Commits

Author SHA1 Message Date
Hartmut Brandt
552b83803a This commit was generated by cvs2svn to compensate for changes in r121330,
which included commits to RCS files with non-trunk default branches.
2003-10-22 08:09:00 +00:00
Gregory Neil Shapiro
1f9b7c9633 Adding WorkAroundBrokenAAAA seems a necessity even in the submit.mc given
the number of broken DNS servers out there in the world.  Since we are
diverging from the sendmail.org submit.mc, it's time to make our own
freebsd.submit.mc.

PR:		conf/57733
Reviewed by:	nork
MFC after:	2 weeks
2003-10-19 00:03:13 +00:00
Daniel Eischen
0fa21a585c The ports freeze may take longer than anticipated. Instead of
waiting for it to be delayed, temporarily back out the -pthread
removal until the freeze is lifted.

Freeze possibly taking longer than necessary:	will
Requested by:	kris
2003-09-21 07:59:16 +00:00
Ruslan Ermilov
641e45f5da Sync with FSF branch. 2003-09-20 21:20:01 +00:00
Ruslan Ermilov
5249fed37f This commit was generated by cvs2svn to compensate for changes in r120297,
which included commits to RCS files with non-trunk default branches.
2003-09-20 21:13:43 +00:00
Ruslan Ermilov
cd060126ad Keep up with recent mdoc(7) changes, that include:
- If no .Os call is made, don't print the OS info at all.
- Allow for multiple .Lb calls in the LIBRARY section.
- Improved documentation on punctuation characters.
2003-09-20 21:13:43 +00:00
Gregory Neil Shapiro
5902aa9498 Update for 8.12.10 import 2003-09-19 23:20:46 +00:00
Gregory Neil Shapiro
7660b554bc Fix sendmail 8.12.10 import conflicts 2003-09-19 23:14:57 +00:00
Gregory Neil Shapiro
2baeb480ca This commit was generated by cvs2svn to compensate for changes in r120256,
which included commits to RCS files with non-trunk default branches.
2003-09-19 23:11:30 +00:00
Gregory Neil Shapiro
a7ec597c92 Import sendmail 8.12.10 2003-09-19 23:11:30 +00:00
Jacques Vidrine
58fec67565 Correct address parsing bug that is believed to be remotely exploitable.
Submitted by:	Michal Zalewski <lcamtuf@dione.ids.pl>
2003-09-17 15:10:36 +00:00
Jacques Vidrine
148aa75197 This commit was generated by cvs2svn to compensate for changes in r120169,
which included commits to RCS files with non-trunk default branches.
2003-09-17 15:10:36 +00:00
Martin Blapp
51adeba1aa The previous fix (rev 1.25) is only needed in the second place. 2003-09-15 15:48:12 +00:00
Martin Blapp
2d5e32058b Only kill the default route in the release mode if the interface
where the default route is bound to is the same device. Keep it
working for the single user or sysinstall mode, where we just do
what we did before.

Suggested by:   dougb
2003-09-15 04:47:41 +00:00
David E. O'Brien
b62fd55fde Bump __FreeBSD_cc_version for (1) 5.1 (post-mortem) (2) -pthread changes. 2003-09-12 19:19:10 +00:00
Martin Blapp
864ce58afa Restore behaviour from rev. 1.9. Only log when there is a real change
to the configuration state.

Noticed by:	obrien
2003-09-09 16:19:46 +00:00
Ruslan Ermilov
9d1be4e42e Unbreak Russian KOI8-R support. 2003-09-08 17:46:33 +00:00
Josef Karthauser
43bf41ebf5 This commit was generated by cvs2svn to compensate for changes in r119743,
which included commits to RCS files with non-trunk default branches.
2003-09-04 18:06:16 +00:00
Josef Karthauser
b12bc0029b This file was missing in the snap, but it ought to be updated in the
vendor branch.
2003-09-04 18:06:16 +00:00
Daniel Eischen
7231b5a661 Remove the -pthread option (in FreeBSD versions 500016 and greater) as
threatened over 2 years ago.

Why?  -pthread was a hack to prevent linking to both libc and libc_r
and became unecessary when libc_r became free of libc.  Now that we
have multiple thread libraries from which to choose, it is more confusing
because you can't link to more than one threads library at a time.
Things like autoconf and libtool sometimes detect -pthread and
also -lc_r, and in conjunction with ports usage of ${PTHREAD_LIBS},
really wacky things ensue when PTHREAD_LIBS is set to another
threads library.  This might not be so bad if the build broke
when this happens, but it doesn't and you don't know it until
funny things happen when you run the application (or use an
affected library).

Reviewed by:    obrien
2003-09-03 15:44:34 +00:00
Martin Blapp
0ac36f0019 Add notice about deleting .cvsignore 2003-09-03 00:46:21 +00:00
Martin Blapp
461dd2f69e Apparently these slipped through the import procedure.
Kill them again.
2003-09-03 00:44:27 +00:00
Martin Blapp
5d2a431778 Sync with 6.0.9 import. Add my email. 2003-09-02 20:09:55 +00:00
Martin Blapp
0974e17d43 Resolve conflicts. 2003-09-02 15:42:57 +00:00
Martin Blapp
7a56a737a5 Virgin import of AMD (am-utils) 20030828 (6.0.9) 2003-09-02 15:27:38 +00:00
Martin Blapp
6935adfc2f This commit was generated by cvs2svn to compensate for changes in r119679,
which included commits to RCS files with non-trunk default branches.
2003-09-02 15:27:38 +00:00
Martin Blapp
a4b3bf5b8c Import ISC DHCP 3.0.1 RC12 client.
- s/include/includes
- remove already merged files
2003-09-02 11:15:03 +00:00
Martin Blapp
fb26c675fb Resolve conflicts. 2003-09-02 11:13:21 +00:00
Martin Blapp
c262a571d1 Resolve conflicts.
* rev. 1.22
2003-09-02 11:10:29 +00:00
Martin Blapp
09f775bd13 Resolve conflicts:
* rev. 1.33/1.25
2003-09-02 11:09:45 +00:00
Martin Blapp
cc55dd3ffa This commit was generated by cvs2svn to compensate for changes in r119669,
which included commits to RCS files with non-trunk default branches.
2003-09-02 11:01:27 +00:00
Martin Blapp
92633f6fc8 Import ISC DHCP 3.0.1 RC12 client. 2003-09-02 11:01:27 +00:00
Martin Blapp
a26181dca1 Sync with ISC repo. Use SIGTERM instead of SIGKILL, make oldpid a long and
cast it into a pid_t.
2003-09-02 09:09:53 +00:00
Daniel Eischen
ee6e0476d2 Backout rev 1.10.
Requested by:	obrien
2003-09-01 05:31:33 +00:00
Daniel Eischen
d489dec95c Remove -pthread as a compiler option. It was deprecated 2.5 years
ago, but not removed.

No reply from:	threads, kan, obrien
2003-08-31 22:38:52 +00:00
Andrey A. Chernov
84e0a946b5 Merge local changes 2003-08-31 18:47:12 +00:00
Andrey A. Chernov
8940778706 Merge local changes 2003-08-31 18:29:38 +00:00
Andrey A. Chernov
d9a84bf203 This commit was generated by cvs2svn to compensate for changes in r119610,
which included commits to RCS files with non-trunk default branches.
2003-08-31 17:55:46 +00:00
Andrey A. Chernov
19eab8b8e4 Virgin import of GNU Readline 4.3 2003-08-31 17:55:46 +00:00
Andrey A. Chernov
d85d259173 Merge local fixes 2003-08-30 14:19:09 +00:00
Andrey A. Chernov
b14bc0052c Remove file no longer in the dist 2003-08-30 14:08:22 +00:00
Andrey A. Chernov
252be7b9c3 This commit was generated by cvs2svn to compensate for changes in r119582,
which included commits to RCS files with non-trunk default branches.
2003-08-30 14:05:55 +00:00
Andrey A. Chernov
906227327c Virgin import (trimmed) of GNU Sort, textutils 2.1 2003-08-30 14:05:55 +00:00
Eivind Eklund
c898f3db07 Replace a reference to /kernel with /boot/kernel/kernel 2003-08-26 15:37:19 +00:00
David E. O'Brien
1bbeaa6437 Reformat FBSD_{START,END}FILE_SPEC to FSF coding standards.
Use these in our i386, amd64, and alpha platforms.
2003-08-24 16:56:31 +00:00
Tim J. Robbins
c69db88340 Remove the # ("stringify") operator from the printf() arguments in
the iprintf macro. It was causing the actual format string and
variable names to be written out, instead of substituting the values
of the variables into the format string.
2003-08-23 13:05:13 +00:00
Alexander Kabaev
b82f80cdc5 Enable warn_system_heders by default. 2003-08-22 03:31:54 +00:00
Alexander Kabaev
7a4310c825 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2   don't let gcc(1) hide warnings in system headers.

Don't disable warning suppression unconditionally, but rather
make in dependent on warn_system_headers flag, one should be
able to use -Wno-system-headers flag if warnings from system
headers are not desired.
2003-08-22 03:26:30 +00:00
Alexander Kabaev
6ff1e7b00d Merge FreeBSD modifications into gcc 3.3.1-release:
1.8   printf format error fixes.
2003-08-22 03:18:02 +00:00
Alexander Kabaev
d3a52ac3e0 Merge FreeBSD modifications into gcc 3.3.1-release:
1.2   Localize the version string.
2003-08-22 03:16:37 +00:00
Alexander Kabaev
63cde6278d Merge FreeBSD modifications into gcc 3.3.1-release:
1.3 suppress warnings on K&R main.
2003-08-22 03:14:37 +00:00
Alexander Kabaev
5f020c09b4 Merge FreeBSD modifications into gcc 3.3.1-release:
1.2  -fformat-extensions.
  1.7  FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha.
  1.14 -O0 -O1 optimize alignment for time, not size.
2003-08-22 03:13:20 +00:00
Alexander Kabaev
d586a2745c Stock files. 2003-08-22 03:10:47 +00:00
Alexander Kabaev
006ca56045 Gcc 3.3.1-release libf2c bits. 2003-08-22 02:57:17 +00:00
Alexander Kabaev
eaec871476 This commit was generated by cvs2svn to compensate for changes in r119262,
which included commits to RCS files with non-trunk default branches.
2003-08-22 02:57:17 +00:00
Alexander Kabaev
211015e8b9 Gcc 3.3.1-release Objective C support bits. 2003-08-22 02:57:15 +00:00
Alexander Kabaev
6a3139c3b5 This commit was generated by cvs2svn to compensate for changes in r119260,
which included commits to RCS files with non-trunk default branches.
2003-08-22 02:57:15 +00:00
Alexander Kabaev
6da669e5d1 Gcc 3.3.1-release C++ support bits. 2003-08-22 02:57:05 +00:00
Alexander Kabaev
af48dc19f9 This commit was generated by cvs2svn to compensate for changes in r119258,
which included commits to RCS files with non-trunk default branches.
2003-08-22 02:57:05 +00:00
Alexander Kabaev
50ebf00d84 Gcc 3.3.1-release. 2003-08-22 02:56:07 +00:00
Alexander Kabaev
eae42ca5bc This commit was generated by cvs2svn to compensate for changes in r119256,
which included commits to RCS files with non-trunk default branches.
2003-08-22 02:56:07 +00:00
Gordon Tetlow
29bd4869a1 Tell the toolchain to look for rtld in /libexec instead of /usr/libexec. 2003-08-17 08:17:44 +00:00
Hartmut Brandt
c7d4f4371f Implement what has been documented for a long time: make -debug switch
on socket debugging.

Okay'ed by: markm
2003-08-13 10:56:40 +00:00
Martin Blapp
e32ea5472a Change name of state_link() to state_polling() to make it
more clear what it does.

Trim interface_active() to just do what it should do. Check
if we got link or not and if the NIC supports it. No special
treatment for mediachecks here anymore.

Simplify the code a lot, and remove doublicated parts.

Fix two minor spelling errors.

Add one missing #ifdef ENABLE_POLLING_MODE

Reviewed by:	mdodd
2003-08-10 22:01:37 +00:00
Martin Blapp
0b284f2c7c Fix devices which do not support ifm_status. Always return
TRUE for them.

Reported by:	mdodd
Tested by:	Craig Rodrigues <rodrigc@crodrigues.org>
2003-08-09 20:44:08 +00:00
Martin Blapp
cccd491d52 Add all interface polling patches. 2003-08-07 15:00:55 +00:00
Martin Blapp
44b6b1aaa4 Do not poll during discover. Add a polling tunable to the interface
struct to be able to turn polling on/off.

Tested by:	Larry Rosenman <ler@lerctr.org>
2003-08-07 14:58:46 +00:00
Martin Blapp
ceef306a27 - Fix the polling code to work with media settings in dhclient.conf.
- Rename linkstatus to linkstate which is more correct.

- Sort any leases each time we loose and regain link. With the first
  version we spammed the dhclient.leases file.

- When there was no link on a interface, polling has been done twice.
  This has been fixed with a bigger sleep interval.

- interface_active() now returns only a assumed state of the link.
  If we are using media settings, we cannot be sure that the link
  actually works. That means we assume that the link is working and
  continue to send requests as usual on the interface and loop over
  all possible media options. Polling is still done. If your interface
  gets suddenly link, dhclient will send a dhcp discover request.

After all media settings have been tried a few times, dhclient will
sleep. If one does change networks very often, it can help to set the
"retry timeout" to a low value like 100 seconds. The default is over
six minutes.

Tested by:	Larry Rosenman <ler@lerctr.org>, imp
2003-08-07 07:27:14 +00:00
Martin Blapp
40e0881fab Change ieee802 to ieee80211.
Add bogospaces to match the ISC style.

Suggested by:	eivind
2003-08-06 15:19:52 +00:00
Simon L. B. Nielsen
9c000261d4 - Correct the path to the dot.nsmbrc sample file.
- Add FreeBSD CVS tag.

PR:		docs/35649
Submitted by:	roam
Approved by:	ceri (mentor)
2003-07-31 11:50:01 +00:00
Ruslan Ermilov
0560c735b9 Update for the 2003/07/29 import. 2003-07-30 06:50:31 +00:00
Ruslan Ermilov
65259669d3 This commit was generated by cvs2svn to compensate for changes in r118194,
which included commits to RCS files with non-trunk default branches.
2003-07-30 06:47:03 +00:00
Ruslan Ermilov
88b8d48716 Vendor import of bwk's 29-Jul-2003 release. 2003-07-30 06:47:03 +00:00
Martin Blapp
565f17391d Fix dhclient infinite loop on ro /etc/resolv.conf
Submitted by:	C J Michaels <cjm2@earthling.net>
Reviewed by:	David W. Hankins
PR:		38778
ISC-Bug:	5754
2003-07-28 22:25:20 +00:00
Martin Blapp
ca27808a34 Don't wait forever if there is no link, go to background
after 2 x polling time.
2003-07-28 13:25:04 +00:00
Martin Blapp
a156f90104 Define $FreeBSD$ at the right place. 2003-07-28 11:49:07 +00:00
Martin Blapp
636a538d15 Enable dhclient to poll the interface state and send only
requests if the interface has an active link. This is a
great benefit if you often change networks with your laptop
and you do not like to kill/restart dhclient all the time.
Changes are automatically detected and the link is refreshed.

The change allows us to start dhclient in background mode
Enable dhclient to poll the interface state and send only
requests if the interface has an active link. This is a
great benefit if you often change networks with your laptop
and you do not like to kill/restart dhclient all the time.
Changes are automatically detected and the link is refreshed.

The change allows us to start dhclient in background mode
while the network cable is not plugged in.

To control the polling interval, the option -i has been
introduced. It takes seconds as parameter, the minimum is
one second, the default is five seconds.

Polling is done in seconds, not microseconds, because dhclient
does internally work with timeouts in seconds.

This change will be part of the next major ISC-dhcpd release.

Tested by:	bms, imp, and many many others.
Reviewed by:	murray, eivind, dhclient folks
2003-07-28 08:30:11 +00:00
Tim J. Robbins
5ec3441dd2 Fix some off-by-one errors dealing with limits of server names,
usernames, workgroup names and passwords. We can now connect to
servers with 15-character NetBIOS names. (Some versions of Windows
use semi-random 15-char names by default.)

PR:		46902
2003-07-27 11:41:38 +00:00
Martin Blapp
fa7235b784 Add notice about the local change in r1.25 2003-07-26 21:29:28 +00:00
Peter Wemm
db75019614 Fixes for 64 bit cleanliness. The length arg to sysctl is a pointer to
size_t not int.

Reviewed by:	bp
2003-07-26 04:03:18 +00:00
Peter Wemm
26c4b7deaa Use #include <string.h> rather than <strings.h> so that the strdup()
prototype gets brought into scope.  This is a big deal for 64 bit
systems where the default return value of 'int' is != pointer.

Reviewed by:	bp
2003-07-26 04:02:22 +00:00
Peter Wemm
022effcc3e Fix an annoying bug in tar. When it converted 'tar zcf' to 'tar -z -c -f'
it forgot to null terminate the new argv[] array.  If you mixed this
with $TAR_OPTIONS, phkmalloc and a whole bunch of other variables, you
could end up with a segfault.  This isn't strictly a phkmalloc victory
since tar walks off the end of an array rather than use uninitialized
malloc memory, but phkmalloc makes it easier to provoke.
2003-07-24 00:04:01 +00:00
Dag-Erling Smørgrav
845c1b9ce2 MFP4: revert constification of pam_message.msg (perforce change #34785) 2003-07-21 19:54:17 +00:00
Dag-Erling Smørgrav
fc5da5944b This commit was generated by cvs2svn to compensate for changes in r117839,
which included commits to RCS files with non-trunk default branches.
2003-07-21 19:54:17 +00:00
Tim J. Robbins
b97916da44 Pass getvfsbyname() the address of a struct xvfsconf instead of
struct vfsconf. This silences a warning, but could also prevent
stack corruption problems if xvfsconf ever became larger than vfsconf.

PR:		53863
Submitted by:	Lukas Ertl
2003-07-20 11:27:54 +00:00
Julian Elischer
e27d79bb28 Changes to allow top to decide whether or not to show multiple threads per
process. Option -H enables it and it is toggled at the interactive
screen by 'H'.

Submitted by:	Jung-uk Kim <jkim@niksun.com>
2003-07-17 23:56:40 +00:00
David E. O'Brien
fda6f0c4a1 This file became OBE when we went to GCC 3. 2003-07-17 17:15:22 +00:00
Dag-Erling Smørgrav
2d142fa40d These files have been removed from the distribution. 2003-07-15 07:23:52 +00:00
Dag-Erling Smørgrav
20b2067ac9 This commit was generated by cvs2svn to compensate for changes in r117615,
which included commits to RCS files with non-trunk default branches.
2003-07-15 07:23:52 +00:00
Dag-Erling Smørgrav
ca236e63dd Vendor import of OpenPAM Dogwood. 2003-07-15 07:18:26 +00:00
Dag-Erling Smørgrav
043e3563a3 This commit was generated by cvs2svn to compensate for changes in r117610,
which included commits to RCS files with non-trunk default branches.
2003-07-15 07:18:26 +00:00
Kris Kennaway
654cbf38df FreeBSD does not use this code, but ftpd_popen() contains a buffer overflow.
We might as well patch it.

Submitted by:   Przemyslaw Frasunek <venglin@freebsd.lublin.pl>
PR:             bin/23352
MFC After:	The average time before an unpatched Windows 2000 server gets owned
2003-07-13 05:59:50 +00:00
Alexander Kabaev
e329c5e19f Do not override FP rounding options for 32bit platforms. amd64 doesn't
need this.
2003-07-12 19:33:34 +00:00
Alexander Kabaev
46b370ef71 Merge FreeBSD changes into GCC 3.3.1-prerelease.
Move FreeBSD specific flag variables from c-decl.c here.
2003-07-11 06:00:50 +00:00
Alexander Kabaev
22bf82941c Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2 -fformat-extensions.
  1.3 -printf0
  1.6 teach GCC about %y for DDB.
2003-07-11 05:12:46 +00:00
Alexander Kabaev
fff64a6e53 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.3 suppress warnings on K&R main.

  Rev. 1.2 (options for kernel printf enhancements) changes have been
  moved to another
2003-07-11 05:11:14 +00:00
Alexander Kabaev
06432e3a6a Update for GCC 3.3.1-prerelease. 2003-07-11 05:09:19 +00:00
Alexander Kabaev
bec4705400 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.8 Change symbol values to match freebsd.h.
2003-07-11 05:05:45 +00:00
Alexander Kabaev
e815c3de60 Update for 3.3.1-prerelease. 2003-07-11 05:03:47 +00:00
Alexander Kabaev
aaa8c4b302 Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.4 Look into right directory when linking 32-bit binaries.
2003-07-11 04:54:45 +00:00