summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Back out rev 1.74. This functionality causes a panic on 4.4-RELEASEmurray2001-09-251-32/+0
| | | | | | | | | | | | | | | | floppies if you try to actually use it. This code will work fine if you build and use sysinstall on a running system, since you have the benefit of an installed termcap file. However, this code does not work on an MFSROOT, where you must set the TERMCAP environment variable properly. Unfortunately the quick fix of setting the TERMCAP variable doesn't seem to fix the problem either. olgeni will add this functionality back once it's been fully implemented (hopefully using the working code in termcap.c). PR: bin/30739 Submitted by: Alexey V. Neyman <alex.neyman@auriga.ru> Discussed with / Pointy hat to: olgeni MFC after: 3 days
* Only compile with strtofflags.c from libc if bootstrapping.ru2001-09-241-4/+6
|
* o Reduce userland inclusion of kernel headers -- remove unneeded includerwatson2001-09-241-1/+0
| | | | | | of <sys/mbuf.h>. Reviewed by: jlemon
* Add a couple of functions to create persistent variables that willmurray2001-09-246-12/+110
| | | | | | | | | | | survive a sysinstall Ctrl-C -> 'Restart'. This fixes another annoying bug where restarting sysinstall will try to reload kernel modules and do other external things that have already been done. For now, use these persistent variables to keep track of module, usbd, and pccardd initialization. Bug found by: rwatson MFC after: 1 week
* Silence more warnings.murray2001-09-226-9/+10
|
* Silence warnings on alpha :murray2001-09-224-12/+22
| | | | | Use '%p' when printing out the address of a function. sizeof(int) != sizeof(long)
* Silence warnings.murray2001-09-225-6/+12
|
* Silence warnings :murray2001-09-226-16/+19
| | | | | | Use static as necessary. Use __unused as necessary. sizeof(int) != sizeof(void *)
* Add a function to free all of sysinstall's internal variables from themurray2001-09-226-6/+74
| | | | | | | | | environment. This fixes an annoying bug where hitting Ctrl-C and telling sysinstall to 'restart' will do no such thing since many of the options are still set and so you won't be prompted for them again. MFC after: 1 week
* Use the isDebug() function rather than making up a new environmentmurray2001-09-222-2/+2
| | | | | | variable to check for debug functionality. Previously, you had to set both 'debug' and 'SYSINSTALL_DEBUG' to get a log of sysinstall's activities. Now, only 'debug' is necessary.
* Keep up with sys/net/rtsock.c,v 1.58.ru2001-09-211-1/+1
| | | | Prodded by: brian
* WARNS= -> WARNS?=ru2001-09-212-2/+2
|
* Deal with nfs server module changes for autoloading.peter2001-09-201-9/+4
|
* Deal with module name changes and autoloading.peter2001-09-201-15/+8
|
* Add minimal support for "o"-type print-file actions in lpd control files.gad2001-09-202-13/+29
| | | | | | | | | This was described in the original RFC wrt lpr, but most lpr's do not actually implement it. There is some indication that MacOS 10.1 will be using this when sending postscript files to print servers (that is what "o"-type was supposed to signify -- postscript files). MFC after: 1 week
* Various fixes and improvements:sobomax2001-09-198-80/+187
| | | | | | | | | | | | - fix harmless compiler's warnings (unused variables and missed prototype); - before refusing to delete package because "there are packages installed that require this package" check that packages in question is actually installed; - add new `-r' option to pkg_delete(8), which instructs it to delete not only packages specified at command line, but all packages that depend on specified packages as well. MFC after: 2 weeks
* Userland part of nfs client/server split and cleanup.peter2001-09-186-198/+17
|
* Drop maintainership.bmah2001-09-181-1/+0
|
* Support the use of ${PORTSDIR} to find a ports tree INDEX file inbmah2001-09-181-2/+2
| | | | | | | | an other-than-default location. PR: bin/30350 Submitted by: "NINOMIYA Hideyuki <NINOMIYA Hideyuki" <nin@jp.FreeBSD.org> MFC after: 3 days
* Use includes to get prototypes for hints and env arrays.peter2001-09-171-0/+8
| | | | Submitted by: bde
* Fix segfault introduced in previous commit (when adding local packages).sobomax2001-09-171-2/+3
|
* Fix the bootstrapping aid from revision 1.9.ru2001-09-171-1/+1
| | | | WORLD was renamed to BOOTSTRAPPING.
* Fix so that lpc's interactive-mode will not be confused by EditLine processinggad2001-09-171-0/+9
| | | | | | | into thinking that there is a print-queue called 'xterm'... Reviewed by: short discussion on freebsd-stable MFC after: 1 week
* Rework the RTSOL logic from previous patch (it was wrong)jkh2001-09-151-4/+15
| | | | | PR: 26187 && 24136 Submitted by: Glenn Trewitt <trewitt@trewitt.org>
* Add missing {}. This made most/all scripted installs fail.phk2001-09-142-2/+4
| | | | Approved by: jkh
* Set BINOWN=root explicitly for setuid root binaries.ru2001-09-141-0/+1
|
* Increase disk space estimate for installing the ports collection frommurray2001-09-141-1/+1
| | | | | | 70MB to 100MB. Submitted by: rpratt
* Whitespace change only. Use the same indention level throughout thismurray2001-09-142-22/+24
| | | | | | file and add a blank line after variable declarations. Submitted by: jhb
* Clean up, WARNSify, unbreak -v option handling.ru2001-09-132-52/+52
|
* sigpause() -> sigsuspend()brian2001-09-132-8/+15
| | | | sigblock() -> sigprocmask()
* Correct alignment issuesbrian2001-09-131-17/+20
| | | | Obtained from: OpenBSD
* Add a strcasecmp() call I forgot in my hurry to commit the previous fix.des2001-09-131-1/+2
| | | | | | | Without this call, the hostname check would in some cases yield false positives. Pointed out by: ru
* Spell syslog.conf correctlybrian2001-09-131-1/+1
| | | | | Submitted by: Tony Finch <dot@dotat.at> PR: 30545
* Don't override BINGRP -- this binary is not ``setgid bin''.ru2001-09-131-1/+0
| | | | | PR: bin/30538 Submitted by: Tony Finch <dot@dotat.at>
* The previous commit appeared to just shove the bug under the carpet ratherdes2001-09-131-5/+23
| | | | | | | | | | than really solve it. This approach (inspired by Ruslan's patch) solves the real problem by stripping the local domain off the host name in the config line structure. Also mark a bunch of code sections that either do not check the return value of a strdup(), malloc() or calloc() call, or do not properly handle a NULL return.
* Set BINOWN=root explicitly for setuid root binaries.ru2001-09-138-0/+8
| | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
* Fix logging from remote hosts, which has been broken since (at least) revisiondes2001-09-131-2/+3
| | | | | | | | 1.64, i.e. July of last year. Also fix a minor style bug in the same code. PR: bin/28634 Pointy hat to: dwmalone Pointed out by: my buggy DSL router's remote logging facility
* Return the *right* error codes for yes/no questions when non-interactive.jkh2001-09-112-8/+8
| | | | Submitted by: Alan Judge <Alan.Judge@eircom.net>
* If a sentence starts inside parenthesis, it should end insidedd2001-09-111-1/+1
| | | | parenthesis.
* mdoc(7) police: Fixed the .Ex calls in manpages that describe moreru2001-09-111-2/+2
| | | | | | | than one utility. PR: docs/30437 Submitted by: SUZUKI Koichi <koich@cac.co.jp>
* Use getprogname(3) instead of hardcoding the name..sos2001-09-111-2/+2
|
* Fixes from Ruslan Ermilov:sos2001-09-112-41/+30
| | | | | | | | | | | | | 1. FreeBSD should be spelled with "F" and "BSD" in capitals, even in comments. 2. Please don't use hard sentence breaks. Always start a new sentence from the new line. 3. Don't use `#' or `$' in EXAMPLES; this has been fixed recently in share/examples/mdoc/ templates. 4. Nuke the prog_name variable burncd.c, use getprogname(3).
* mdoc(7) police: use standard list width.ru2001-09-111-2/+1
|
* mdoc(7) police: fix markup.ru2001-09-111-131/+168
|
* Use a colon to separate the user and group when executing chown(1).dd2001-09-111-2/+2
| | | | | | | Periods aren't supported anymore. PR: 30507 Submitted by: Georg-W. Koltermann <gwk@sgi.com>
* Fixed the free(3) panic overlooked due to the -Wno-uninitialized.ru2001-09-111-1/+2
|
* Add kldxref(8), for maintaining the linker.hints file for translatingpeter2001-09-117-0/+838
| | | | | | module->pathname.ko. It supports only ELF for now. Submitted by: bp (with some minor tweaks)
* Add DAO mode (Disk At Once).sos2001-09-102-79/+304
| | | | See burncd.8 for how to use it.
* mdoc(7) police: markup nits.ru2001-09-101-2/+2
| | | | | PR: docs/30473 Submitted by: Jonathan Hanna <jhanna@home.com>
* Add support for monitor mode. This means that after enabling thebrooks2001-09-102-5/+36
| | | | | | | | correct mode via ancontrol, you can use bpf to sniff raw 802.11 frames. Who want's to port AirSnort. ;-) Submitted by: Doug Ambrisko <ambrisko@ambrisko.com> (author) David Wolfskill <david@catwhisker.org> (port to current)
OpenPOWER on IntegriCloud