History log of /freebsd-10-stable/usr.sbin/bsdconfig/include/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
279611 05-Mar-2015 dteske

MFC r274073:
Follow-up to r255036; remove beforeinstall directives from bsdconfig(8)
Makefile's, fixing concurrent installworld (`make -j17 installworld').

Reviewed by: delphij
Thanks to: delphij, emaste


/freebsd-10-stable/usr.sbin/bsdconfig/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/console/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/console/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/diskmgmt/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/diskmgmt/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/docsinstall/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/docsinstall/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/dot/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/dot/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/examples/Makefile
Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/includes/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/includes/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/mouse/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/mouse/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/networking/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/networking/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/networking/share/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/packages/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/packages/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/password/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/password/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/password/share/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/security/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/security/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/share/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/share/media/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/share/packages/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/startup/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/startup/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/startup/share/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/timezone/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/timezone/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/timezone/share/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/ttys/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/ttys/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/usermgmt/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/usermgmt/include/Makefile
/freebsd-10-stable/usr.sbin/bsdconfig/usermgmt/share/Makefile
272230 28-Sep-2014 dteske

MFC revisions 268999, 269027, 269351-269352, 269354, 269460, 270283,
270505, 270954, and 270989:
r268999: Add new bsdconfig example scripts; remove obsolete ones
r269027: Update bsdconfig dot module; fixes and enhancements
r269351: Add setvar() for non-FreeBSD platforms using bash as /bin/sh
r269352: Fix syntax error when run under bash
r269354: Update setvar() function introduced in r269351
r269460: Update f_xdialog_info() in bsdconfig's dialog.subr include
r270283: Add `-A' flag to pkg-install(8) when installing dependencies
r270505: Optimize f_which() to be slightly faster still (common.subr)
r270954: Update f_dialog_init() for safer getopts usage (dialog.subr)
r270989: Fix for previously mentioned r270954

Approved by: re (gjb)

260675 15-Jan-2014 dteske

MFC r258355,258360,258400-258401,258406-258407,258418,258430,258439,258589-
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

258420 21-Nov-2013 dteske

MFC r257755-257756,257780-257785,257787-257793, and
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)

256361 11-Oct-2013 dteske

MFC revisions 256321-256323,256331,256333,256335,256343:
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)

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


253566 23-Jul-2013 gavin

Remove ftp2.tr.freebsd.org, it is out of date.

MFC after: 3 days


253545 22-Jul-2013 dteske

Sync-up with bsdinstall(8) FTP mirrorselect changes.

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


252775 05-Jul-2013 dteske

Add the necessary code to uninstall packages (re-install still pending).
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.


252745 05-Jul-2013 dteske

Add the necessary code to install packages (uninstall and re-install still
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.


252113 23-Jun-2013 dteske

Add a newline character to the end of the "Check URL again" error message
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


252112 23-Jun-2013 dteske

Merge r248313 from stable/9 sysinstall(8) to head bsdconfig(8):
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).


250538 12-May-2013 dteske

Fix i18n violations in the package management module. A few words like
`packages', `installed', and `selected' were not internationalized.


250537 12-May-2013 dteske

Remove duplicated string.


250323 07-May-2013 dteske

Commit first portion of package module -- this includes the ability to view
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.).


250319 07-May-2013 dteske

Alphabetize strings by variable names.


249827 24-Apr-2013 dteske

Fix copy/paste error.


247280 25-Feb-2013 dteske

Import media selection/preparation framework (sysinstall inspired). Makes
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.


245052 05-Jan-2013 dteske

Add support for scripting (sysinstall style).

Reviewed by: jilles


241899 22-Oct-2012 dteske

Resurrect usage.hlp and securelevel.hlp from sysinstall(8) and integrate them
into bsdconfig(8).

Approved by: adrian (co-mentor) (implicit)


241701 18-Oct-2012 dteske

More-accurately replicate the help system from sysinstall(8). However, also
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)


241653 17-Oct-2012 dteske

Ask to become root via sudo(8) and give user ability to save this preference.

Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)


240797 22-Sep-2012 dteske

Spelling and whitespace corrections.

Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)


240684 18-Sep-2012 dteske

Move major includes into /usr/share/bsdconfig for easy external access.

Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)


238438 14-Jul-2012 dteske

Import bsdconfig(8) as a replacement for the post-install abilities of
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)