summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* * Handle ++x as well as x++ while converting.marcel2014-06-251-7/+54
| | | | | | | | | * Add special case handling where normal conversion would not work (some APIs have special names) * Fix conversion for function calls involving ifnet Submitted by: Sreekanth Rupavatharam <rupavath@juniper.net> Obtained from: Juniper Networks, Inc.
* With the migration from GNATS to Bugzilla, we no longer need a tool togavin2014-06-222-358/+0
| | | | | graph GNATS PR statistics. It would be nice to have a similar tool for the new bug database, but that would likely be a from-scratch rewrite.
* use .Mt to mark up email addresses consistently (part1)bapt2014-06-206-13/+14
| | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* share/vt now also includes keymapsemaste2014-06-171-1/+1
|
* Don't install GSS-API headers when the GSSAPI option has been disabled.tijl2014-06-131-0/+3
| | | | | | | Some ports assume GSS-API is supported when they find the headers. PR: 189156 Submitted by: Garrett Cooper <yanegomi@gmail.com>
* Revert r267424 and r267425:gjb2014-06-132-9/+8
| | | | | | | | More exploration will be needed in order to silence the tinderbox mails caused by setting WITH_TESTS=1 by default. Ref: http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full With hat: re
* Enable MK_TESTS by default.jmmv2014-06-122-8/+9
| | | | | | | | | | This was never intended to be off by default but was done this way because the initial patches broke the build. Things seem stable now (have been so for a while too) and "make tinderbox" is clean so let's try again. Announced in freebsd-current; all reported shortcomings have been addressed.
* vt fontcvt: move to usr.bin/vtfontcvtemaste2014-06-103-575/+1
| | | | | | | | | | vtfontcvt is useful for end users to convert arbitrary bitmap fonts for use by vt(4). It can also be used as a build tool, allowing us to keep the source font data in the src tree rather than uuencoded binaries. Reviewed by: ray, wblock (D183) Sponsored by: The FreeBSD Foundation
* vt fontcvt: handle failure writing output fontemaste2014-06-101-10/+20
|
* vt fontcvt: Speed up bold glyph map deduplicationemaste2014-06-091-28/+32
| | | | | | | | Perform an O(n) deduplication pass over the bold maps at the end, rather than walking the normal map list to look for a duplicate glyph each time a bold mapping entry is added. Sponsored by: The FreeBSD Foundation
* vt fontcvt: Hide stats by default and improve error handlingemaste2014-06-091-44/+64
| | | | The font stats are interesting, but rather verbose.
* In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.bdrewery2014-06-081-0/+2
| | | | | | | | | | | | | | | | This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
* Move atf-sh from /usr/bin/ to /usr/libexec/jmmv2014-06-061-0/+12
| | | | | | | | | | | | | In r266650, we made libatf-c and libatf-c++ private libraries so that no components outside of the source tree could unintendedly depend on them. This change does the same for the "atf-sh library" by moving the atf-sh interpreter from its public location in /usr/bin/ to the private location in /usr/libexec/. Our build system will ensure that our own test programs use the right binary, but users won't be able to depend on atf-sh by "mistake". Committing this now to ride the UPDATING notice added with r267172 today.
* Update after r267011: use -h height and -w width argsemaste2014-06-061-1/+3
|
* Homogenize libatf-* version numbers with upstream.jmmv2014-06-061-0/+4
| | | | | | | | | | | | The libatf-* major version numbers in FreeBSD were one version ahead of upstream because, when atf was first imported into FreeBSD, the upstream numbers were not respected. This is just confusing and bound to cause problems down the road. Fix this by taking advantage of the fact that libatf-* are now private and that atf is not yet built by default. However, and unfortunately, a clean build is needed for tests to continue working once "make delete-old-libs" has been run; hence the note in UPDATING.
* vt fontcvt: Accept space after BITMAP in .bdf parseremaste2014-06-051-1/+2
| | | | | The Unifont BDF generator incorrectly adds a space after BITMAP, and and that error has been widely propagated.
* Install VT support filesemaste2014-06-051-0/+4
| | | | | | They can be disabled by setting WITHOUT_VT_SUPPORT=yes in src.conf. Sponsored by: The FreeBSD Foundation
* Support "GNU Unifont" format font dataemaste2014-06-051-26/+88
| | | | | | | | | | | | | | | | | | | | | | The GNU Unifont .hex format is a text file. Each line represents one glyph and consists of a four-digit hex code point, a colon, and pairs of hex digits representing the bitmap. By default an 8x16 font is assumed, with 16x16 double-width glyphs, resulting in either 32 or 64 hex digits for the bitmap. Our version of the file format supports comments at the top of the file to set the height and width: # Height: <decimal height> # Width: <decimal width> Each row of bitmap data is rounded up to byte width - for example, a 10-pixel wide font uses 4 characters per row. See http://czyborra.com/unifont/ for more background on the original format. Sponsored by: The FreeBSD Foundation
* vt fontcvt: -w sets the width, not heightemaste2014-06-051-1/+1
|
* vt fontcvt: Use a hash to speed up glyph deduplicationemaste2014-06-041-7/+12
| | | | | | | | | Walking a linked list of all glyphs to look for a duplicate is very slow for large fonts (e.g., for CJK character sets). In my test the runtime for a sample 40000 character font went from just over 80 seconds on average to just over 2 seconds. Sponsored by: The FreeBSD Foundation
* Merge (unused) documentation of WITHOUT_TESTS into WITH_TESTS.jmmv2014-06-032-3/+2
| | | | | | The description of WITH/WITHOUT tweaks should only document the non-default option. TESTS still defaults to no, so the option to be documented is WITH_TESTS.
* vt fontcvt: Make the bold font optionalemaste2014-06-031-5/+11
| | | | Sponsored by: The FreeBSD Foundation
* vt fontcvt: Make height and width optional argumentsemaste2014-06-031-9/+25
| | | | | | | Now defaults to a 16x8 font size. The height and width can be specified using -h and -w respectively. Sponsored by: The FreeBSD Foundation
* - Use strlen instead of hardcoding a numbergahr2014-06-031-2/+2
| | | | | | - Terminate a sentence with a period Approved by: cognet
* Add convert_drvapi.sh; a script that helps to convert NIC driversmarcel2014-06-021-0/+255
| | | | | | | | to use the procedural interface. Submitted by: Sreekanth Rupavatharam <rupavath@juniper.net> Reviewed by: glebius@ Obtained from: Juniper Networks, Inc.
* - Return NULL and set errno to EINVAL if size is 0 (as required by POSIX).gahr2014-06-021-0/+47
| | | | | | | | | | Update the manpage to reflect this change. - Always set the current position to the first null-byte when opening in append mode. This makes the implementation compatible with glibc's. Update the test suite. Reported by: pho Approved by: cognet
* Add missing , in converted font outputemaste2014-05-291-1/+1
| | | | Submitted by: Claude Buisson
* Remove empty lines that cause mdoc warnings.gjb2014-05-274-5/+0
| | | | Sponsored by: The FreeBSD Foundation
* Change libatf-c and libatf-c++ to be private libraries.jmmv2014-05-251-0/+29
| | | | | | | | | | | | | | We should not be leaking these interfaces to the outside world given that it's much easier for third-party components to use the devel/atf package from ports. As a side-effect, we can also drop the ATF pkgconfig and aclocal files from the base system. Nothing in the base system needs these, and it was quite ugly to have to get them installed only so that a few ports could build. The offending ports have been fixed to depend on devel/atf explicitly. Reviewed by: bapt
* Fix tst.ZeroModuleProbes.d.ksh, which was incorrectly modified in r178534.markj2014-05-191-1/+0
| | | | | | Since "BEGIN" is not the name of a module, the test would just hang. MFC after: 3 days
* remove trailing white space...jmg2014-05-191-2/+2
| | | | fix spelling of unnecessary...
* Remove documention of WITHOUT_NCURSES removed in r266157.brooks2014-05-152-6/+0
| | | | | | | Remove a bit of whitespace from WITHOUT_BINUTILS. Catch up with a bunch of other commits to tools/build/options that weren't merged to src.conf.5.
* Fix delete-old when WITH_TESTS is set.jmmv2014-05-121-1/+1
| | | | | r265423 removed the WITHOUT_BMAKE option, which in turn broke a conditional in OptionalObsoleteFiles.inc that inspected MK_BMAKE.
* (NANO_CONFIG): New variable containing path of config file, so thatthomas2014-05-121-2/+13
| | | | | | | | | | the configuration can reference additional files relative to its own location. (NANO_MODULES): If set to "default", install all built modules. Reviewed by: imp MFC after: 1 week
* Upgrade our copy of llvm/clang to 3.4.1 release. This release containsdim2014-05-121-35/+35
| | | | | | | | | | | | | | | mostly fixes, for the following upstream bugs: http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000 http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165 http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316 http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515 http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762 http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994 http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033 http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326 MFC after: 2 weeks
* Move DOCCOMPRESS to MK variable.imp2014-05-102-0/+9
|
* Migrate NO_WARN to MK_WARN. Support legacy NO_WARN usage. Remove aimp2014-05-101-0/+5
| | | | | check for EARLY_BUILD because it isn't necessary (MK_WARN=no will always be defined for that).
* Optionally allow building the historical FreeBSD make program andimp2014-05-101-0/+5
| | | | | | install it as fmake. This defaults to no. This should be viewed as the first step towards evental migration of this historic code to ports and removal from the tree.
* Document WITHOUT_SYSCALL_COMPAT and WITHOUT_GNU_GREP_COMPAT.imp2014-05-102-0/+6
|
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-062-2/+2
| | | | from the latter.
* Add appropriate quoting to allow building with a KERNCONFDIR containingthomas2014-05-031-12/+12
| | | | | | | spaces. PR: kern/162736 MFC after: 1 week
* Clean up more lindev(4) vestiges.brueffer2014-05-021-21/+0
|
* Add a C libary and a Python module that implements an API similarmarcel2014-04-289-0/+672
| | | | | | | | to bus_space(9) and that uses the proto(4) driver for talking to hardware. If the I/O resource is a memory mapped I/O resource, then mmap(2) will be attempted to avoid read(2)/write(2) overhead. Sponsored by: Juniper Networks, Inc.
* Note that the bug was fixed, and when.des2014-04-261-1/+1
|
* Eliminate last vestigies of NO_MAN= in the tree. Also, removeimp2014-04-256-6/+2
| | | | ineffectual NOMAN= lines. These don't change the build at all.
* Remove NO_CTF, exccept as an undocumented compatibilityimp2014-04-251-4/+3
| | | | | | option. Convert all other uses to MK_CTF=no. Set MK_CTF=no rather than the indirect WITHOUT_CDDL in filemon regression. It is expected that NO_CTF will be removed in FreeBSD 12 entirely.
* Put my inner hobgoblin on a leash: These routines, at least, needed toimp2014-04-251-10/+10
| | | | be {} so they don't run in a subshell.
* Add option WITHOUT_VI to not build/install vi. vi was the largestimp2014-04-241-0/+2
| | | | binary without a knob to turn it off.
* Use MK_OPENLDAP in preference to WITH_OPENLDAP and make it a defaultimp2014-04-241-0/+2
| | | | | NO option to match the opt-in nature of the historical nature of this option.
* Turns out that bash whines line a spoiled three year old when itimp2014-04-241-0/+1
| | | | | | | encounters empty function. Put the 'true' passifier back. This effectively backs out r264857. Submitted by: Garrett Cooper
OpenPOWER on IntegriCloud