summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/includes
Commit message (Collapse)AuthorAgeFilesLines
* META MODE: Update dependencies with 'the-lot' and add missing directories.bdrewery2015-12-012-0/+22
| | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division
* META MODE: These need object directories to handle staging.bdrewery2015-11-262-4/+0
| | | | Sponsored by: EMC / Isilon Storage Division
* Rename checked-in 'includes' to 'includes.sh' to avoid colliding with share/mkbdrewery2015-11-192-1/+1
| | | | | | | | | target 'make includes'. The file is still installed to /usr/libexec/bsdconfig/includes/includes. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Update copyrights.dteske2015-02-101-1/+1
|
* Add new alias "bsdconfig api" (same as "bsdconfig includes")dteske2015-02-091-0/+1
| | | | | | NB: My fingers like typing "api" a lot more than "includes" MFC after: 3 days
* Revert SVN r278464 -- fingers were in perforce mode (prematuredteske2015-02-091-1/+0
| | | | commit of future stuffs not yet ready).
* Replace the only instance of sed(1) in bsdconfig(8) with awk(1).dteske2015-02-091-0/+1
| | | | MFC after: 3 days
* Follow-up to r255036; remove beforeinstall directives from bsdconfig(8)dteske2014-11-042-6/+0
| | | | | | | | | Makefile's, fixing concurrent installworld (`make -j17 installworld'). Thanks to: delphij, emaste Reviewed by: delphij MFC after: 3 days X-MFC-to: stable/10, stable/9
* Rename awk(1) implementation of GNU awk's built-in asorti() function todteske2014-10-141-2/+2
| | | | | | | | prevent fatal conflict should one-true-awk ever be replaced -- e.g., in an appliance -- with GNU awk. NB: Renamed my implementation to _asorti() MFC after: 3 days X-MFC-to: stable/10, stable/9
* Fix awk(1) asorti() implementation to work when called in a loop.dteske2014-10-141-1/+3
| | | | | MFC after: 3 days X-MFC-to: stable/10, stable/9
* Performance and debugging enhancements:dteske2013-12-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Remove UNAME_P=$(...) from startup/misc -- already supplied by common.subr + Use f_getvar instead of $(eval echo \$$var) -- f_getvar is sub-shell free + Add `-e' and `-k var' options to f_eval_catch -- increasing use-cases + Use f_eval_catch to display errors on failure -- reducing duplicated code + Use f_eval_catch when we need output from a command -- improving debugging + Optimize f_isinter of strings.subr for performance -- now sub-shell free + Improve error checking on pidfiles -- using f_eval_catch and f_isinteger + Use $var_to_set arg of f_ifconfig_{inet,netmask} -- eliminate sub-shells + Use f_sprintf instead of $(printf ...) -- consolidate sub-shells + Use $var_to_set arg of f_route_get_default -- eliminate sub-shells + Add f_count to replace $(set -- ...;echo $#) -- eliminate sub-shells + Add f_count_ifs to replace $(IFS=x;set -- ...;echo $#) -- no sub-shells + Replace var="$var${var:+ }..." in loops with var="$var ..." with a follow- up var="${var# }" to trim leading whitespace -- optimize loops + Use $var_to_set arg of f_resolv_conf_nameservers -- eliminate sub-shells + Comments for the f_eval_catch function + Remove a duplicate `local ... desc ...' in f_device_get_all of device.subr + Use $var_to_set arg of f_device_capacity -- eliminate sub-shells + Whitespace fixes in f_dialog_init of dialog.subr + Optimize f_inet_atoi of media/tcpip.subr for performance -- sub-shell free + In several cases, send stderr to /dev/null -- clean up runtime execution + Change f_err of common.subr to go to program stderr not terminal stderr, allowing redirection of output from functions that use f_err + Disable debugging when using f_getvar to get variable argument to f_startup_rcconf_map_expand of startup/rcconf.subr + Use f_replace_all instead of $(echo ... | tr | sed) -- performance + Add a $var_to_set option to f_index_{file,menusel_{command,keyword}} of common.subr -- centralize sub-shells
* Sort function output on name of the function.dteske2013-11-301-5/+30
|
* Fix an issue where additional lines of a function definition didn't linedteske2013-11-291-2/+2
| | | | up with the primary (leading) line of syntax.
* Fix an issue where the leading `+' sign before a function name was notdteske2013-11-291-1/+1
| | | | displayed unless color was requested.
* Add missing newline to printf format string.dteske2013-11-251-2/+2
|
* f_die() (see `bsdconfig includes -dF die') uses a dialog box (and has beendteske2013-11-211-3/+5
| | | | | documented as such; I just forgot). These utilities are command-line only and as such should stick to either using f_die without arguments or printf)
* Make `-d' implicitly enable `-f' for simplification.dteske2013-11-202-3/+3
|
* Add a `-d' flag for printing the description of each function.dteske2013-11-202-8/+28
|
* Add new `includes' module for exploring the bsdconfig(8) API.dteske2013-11-206-0/+338
OpenPOWER on IntegriCloud