summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Remove ftp(1) related files when MK_FTP == nongie2016-07-031-0/+14
| | | | | | | | | Approved by: re (gjb) Differential Revision: https://reviews.freebsd.org/D6969 MFC after: 1 week Reviewed by: ngie Submitted by: rakuco Sponsored by: EMC / Isilon Storage Division
* Posixify the locales name for variantsbapt2016-07-033-88/+99
| | | | | | | | | | | | | | | | | | | | For all locales with variants: - if no ambiguity on the locale (only one variant) just use the regular name - if ambiguity, pick one as default and append @<variant> to the others respecting POSIX As a result: - All the 3 components locales added recently are renamed to the usual 2 components version for all but sr_RS.UTF-8 - Set sr_RS.UTF-8 to the cyrillic variant - Add sr_RS.UTF-8@latin - Remove the symlinks aliases they were created to represent the 2 components version as aliasas and are now useless - Update the OptionalObsoleteFiles.inc and ObsoleteFiles.inc to reflect those changes Discussed with: ache@ Approved by: re@ (gjb)
* Document support for alternate TCP stacks.jtl2016-06-281-0/+2
| | | | | | | Differential Revision: https://reviews.freebsd.org/D6940 Reviewed by: hiren Approved by: re (gjb) Sponsored by: Juniper Networks
* makeroot: zero out subsecond component of time= keywordsemaste2016-06-231-0/+4
| | | | | | | | | | They are currently not supported by makefs(1). PR: 194703 Reviewed by: brooks Approved by: re (gjb) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6925
* Fix generation of locales with multiple variantsbapt2016-06-201-18/+19
| | | | | | | | | Serbian locales have triple components to represent the 2 variations of the locale: Latin and Cyrillic. Previously the tools generatic the locale were appending both definitions instead of differentiating them. Reported by: ache Approved by: re (gjb)
* - Prefer to use %d over %e where the day of the month should be zeroume2016-06-191-3/+12
| | | | | | | | | filled. - Since %e means the day of the month as well, regard %e as same as %d in md_order. Reported by: vangyzen Approved by: re (gjb)
* Add clang-format under WITH_CLANG_EXTRAS.bdrewery2016-06-171-0/+1
| | | | | | | Reviewed by: dim Approved by: re (gjb) Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D6856
* Add a tool to decode ioctl commands.jhb2016-06-152-0/+104
| | | | | | | | | | | One or more ioctl command values can be passed as arguments on the command line. For each value, the command is broken down into it's components (direction, group, number, and length). In addition, if a command has a known name it is output via sysdecode_ioctlname(). Reviewed by: kib, emaste, avg Approved by: re (gjb) Differential Revision: https://reviews.freebsd.org/D6851
* WITH_META_MODE: Enable printing of some of make's environment on error.bdrewery2016-06-141-0/+3
| | | | | | | | | | | | | | This will print a set of variables from make on error using MAKE_PRINT_VAR_ON_ERROR. It is already enabled for the DIRDEPS_BUILD. It may make sense to enable this in the non-meta mode as well once people are more used to its more verbose error output. This makes it much simpler to see which .meta file is used when a command files so that it may be inspected for the build command. Suggested by: sjg Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* WITH_META_MODE: Lessen the filemon(4) requirement scope.bdrewery2016-06-141-2/+6
| | | | | | | | | | | | | | | | | | | - Move the sys.mk filemon requirement to bsd.init.mk as a warning. This is intended only to show when building directly in a subdirectory without filemon loaded. - Move the error into Makefile and only apply it when building from the META_TGT_WHITELIST target list. -DNO_FILEMON can be used to suppress both the warning and the error but makes WITH_META_MODE less useful. It will only compare build commands in this mode rather than track all dependencies. This fixes installing from a jail which doesn't need filemon in this phase [1]. Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com> [1] Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* build: Add legacy support for futimens() and utimensat().jilles2016-06-094-1/+259
| | | | | | | | | | | | | | | In order to allow using utimensat() in install(1), add futimens() and utimensat() to -legacy. The files futimens.c and utimensat.c are modified copies of the files under lib/libc/sys/ since the libc versions use symbols that do not exist in the libc on the build system (sys_futimens and sys_utimensat) . I expect the next non-sweeping change to both sets of files to be to delete them, anyway. This will allow reverting r299942 (which is a revert of r299850) enabling nanosecond timestamps in install(1). Reviewed by: bdrewery
* Replace _pam_verbose_error() with a macro. This was the last differencedes2016-06-081-6/+6
| | | | | between our libpam and stock OpenPAM, meaning that it is now possible to replace the base libpam with a hypothetical ports version of OpenPAM.
* Document BLACKLIST related build optionslidl2016-06-072-0/+10
| | | | | Reported by: bdrewery Sponsored by: The FreeBSD Foundation
* Separate BLACKLIST vs BLACKLIST_SUPPORT properlylidl2016-06-071-1/+1
| | | | Sponsored by: The FreeBSD Foundation
* cxgbetool: Allow max-rate > 10Gbps for rate-limited traffic.np2016-06-061-2/+2
| | | | Sponsored by: Chelsio Communications
* Document WITH_META_MODE enforcing WITHOUT_SYSTEM_COMPILER.bdrewery2016-06-051-0/+3
| | | | | | makeman doesn't handle this since it would need to enable all non-default options when checking enabling 1 option, which then convolutes what is really affecting each other.
* WITH_META_MODE: Enable bmake's missing meta rebuild featurebdrewery2016-06-051-3/+4
|
* Correct path for blacklistd.conf in OptionalObsoleteFiles.inclidl2016-06-051-1/+1
| | | | | | | | | | Fix typo made when adding the blacklistd.conf file to OptionalObsoleteFiles.inc Submitted by: Herbert J. Skuhra ( herbert at mailbox.org ) Reviewed by: rpaulo Approved by: rpaulo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6715
* Add blacklistd.conf manpagelidl2016-06-031-0/+1
| | | | | | | | | | Install the blacklistd.conf man page, missed in the original commit. Submitted by: Herbert J. Skuhra ( herbert at mailbox.org ) Reviewed by: rpaulo Approved by: rpaulo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6702
* Add basic blacklist build supportlidl2016-06-021-0/+20
| | | | | | | | Reviewed by: rpaulo Approved by: rpaulo Relnotes: YES Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5913
* Add more hacks to correct CLDR databapt2016-05-291-5/+27
| | | | | | | | | | | | | | For Russian: - Convert AM/PM which are badly formatted in CLDR to replace it by the proper cyrillic - Add a dependency on Text::Iconv so non unicode get the proper encoding for AM/PM - fix the date format having 'r.,' and convert it to 'r.' (also fixed in Bulgarian) For All: - Use complete Day of Week instead of the abbreviated one Reported by: ache
* Remove yacc and the yacc tests if MK_TOOLCHAIN == nongie2016-05-291-0/+310
| | | | | | | yacc's install is conditional based on MK_TOOLCHAIN != no MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is runngie2016-05-291-0/+27
| | | | | | | sa(8) is conditionally installed based on MK_ACCT != no today MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Remove the etcupdate tests if MK_RCS == no when "make delete-old" is runngie2016-05-291-0/+9
| | | | | | | etcupdate is conditionally installed based on MK_RCS != no today MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Remove the calendar tests if MK_CALENDAR == no when "make delete-old"ngie2016-05-291-0/+33
| | | | | | | is run MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Add a hack to readd the day of weeks in default date formatsbapt2016-05-281-6/+10
|
* Update usage(..)ngie2016-05-271-6/+11
| | | | | | | | | - Document missing options - Sync options with ioatcontrol(8). - Make it clear that the first 2 parameters are always required. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Remove note about bogus chain-len maximumngie2016-05-271-1/+1
| | | | | | | | | There's no current limit on chain-len with Broadwell DE chips; it isn't enforced in software, and there doesn't appear to be a hardware limitation either on the Intel Xeon D-1527 (Broadwell-DE) chip. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Install ioatcontrol to /usr/bin by default instead of /ngie2016-05-271-0/+1
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* - Sort make variablesngie2016-05-271-2/+5
| | | | | | | - Use SRCTOP instead of ad hoc definition for it MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Fix description for -V in the -r casengie2016-05-271-1/+1
| | | | | | | | t.verify_test = true is always set when -V is specified, regardless of whether or not the tool is being run in raw mode MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Document the default behavior for -c (0)ngie2016-05-271-2/+3
| | | | | | | Bump .Dd for the change MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Initialize `t` with memset(.., 0, ..)ngie2016-05-271-0/+3
| | | | | | | | This will help ensure that we're not using random garbage on the stack by accident with respect to the variable MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Add a Makefile.dependbdrewery2016-05-261-0/+56
| | | | Sponsored by: EMC / Isilon Storage Division
* WITH_META_MODE: Correct description of missing .meta file.bdrewery2016-05-241-1/+3
| | | | Sponsored by: EMC / Isilon Storage Division
* Opportunistically skip building a cross-compiler with SYSTEM_COMPILER set.bdrewery2016-05-212-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will still build the compiler for the target but will not build the bootstrap cross-compiler in the cross-tools phase. Other toolchain bootstrapping, such as elftoolchan and binutils, currently still occurs. This will utilize the default CC (cc, /usr/bin/cc) as an external compiler. This is planned to be on-by-default eventually. This will utilize the __FreeBSD_cc_version compiler macro defined in the source tree and compare it to CC's version. If they match then the cross-compiler is skipped. If [X]CC is an external compiler (absolute path) or WITHOUT_CROSS_COMPILER is already set, then this logic is skipped. If the expected bootstrap compiler type no longer matches the found CC compiler type (clang vs gcc), then the logic is skipped. As an extra safety check the version number is also compared from the compiler to the tree version. Clang: The macro FREEBSD_CC_VERSION is defined in: lib/clang/include/clang/Basic/Version.inc For clang -target will be used if TARGET_ARCH != MACHINE_ARCH. This is from the current external toolchain logic. There is currently an assumption that the host compiler can build the TARGET_ARCH. This will usually be the case since we don't conditionalize target arch support in clang, but it will break when introducing new architectures. This problem is mitigated by incrementing the version when adding new architectures. GCC: The macro FBSD_CC_VER is defined in: gnu/usr.bin/cc/cc_tools/freebsd-native.h For GCC there is no simple -target support when TARGET_ARCH != MACHINE_ARCH. In this case the opportunistic skip is not done. If we add proper support for this case in external toolchain logic then it will be fine to enable. This relies on the macros being incremented whenever any change occurs to these compilers that warrant rebuilding files. It also should never repeat earlier values. Reviewed by: brooks, bapt, imp Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D6357
* Add a WITH_LIBSOFTbdrewery2016-05-201-0/+3
|
* o Remove EoL whitespaces.maxim2016-05-192-11/+11
|
* o usage() updated for -h and -X flags.maxim2016-05-191-1/+3
|
* Conditionalize installing etc/rc.d/atm{1,2,3}ngie2016-05-151-0/+3
| | | | | | | | `BEFORE: netif` was already in etc/rc.d/atm1, so no additional changes are needed in that script MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Remove etc/rc.d/{zfs,zvol} if MK_ZFS != nongie2016-05-151-0/+2
| | | | | | MFC after: 2 weeks X-MFC with: r299840 Sponsored by: EMC / Isilon Storage Division
* Only install etc/rc.d/{rfcomm_pppd_server,sdpd} if MK_BLUETOOTH != nongie2016-05-061-0/+2
| | | | | | | These are bluetooth specific services MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Fix r299162ngie2016-05-061-7/+0
| | | | | | | | | | | | | share/man/man8/Makefile: - Add src.opts.mk so MK_NIS can be tested - Fix typo in MK_NIS conditional tools/build/mk/OptionalObsoleteFiles.inc: - Remove WIP diff from ^/user/ngie/detangle-rc MFC after: 1 week X-MFC with: r299162 Sponsored by: EMC / Isilon Storage Division
* Only install NIS section 8 manpages if MK_NIS != nongie2016-05-061-0/+11
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* tools: minor spelling fix in locales template.pfg2016-05-041-4/+4
| | | | No functional change.
* Add a manual page for pkt-gen.gnn2016-05-011-0/+179
| | | | Sponsored by: EMC / Isilon Storage Division
* tools: minor spelling fixes.pfg2016-05-0112-16/+16
| | | | | | Mostly comments but also some user-visible strings. MFC after: 2 weeks
* Remove leftover from Big5HKSCS removalbapt2016-04-171-18528/+0
|
* Quote variable for architectures where we have more thannetchild2016-04-161-1/+1
| | | | | | | | one linuxulator (32/64bit) and as such may have a space between both linuxulator locations. Noticed by: Miltiadis Margaronis <mmargaron@gmail.com> Tested by: Miltiadis Margaronis <mmargaron@gmail.com>
* Do not forget to set the destination directory for the new collationbapt2016-04-161-0/+1
|
OpenPOWER on IntegriCloud