summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* MFC r258352: fsx: add an option to randomly call msync(MS_INVALIDATE)avg2014-01-161-13/+81
|
* MFC r258351: fsx: new option to disable msync(MS_SYNC) after each writeavg2014-01-161-4/+11
|
* MFC r257705:pluknet2014-01-141-5/+9
| | | | Clean up -Wtautological-compare -Wformat warnings.
* MFC r258256, r258390:mav2014-01-041-11/+15
| | | | Fix umastat build on present kernel.
* MFC r257532 (by adrian):dim2013-12-302-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix this build for clang. MFC r259730: To avoid having to explicitly test COMPILER_TYPE for setting clang-specific or gcc-specific flags, introduce the following new variables for use in Makefiles: CFLAGS.clang CFLAGS.gcc CXXFLAGS.clang CXXFLAGS.gcc In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for the right compiler. MFC r259913: For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc. MFC r259927: Fix pc98 build, by also forcing COMPILER_TYPE in sys/boot/pc98/boot2's Makefile. Pointy hat to: dim
* Fix 'make check-old' warnings when WITHOUT_TESTS is set.jmmv2013-12-301-3/+5
| | | | | | This is a MFC of r258025 and r257940, both of which resolve issues with dynamically setting the list of obsolete files based on the contents of /usr/tests.
* Update atf to 0.18 and remove the code of the deprecated tools.jmmv2013-12-291-1/+4
| | | | | | | | | | | This is a MFC into stable/10 of: - r258286 Update notes for imports of atf. - r258289 MFV: Import atf-0.18. - r258290 Drop all ATF tools code. This is "make tinderbox" clean as run on ref10-amd64 with the default WITHOUT_TESTS option. A "make buildworld" with WITH_TESTS set now works as well.
* Set up the /usr/tests hierarchy.jmmv2013-12-282-50/+57
| | | | | | | | | | | | | | | | | This is a MFC of the following into stable/10: - r257097 Set up the /usr/tests hierarchy. - r257098 Add missing WITHOUTTESTS file. - r257100 Add a tests(7) manual page. - r257105 Disable WITHTESTS= for now. - r257848 Fix buildworld when WITHTESTS is enabled. - r257850 Subsume the functionality of MKATF into MKTESTS. - r257851 Handle the removal of the test suite when WITHOUTTESTS=yes. - r257852 Install category Kyuafiles from their category directories. - r258232 Install BSD.tests.mtree when MKTESTS is yes. Note that building with WITH_TESTS is still broken at this point (and hence why WITHOUT_TESTS is the set as the default). Subsequent pullups will fix the remaining issues.
* MFC 258063,258064,258066,258097,258185,259134:jhb2013-12-277-35/+584
| | | | | | | | | | | | | | - Add an -s option to the regression tests that specifies a path to an alternate etcupdate.sh script to test. This allows a non-installed version of the script to be tested more easily. - Add a pre-world mode of updating similar to the -p option that can be passed to mergemaster. - Fix a couple of issues with -F: - Fix ALWAYS_INSTALL to take precedence over the FreeBSD ID checks. - Fix the -F option in the case that the only upstream change is a change in the FreeBSD ID and the local file is removed. - Refresh /etc/localtime after each update using tzsetup -r. - Regenerate /var/db/services.db when /etc/services changes.
* MFC r259132,r259133,r259143:eadler2013-12-162-0/+5
| | | | | | | | | | | | Per the resolution of POSIX bug 0000779 (note 0002050) add support for using 'i' as a case insensitive flag. Add regression test for recently added 'i' flag in r259132. the i modifier was added in r259132 since POSIX recently agreed to add it. Switch uses of /I to /i. PR: standards/184641
* MFC r257654, r257772, r258441, r258689, r258698, r258879, r259048, andnp2013-12-092-5/+429
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r259103. r257654: cxgbe(4): Exclude MPS_RPLC_MAP_CTL (0x11114) from the register dump. Turns out it's a write-only register with strange side effects on read. r257772: cxgbe(4): Tidy up the display for payload memory statistics (pm_stats). r258441: cxgbe(4): update the internal list of device features. r258689: Disable an assertion that relies on some code[1] that isn't in HEAD yet. r258698: cxgbetool: "modinfo" command to display SFP+ module information. r258879: cxgbe(4): T4_SET_SCHED_CLASS and T4_SET_SCHED_QUEUE ioctls to program scheduling classes in the chip and to bind tx queue(s) to a scheduling class respectively. These can be used for various kinds of tx traffic throttling (to force selected tx queues to drain at a fixed Kbps rate, or a % of the port's total bandwidth, or at a fixed pps rate, etc.). r259048: Two new cxgbetool subcommands to set up scheduler classes and to bind them to NIC queues. r259103: cxgbe(4): save a copy of the RSS map for each port for the driver's use.
* MFC r258924:bdrewery2013-12-091-1/+1
| | | | | | | Add missing period for WITHOUT_PKGBOOTSTRAP so that it matches all other entries. Approved by: bapt (implicit)
* MFC r257583, r258012, r258013:gjb2013-11-162-9/+0
| | | | | | | | | | | | | | | | | | | r257583 (peter): Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm than good. This caused libc to spoof the ports libiconv namespace and provide a colliding libiconv.so.3 to fool rtld. This should have been removed some time ago. r258012: Remove WITH_LIBICONV_COMPAT file to chase after r257583. r258013: Regenerate src.conf.5 after removal of WITH_LIBICONV_COMPAT. Approved by: re (kib) Sponsored by: The FreeBSD Foundation Sponsored by: The FreeBSD Foundation
* MFC r257378,r257400,r257402,r257440:bdrewery2013-11-032-1/+2
| | | | | | | Add a pkg(7) manpage for bootstrap Approved by: bapt Approved by: re (gjb)
* MFC r257138:brooks2013-10-311-2/+2
| | | | | | | | Switch the default mtree to nmtree our new NetBSD derived mtree. Exp-runs by: bdrewery (ports/182438) Sponsored by: DARPA/AFRL Approved by: re (gjb)
* MFC r256752, r256946brooks2013-10-312-0/+339
| | | | | | | | | | | | | | | | | | | | | | | | | | | MFP4: 221483, 221567, 221568, 221670, 221677, 221678, 221800, 221801, 221804, 221805, 222004, 222006, 222055, 222820, 1135077, 1135118, 1136259 Add atse(4), a driver for the Altera Triple Speed Ethernet MegaCore. The current driver support gigabit Ethernet speeds only and works with the MegaCore only in the internal FIFO configuration in the soon to be open sourced BERI CPU configuration. MFP4: 1187103, 222076, 222057, 222051, 221799 Add atsectl, a simple utility to read and update MAC addresses stored in the default flash location on Altera DE4 boards. Typically used once when setting up a board so leaving in tools rather than inflicting on all users. To build with world add LOCAL_DIRS=tools/tools/atsectl to the make command line. Submitted by: bz Sponsored by: DARPA/AFRL Approved by: re (glebius)
* MFC r256450:bdrewery2013-10-231-1/+0
| | | | | | | | Rename libbsdyml to libyaml, make private, and bump SHLIB_MAJOR to 1.0 Approved by: bapt Approved by: re (glebius)
* MFC 256365rpaulo2013-10-121-22/+0
| | | | | | Remove most of the ATF tools and the _atf user. Approved by: re
* Revert r256095, r256120 (partial), r256121:gjb2013-10-092-0/+29
| | | | | | | | | | | | | | | r256095: - Add gnu/usr.bin/rcs back to the base system. r256120: - Add WITHOUT_RCS back to src.conf.5. r256121: - Remove UPDATING entry regarding gnu/usr.bin/rcs removal. Requested by: many Approved by: re (marius) Discussed with: core
* don't assert on bad args, instead return an error..jmg2013-10-073-1/+604
| | | | | | | | | | | | | | | Since so many programs don't check return value, always NUL terminate the buf... fix rounding when using base 1024 (the bug that started it all)... add a set of test cases so we can make sure that things don't break in the future... Thanks to Clifton Royston for testing and the test program... Approved by: re (hrs, glebius) MFC after: 1 week
* Good bye RCS. You will be missed.eadler2013-10-072-29/+0
| | | | | | | (devel/rcs and devel/rcs57 are available as alternatives) Approved by: core Approved by: re (hrs)
* Remove long-unused GNU ar and ranlibemaste2013-10-011-1/+1
| | | | | | | The libarchive-based replacements have been used since 2009; the GNU ones were kept to support source upgrades from FreeBSD 6. Approved by: re@ (delphij)
* Have makeman always use the mk files from the source tree it's operatingdes2013-10-011-3/+6
| | | | | | on rather than those from the installed system. Approved by: re (delphij)
* Remove BIND.des2013-09-3013-299/+0
| | | | Approved by: re (gjb)
* Yet more BIND files that weren't listed in OptionalObsoleteFiles.des2013-09-291-5/+27
| | | | Approved by: re (blanket)
* Remove duplicate entry for the host(1) man page.des2013-09-271-1/+0
| | | | Approved by: re (blanket)
* Additional BIND files.des2013-09-251-0/+28
| | | | | Submitted by: bdrewery Approved by: re (blanket)
* Flip the switch: disable BIND and enable LDNS_UTILS.des2013-09-244-7/+7
| | | | Approved by: re (blanket)
* Add a setup script for unbound(8) called local-unbound-setup. Itdes2013-09-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | generates a configuration suitable for running unbound as a caching forwarding resolver, and configures resolvconf(8) to update unbound's list of forwarders in addition to /etc/resolv.conf. The initial list is taken from the existing resolv.conf, which is rewritten to point to localhost. Alternatively, a list of forwarders can be provided on the command line. To assist this script, add an rc.subr command called "enabled" which does nothing except return 0 if the service is enabled and 1 if it is not, without going through the usual checks. We should consider doing the same for "status", which is currently pointless. Add an rc script for unbound, called local_unbound. If there is no configuration file, the rc script runs local-unbound-setup to generate one. Note that these scripts place the unbound configuration files in /var/unbound rather than /etc/unbound. This is necessary so that unbound can reload its configuration while chrooted. We should probably provide symlinks in /etc. Approved by: re (blanket)
* Remove drill(1) if MK_LDNS_UTILS is false.des2013-09-221-2/+9
| | | | | | Remove host(1) if both MK_BIND and MK_LDNS_UTILS are false. Approved by: re (blanket)
* Add LLDB bmake infrastructureemaste2013-09-201-0/+2
| | | | | | | | | | | This connects LLDB to the build, but it is disabled by default. Add WITH_LLDB= to src.conf to build it. Note that LLDB requires a C++11 compiler so is disabled on platforms using GCC. Approved by: re (gjb) Sponsored by: DARPA, AFRL
* Don't attempt to build ports with missing dependencies.phk2013-09-171-0/+7
| | | | Approved by: re (gjb)
* Build and install the Unbound caching DNS resolver daemon.des2013-09-152-0/+22
| | | | Approved by: re (blanket)
* Tweak wording.des2013-09-151-1/+1
| | | | Approved by: re (blanket)
* Complete the OPENSSH and LDNS sections.des2013-09-151-2/+36
| | | | Approved by: re (blanket)
* Properly remove c++filt.ed2013-09-141-2/+0
| | | | | | | | | | | | The c++filt binary is only installed if ${MK_GCC} == yes && ${MK_CXX} == yes. This means that it should be removed if ${MK_GCC} == no || ${MK_CXX} == no. In its current form, it actually uses a conjunction instead of a disjunction. As there is already a separate block for ${MK_CXX} == no listing c++filt, simply remove the conditional entirely. Approved by: re (gjb)
* Bring in the new iSCSI target and initiator.trasz2013-09-143-0/+888
| | | | | | Reviewed by: ken (parts) Approved by: re (delphij) Sponsored by: FreeBSD Foundation
* We are exceeding default limit (256) of bracket nesting and clang does not likehiren2013-09-121-0/+5
| | | | | | | | it. We should probably fix the code but appeasing clang with this fix for now. gcc does not have such limit. Reviewed by: jmg Approved by: re (hrs), sbruno (mentor, implicit)
* Clean up the Kerberos build by turning libheimipcc and libheimipcs intodes2013-09-101-0/+16
| | | | | | | | private shared libraries, instead of hacked-together archives of PIC objects. This makes it possible to build a static libkrb5 that works. Reviewed by: stas Approved by: re (gjb)
* Make this more deterministic by sorting the libraries before processingdes2013-09-101-1/+2
| | | | | | them and ensuring that we always use the samme collation rules. Approved by: re (gjb)
* Add a sendfile regression test for transmit length > file size.emaste2013-09-101-32/+64
| | | | | | | This test identified the issue fixed in FreeBSD-SA-13:11.sendfile. Sponsored by: The FreeBSD Foundation Approved by: re (glebius)
* Adjust optional obsolete files with new MK_GNUCXXantoine2013-09-071-3/+19
|
* Do not try to remove directories that are part of BSD.include.distantoine2013-09-071-2/+0
|
* Add more leftovers from gcc.glebius2013-09-071-1/+5
|
* Add WITH_GCC alongside WITHOUT_GCC.zeising2013-09-062-5/+3
| | | | | Remove the comment from WITHOUT_GCC about this not working without an alternate toolchain, we have clang now.
* Don't delete c++filt when doing a make delete-old if GCC is not built buttheraven2013-09-061-0/+2
| | | | C++ is.
* On platforms where clang is the default compiler, don't build gcc or libstdc++.theraven2013-09-062-0/+6
| | | | | | | | | | | | | | | | | | To enable them, set WITH_GCC and WITH_GNUCXX in src.conf. Make clang default to using libc++ on FreeBSD 10. Bumped __FreeBSD_version for the change. GCC is still enabled on PC98, because the PC98 bootloader requires GCC to build (or, at least, hard-codes the use of gcc into its build). Thanks to everyone who helped make the ports tree ready for this (and bapt for coordinating them all). Also to imp for reviewing this and working on the forward-porting of the changes in our gcc so that we're getting to a much better place with regard to external toolchains. Sorry to all of the people who helped who I forgot to mention by name. Reviewed by: bapt, imp, dim, ...
* libc/stdio: Allow fopen/freopen modes in any order (except initial r/w/a).jilles2013-09-062-0/+123
| | | | | | | | | | Austin Group issue #411 requires 'e' to be accepted before and after 'x', and encourages accepting the characters in any order, except the initial 'r', 'w' or 'a'. Given that glibc accepts the characters after r/w/a in any order and that diagnosing this problem may be hard, change our libc to behave that way as well.
* libc/stdio: Run mkostemp test using prove.jilles2013-09-061-0/+10
|
* libc/stdio: Provide proper TAP output for fmemopen/open_[w]memstream.jilles2013-09-063-3/+18
| | | | | A *.t file should provide Test Anything Protocol output so that it can be run using the Perl "prove" tool.
OpenPOWER on IntegriCloud