summaryrefslogtreecommitdiff
path: root/usr.sbin/bsdconfig
Commit message (Collapse)AuthorAgeFilesLines
* bsdconfig, bsdinstall: Prune dead mirrorsNiclas Zeising2020-09-261-13/+0
| | | | | | | | | | | | | Prune dead mirrors from the list of mirrors in bsdconfig and bsdinstall. All these return NXDOMAIN when trying to resolve them. Reviewed by: emaste Approved by: emaste MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D26535 Notes: svn path=/head/; revision=366186
* Add mention of wireless option in bsdconfigChris Rees2020-04-121-3/+5
| | | | | | | | | Submitted by: debdrup Approved by: dteske (maintainer) Differential Revision: https://reviews.freebsd.org/D24378 Notes: svn path=/head/; revision=359835
* bsdconfig: remove the Italian mirrorPhilip Paeps2020-02-282-2/+0
| | | | | | | | | | | ftp.it.FreeBSD.org has been down for several years. PR: 244481 Reported by: xgeoplasma6@gmail.com MFC after: 3 days Notes: svn path=/head/; revision=358418
* Miscellaneous typo fixesEd Maste2020-02-071-1/+1
| | | | | | | | Submitted by: Gordon Bergling <gbergling_gmail.com> Differential Revision: https://reviews.freebsd.org/D23453 Notes: svn path=/head/; revision=357664
* Fix spurious error from sysrcDevin Teske2019-12-021-1/+1
| | | | | | | | | | | | | | | | | When using sysrc to modify a file, the file should be created silently. However, with the introduction of SVN r335280, an error of "No such file or directory" would appear despite everything else working as-expected. The nature of this spurious error is that SVN r335280 did not check if the file exists first, before trying to fixup the line-endings in the file just prior to modification. PR: bin/240875 Reported by: Jose Luis Duran MFC after: 3 days Notes: svn path=/head/; revision=355280
* Remove iBCS2, part1: userspaceMateusz Guzik2018-12-192-22/+0
| | | | | | | | | | | | iBCS2 was disconnected from the build in 2015 (see r291419) bsdconfig parts submitted by dteske. Reviewed by: kib (previous version) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=342242
* Fix dialog autosizing to accomodate for hlineDevin Teske2018-10-281-1/+1
| | | | | | | | | | | | | dialog will conditionally ignore the --hline option if not enough space was available to accomodate for the text width. Traditionally the width of the widget had to be 10 wider than the text. Recent updates to dialog have changed the requirement to be at least 12 wider than the hline text else the hline text is not rendered at the bottom of the widget. Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=339844
* Remove vestigial DIALOG_ITEM_HELP value in bsdconfig dialog.subrDevin Teske2018-10-251-1/+0
| | | | | | | Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=339752
* Remove mse(4) from treeWarner Losh2018-10-222-6/+0
| | | | | | | | | | | | Remove mse and all support for bus and inport devices from the tree. Data from nycbug's dmesg database shows the last sighting of this driver was in 4.10 on only one machine. Relnotes: yes Differential Revision: https://reviews.freebsd.org/D17628 Notes: svn path=/head/; revision=339564
* bsdconfig: Fix a bug when editing usersDevin Teske2018-06-171-21/+24
| | | | | | | | | | | | | | | | | The usermgmt API was stomping on a global ($user_gid to be specific) so things would appear to work fine until you tried to make a second pass into the API with the now-tainted variable contents. Fixed by localizing menu-specific contents as to not leak outside API. PR: bin/208774 Reported by: Martin Waschbuesch <martin@waschbuesch.de> MFC after: 1 week X-MFC-to: stable/11, stable/10 Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=335308
* bsdconfig: Make examples optionalDevin Teske2018-06-171-1/+6
| | | | | | | | | | | PR: bin/228485 Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru> Reported by: Dmitry Wagin <dmitry.wagin@ya.ru> MFC after: 1 week Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=335306
* sysrc.subr: Fix a comment for accuracyDevin Teske2018-06-171-1/+1
| | | | | | | | | | | | PR: bin/203435 Reported by: Andreas Sommer <andreas.sommer87@googlemail.com> MFC after: 6 days X-MFC-to: stable/11 X-MFC-with: r335280 Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=335302
* sysrc.subr: Fix display when value is "-n"Devin Teske2018-06-171-2/+2
| | | | | | | | | | | PR: bin/226406 Reported by: Marius Halden <marius.halden@modirum.com> MFC after: 1 week X-MFC-to: stable/11 Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=335281
* sysrc.subr: Fix handling of files with missing newline at EOFDevin Teske2018-06-171-1/+11
| | | | | | | | | | | PR: bin/203435 Reported by: Andreas Sommer <andreas.sommer87@googlemail.com> MFC after: 1 week X-MFC-to: stable/11 Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=335280
* nxge(4):Sean Bruno2018-05-081-1/+0
| | | | | | | | | | | | | Remove nxge(4) and associated man page and tools in FreeBSD 12.0. Submitted by: kbowling Reviewed by: brooks Relnotes: yes Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D1529 Notes: svn path=/head/; revision=333388
* Retire ixgb(4)Sean Bruno2018-05-021-1/+0
| | | | | | | | | | | | | | This driver was for an early and uncommon legacy PCI 10GbE for a single ASIC, Intel 82597EX. Intel quickly shifted to the long lived ixgbe family. Submitted by: kbowling Reviewed by: brooks imp jeffrey.e.pieper@intel.com Relnotes: yes Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D15234 Notes: svn path=/head/; revision=333173
* Use full month in dpv(3), figpar(3), and bsdconfig(8) manualsDevin Teske2018-03-141-1/+1
| | | | | | | Reported by: maxim Notes: svn path=/head/; revision=330939
* Update several more URLsEitan Adler2017-10-291-2/+2
| | | | | | | | - Primarily http -> https - Primarily FreeBSD project URLs Notes: svn path=/head/; revision=325096
* Fix long standing issue in bsdconfig's keymap selectionDevin Teske2017-05-252-2/+11
| | | | | | | | | | | | | | | | | | | Since the translation to vt as terminal emulator, the keymaps files path has changed and this change does not get followed in bsdconfig. This implicates boot time warnings about a wrong keymap file, what is very confusing for the new users and for me too, so initialize the default keymaps search path depending on terminal type. Differential Revision: https://reviews.freebsd.org/D8734 Submitted by: Oliver Pinter <oliver.pinter@hardenedbsd.org> Reviewed by: ed, jilles, dteske MFC after: 3 days X-MFC-to: stable/11 Sponsored by: HardenedBSD Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org> Notes: svn path=/head/; revision=318891
* More ATM and NATM removalBrooks Davis2017-04-271-1/+0
| | | | | | | | | Submitted by: ak Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D10511 Notes: svn path=/head/; revision=317508
* Remove SVR4 (System V Release 4) binary compatibility support.Gleb Smirnoff2017-02-282-19/+0
| | | | | | | | UNIX System V Release 4 is operating system released in 1988. It ceased to exist in early 2000-s. Notes: svn path=/head/; revision=314373
* Guard against bad service name argument(s) to load_rc_config()Devin Teske2016-10-161-1/+3
| | | | | | | | MFC after: 3 days X-MFC-to: stable/11 stable/10 Notes: svn path=/head/; revision=307402
* Add bsdconfig `wifi' (aka `wireless' or `wlan') moduleDevin Teske2016-06-169-10/+1542
| | | | | | | | | Approved by: re (gjb) MFC after: 8 weeks Relnotes: yes Notes: svn path=/head/; revision=301973
* Don't repeat the the word 'the'Eitan Adler2016-05-171-1/+1
| | | | | | | | | | (one manual change to fix grammar) Confirmed With: db Approved by: secteam (not really, but this is a comment typo fix) Notes: svn path=/head/; revision=300050
* usr.sbin/bsdconfig: minor spelling fixes on comments.Pedro F. Giffuni2016-05-018-21/+21
| | | | | | | No functional change. Notes: svn path=/head/; revision=298884
* f_substr(): Optimized recipe if running under bashDevin Teske2016-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. Notes: svn path=/head/; revision=295197
* Remove SIG prefix from trapped signalsDevin Teske2016-02-031-5/+4
| | | | | | | Makes traps functional if running under shells/dash Notes: svn path=/head/; revision=295196
* f_substr: Write to stdout when no `-v var_to_set'Devin Teske2016-02-031-1/+5
| | | | | | | Fixes ``setvar: : bad variable name'' Notes: svn path=/head/; revision=295195
* Remove trailing whitespaceDevin Teske2016-02-031-2/+2
| | | | Notes: svn path=/head/; revision=295194
* Define f_sprintf() dynamically at inclusion timeDevin Teske2016-02-031-12/+17
| | | | | | | No need to check/re-check capabilities that won't change at runtime. Notes: svn path=/head/; revision=295180
* Utilize new `-v var_to_set' of f_snprintf()Devin Teske2016-02-013-9/+9
| | | | Notes: svn path=/head/; revision=295108
* Move awk(1)-dependent recipes to the bottomDevin Teske2016-01-311-114/+114
| | | | Notes: svn path=/head/; revision=295106
* Move f_isinteger() to the topDevin Teske2016-01-311-10/+10
| | | | | | | Grouping builtins-only algos together Notes: svn path=/head/; revision=295105
* Move f_vsprintf() below f_sprintf()Devin Teske2016-01-311-10/+10
| | | | | | | Variable argument versions grouped with standard versions Notes: svn path=/head/; revision=295104
* Move f_sprintf() above f_snprintf()Devin Teske2016-01-311-15/+15
| | | | | | | Ordering functions by appearance of use Notes: svn path=/head/; revision=295103
* Optimize f_substr() to use built-ins onlyDevin Teske2016-01-311-32/+57
| | | | | | | Change f_snprintf() to use optimzed f_substr() Notes: svn path=/head/; revision=295102
* Optimize f_sprintf() for bashDevin Teske2016-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. Notes: svn path=/head/; revision=295101
* Reset OPTIND to 1 in f_device_find()Devin Teske2016-01-311-2/+2
| | | | Notes: svn path=/head/; revision=295100
* Replace awk with more efficient builtins-only algoDevin Teske2016-01-271-9/+55
| | | | Notes: svn path=/head/; revision=294880
* Use dpv(1) in `bsdconfig packages'Devin Teske2016-01-273-9/+14
| | | | Notes: svn path=/head/; revision=294866
* Fix ABI parsingDevin Teske2016-01-271-2/+6
| | | | Notes: svn path=/head/; revision=294865
* Change incorrect pathDevin Teske2016-01-271-2/+2
| | | | Notes: svn path=/head/; revision=294864
* Fix a typo in a commentDevin Teske2016-01-241-1/+1
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=294669
* Fix improper duration for f_dialog_pause() APIDevin Teske2016-01-091-1/+0
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=293617
* META MODE: Update dependencies with 'the-lot' and add missing directories.Bryan Drewery2015-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 Notes: svn path=/head/; revision=291563
* META MODE: These need object directories to handle staging.Bryan Drewery2015-11-2638-76/+0
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291347
* Rename checked-in 'includes' to 'includes.sh' to avoid colliding with share/mkBryan Drewery2015-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 Notes: svn path=/head/; revision=291081
* Add support for "rc.conf.d" file(s).Devin Teske2015-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 Notes: svn path=/head/; revision=290693
* Fix a ton of speelling errorsEitan Adler2015-10-211-1/+1
| | | | | | | | | | arc lint is helpful Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com Differential Revision: https://reviews.freebsd.org/D3337 Notes: svn path=/head/; revision=289677
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.Bryan Drewery2015-09-253-6/+0
| | | | | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288226