summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig
Commit message (Collapse)AuthorAgeFilesLines
* f_substr(): Optimized recipe if running under bashdteske2016-02-031-69/+104
| | | | | | This makes runnig f_substr() faster than it was when running under bash, but both sh and dash are still faster when using the non-bash recipe which features dynamically unrolled loops.
* Remove SIG prefix from trapped signalsdteske2016-02-031-5/+4
| | | | Makes traps functional if running under shells/dash
* f_substr: Write to stdout when no `-v var_to_set'dteske2016-02-031-1/+5
| | | | Fixes ``setvar: : bad variable name''
* Remove trailing whitespacedteske2016-02-031-2/+2
|
* Define f_sprintf() dynamically at inclusion timedteske2016-02-031-12/+17
| | | | No need to check/re-check capabilities that won't change at runtime.
* Utilize new `-v var_to_set' of f_snprintf()dteske2016-02-013-9/+9
|
* Move awk(1)-dependent recipes to the bottomdteske2016-01-311-114/+114
|
* Move f_isinteger() to the topdteske2016-01-311-10/+10
| | | | Grouping builtins-only algos together
* Move f_vsprintf() below f_sprintf()dteske2016-01-311-10/+10
| | | | Variable argument versions grouped with standard versions
* Move f_sprintf() above f_snprintf()dteske2016-01-311-15/+15
| | | | Ordering functions by appearance of use
* Optimize f_substr() to use built-ins onlydteske2016-01-311-32/+57
| | | | Change f_snprintf() to use optimzed f_substr()
* Optimize f_sprintf() for bashdteske2016-01-311-1/+9
| | | | | | | | bash lacks the ksh93 optimization that makes sub-shells fast if they do not alter io. bash 3.1-alpha1 introduced printf -v var_to_set which is not as fast but is still significantly faster than var_to_set=$( printf ) when using any version of bash. If we find our interpreter to somehow be bash by invocation or inclusion, use the feature that provides fastest results.
* Reset OPTIND to 1 in f_device_find()dteske2016-01-311-2/+2
|
* Replace awk with more efficient builtins-only algodteske2016-01-271-9/+55
|
* Use dpv(1) in `bsdconfig packages'dteske2016-01-273-9/+14
|
* Fix ABI parsingdteske2016-01-271-2/+6
|
* Change incorrect pathdteske2016-01-271-2/+2
|
* Fix a typo in a commentdteske2016-01-241-1/+1
| | | | | MFC after: 3 days X-MFC-to: stable/10
* Fix improper duration for f_dialog_pause() APIdteske2016-01-091-1/+0
| | | | | MFC after: 3 days X-MFC-to: stable/10
* META MODE: Update dependencies with 'the-lot' and add missing directories.bdrewery2015-12-0136-0/+396
| | | | | | | | | | | | | | 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-2638-76/+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
* Add support for "rc.conf.d" file(s).dteske2015-11-121-1/+95
| | | | | | | | | Differential Revision: https://reviews.freebsd.org/D3551 Reviewed by: allanjude MFC after: 1 week X-MFC-to: stable/10 X-MFC-with: 290337 Relnotes: yes
* Fix a ton of speelling errorseadler2015-10-211-1/+1
| | | | | | | arc lint is helpful Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com Differential Revision: https://reviews.freebsd.org/D3337
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.bdrewery2015-09-253-6/+0
| | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
* Fix code typo (no functional change)dteske2015-09-141-3/+3
| | | | | MFC after: 3 days X-MFC-to: stable/10
* Interim fix for "Login not found" error.dteske2015-06-192-10/+10
| | | | | | PR: bin/196514 MFC after: 3 days X-MFC-to: stable/10
* Add META_MODE support.sjg2015-06-133-0/+39
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * Merge sync of headsjg2015-05-2711-53/+190
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-1948-139/+87
| |\
| * \ Merge head from 7/28sjg2014-08-1917-171/+182
| |\ \
| * \ \ Merge headsjg2014-04-28104-3023/+6832
| |\ \ \
| * \ \ \ Merge head@256284sjg2013-10-1350-212/+246
| |\ \ \ \
| * | | | | New dependenciessjg2013-10-133-0/+36
| | | | | |
* | | | | | Fix typo in a comment.dteske2015-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10 stable/9
* | | | | | Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;cperciva2015-02-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update paths; and include everything in the "base" distribution. The "games" distribution being optional made sense when there were more games and we had small disks; but the "games-like" games were moved into the ports tree a dozen years ago and the remaining "utility-like" games occupy less than 0.001% of my laptop's small hard drive. Meanwhile every new user is confronted by the question "do you want games installed" when they they try to install FreeBSD. The next steps will be: 2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor, morse, number, primes, and random, since there is evidence that those are still being used. 3. Merging src/games into src/usr.bin. This change will not be MFCed. Reviewed by: jmg Discussed at: EuroBSDCon Approved by: gjb (release-affecting changes)
* | | | | | Update copyrights.dteske2015-02-106-6/+6
| | | | | |
* | | | | | Add "vt_"* aliases to bsdconfig console entries.dteske2015-02-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | NB: "syscons_"* kept for backward compatibility
* | | | | | Add bsdconfig api function f_dialog_menutag2help()dteske2015-02-101-0/+33
| | | | | |
* | | | | | Add bsdconfig api functions f_dialog_pause()/f_dialog_pause_no_cancel()dteske2015-02-101-0/+50
| | | | | |
* | | | | | Eliminate sub-shells where possible for performance.dteske2015-02-103-41/+89
| | | | | | | | | | | | | | | | | | | | | | | | MFC after: 7 days
* | | | | | Whitespace.dteske2015-02-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days
* | | | | | Comments.dteske2015-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days
* | | | | | 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
* | | | | | Replace the only instance of sed(1) in bsdconfig(8) with awk(1).dteske2015-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days
* | | | | | Revert SVN r278464 -- fingers were in perforce mode (prematuredteske2015-02-096-78/+23
| | | | | | | | | | | | | | | | | | | | | | | | commit of future stuffs not yet ready).
* | | | | | Replace the only instance of sed(1) in bsdconfig(8) with awk(1).dteske2015-02-096-23/+78
| |_|_|_|/ |/| | | | | | | | | | | | | | MFC after: 3 days
* | | | | Default `bsdconfig timezone' and `tzsetup' to `-s' in a VM.dteske2014-11-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recommended by: cperciva Reviewed by: cperciva Relnotes: tzsetup and bsdconfig now assume that the "hardware" clock inside a VM is set to UTC
* | | | | Renove faith(4) and faithd(8) from base. It looks like industrymelifaro2014-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | have chosen different (and more traditional) stateless/statuful NAT64 as translation mechanism. Last non-trivial commits to both faith(4) and faithd(8) happened more than 12 years ago, so I assume it is time to drop RFC3142 in FreeBSD. No objections from: net@
* | | | | Follow-up to r255036; remove beforeinstall directives from bsdconfig(8)dteske2014-11-0439-119/+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
OpenPOWER on IntegriCloud