summaryrefslogtreecommitdiffstats
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Import LLVM/clang from vendor stripped of docs/ test/ website/ www/ examples/rdivacky2010-06-093178-0/+1198913
| | | | | | | in llvm/ and/or llvm/contrib/clang/ respectively. Approved by: ed (mentor) Approved by: core
* Remove -mdoc macros from -man pageuqs2010-06-091-8/+3
| | | | | | Neither groff nor mandoc render these when in -man mode. This was introduced in r38083 as a local change, therefore no commit to the vendor branch.
* Add required header for isalnum(3) to quench compiler warningsuqs2010-06-021-0/+2
| | | | | | Forgotten in: r174678 Submitted by: Alexander Best alexbestms at wwu.de Approved by: das
* Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.jmallett2010-06-0223-4040/+5340
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is the current default. o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is necessary to have a working "cc" if e.g. mips64 is specified, as binutils will refuse to link objects using different ISAs in some cases. o) Add support for n32 and n64 ABIs to binutils and GCC. o) Add additional required libgcc2 stubs for n32 and n64. o) Add support for the "mips64r2" architecture to GCC. Add the "octeon" o) When static linking, wrap default libraries in --start-group and --end-group. This is required for static linking to work on n64 with the interdependencies between libraries there. This is what other OSes that support n64 seem to do, as well. o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the former being what libgcc, etc., check and the latter seemingly being a misspelling of a hand merge from a Linux spec. o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to the MIPS32 ISA, when we are supporting or will support some systems based on earlier 32-bit and 64-bit ISAs, most notably MIPS-III. o) Merge a new opcode file (and support code) from a later version of binutils and add flags and code necessary to support Octeon-specific instructions. This should also make merging opcodes for other modern architectures easier. Reviewed by: imp
* Fixes from NetBSD for nvi visual mode:jh2010-05-282-14/+37
| | | | | | | | | | | | | | - Fix handling of ^@ when reading an ex command. Don't try to replay the previous input. - Fix handling of ^C in insert mode and when reading an ex command. Repeating an interrupted input could cause a crash and interrupting ex command input could cause a file corruption. - Fix a bug which causes crashes in file name completion when a file name is longer than the screen width. - When an error occurs in v_txt(), leave the input mode. PR: bin/21089, bin/136393 Obtained from: NetBSD
* Fix misspelling of "substitution".jh2010-05-282-2/+2
| | | | | PR: bin/130874 Submitted by: Yoshihiro Ota
* Change the current working directory to be inside the jail created bycperciva2010-05-271-3/+1
| | | | | | | | | | | | | | the jail(8) command. [10:04] Fix a one-NUL-byte buffer overflow in libopie. [10:05] Correctly sanity-check a buffer length in nfs mount. [10:06] Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-10:04.jail Security: FreeBSD-SA-10:05.opie Security: FreeBSD-SA-10:06.nfsclient
* mdoc: consistently spell our email addresses <foo@FreeBSD.org>uqs2010-05-2417-34/+34
| | | | | Reviewed by: ru Approved by: harti
* Upgrade to 9.6.2-P2, which addresses the following;dougb2010-05-204-5/+10
| | | | | Named could return SERVFAIL for negative responses from unsigned zones.
* Comment in the BUGS section header. Matches what's in ipfilter 5.10.brueffer2010-05-121-1/+1
| | | | | | PR: 144880 Submitted by: Glen Barber <glen.j.barber@gmail.com> MFC after: 1 week
* MFV of tzdata2010j, r207896edwin2010-05-102-2/+53
| | | | | | | | - Bahia de Banderas (Mexican state of Nayarit) changed time zone UTC-7 to new time zone UTC-6 on April 4, 2010 (to share the same time zone as nearby city Puerto Vallarta, Jalisco). Obtained from: ftp://elsie.nci.nih.gov/pub/
* Import of liblzma, xz, xzdec, lzmainfo from vendor branchmm2010-05-10197-0/+42911
| | | | | | | | Add support for xz and lzma to lesspipe.sh (xzless, lzless) Bump __FreeBSD_version Approved by: delphij (mentor) MFC after: 2 weeks
* Update GRANDPARENTED text to match the contents of tzdata/factory r19879.emaste2010-05-031-1/+1
| | | | | | | | This eliminates "warning: time zone abbreviation differs from POSIX" on installworld to an empty filesystem. Reviewed by: edwin MFC after: 1 week
* telnet: Fix infinite loop if local output generates SIGPIPE.jilles2010-04-306-16/+17
| | | | | | | | | | | | | | | | | Instead of catching SIGPIPE and jumping out of the signal handler with longjmp, ignore it and handle write errors to the local output by exiting from there. I have changed the error message to mention the local output instead of NetBSD's wrong "Connection closed by foreign host". Write errors to the network were already handled by exiting immediately and this now applies to EPIPE too. The code assumed that SIGPIPE could only be generated by the network connection; if it was generated by the local output, it would longjmp out of the signal handler and write an error message which caused another SIGPIPE. PR: 19773 Obtained from: NetBSD MFC after: 1 week
* MFV of tzdata2010i, r206865edwin2010-04-193-11/+111
| | | | | | - Marocco does have DST this year between May and August. - Historical data for Taiwan - Argentina / San Luis does not do DST this year.
* Fix brokenness in top on big-endian 32-bit systems introduced whennwhitehorn2010-04-191-1/+1
| | | | | | | changing format_k2 to take a long long. Because itoa is defined as a K&R C function, without prototyping its arguments, format_k2 passed a 64-bit value, but itoa() received only the first word, showing '0' in all memory fields.
* Utilize IP_BINDANY which provided the same semantics of OpenBSD'sdelphij2010-04-151-4/+2
| | | | SO_BINDANY.
* Diff reduction with OpenBSD:delphij2010-04-152-23/+8
| | | | | | | - Remove unused locally added variable; - Deprecate -o: it's the default behavior on OpenBSD. X-MFC: along with nc 4.7.
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-141-1/+1
| | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors)
* Add armeb-*-freebsd* to the list of known architectures. This is likeimp2010-04-141-0/+4
| | | | | arm-*-freebsd*, except it defaults to big endian builds instead of little endian builds.
* MFV of tzdata2010h:edwin2010-04-053-41/+50
| | | | | | | | | | | | | | | | | From tzdata2010h: - Tunis will not go into DST this year. - Pakistan will not go into DST this year. From tzdata2010g: - Bangladesh cancels DST. - Palestine goes into DST one day later than expected. - Russian timezones update: Europe/Samara goes to Moscow time. Asia/Kamchatka goes to Moscow+8 time. Asia/Anadyr goes to Moscow+8 time.
* Specify the parameter in the format_k2 prototype.brucec2010-04-011-1/+1
| | | | | | This fixes top on ARM, which assumes that format_k2 takes an int. Approved by: rrs (mentor)
* (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.antoine2010-03-272-2/+2
| | | | | | | Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. Approved by: harti@
* Remove GNU cpio after fix of CVE-2010-0624.delphij2010-03-26102-25470/+0
| | | | | | | | | | | | | Note that this is actually a no-op for most users, as this GNU cpio was broken on -HEAD and 8-STABLE since last March until the recent fix. FreeBSD 8.0+ uses BSD cpio by default and the code is being actively maintained. Blessed by: kientzle With hat: secteam MFC after: 3 days
* The rmt client in GNU cpio could have a heap overflow when a maliciousdelphij2010-03-251-1/+2
| | | | | | | | | | | | | | remote tape service returns deliberately crafted packets containing more data than requested. Fix this by checking the returned amount of data and bail out when it is more than what we requested. PR: gnu/145010 Submitted by: naddy Reviewed by: imp MFC after: immediately Security: CVE-2010-0624
* Update metadata information as well as upgrade instructions.delphij2010-03-232-17/+12
|
* MFV: Update nc to the version from OpenBSD 4.7.delphij2010-03-232-21/+27
| | | | MFC after: 1 month
* MFV of tzdata2010f:edwin2010-03-224-8/+77
| | | | | | | | | | | | The Australian Antartic Division: - Macquarie Island will stay on UTC+11 for winter and not switch back from DST. - Casey station reverted to its normal time of UTC+8 on 5 March 2010. - Davis station will revert to its normal time of UTC+7 at 10 March 2010 - Mawson station stays on UTC+5. Syria will start DST on Thursday 1 April 2010 at midnight. Correct Samao DST start date (26 Sep vs 24 Oct)
* Merge upstream r432:des2010-03-221-2/+1
| | | | | | | | | pam_end() already contains a NULL check, and it is not unreasonable to call it with a NULL pamh in a cleanup / error-handling situation. Remove OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check. This fixes a potential NULL pointer dereference in error-handling code in passwd(1).
* Update to 9.6.2-P1, the latest patchfix release which deals withdougb2010-03-1856-1858/+2455
| | | | | | | | the problems related to the handling of broken DNSSEC trust chains. This fix is only relevant for those who have DNSSEC validation enabled and configure trust anchors from third parties, either manually, or through a system like DLV.
* Change the 'amt' parameter in format_k2 from int to unsigned long longbrucec2010-03-131-1/+1
| | | | | | | | | to match the values passed in and prevent the SIZE field being corrupted when more than 2TB is allocated. PR: bin/129706 Approved by: rrs (mentor) MFC after: 1 week
* Fix typo in macro name and macro usage.uqs2010-03-122-2/+3
| | | | | | Found by: make manlint Reviewed by: ru Approved by: harti, philip (mentor)
* Remove unneeded include of <sys/timeb.h>.ed2010-03-091-1/+0
| | | | This header file should not be included by anything.
* MFV of tzdata2010e:edwin2010-03-083-64/+77
| | | | | | | - Adjust beginning / end of DST in Bangladesh (minimal impact) - Fiji ends DST one month earlier to last Sunday of March - Samoa changes - Chile extends DST until 3 April this year.
* Tweak the linker spec a smidge.imp2010-03-051-3/+2
| | | | Correct a typo.
* Add support for o32 (when it isn't the default), n32, n64, and o64 toimp2010-03-051-10/+31
| | | | | | | the linker spec. Provide the ability to have a default ABI that's different than o32 (again, for all 4). Submitted by: C. Jayachandran (JC) with tweaks for o64/o32 by me
* Upgrade to version 9.6.2. This version includes all previously releaseddougb2010-03-03179-8330/+10790
| | | | | | | | | | | | security patches to the 9.6.1 version, as well as many other bug fixes. This version also incorporates a different fix for the problem we had patched in contrib/bind9/bin/dig/dighost.c, so that file is now back to being the same as the vendor version. Due to the fact that the DNSSEC algorithm that will be used to sign the root zone is only included in this version and in 9.7.x those who wish to do validation MUST upgrade to one of these prior to July 2010.
* Also define _MIPS_ISA here.imp2010-03-031-4/+20
| | | | Submitted by: jmallet@
* MFV of r204563, tzdata2010c:edwin2010-03-021-3/+19
| | | | | Paraguay changes its DST schedule, postponing the March rule to April and modifying the October date.
* - Move csup away from contrib/ and into usr.bin/. Software is no longerlulf2010-03-0264-20946/+0
| | | | | | contributed, and main development is happening in the FreeBSD repo. Suggested by: joel
* Bring in more built-in defines from NetBSDimp2010-03-021-14/+73
| | | | | | | | | a few #defines from JC. # tested only with o32 at the moment Submitted by: C. Jayachandran (CJ) Obtained from: NetBSD
* Let dtc build with FreeBSD yacc/lex.raj2010-02-282-1/+4
| | | | Sponsored by: The FreeBSD Foundation
* Merge DTC-d75b33af.raj2010-02-2840-0/+9631
| | | | | | | | | | | | | | | This is a split merge because of non-uniform licensing of the DTC package contents and the way these components will be used in the FreeBSD environment. The original DTC package is composed of the following two major pieces: 1. sys/contrib/libfdt (BSD [dual] license) 2. contrib/dtc (GPLv2) The libfdt component is going to be shared in all aspects of the environment: - /boot/loader - kernel - dtc (the device tree compiler proper, userspace tool)
* Remove non-contributed code.edwin2010-02-259-1976/+0
|
* Copy lib/libc/stdtime to contrib/tzcode/stdtime for the proper splitedwin2010-02-2517-0/+5595
| | | | of contributed code and FreeBSD specific code.
* From contrib/tzcode:edwin2010-02-252-11/+0
| | | | | | | | The Makefiles are leftovers from the copies and should live in usr.sbin/zic/* From usr.sbin/zic: The sources are from a vendor contributed source, therefore should live in contrib/tzcode/zic.
* Copy usr.sbin/zic to contrib/tzcode/zic for the proper split ofedwin2010-02-2513-0/+5057
| | | | contributed code and FreeBSD specific code.
* Remove Makefile, it is not part of the contributed data.edwin2010-02-251-77/+0
|
* Copy share/zoneinfo to contrib/zoneinfo for the proper split ofedwin2010-02-2516-0/+13299
| | | | contributed data and FreeBSD specific data.
* Adds the missing mips gdb files that Irrs2010-02-215-0/+818
| | | | | | | foobar'd on my last commit.. Sorry about that JC.. my fault. Obtained from: JC
OpenPOWER on IntegriCloud