summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Connect the snmp_wlan(3) module to the build.syrinx2010-07-261-1/+2
| | | | Sponsored by: The FreeBSD Foundation
* Bring in a SNMP module to support monitoring cloned wireless interfacessyrinx2010-07-267-0/+12694
| | | | | | | | via bsnmpd(1). The module implements a private BEGEMOT-WIRELESS-MIB. Sponsored by: The FreeBSD Foundation Reviewed by: philip@ Approved by: philip@
* Fix the include path for nfs_lock.h.rmacklem2010-07-241-1/+1
| | | | MFC after: 2 weeks
* Make failed open of /dev/mdctl in the bsnmpd hostres module non-fatal.simon2010-07-241-2/+5
| | | | | | | This makes it possible to use the hostres module when bsnmpd is not running as root. MFC after: 1 week
* Add a -S switch to override the default syslog pid file. This can be usefulbrian2010-07-233-10/+25
| | | | | | if syslogd's -P switch or a syslogd alternative is being used. MFC after: 3 weeks
* If a size suffix isn't entered, just use the value entered. This fixesbrucec2010-07-221-0/+3
| | | | | | | | | | a bug caused by r209235 where entering a number of blocks after previously entering a size in MB/GB would result in the size of the previous partition being used. PR: bin/148266 Submitted by: jpaetzel Approved by: rrs (mentor)
* Add support for creating the archived log filenames using a time-stampsimon2010-07-222-16/+267
| | | | | | | | | | | | | | | | | | | instead of the traditional simple counter. Using the time-stamp based file-names, once a log file is archived, it will not change name until it is deleted. This means that many backup systems will only perform one backup of the archived log file, instead for performing a new backup of the logfile upon each logfile rotation. This implementation is separate from the patches in the mentioned PR, as I wasn't aware of the existence of the PR until after I had implemented the same functionality as the patches in the PR provide. Unlike the PR, this new code does honor the 'log count' in newsyslog.conf so old logfiles are deleted. This new code does not currently support never deleting the archived logfiles. PR: bin/29363 MFC after: 3 weeks
* Staticify local variables.delphij2010-07-201-13/+11
| | | | | | | | While I'm there also add a 'static' keyword for a function to make it consistent with prototype. Reviewed by: phk MFC after: 3 months
* Build some powerpc-specific utilities on powerpc64 as well.nwhitehorn2010-07-201-1/+1
| | | | Submitted by: Andreas Tobler
* - Fixed automatic detection of the control serial port.thompsa2010-07-201-93/+122
| | | | | | | - Fixed segmentation fault when an invalid network interface was given. - More helpful message in case of wrong PIN number. Submitted by: Fredrik Lindberg
* Fix handling of the "-l" argument for nfsdumpstate(8).rmacklem2010-07-201-1/+1
| | | | | Submitted by: zack.kirsch at isilon.com MFC after: 2 weeks
* - Add Latinamerican keymaps to sysinstall's Makefile so that it cangabor2010-07-191-2/+3
| | | | | | | | | find them [1] - While here, also add a missing Spanish entry PR: bin/67365 [1] Submitted by: Pedro F. Giffuni <giffunip@asme.org> [1] Approved by: delphij (mentor)
* Fix support for chrooted installs.nork2010-07-191-3/+3
| | | | Approved by: imp (mentor)
* FreeBSD 8 doesn't support kernel PPP or SLIP; remove code for configuringbrucec2010-07-164-262/+4
| | | | | | | | and installing via such devices from sysinstall. Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 month
* Put warnings out to stderr rather than stdout.imp2010-07-153-41/+54
| | | | MFC after: 3 days
* Update some release version numbers. The patch is based on the onebcr2010-07-141-5/+5
| | | | | | | | | | | from the PR, but the version numbers reflect the newer ones from http://security.freebsd.org/#sup PR: docs/145227 Submitted by: Glen Barber (glen dot j dot barber at gmail dot com) Reviewed by: cperciva Mentored by: jkois MFC after: 1 week
* Add support for packages.imp2010-07-1310-24/+325
| | | | | PR: 148584 Submitted by: John Hixon
* Enhance config to handle MACHINEs with multiple architectures:nwhitehorn2010-07-134-10/+38
| | | | | | | | | | | | | - Passing -m to config will now print the MACHINE and MACHINE_ARCH given in the passed kernel configuration file and then exit. - If an option is defined in options.MACHINE with the same name as the architecture of the kernel being configured, that option will be considered set. This allows conditional compilation based on CPU architecture. Config version is now 600010. Reviewed by: imp
* o Fix typo: sepcify -> specify.maxim2010-07-121-1/+1
| | | | | | PR: docs/148499 Submitted by: Warren Block MFC after: 1 week
* Teach crunchide(1) about PPC ELF64.nwhitehorn2010-07-102-1/+5
|
* Fix reading of empty fifolog files. When we don't have anythingkeramida2010-07-101-1/+3
| | | | | | | | to inflate, skip the rest of the fifolog reader code to avoid hitting the assert about Z_OK a bit further down. Approved by: phk MFC after: 1 week
* Revert r209787 pending further discussion.randi2010-07-087-6/+551
| | | | Approved by: cperciva (mentor)
* Properly recognize a number followed by non-digits as a jail name.jamie2010-07-081-1/+3
| | | | | | Call "0" a name because zero is used to indicate no specified jid. MFC after: 3 days
* Remove the ability to upgrade via sysinstall. This feature has been flakyrandi2010-07-087-551/+6
| | | | | | | | and broken for a number of years. freebsd-update now provides a reasonable way to handle upgrades, so keeping this functionality in sysinstall only serves to mislead users. Approved by: cperciva (mentor)
* Add support for remote logging to syslogd via an install.cfg variable.randi2010-07-073-6/+82
| | | | | Approved by: cperciva (mentor) MFC after: 3 weeks
* Add further documentation for netDev in install.cfg to reflect the newrandi2010-07-071-0/+1
| | | | | | | usage. Approved by: cperciva (mentor) MFC after: 3 days
* Increase the default and minimum partition sizes.brucec2010-07-071-7/+7
| | | | | | | | | | | | | | | | Bump / to 1GB, /var to 4GB and /tmp to 1GB. A 512MB root partition is now too small to hold two kernels, so to prevent installkernel failing 1GB is a better default. Likewise, applications are storing more data in /var so 4GB is more reasonable on a modern machine. The previous minimum partition sizes were too small to hold a minimal installation, and have been adjusted accordingly. Discussed with: rwatson, simon Approved by: rrs (mentor) MFC after: 1 week
* Further simplification.imp2010-07-071-1/+1
|
* These files should have been added/deleted in r209751imp2010-07-061-8/+13
|
* A few patches from Ed Maste by way of Kris Mooreimp2010-07-066-25/+19
| | | | | | 1. Change detect-vmware to detect-emulation 2. improve laptop detection 3. better, network descriptions
* Simplify the wording of the console configuration dialogs since we nowbrucec2010-07-061-10/+9
| | | | | | | only have a single video console driver. Approved by: rrs (mentor) MFC after: 1 month
* Merge ACPICA 20100702.jkim2010-07-062-2/+3
|
* - Introduce IEEE80211_KEY_NOREPLAY, a per-key flag to ignore replaybschmidt2010-07-011-0/+34
| | | | | | | | violations. - Use SIOCGIFMEDIA to determine VAP's opmode, cache it and set IEEE80211_KEY_NOREPLAY for AHDEMO and IBSS. Approved by: rpaulo (mentor)
* Properly inherit variables from src/usr.sbin/Makefile.inc forimp2010-06-272-1/+3
| | | | | subdirectories of pc-sysinstall. Back out explicit setting in pc-sysinstall/pc-sysinstall/Makefile.
* Update pc-sysinstall to output list of FTP mirrors as well as someimp2010-06-279-6/+464
| | | | | | | installation information. Export architecture to install. PR: 148184 Submitted by: John Hixson
* Spell iXsystems, Inc properlyimp2010-06-2741-41/+41
| | | | Submitted by: delphij@
* We need to install the shell scripts as executables rather than asimp2010-06-253-3/+3
| | | | | | data files in the backend* trees. Submitted by: John Hixon
* Fix a stray PC-BSDism, on FreeBSD, we install these things into /usr/shareimp2010-06-241-1/+1
|
* Makefile overlooked in r2095137imp2010-06-241-0/+6
|
* Remove the license files that svn made me remove at the last second, doh!imp2010-06-241-2/+1
|
* Bring in Kris Moore's pc-sysinstall shell script from PC-BSD. Thisimp2010-06-2470-0/+8185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shell script is the back end logic necessary for an installer. It contains both query routines to allow a front-end installer to present reasonable choices to the user and also action routines which allow the front end installer to put a FreeBSD distribution onto a disk. It supports installing onto the usual suspects, as well as advanced features like Mirroring, ZFS, Encryprion and GPT labels. While this is only the back-end of the installer, it can do unattended scripted installations. In PC-BSD's world view, all installations are scripted and all the front-end does is write the script. As such, it is useful in its own right. This has been extensively tested over the past several releases of PC-BSD. However, differences between that environment and FreeBSD suggest there will be a period of shake-out while those differences are discovered and corrected. A text-based front-end is in the works. For the GUI-based front-end, you can use the PC-BSD distribution. Kris' BSDcan paper on pc-sysinstall is linked off his talk on the BSDcan site: http://www.bsdcan.org/2010/schedule/events/173.en.html The man page is written by Josh Paetzel, and I wrote the Makefiles for the FreeBSD integration. Kris wrote the rest. This represents version r7010 in the PC-BSD repo. http://svn.pcbsd.org/pcbsd/current/pc-sysinstall Submitted by: kris@ Sponsored by: iX Systems
* Update the man page to reflect the changes to the netDev configurationrandi2010-06-231-6/+4
| | | | | | | variable. Approved by: cperciva (mentor) MFC after: 3 days
* If a device can't be opened, don't keep going but display the errorbrucec2010-06-231-0/+2
| | | | | | | | returned from open() and quit. PR: bin/81035 Submitted by: Peter Schuller <peter.schuller at infidyne.com> Approved by: rrs (mentor)
* Make it easier to cancel a failing installation by only attempting tobrucec2010-06-232-9/+19
| | | | | | | | | extract distributions once. If a distribution fails to fetch/extract and the user doesn't want to retry, abort the installation. Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 month
* When installing on a machine which doesn't have a VGA card installed, enablebrucec2010-06-231-0/+29
| | | | | | | | | | | a getty on the serial port so that it's possible to login when the system is rebooted. PR: bin/23098 Submitted by: Doug Ambrisko <ambrisko at whistle.com> Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 month
* Remove unnecessarily inflammatory commentary.randi2010-06-221-3/+0
| | | | Approved by: cperciva (mentor)
* Syntax, commas and stuff. Comments from jhb.sbruno2010-06-211-2/+2
| | | | | PR: bin/147572 MFC after: 2 weeks
* Clean up item_add and remove -fno-strict-aliasing from CFLAGS. Note thatrandi2010-06-204-5/+5
| | | | | | | the "aux" value in libdialog is really an opaque pointer, but libdialog stores it as a long for historical reasons. Approved by: cperciva (mentor)
* Initialise the "trials" variable to zero earlier in case we unexpectedlygavin2010-06-191-1/+1
| | | | | | error out early. Found by: clang static analyzer
* Remove dead assignments, we overwrite the variable almost immediately.gavin2010-06-192-3/+0
| | | | Found by: clang static analyzer
OpenPOWER on IntegriCloud