aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bsdconfig/share
Commit message (Collapse)AuthorAgeFilesLines
* bsdconfig: RealTek -> Realtekykla2025-11-271-3/+3
| | | | | | | | | | | Realtek changed how it styled its name 25 or so years ago, but the old style persisted in many places. These products use the new styling in their datasheets. Signed-off-by: ykla yklaxds@gmail.com Sponsored by: Chinese FreeBSD Community Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1901
* bsdconfig: Move to -bsdconfig packageLexi Winter2025-08-031-0/+1
| | | | | | | Now that rc.subr(8) no longer depends on sysrc(8), bsdconfig does not need to be part of -utilities. Move it to a -bsdconfig package. Differential Revision: https://reviews.freebsd.org/D51543
* Remove residual blank line at start of MakefileWarner Losh2024-07-153-3/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* bsdconfig: Restore bsddialogAlfonso S. Siciliano2023-10-232-9/+18
| | | | | | | | Readd bsddialog(1) to bsdconfig(8). This can be considered an increment not a replacement: `$DIALOG=dialog' restores dialog(1), no change for Xdialog(1). An exception is if an error occurs, bsddialog(1) replaces dialog.
* bsdconfig: Revert bsddialog supportAlfonso S. Siciliano2023-10-231-22/+8
| | | | | | This commit reverts "bsdconfig(8): add bsddialog(1) support" 30e9abf2fc462084b752064fa814d90ad3161352 because it is not intended for the current bsddialog 1.0 version.
* bsdconfig: rework packages selection TUIBaptiste Daroussin2023-10-104-117/+133
| | | | | | | | | | | | | | | | | Rework the packages TUI, do that the index caching is now done with dialog --gauge (tested with cdialog and bsddialog). With pkg we can know in avance the number of packages making it possible to have a real gauge. The cache of the index is now a file that can be sourced, meaning it is not anymore an index like file, but a post process one, simplifying the code. Each menu is now built calling directly pkg rquery with just the informations required to build the menu instead of parsing an indexfile install all the awk index processing into a separate file to ease reading and debuggung
* bsdconfig: remove even more of the ftp supportBaptiste Daroussin2023-10-051-3/+0
|
* bsdconfig: simplify pkg installation and ABI detectionBaptiste Daroussin2023-10-051-22/+12
|
* bsdconfig: use working respositoriesBaptiste Daroussin2023-10-051-1/+0
| | | | | pkg(8) packages have not been published in ftp.freebsd.org, so remove this option
* bsdconfig: remove support for ftp, pkg does not support it anymoreBaptiste Daroussin2023-10-058-878/+7
|
* bsdconfig: drop support for floppiesBaptiste Daroussin2023-10-057-249/+2
| | | | | Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D42083
* bsdconfig(8): add bsddialog(1) supportAlfonso S. Siciliano2023-10-051-8/+22
| | | | | | | Add bsddialog(1) to bsdconfig(8). This can be considered an increment not a replacement, `$DIALOG=dialog' restores dialog(1). Differential Revision: https://reviews.freebsd.org/D37480
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-1637-37/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* bsdconfig: correct name of the wpa_supplicant config fileCeri Davies2023-01-161-5/+5
| | | | | Approved by: maintainer timeout (dteske) Differential Revision: https://reviews.freebsd.org/D37750
* bsdconfig, bsdinstall: Refresh mirrors listDanilo G. Baio2023-01-161-87/+31
| | | | | | | | | | | | | The mirrors list is in sync with the Handbook / Mirrors section [1], which was refreshed a few months ago. Mirrors removed were not responding or had duplicated addresses (aliases) with another mirror. 1 - https://docs.freebsd.org/en/books/handbook/mirrors/ Reviewed by: philip (clusteradm) Approved by: philip MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D38014
* bsdinstall: allow whitelabeling the scriptsBrad Davis2022-05-241-0/+6
| | | | | | Approved by: allanjude, asiciliano Differential Revision: https://reviews.freebsd.org/D35197 Sponsored by: Rubicon Communications, LLC ("Netgate")
* bsdconfig: add a new mirror in BulgariaPhilip Paeps2021-06-171-0/+1
| | | | | | | Provided by Telepoint Mirror Service. Reported by: Valentin Nikolov <mirror@telepoint.bg> MFC after: 3 days
* bsdconfig: remove ftp7.ua.freebsd.org mirrorPhilip Paeps2021-04-061-1/+0
| | | | | PR: 254779 Reported by: Dmytro <dima@dima.rv.ua>
* 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
* bsdconfig: remove the Italian mirrorPhilip Paeps2020-02-281-1/+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
* 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
* 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
* Fix long standing issue in bsdconfig's keymap selectionDevin Teske2017-05-251-1/+4
| | | | | | | | | | | | | | | | | | | 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
* 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-162-1/+1393
| | | | | | | | | 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-016-13/+13
| | | | | | | 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
* 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-272-7/+11
| | | | Notes: svn path=/head/; revision=294866
* Fix ABI parsingDevin Teske2016-01-271-2/+6
| | | | Notes: svn path=/head/; revision=294865