summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* install hostapd.conf and related files for folks that don't have sourcesam2007-11-101-0/+5
| | | | MFC after: 1 week
* fix building w/ WITHOUT_WPA_SUPPLICANT_EAPOLsam2007-11-101-8/+19
| | | | MFC after: 1 week
* install sample wpa_supplicant.conf; not everyone has source to referencesam2007-11-101-1/+5
|
* Some code cleanups, including removing of stale getopt argument andkrion2007-11-105-32/+26
| | | | | | | | hardcoded +CONTENTS defines. PR: bin/117855 Submitted by: Beat Gaetzi <beat@chruetertee.ch> MFC after: 14 days
* Add -i option for package installation without fetching andkrion2007-11-104-4/+16
| | | | | | | | installing its dependencies. PR: bin/117065 Submitted by: Vladimir Ermakov <samflanker@gmail.com> MFC after: 14 days
* xorg-printserver still exists in the ports tree but it's marked askensmith2007-11-103-4/+0
| | | | | | | depreciated and scheduled to be removed. Confirmed by: kris MFC after: 3 days
* Teach source installation shell script and sysinstall(8) aboutru2007-11-093-1/+5
| | | | | | the 'scompat' source dist that holds src/compat/. Reported by: Mars G Miro
* Update X11 dists for xorg-7.3 layout.kensmith2007-11-083-12/+4
| | | | X-MFC-after: Insta-MFC may be coming so this can get into 6.3-BETA2.
* Two minor improvements uncovered by work on upgrading between releases:cperciva2007-11-081-2/+14
| | | | | | | | | | | | | * When installing updates, make sure that securelevel <= 0. Otherwise we can't remove the schg flag from files. * When preparing to download updates, check to see if we already have them sitting in the /files/ directory. This saves bandwidth if users run "freebsd-update fetch" more than once without installing updates in between. While I'm here, bump the copyright date. MFC after: 3 days
* devinfo(8) manual page refers to pciconfr(8). Add back reference formarck2007-11-071-1/+2
| | | | | | completeness. MFC After: 2 weeks
* Add missing <stdlib.h> for exit()kevlo2007-11-072-0/+2
|
* Cleanup of userland __P usekevlo2007-11-07102-1132/+1139
|
* Check the correct variables for malloc failures.matteo2007-11-072-2/+2
| | | | Submitted by: Michiel Boland <michiel@boland.org>
* Change wpa_supplicant to down the interface at the start of the init routine.thompsa2007-11-051-3/+12
| | | | | | | | | | | | | | | | | | wpa_supplicant expects that it has exclusive access to the net80211 state so when its starts poking in the WEP/WPA settings and the card is already scanning it can cause net80211 to try and associate incorrectly with a protected AP. This is an inconvenience for firmware based cards such as iwi where it can be sent an auth instruction with incomplete security info and cause a firmware error. Remove the 'ifconfig up' from network.subr since wpa_supplicant will immediately down the interface again. Reported by: Guy Helmer (and others) Reviewed by: sam, brooks, avatar MFC after: 3 days
* Allow search for any UUID entered by user.emax2007-11-041-3/+0
| | | | MFC after: 3 days
* Add __unused to parameters when neededcharnier2007-11-032-9/+11
|
* Introduce pkg_updating(1) which scans for installed ports and showskrion2007-11-025-1/+385
| | | | | | | | | all ports/UPDATING entries that affect one of the installed ports, and are relevant on the given machine. PR: bin/117564 Submitted by: Beat Gaetzi <beat@chruetertee.ch> MFC after: 14 days
* Momoize the results of isinstalledpkg()krion2007-11-021-10/+56
| | | | | | PR: bin/116452 Submitted by: wollmann MFC after: 7 days
* mtree should use getcwd() instead of getwd(). getcwd() is safer,keramida2007-11-021-1/+1
| | | | | | | because it includes checks for the length of the buffer it uses. Reviewed by: phk, cperciva MFC after: 3 days
* Add the -h <bindip> option to rpc.lockd, similar to the one inmatteo2007-11-022-111/+348
| | | | | | | | | | | | | | nfsd(8), in mountd(8), and in rpc.statd(8) -h bindip Specify specific IP addresses to bind to for TCP and UDP requests. This option may be specified multiple times. If no -h option is specified, rpc.lockd will bind to INADDR_ANY. Note that when specifying IP addresses with -h, rpc.lockd will automatically add 127.0.0.1 and if IPv6 is enabled, ::1 to the list. PR: bin/98500 MFC after: 1 week
* Add the -h <bindip> option to rpc.statd, similar to the one in nfsd(8)matteo2007-11-012-91/+335
| | | | | | | | | | | | | | | | and in mountd(8) -h bindip Specify specific IP addresses to bind to for TCP and UDP requests. This option may be specified multiple times. If no -h option is specified, rpc.statd will bind to INADDR_ANY. Note that when specifying IP addresses with -h, rpc.statd will automatically add 127.0.0.1 and if IPv6 is enabled, ::1 to the list. (coming for rpc.lockd too) PR: bin/98500 MFC after: 1 week
* Update copyright attribution.jhb2007-10-312-2/+4
| | | | MFC after: 3 days
* Normalize usage output.ru2007-10-311-2/+4
|
* Remove dublicate .Pp, sort SEE ALSO.brueffer2007-10-311-4/+3
|
* Whitespace-only change: trim EOL spaces.keramida2007-10-301-3/+3
|
* mdoc warning fix: delete spurious empty line.keramida2007-10-301-2/+1
| | | | MFC after: 3 days
* mdoc fix: Add missing .El requestkeramida2007-10-301-1/+2
| | | | MFC after: 3 days
* Selecting amd and a few other things in the Networking config sectionkensmith2007-10-302-5/+14
| | | | | | | | | | | | | | caused a segfault. It turns out that in pre-7.0 systems if you do getenv("amd_enable=YES") it will return the setting of the environment variable "amd_enable" but now it returns NULL. I think I found the places where sysinstall was potentially relying on that old behavior. Fix is to make a copy of the string to be used for the getenv(3) call, look for a '=' character in it, and replace it with '\0' if one is found. Stuck to sysinstall's typical coding standards despite urges to do otherwise. PR: 117642 MFC after: 2 days
* Include <stdlib.h> for the right prototype for exit(3).yar2007-10-271-0/+1
|
* Set the program name if the crunched program is selected throughyar2007-10-271-0/+5
| | | | | | | | | | | | argv[1] to mimic crt0 behaviour. Do the job by a direct assignment to __progname in order to stay compatible with NetBSD, whose setprogname() is a deliberate no-op. The reason for this change is that some programs (usually those imported from NetBSD) use getprogname() to distinguish between their aliases. (See pkill aka pgrep for example.) This change can be useful, and applicable, to NetBSD, too.
* Missed in the previous commit to this file:jhb2007-10-271-0/+3
| | | | | | Actually support the new HT capability type from HT 2.00b. MFC after: 3 days
* Bump up the limit for when to print the resources for a given resourcejhb2007-10-271-1/+1
| | | | | | | manager in hex vs decimal to 1000 from 100 so that IRQs are printed in decimal. MFC after: 3 days
* Use the correct variable to check for a malloc failing. This fixes asimon2007-10-271-1/+1
| | | | | case where mountd would fail to start with "out of memory" logged to syslog.
* Document the '-P pidfile' command line argument.simon2007-10-261-1/+5
| | | | | | PR: docs/116658 Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> MFC after: 3 days
* If the INDEX file cannot be opened, print the actual filename / pathsimon2007-10-261-7/+8
| | | | | | | | pkg_version tried to open instead of just "INDEX" to make the actual problem more clear (e.g. missing INDEX-8). MFC after: 3 days Reviewed by: portmgr (pav)
* When processing multi-path ip6 routers, place each router entry on itscsjp2007-10-241-0/+2
| | | | | | | | | | own line. We made this change in traceroute(8) some time ago. This is particularly useful when you are not resolving hostnames since ip6 addresses can be quite long, and lines wrap fairly easily in the multi-path router case. Discussed with: bz MFC after: 1 month
* Avoid leaking file descriptorsmatteo2007-10-231-3/+7
|
* Add the -h <bindip> option to mountd, similar to the one in nfsd(8)matteo2007-10-202-160/+340
| | | | | | | | | | | | | -h bindip Specify specific IP addresses to bind to for TCP and UDP requests. This option may be specified multiple times. If no -h option is specified, mountd will bind to INADDR_ANY. Note that when specifying IP addresses with -h, mountd will automatically add 127.0.0.1 and if IPv6 is enabled, ::1 to the list. PR: bin/114097 Reviewed by: pjd (an eariler version of the patch) MFC after: 1 week
* Allow adding a user(s) to additional groups in batch mode as well.mtm2007-10-202-1/+2
| | | | | Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> (modulo minor changes) MFC after: 2 weeks
* The POP daemon's temporary mail file has a leading dot ('.'). This wasmtm2007-10-191-3/+3
| | | | | | lost in the shell script rewrite of the rmuser command. Submitted by: Ian Smith <smithi@nimnet.asn.au>
* Add whitespace.krion2007-10-171-1/+1
|
* Update for INDEX-8 support.krion2007-10-171-1/+3
|
* Some left over from the sensors framework.mlaier2007-10-162-645/+0
|
* Update for tcpdump 3.9.8mlaier2007-10-162-45/+76
|
* Update for libpcap 0.9.8mlaier2007-10-161-6/+7
|
* Backout sensors framework.netchild2007-10-153-297/+0
| | | | | Requested by: phk Discussed on: cvs-all
* Fix makrup. There are still some OpenBSD-specific thingsru2007-10-142-29/+40
| | | | in there that need tweaking.
* style.Makefile(5) says: Do not use GCCisms (such as -g and -Wall)ru2007-10-141-3/+1
| | | | in CFLAGS.
* Sort.ru2007-10-141-1/+1
|
* Import OpenBSD's sysctl hardware sensors framework.netchild2007-10-145-0/+933
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes the following core components: * sample configuration file for sensorsd * rc(8) script and glue code for sensorsd(8) * sysctl(3) doc fixes for CTL_HW tree * sysctl(3) documentation for hardware sensors * sysctl(8) documentation for hardware sensors * support for the sensor structure for sysctl(8) * rc.conf(5) documentation for starting sensorsd(8) * sensor_attach(9) et al documentation * /sys/kern/kern_sensors.c o sensor_attach(9) API for drivers to register ksensors o sensor_task_register(9) API for the update task o sysctl(3) glue code o hw.sensors shadow tree for sysctl(8) internal magic * <sys/sensors.h> * HW_SENSORS definition for <sys/sysctl.h> * sensors display for systat(1), including documentation * sensorsd(8) and all applicable documentation The userland part of the framework is entirely source-code compatible with OpenBSD 4.1, 4.2 and -current as of today. All sensor readings can be viewed with `sysctl hw.sensors`, monitored in semi-realtime with `systat -sensors` and also logged with `sensorsd`. Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts)
OpenPOWER on IntegriCloud