aboutsummaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* When encoding an smb name, truncate one byte earlier in order than we didRobert Watson2008-11-021-1/+1
| | | | | | | | | | | | previously in order to ensure it fit properly in the bufer when encoded. This prevents a debugging printf from firing if a source or destination host name for an smb mount exceeds 15 characters. MFC after: 3 days Obtained from: Apple, Inc. Notes: svn path=/head/; revision=184567
* Actually fix pty detection for autologout setting.Ruslan Ermilov2008-10-202-2/+2
| | | | | | | (The fix has been submitted upstream.) Notes: svn path=/head/; revision=184072
* Implement zero-copy bpf(4) buffer or "zbuf" support for libpcap. A slightlyChristian S.J. Peron2008-09-163-37/+354
| | | | | | | | | | | | | | | | | | | | | | different version has been committed upstream in the libpcap vendor branch. This will allow people to experiment with zero-copy bpf(4) without requiring external patches. Note to enable this functionality: sysctl net.bpf.zerocopy_enable=1 By default, libpcap will use the legacy buffering method unless this sysctl variable is set to 1. For the details about zero-copy bpf(4) implementation see svn change r177548. Requested by: many Discussed with: sam In collaboration with: rwatson Notes: svn path=/head/; revision=183102
* Fix TELOPT(opt) when opt > TELOPT_TN3270E.Antoine Brodin2008-09-131-2/+2
| | | | | | | | | PR: 127194 Submitted by: Joost Bekkers MFC after: 1 month Notes: svn path=/head/; revision=183004
* If arm.h is going to define WCHAR_TYPE, don't assume WCHAR_TYPE_SIZEDavid E. O'Brien2008-09-101-1/+1
| | | | | | | | | doesn't already have a definition. Reported by: imp Notes: svn path=/head/; revision=182907
* Merge from vendor/ntp/dist: r182856:Ollivier Robert2008-09-071-2/+2
|\ | | | | | | | | | | | | | | | | | | Apply updated patch from bin/92839 to avoid two possible buffer overflows. PR: bin/92839 Submitted by: Helge Oldach <freebsdntpd@oldach.net> Notes: svn path=/head/; revision=182857
* | Make strtof() respect the current rounding mode.David Schultz2008-09-031-2/+10
| | | | | | | | Notes: svn path=/head/; revision=182710
* | Merge gdtoa 20080831. This fixes several bugs, including an infiniteDavid Schultz2008-09-0313-98/+259
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | loop pointed out by cognet@ that occurs when calling strtod() with a string representing a number between DBL_MAX and 2*DBL_MAX, when the rounding mode is anything other than the default. Notes: svn path=/head/; revision=182709
| * | Flatten vendor/gdtoa/*.David Schultz2008-09-0385-24820/+0
| | | | | | | | | | | | Notes: svn path=/vendor/gdtoa/dist/; revision=182700
* | | Fix an ABI breakage found after the import that will be part of theGregory Neil Shapiro2008-09-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | next version of sendmail. Putting it in now for the upcoming 7-BETA and 6-BETA test releases. Submitted by: Mike Tancsa Notes: svn path=/head/; revision=182675
* | | We're not quite ready for the full %(endian_spec).David E. O'Brien2008-09-011-1/+3
| | | | | | | | | | | | Notes: svn path=/head/; revision=182654
* | | Merge from vendor/bind9/dist as of the 9.4.2-P2 importDoug Barton2008-09-0133-160/+558
|\ \ \ | | | | | | | | | | | | Notes: svn path=/head/; revision=182645
* | | | Add __unix__. Tweak __KPRINTF_ATTRIBUTE__ while I'm here.David E. O'Brien2008-09-011-1/+2
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=182644
* | | | Add FreeBSD/MIPS support to GCC.David E. O'Brien2008-09-013-1/+258
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=182627
* | | | Turn cc_tools/Makefile and Makefile.tgt into a "linear" read. SharedDavid E. O'Brien2008-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parts of the configuration aren't duplicated, and arch-specific exceptions are made "in-place". Also clean up the FreeBSD/amd64 config a little. Notes: svn path=/head/; revision=182579
* | | | List authentication types supported with "-X" taken from the libtelnetTom Rhodes2008-08-291-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code. PR: 121721 Notes: svn path=/head/; revision=182419
* | | | Update import/merge instructions for the svn repoGregory Neil Shapiro2008-08-281-12/+25
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=182356
* | | | Merge sendmail 8.14.3 into HEAD.Gregory Neil Shapiro2008-08-2843-156/+416
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: As the first merge since the conversion to svn, it includes many propset changes to get the proper svn:eol-style and svn:mime-type on the files (as merged from the fixed up vendor/dist area). MFC after: 3 days Notes: svn path=/head/; revision=182352
| * | | | Pass 2 of flattening sendmail vendor area.Peter Wemm2008-08-2827-0/+9044
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor/sendmail/dist/; revision=182325
| * | | | Stage 1 of sendmail dist tree flattening. contrib/sendmail/contribPeter Wemm2008-08-28570-198320/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prevents doing this in one pass. Notes: svn path=/vendor/sendmail/dist/; revision=182324
* | | | | Merge ntpd & friends 4.2.4p5 from vendor/ntp/dist into head. Next commitOllivier Robert2008-08-22563-55122/+193226
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | will update usr.sbin/ntp to match this. MFC after: 2 weeks Notes: svn path=/head/; revision=182007
| * | | | Flatten the dist and various 4.n.n trees in preparation of future ntp imports.Ollivier Robert2008-08-17724-271109/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor/ntp/dist/; revision=181800
* | | | | Move FREEBSD-upgrade as well.Ollivier Robert2008-08-181-45/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=181837
* | | | | Move FREEBSD-Xlist in a more proper location.Ollivier Robert2008-08-181-3/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=181836
* | | | | Doc updates for changes in the default values ofDavid Schultz2008-08-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -ffancy-math-387 and -mmath-errno. Notes: svn path=/head/; revision=181540
* | | | | Make -fno-math-errno the default. Our libm doesn't support the SysVDavid Schultz2008-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mistake of setting errno, and never has. This will need to be fixed upstream in a more generic way, but the changes are somewhat more involved. Notes: svn path=/head/; revision=181538
* | | | | Make -mfancy-math-387 the default on FreeBSD, as it is on most otherDavid Schultz2008-08-101-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | operating systems. Previously, gcc would inhibit the generation of fsqrt, fsin, and several other floating point instructions, for the benefit of the old in-kernel math emulator, which was removed over 5 years ago. Notes: svn path=/head/; revision=181534
* | | | | Fix build when WITHOUT_DYNAMICROOT is specified in src.conf(5).Max Laier2008-08-041-0/+2
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=181313
* | | | | Don't attempt authentication at all if it has been disabled via '-a off'.John Baldwin2008-07-282-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This works around a bug in HP-UX's telnet client and also gives a much saner user experience when using FreeBSD's telnet client. PR: bin/19405 Submitted by: Joel Ray Holveck joelh of gnu.org MFC after: 1 month Notes: svn path=/head/; revision=180931
* | | | | 2020447 IPFilter's NAT can undo name server random port selectionDarren Reed2008-07-2411-15/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: darrenr MFC after: 1 week Security: CERT VU#521769 Notes: svn path=/head/; revision=180778
* | | | | For unfathomable reasons, ipfilter abuses kernel data structures for itsDag-Erling Smørgrav2008-07-231-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | own purposes. To pull this off, it defines _KERNEL before including the headers where these structures are defined. This leads to no end of trouble when some of these headers, or other headers that they include, change, as demonstrated by r180755. The quick fix in this particular case is to define _WANT_FILE instead of _KERNEL, conditional on __FreeBSD__. A better long-term fix is left as an exercise to the reader. Notes: svn path=/head/; revision=180761
* | | | | tcsh: fix abort in cleanup_until(), caused by internal xgetpass()Giorgos Keramidas2008-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The xgetpass() function pushes a cleanup entry for &osa, but then attempts to flush the stack until an entry matching &sa. The two object pointers do not match, so the stack is popped too much, and then cleanup_until calls abort() when it unexpectedly hits the bottom of the cleanup stack. Reported by: Paul B. Mahol, onemda at gmail.com, Pietro Cerutti, gahr at gahr.ch PR: bin/124191 Reviewed by: mp, kris MFC after: 2 days Notes: svn path=/head/; revision=180637
* | | | | Merge from vendor/bind9/dist as of the 9.4.2-P1 import, includingDoug Barton2008-07-1215-36620/+2567
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the patch from ISC for lib/bind9/check.c and deletion of unused files in lib/bind. This version will by default randomize the UDP query source port (and sequence number of course) for every query. In order to take advantage of this randomization users MUST have an appropriate firewall configuration to allow UDP queries to be sent and answers to be received on random ports; and users MUST NOT specify a port number using the query-source[-v6] options. The avoid-v[46]-udp-ports options exist for users who wish to eliminate certain port numbers from being chosen by named for this purpose. See the ARM Chatper 6 for more information. Also please note, this issue applies only to UDP query ports. A random ephemeral port is always chosen for TCP queries. This issue applies primarily to name servers whose main purpose is to resolve random queries (sometimes referred to as "caching" servers, or more properly as "resolving" servers), although even an "authoritative" name server will make some queries, primarily at startup time. All users of BIND are strongly encouraged to upgrade to the latest version, and to utilize the source port randomization feature. This update addresses issues raised in: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1447 http://www.kb.cert.org/vuls/id/800113 http://tools.ietf.org/html/draft-ietf-dnsext-forgery-resilience Notes: svn path=/head/; revision=180477
| * | | | Flatten bind9 vendor work areaPeter Wemm2008-07-121179-586393/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor/bind9/dist/; revision=180456
* | | | | The vendor area is the proper home for these files now.Doug Barton2008-07-122-187/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=180475
* | | | | Merge gnu cpio 2.6 -> 2.8 changes. Unfortunately, we have massivePeter Wemm2008-07-1098-3356/+7533
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conflicts due to radically different approaches to security and bug fixes. In some cases I re-started from the vendor version and reimplemented our patches. Fortunately, this is not enabled by default in -current. Notes: svn path=/head/; revision=180407
| * | | | | Flatten cvs2svn generated import tree.Peter Wemm2008-07-0984-20990/+0
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor/cpio/dist/; revision=180398
| * | | | | cvs2svn managed to overlay two different path trees. fix.Peter Wemm2008-07-0939-11461/+0
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/vendor/cpio/dist/; revision=180397
* | | | | | White space fixes.David E. O'Brien2008-06-281-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=180079
* | | | | | Reduce diff to vendor.David E. O'Brien2008-06-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=180078
* | | | | | Bring in the vendor's fix for a bug in strtod() wherebyDavid Schultz2008-06-211-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | strtod("0xyz", &endp) resulted in endp pointing to "0xyz" instead of "xyz". Reported by: Tony Finch <dot@dotat.at> MFC after: 1 week Notes: svn path=/head/; revision=179918
* | | | | | Removed the no-op -p; documented -P.Ruslan Ermilov2008-06-212-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=179911
* | | | | | Add $FreeBSD$ since we now have local changes.David E. O'Brien2008-06-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=179826
* | | | | | Optimize the CVS bug #17168 fix by relaxing the conditions for updateDavid E. O'Brien2008-06-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with respect to sticky options. (r179561 was WRT sticky and branch tags) Consulted with: Mark Baushke <mdb@gnu.org> Notes: svn path=/head/; revision=179619
* | | | | | Optimize the CVS bug #17168 fix by relaxing the conditions for update.David E. O'Brien2008-06-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=179561
* | | | | | - update maintainer's info per src/MAINTAINERSRong-En Fan2008-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=179537
* | | | | | Add proper mime-types for files that they are relevant for.Doug Barton2008-06-021-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is useful for things like *.pdf files that svn needs to know about, and will probably be useful down the road for other things. Notes: svn path=/head/; revision=179494
* | | | | | Bring these back to HEAD.David E. O'Brien2008-05-297-0/+9661
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (I thought ncvs@ had rm'ed these MIPS files a long time ago... SVN had better work out - else 7 more files off the vendor branch.) Notes: svn path=/head/; revision=179407
* | | | | | This commit was generated by cvs2svn to compensate for changes in r179404,David E. O'Brien2008-05-2939-0/+31112
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=179405
| * | | | | | Import of Binutils from the FSF 2.15 branch (just post-.0 release).David E. O'Brien2008-05-2946-0/+40773
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC. Notes: svn path=/vendor/binutils/dist/; revision=179404