summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/include
Commit message (Collapse)AuthorAgeFilesLines
* MFC r258355,258360,258400-258401,258406-258407,258418,258430,258439,258589-dteske2014-01-151-4/+4
| | | | | | | | | | | | | | | | | 258590,258592,258727-258728,258785, with the following descriptions: Revisions 258400-258401,258406-258407,258590,258727-258728,258785: + Add a new `includes' module (see: bsdconfig includes -h) for exploring the bsdconfig(8) API Remaining revisions: 258592: Sort all the messages.subr files 258355: Fix typo in a comment in networking/device.subr 258360: Whitespace, style, and other changes in networking/device.subr 258418: Quote interface names for good measure in networking/device.subr 258430: Remove an unused line in networking/device.subr 258439: Minor bugfix to f_die() function in common.subr 258589: Minor bugfix to syscons_ttys module
* MFC r257755-257756,257780-257785,257787-257793, anddteske2013-11-211-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 257795,257817,257819,257937-257938,258029,258263-258267: 257755: SRV records 257756: fix spurious error message 257780: Whitespace 257781: Comments and funny syntax 257782: Debug file truncation is optional 257783: f_show_err for debugging 257784: f_eval_catch for debugging 257785: fix size calculations bug 257787: fix broken HTTP "any" media type 257788: more debugging 257789: Comments 257790: fix printf usage bug 257791: f_[v]sprintf added 257792: Comments 257793: fix off-by-one error in size calcs 257795: Replace pkg-tools with pkgng 257817: fix cosmetic typos 257819: Use `pkg -vv' to get ABI 257937: Adjustment to last 257938: Adjustment to last 258029: Comments 258263: Shuffle code around 258264: Remove unused code 258265: Debugging. Use f_eval_catch with pkg 258266: Shutdown media on exit from packages 258267: Fix pkg install from DVD Reviewed by: many Discussed on: -current Approved by: re (hrs)
* MFC revisions 256321-256323,256331,256333,256335,256343:dteske2013-10-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bring in a new zfsboot auto script for performing automatic setup of a boot pool (optionally encrypted) with many other options, validations, features. Originally submitted by Allan Jude; modified in collaboration. MFC revisions 256325,256330,256345: Rewrite the keymap selection menu to display keymaps and provide a test mechanism. Test mechanism originally submitted by Warren Block; modified. MFC r256347: Prominently display "Wireless" for each wireless network interface. Part of PR bin/161547; submitted by Warren Block; slightly modified. MFC r256348: Remove the dumpdev configuration dialog, merge it into the regular services configuration and enable it by default. Originally submitted by Allan Jude; slightly modified. PR: bin/161547 Submitted by: Allan Jude, Warren Block <wblock@wonkity.com> In collaboration with: Allan Jude <freebsd@allanjude.com> Approved by: re (glebius)
* Remove ftp2.tr.freebsd.org, it is out of date.gavin2013-07-231-1/+0
| | | | MFC after: 3 days
* Sync-up with bsdinstall(8) FTP mirrorselect changes.dteske2013-07-221-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | SVN r224656: Add back ftp4, a new machine has taken its place. ftp2 and ftp8 are both IPv6 capable mirrors. cvsup4/ftp4 have already been added to the handbook. NOTE: Except put IPv6 entries in IPv6 section at the top of the list SVN r225467: Add ftp4.se.freebsd.org to the IPv4 and IPv6 mirror lists. SVN r235228: Add the IPv6 tag to ftp4.fr.freebsd.org. NOTE: Except dup entry into IPv6 section. SVN r243832: - Remove snapshots.se.freebsd.org [1] - Add ftp6.se.freebsd.org SVN r243854: Remove snapshots.jp.freebsd.org. It stopped working years ago. SVN r253543: Update mirror list to more closely match http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html MFC after: 1 week
* Add the necessary code to uninstall packages (re-install still pending).dteske2013-07-051-0/+4
| | | | | | | | | | | | | Both scripted access (packageDelete) and UI access have been tested successfully with a variation of different situations including: + Uninstall a package which no other installed package depends + Uninstall multiple packages which no other installed packages depend + Uninstall multiple packages which depend on each other + Similar to above but when ordered removal requires tracing dependencies + Purposefully do things like uninstall a package that is not installed + Try to uninstall a package which other installed packages still depend + Try to uninstall multiple packages which other installed packages depend + And many more.
* Add the necessary code to install packages (uninstall and re-install stilldteske2013-07-051-0/+12
| | | | | | | | | | | | | pending). Both scripted access (packageAdd) and UI access have been tested successfully with a variation of different situations including: + Install a package with no dependencies + Install a package with dependencies that are already installed + Install a package with dependencies where some are already installed + Repeat each of the above from FTP and local Directory + Purposefully do things like try to install a package that does not exist + Try to install a package for which a dependency could not be loaded + Try to install a package that is in the INDEX bot not on the media + And many more.
* Add a newline character to the end of the "Check URL again" error messagedteske2013-06-231-1/+1
| | | | | because long URLs do not induce extra height despite wrapping by dialog(1). NOTE: For even longer lines, the cursor up/down keys work to scroll through
* Merge r248313 from stable/9 sysinstall(8) to head bsdconfig(8):dteske2013-06-232-6/+18
| | | | | | | | | | | | Add support for installation directly via HTTP. While we're here, remove the menu-item for Passive FTP (since moving to ftp(1) and switching FTPMODE to `auto' by default -- see r251613 -- the single remaining FTP menu-item works for both ftp.f.o and ftp-archive.f.o; previously each requiring separately active versus passive both work with the `auto' setting). In scripting you still have mediaSetFTPActive and mediaSetFTPPassive but the remaining FTP menu-item uses mediaSetFTP which defaults to `auto' (aforementioned SVN r251613).
* Fix i18n violations in the package management module. A few words likedteske2013-05-121-0/+3
| | | | `packages', `installed', and `selected' were not internationalized.
* Remove duplicated string.dteske2013-05-121-1/+0
|
* Commit first portion of package module -- this includes the ability to viewdteske2013-05-072-0/+143
| | | | | | | | | | categories, view packages, mark packages for installation, de-installation, or re-installation, calculate and track dependencies, as well as ability to review selections. Still to come is the actual processing of selections (performing the various actions associated with the user's selections, such as installing dependencies first, then selections, etc.).
* Alphabetize strings by variable names.dteske2013-05-071-10/+10
|
* Fix copy/paste error.dteske2013-04-241-1/+1
|
* Import media selection/preparation framework (sysinstall inspired). Makesdteske2013-02-256-2/+452
| | | | | | | | | | | | | | | | | | | | | | | | | | | accessing files from various types of media nice and abstracted away from the wet-work involved in preparing, validating, and initializing those types of media. This will be used for the package management system module and other modules that need access to files and want to allow the user to decide where those files come from (either in a scripted fashion, prompted fashion, or any combination thereof). Heavily inspired by sysinstall and even uses the same reserved words so that scripts are portable. Coded over months, tested continuously through- out, and reviewed several times. Some notes about the changes: - Move network-setting acquisition/validation routines to media/tcpip.subr - The options screen from sysinstall has been converted to a dialog menu - The "UFS" media choice is renamed to "Directory" to reflect how sysinstall treats the choice and a new [true] "UFS" media choice has been added that acts on real UFS partitions (such as external disks with disklabels). - Many more help files have been resurrected from sysinstall (I noticed that some of the content seems a bit dated; I gave them a once-over but they could really use an update). - A total of 10 media choices are presented (via mediaGetType) including: CD/DVD, FTP, FTP Passive, HTTP Proxy, Directory, NFS, DOS, UFS, Floppy, USB - Novel struct/device management layer for managing the issue of passing more information than can comfortably fit in an argument list.
* Add support for scripting (sysinstall style).dteske2013-01-051-0/+2
| | | | Reviewed by: jilles
* Resurrect usage.hlp and securelevel.hlp from sysinstall(8) and integrate themdteske2012-10-223-1/+67
| | | | | | into bsdconfig(8). Approved by: adrian (co-mentor) (implicit)
* More-accurately replicate the help system from sysinstall(8). However, alsodteske2012-10-183-2/+13
| | | | | | | | | | | | | | | improve upon the system by giving the user a "Help" button instead of requiring the user to press F1. NOTE: In FreeBSD-9 and higher, dialog(1) does not support the F1 hook, so the mechanism for providing help to the user had to be changed to a button. This now means we can resurrect *.hlp files from usr.sbin/sysinstall/help/ as- is and reusing them as-needed in bsdconfig (holding to the goal of losing as little functionality from sysinstall as possible). Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
* Ask to become root via sudo(8) and give user ability to save this preference.dteske2012-10-171-0/+6
| | | | | Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
* Spelling and whitespace corrections.dteske2012-09-221-1/+1
| | | | | Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
* Move major includes into /usr/share/bsdconfig for easy external access.dteske2012-09-186-2822/+1
| | | | | Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
* Import bsdconfig(8) as a replacement for the post-install abilities ofdteske2012-07-147-0/+2888
deprecated sysinstall(8). NOTE: WITH_BSDCONFIG is currently required. Submitted by: Devin Teske (dteske), Ron McDowell <rcm@fuzzwad.org> Reviewed by: Ron McDowell <rcm@fuzzwad.org> Approved by: Ed Maste (emaste)
OpenPOWER on IntegriCloud