summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add the necessary code to uninstall packages (re-install still pending).dteske2013-07-053-1/+135
| | | | | | | | | | | | | 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 minor debugging.dteske2013-07-051-0/+1
|
* Prevent f_package_add() from re-performing f_package_detect_installed()dteske2013-07-051-0/+1
| | | | | even though f_package_config() may have already detected the installed packages.
* Don't deselect a package right after installing it (this went unnoticeddteske2013-07-051-2/+0
| | | | | | because [currently] we exit after performing requests actions -- if we ever change this to returning to the package selection screen, this would have made an impact).
* Minor debugging changes/additions.dteske2013-07-051-7/+14
|
* Fix a typo in a comment.dteske2013-07-051-1/+1
|
* Add the beginnings of the old networking services functionality ofdteske2013-07-053-1/+59
| | | | | | | sysinstall(8). The UI for this will come later while this exposes the functionality to the scripted interface. Tested successfully to first install the pcnfsd package from the `Latest' repository, and second to configure mountd_flags="-n" in rc.conf(5).
* Add the necessary code to install packages (uninstall and re-install stilldteske2013-07-054-1/+290
| | | | | | | | | | | | | 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 debugging for each of the initialized default variables.dteske2013-07-051-0/+23
|
* Add mustberoot.subr to the list of includes for scripts, exposing the helperdteske2013-07-051-0/+1
| | | | | function f_mustberoot_init() to make it easy to write scripts that can more easily transition to the super-user via sudo(8).
* Remove separate processing of dependent packages from the "Review" screendteske2013-07-051-11/+2
| | | | | since f_package_add (packageAdd resword) processes dependencies itself. NOTE: This is in preparation for incoming package management code.
* Get rid of place-holder in preparation for incoming package mgmt code.dteske2013-07-051-3/+0
|
* Comments.dteske2013-07-051-2/+14
|
* Allow global default as general fall-back for package management routines.dteske2013-07-051-2/+3
|
* Set name of device to directory path (displayed during package operations).dteske2013-07-051-0/+1
|
* Merge hostapd / wpa_supplicant 2.0.rpaulo2013-07-0410-1818/+99
| | | | Reviewed by: adrian (driver_bsd + usr.sbin/wpa)
* Implement $probe_only for the media access modules. sysinstall(8) wasdteske2013-07-049-20/+45
| | | | | | | | | | | | | | | | allowed to ignore the probe_only argument of its member functions solely because in the C language, the file accessor methods open and return a file descriptor and reading of the data is optional. In shell, the file accessor methods return data on stdout and that data should not be ignored (large files could block execution). So, we must adhere to the probe_only flags and in some cases (in the case of FTP, for example) change the `get' strategy to simply test existence and return an appropriate status. This was required because the up-coming package management stuff makes heavy use of the probe_only argument to try different package suffixes. Every media access module must implement $probe_only for the `get' accessor.
* Whitespace fixes: remove tabs on blank links, spaces following content,wblock2013-07-041-8/+8
| | | | | | | tabs after spaces. Reviewed by: gjb MFC after: 1 week
* Put the power modes in a list to make them easier to find.wblock2013-07-041-17/+33
| | | | | Reviewed by: joel MFC after: 1 week
* Fall back to sha512 if passwd_format is not set.des2013-07-041-1/+1
| | | | MFC after: 3 days
* Support an optional "mac=" parameter to virtio-net config, to allowgrehan2013-07-044-29/+85
| | | | | | | | | | | | users to set the MAC address for a device. Clean up some obsolete code in pci_virtio_net.c Allow an error return from a PCI device emulation's init routine to be propagated all the way back to the top-level and result in the process exiting. Submitted by: Dinakar Medavaram dinnu sun at gmail (original version)
* Sandbox rwhod(8) receiver process using capability mode and Capsicumpjd2013-07-031-2/+24
| | | | | | | | | | | | capabilities. rwhod(8) receiver can now only receive packages, write to /var/rwho/ directory and log to syslog. Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org> Sponsored by: Google Summer of Code 2013 Reviewed by: pjd MFC after: 1 month
* The whole sending functionality was implemented within signal handler,pjd2013-07-031-133/+161
| | | | | | | | | | which is very bad idea. Split sending and receiving in two processes, which fixes this problem and will help to sandbox rwhod. Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org> Sponsored by: Google Summer of Code 2013 Reviewed by: pjd MFC after: 1 month
* Style cleanups.pjd2013-07-031-187/+199
| | | | | | | Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org> Sponsored by: Google Summer of Code 2013 Reviewed by: pjd MFC after: 1 month
* There is no reason to disallow setting the password or account expirydes2013-07-031-4/+0
| | | | | | date to the current date. MFC after: 3 days
* hastResourceWorkerPid is read-only.trociny2013-07-031-1/+1
| | | | | Submitted by: jilles MFC after: 3 days
* Add a mib for worker process ID.trociny2013-07-023-1/+19
| | | | MFC after: 3 days
* Fix up option parsing to allow a colon in the config section.grehan2013-07-011-13/+8
| | | | | | | Clean up some other unnecessary code. Submitted by: Dinakar Medavaram dinnu sun at gmail Reviewed by: neel
* Document the fact that an NFSv4 mount uses the host uuid to uniquelyrmacklem2013-07-011-1/+15
| | | | | | | | | identify the client to the server. As such, NFSv4 mounts will break if host_enable="NO" is specified. This is a content change. Suggested by: lars@netapp.com MFC after: 3 days
* Fix -Wunsequencedkientzle2013-06-291-10/+10
| | | | Submitted by: dt71@gmx.com
* Fix -Wunsequenced warningkientzle2013-06-291-1/+1
| | | | Submitted by: dt71@gmx.com
* sysconf(3) returns a long, not an int.obrien2013-06-293-3/+5
|
* - Trim an unused and bogus Makefile for mount_smbfs.davide2013-06-285-0/+5
| | | | | | - Reconnect with some minor modifications, in particular now selsocket() internals are adapted to use sbintime units after recent'ish calloutng switch.
* sysconf(3) returns a long, not an int.obrien2013-06-281-1/+2
|
* Allow 8259 registers to be read. This is a transient conditiongrehan2013-06-281-9/+8
| | | | | | | during Linux boot. Submitted by: tycho nightingale at pluribusnetworks com Reviewed by: neel
* Allow the PCI config address register to be read. The Linuxgrehan2013-06-281-11/+21
| | | | | | | kernel does this. Also remove an unused header file. Submitted by: tycho nightingale at pluribusnetworks com Reviewed by: neel
* Consistently cast ACPICA 64-bit integer types when we print them.jkim2013-06-262-10/+10
|
* More whitespace.dteske2013-06-2457-107/+108
|
* Whitespace.dteske2013-06-241-2/+2
|
* Remove request to email suggestions and fixes to the author.eadler2013-06-241-8/+0
| | | | | | | | He is no longer involved with the FreeBSD project. While here: remove "no known bugs" and related. This isn't present in other manual pages. PR: docs/179914
* Document the "-o" option added by r252138.rmacklem2013-06-241-1/+6
| | | | MFC after: 10 days
* Add a new "-o" option to the gssd which forces gss_init_sec_context()rmacklem2013-06-241-3/+136
| | | | | | | | | | | | | to use DES and the associated old style GSS initialization token. This appears to be required for some non-FreeBSD servers to get a kerberized NFS mount to work. Also, ignore some signals when daemonized, which might fix the gssd from "disappearing" without leaving a core dump. Given the tight timeframe for the FreeBSD9.2 release, I have committed this while waiting for code review. I will commit changes recommended by the review in a separate commit. Reviewed by: dfr (pending) MFC after: 10 days
* 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-239-22/+678
| | | | | | | | | | | | 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).
* Implement the $probe_only parameter (previously unimplemented).dteske2013-06-231-3/+8
|
* Fine-tune the parsing of the URL. Re-order, comment, and add debugging todteske2013-06-232-17/+66
| | | | each case of unique URL format.
* Fix a code typo that prevented the probing of the current defaultrouterdteske2013-06-221-1/+1
| | | | in-order to pre-populate the editor.
* Oops, previous revision (r252084) broke non-full-path resolution (e.g.,dteske2013-06-221-1/+1
| | | | | ftp://ftp.freebsd.org or ftp://ftp.freebsd.org/). Now both full-path and non-full resolution is working regardless of trailing-slash.
* Trim the trailing `/' from the ftp_dir when validating that the directorydteske2013-06-221-1/+4
| | | | | | exists on the FTP server. This now means that when you specify a full-path to the repository on the FTP server that it doesn't matter whether you have a trailing `/' or not.
* Take advantage of the fact that f_getvar evaluates the $var_to_get parameterdteske2013-06-222-6/+5
| | | | | within braces, allowing all manner of parameter expansions (properly quoted or escaped, of course).
OpenPOWER on IntegriCloud