summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* sh: Make return return from the closest function or dot script.jilles2013-09-041-0/+13
| | | | | | | | | | | | | Formerly, return always returned from a function if it was called from a function, even if there was a closer dot script. This was for compatibility with the Bourne shell which only allowed returning from functions. Other modern shells and POSIX return from the function or the dot script, whichever is closest. Git 1.8.4's rebase --continue depends on the POSIX behaviour. Reported by: Christoph Mallon, avg
* Fix a compiler warning about signed vs unsigned compare.ian2013-09-011-1/+1
|
* sh: Recognize "--" as end of options in type builtin.jilles2013-08-301-0/+3
| | | | | This implementation makes minimal changes: command names starting with "-" (other than "--") can still be queried normally.
* Remove GNU_PATCH leftover.andreast2013-08-291-5/+0
|
* Drop build option switch for the older GNU patch.pfg2013-08-291-2/+0
| | | | | | | | As promised, drop the option to make the older GNU patch the default. GNU patch is still being built but something drastic may happen to it to it before Release.
* Formally remove WITH_BSDCONFIG build option and re-generate src.conf.5dteske2013-08-271-2/+0
| | | | NOTE: Should have been inline with revisions 252862 and 254958.
* Add more obsolete files.antoine2013-08-261-0/+5
|
* Document WITHOUT_ICONV, WITH_LIBICONV_COMPAT and WITH_USB_GADGET_EXAMPLESantoine2013-08-264-2/+6
|
* Fix fcntl F_GETFL F_SETFL for files opened execute-only (O_EXEC).jilles2013-08-253-0/+127
| | | | | | | | | The FFLAGS and OFLAGS now work correctly also for files opened with O_EXEC. Except possibly fuse, the other users pass values without O_EXEC set. fuse appears to assume O_EXEC is handled correctly. Although F_SETFL may not be commonly used for execute-only file descriptors, F_GETFL may be useful to find the access mode.
* drm/radeon: Import the Radeon KMS driverdumbbell2013-08-257-0/+829
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver is based on Linux 3.8 and a previous effort by kan@. More informations about this project can be found on the FreeBSD wiki: https://wiki.freebsd.org/AMD_GPU The driver is split into: sys/dev/drm2: The driver sources. sys/modules/drm2/radeonkmw: The driver main kernel module's Makefile. sys/modules/drm2/radeonkmsfw: All firmware kernel module Makefiles. There's one directory and one Makefile for each firmware. sys/contrib/dev/drm2/radeonkmsfw: All firmware binary sources. tools/tools/drm/radeon Tools to update firmwares or regenerate some headers. Merging the driver to FreeBSD 9.x may be possible but not a priority for now. Help from: kib@, kan@ Tested by: avg@, kwm@, ray@, Alexander Yerenkow <yerenkow@gmail.com>, Anders Bolt-Evensen <andersbo87@me.com>, Denis Djubajlo <stdedjub@googlemail.com>, J.R. Oldroyd <fbsd@opal.com>, Mikaël Urankar <mikael.urankar@gmail.com>, Pierre-Emmanuel Pédron <pepcitron@gmail.com>, Sam Fourman Jr. <sfourman@gmail.com>, Wade <wade-is-great@live.com>, (probably other I forgot...) HW donations: kyzh, Yakaz
* drm: Update drm_pciids.h based on Linux 3.8dumbbell2013-08-253-0/+188
| | | | | | | | | | | | | | This header can be easily updated using the new "gen-drm_pciids" script, available in tools/tools/drm. The script uses the Linux' drm_pciids.h header for new IDs, the FreeBSD's one because we add the name of the device to each IDs, and the PCI IDs database (misc/pciids port) to fill this name automatically for new IDS. To call the script: tools/tools/drm/gen-drm_pciids \ /path/to/linux/drm_pciids.h \ /path/to/freebsd/drm_pciids.h \ /path/to/pciids/pci.ids
* sh: Recognize "--" as end of options in alias builtin.jilles2013-08-251-0/+4
| | | | | Aliases starting with "-" (which are non-POSIX) will need to be preceded by an alias not starting with "-" or the newly added "--".
* sh: Disallow empty simple commands.jilles2013-08-251-0/+3
| | | | | | | | | | As per POSIX, a simple command must have at least one redirection, assignment word or command word. These occured in rare cases such as eval "f()" . The extension of allowing no commands inside { }, if, while, for, etc. remains.
* sh: Reject ++ and -- in arithmetic.jilles2013-08-241-0/+6
| | | | | | | | | | POSIX does not require ++ and -- in arithmetic. It is probably more useful to reject them than to treat ++x and --x as x silently. Note that the behaviour of increment and decrement can be obtained via (x+=1), ((x+=1)-1), (x-=1) and ((x-=1)+1). PR: bin/176444
* Add simple test for the read/write/lseek on posix shm filedescriptor.kib2013-08-211-6/+21
| | | | | Tested by: pho Sponsored by: The FreeBSD Foundation
* Catch up with various changes to if_data and make this compile againbz2013-08-201-2/+9
| | | | | | | on HEAD. Seems to be one of the the only tools giving us access to ifi_baudrate and ifi_baudrate_pf values. MFC after: 3 days
* sh: Recognize "--" as end of options in bg/fg/jobid builtins.jilles2013-08-161-0/+9
|
* sh: Add test for the non-standard jobid builtin.jilles2013-08-161-0/+7
|
* Add tests for dup3().jilles2013-08-161-1/+86
|
* sh: Recognize "--" as end of options in local builtin.jilles2013-08-141-0/+12
|
* sh: Allow a lone redirection before '|', ';;' or ';&'.jilles2013-08-143-0/+6
| | | | | | | Example: </dev/null | : PR: 181240 MFC after: 1 week
OpenPOWER on IntegriCloud