summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Decode PCIe ASPM capability and status.jkim2013-07-181-20/+38
|
* Sanity-check the vm exitcode, and exit the process if it's out-of-boundsgrehan2013-07-181-2/+11
| | | | | | or there is no registered handler. Submitted by: Bela Lubkin bela dot lubkin at tidalscale dot com
* Major rework of the virtio code. Split out common parts, and modifygrehan2013-07-175-961/+1408
| | | | | | | the net/block devices accordingly. Submitted by: Chris Torek torek at torek dot net Reviewed by: grehan
* Silent warnings.kevlo2013-07-161-1/+1
|
* Fix compiler warnings.hrs2013-07-152-2/+6
|
* Re-implement $probe_only aspect of f_media_get_TYPE() (where TYPE is cdrom,dteske2013-07-1412-81/+159
| | | | | | | | | | | | | | | | | | | | | | | nfs, ftp, http, httpproxy, etc.) and f_device_get() (abstract method for calling aforementioned f_media_get_TYPE()). Previously, if $probe_only was present and non-NULL, the TYPE functions would check for $file and exit with an appropriate error status (success if the file exists and readable, failure otherwise). While this has been retained, a pair of globals has been introduced: $PROBE_EXIST and $PROBE_SIZE (see `/usr/share/bsdconfig/media/common.subr') The $PROBE_EXIST global can be used where you need the functionality of simply testing for existence (previously the _only_ functionality). Meanwhile, the new $PROBE_SIZE global can be used to cause the TYPE function to print the size of the file (in bytes) on standard-out (or -1) if not found or an error occurs. NOTE: If an error occurs, it is logged with the dprintf function, which is visible with `-d' flag or debug=1. In many cases, where you need to get the size of a file _and_ check for its existence, you can use the return status of a $PROBE_SIZE call.
* Fix a wrong memcpy of struct sockaddr.hrs2013-07-121-3/+2
| | | | Spotted by: dt71@gmx.com
* Fix bug in deleting files: If two ports had the same tarball and one ofcperciva2013-07-111-2/+2
| | | | | | | | | | | them changed (or was removed from the tree) then portsnap would delete that file. This happened earlier today when one of two empty port directories was removed. Uniquifying the lists of needed files fixes this. 9.2-RELEASE candidate. MFC after: 3 days
* Implement RTC CMOS nvram. Init some fields that are usedgrehan2013-07-113-22/+105
| | | | | | | by FreeBSD and UEFI. Tested with nvram(4). Reviewed by: neel
* Introduce a new [yet unused] function for [efficiently] getting the path todteske2013-07-101-0/+29
| | | | | | | | | | | an executable by-name without forking or using externals. In a performance benchmark of 10,000 runs on circa 2006 hardware, f_which out-performed `which' with an average completion time of ~2.5 seconds versus ~56 seconds. This should be handy for future use (not that I make it a habit to call `which' in a loop 10,000 times).
* Fix -Wmissing-variable-declarations compiler warning.rdivacky2013-07-101-1/+1
|
* Install authpf-noip.des2013-07-101-0/+3
| | | | MFC after: 3 days
* Adjust comments to fit within 80-columns.dteske2013-07-091-4/+4
|
* Fix conditional (der should match the comment above it).dteske2013-07-091-1/+1
| | | | MFC after: 1 day
* Do two things: First, don't obscure the backtitle. Second, read ~/.dialogrcdteske2013-07-091-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | if it exists to determine if use_shadow is true (ON) or false (OFF). The purpose of determining the value of use_shadow is to know how many lines to subtract from the maximum height value in assuring that the backtitle is not obscured. The detriment of obscuring the backtitle is that it provides information that is not easily obtained elsewhere. That is the command-line shortcut used to access the current menu. As you navigate from one dialog to the next, invariably transparently corssing module boundaries, the backtitle represents the command-line argument used to get there. Obscuring this information with a widget that is too-tall and/or too-wide would see that data go unnoticed (leaving few other ways to get that information in the same helpful context). So despite the fact that this change reduces the standard maximum height for all widgets, there is a trap-door to prevent this calculation. If you want to utilize the full screen height on the terminal (remember, this adjustment is not made for Xdialog(1)) you can set $NO_BACKTITLE to 1 (or any non-NULL value for that matter) and this calculation will be skipped. You will be able to draw a widget that partially obscures the backtitle if-necessary. MFC after: 1 day
* - Add missing "static" keywords.hrs2013-07-091-2/+7
| | | | | | | - Add a check for ifindex to if_indextoifinfo(). It returns NULL when if_indextoname() fails. MFC after: 3 days
* Add a missing white space.hrs2013-07-091-1/+1
|
* Fix some Kerberos related terminology.rmacklem2013-07-081-2/+2
| | | | | | This is a content change. Requested by: bjk
* Oops, initialize the krb5 ret values correctly (to anything non-zero).rmacklem2013-07-081-1/+1
|
* Make sure the krb5 status variables are correctly initialized.rmacklem2013-07-081-0/+1
|
* Document the new "-h" option for the gssd daemon.rmacklem2013-07-081-1/+12
| | | | | | This is a content change. Reviewed by: jhb
* Add a new "-h" option to the gssd daemon that enables support forrmacklem2013-07-081-13/+140
| | | | | | | | host based (kerberos service principal) initiator credentials in the default keytab file. This option won't actually be useful until the corresponding kernel changes are committed. Reviewed by: jhb
* Fix typos in the BSD License.dteske2013-07-0790-178/+178
|
* Be consistent with other usr.sbin programs w/respect to the copyrightdteske2013-07-071-1/+1
| | | | wording ("All rights reserved."); I had the casing wrong on many instances.
* Be consistent with other usr.sbin programs w/respect to the copyrightdteske2013-07-0788-88/+88
| | | | wording ("All rights reserved."); I had the casing wrong on many instances.
* Take the training-wheels off, after nearly 30 months of development. MFC todteske2013-07-061-5/+2
| | | | | | | | | | stable/9 planned after MFC 3-day period. The MFC to stable/9 is desired for the next release to get some much-needed time: + Living side-by-side with sysinstall for compare/contrast/transition + Living side-by-side with bsdinstall for integration/transition + Additional feedback/testing before eventual 10.0-R to make it even better MFC after: 3 days
* Don't prevent the user from hanging their system by changing networkdteske2013-07-056-17/+16
| | | | | settings while NFS mounts are active; but DO warn them and make the default action to do nothing. (thanks julian)
* Check for INDEX file first before anything else when processing modules.dteske2013-07-051-0/+2
|
* Check menuitem before calculating tag.dteske2013-07-051-2/+2
|
* Add the necessary code to reinstall packages. Both scripted accessdteske2013-07-052-1/+11
| | | | | | | | | | | (packageReinstall) and UI access have been tested successfully with a variation of different situations including: + Reinstall a package for which no other packages depend + Purposefully do thinks like reinstall a package that is not installed + Try to reinstall a package which other installed packages still depend NOTE: There is no "force" used; if a package is required by other packages, it will not be uninstalled (and therefore no reinstall is done).
* Remove superfluous continue at end of loop. (pointy-hat)dteske2013-07-051-1/+1
|
* Add support for processing add-on modules from /usr/local/libexec/bsdconfigdteske2013-07-052-3/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (this is designed to allow new modules to be installed via ports/packages). To prevent conflict with itself (sysutils/bsdconfig) as a port (which installs its base modules to the above directory, it was long-ago decided that so-called `base' modules would look different than now-defined `add-on' modules. The structure of the contents for each is the same, but the naming convention for the module directory must be different. Base modules are named `[0-9][0-9][0-9].*' to allow SysV-style organization while add-on modules must avoid this naming style and are simply listed in alphabetical order by their module directory. For example, a hypothetical port named `bsdconfig-jails' could install /usr/local/libexec/bsdconfig/jails and provide `bsdconfig jails' as well as a new menu entry in the main-menu. Add-on modules are listed in the main-menu (when bsdconfig is executed with- out arguments) below a separator after the last base-module. In `bsdconfig -h' output, add-on modules are listed right alongside base modules (sorted alphabetically in columnar fashion; left-to-right). If a base module declares a keyword used by an add-on module, the base module will always win when given `bsdconfig keyword' syntax. Add-on modules should avoid declaring any keyword found in `script.subr' as a reserved-word (`Resword') since bsdconfig also supports `bsdconfig resword' as a fall-back if no keyword is found to be declared by any module.
* Oops, r252833 was not supposed to touch this file. Back-out and recommitdteske2013-07-051-13/+3
| | | | this file with the rest of the files it was supposed to go with.
* Don't calculate the tag until we know that we're going to make a new menudteske2013-07-052-8/+17
| | | | item entry. Also join simple NULL assignments into a single line.
* Remove ancient code for FreeBSD 2.x compatibility.rmh2013-07-052-12/+3
| | | | Reviewed by: brian, freebsd-net
* Oops, r252810 forgot to hook the new example file (browse_packages.sh) intodteske2013-07-051-1/+1
| | | | the Makefile.
* Adhere to 80-column width.dteske2013-07-051-6/+6
|
* Document remaining undocumented modules (and remove my silly place-holderdteske2013-07-051-34/+22
| | | | | thing at the top, which I was using as a way to make sure I didn't forget to document any modules).
* Make a correction to the description of invocation with-versus-withoutdteske2013-07-051-3/+3
| | | | arguments, making things a bit more clear [hopefully].
* Document new `-d' and `-D file' debugging options.dteske2013-07-051-0/+6
|
* Change default FTP server (s/ftp-archive/ftp/).dteske2013-07-051-1/+2
|
* Add example shell script for creating a local INDEX file that can bedteske2013-07-051-0/+25
| | | | accessed quickly for browsing a list of available packages.
* Update HISTORY.dteske2013-07-051-1/+1
|
* Rest in peace Ron (Ron McDowell Jul.12, 1955 - Aug.26, 2012).dteske2013-07-051-1/+1
| | | | I'll carry-on from here. Thank you so much for your hard work.
* Update e-mails.dteske2013-07-051-2/+2
|
* Since r251908, bsdconfig(8) has no direct ties to sade(8) (instead usesdteske2013-07-051-2/+4
| | | | | `bsdinstall partedit'). Update references (s/sade/bsdinstall/) and change the BUGS section to be based on reality.
* Don't refer to a port manual.dteske2013-07-051-1/+0
|
* mdoc: begin sentences on a new line.dteske2013-07-051-9/+13
|
* Update date on the back of r252802.dteske2013-07-051-1/+1
|
* Fix a typo.dteske2013-07-051-1/+1
|
OpenPOWER on IntegriCloud