summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* getopt(3) returns -1, not EOF.kevlo2008-02-181-1/+1
|
* No network addresses in the system isn't a good excuseyar2008-02-141-4/+4
| | | | | | | | | for rpcbind(8) to crash. The crash was due to a boolean variable initialized improperly. Besides fixing the initialization, pick a better name for the variable so that its meaning is clear and no more coding errors appear around it.
* Improve conformance to the HTTP specification by using case-insensitivecperciva2008-02-131-6/+6
| | | | | | | | comparisons for header keywords. Apparently some proxies use creative capitalization. Weird proxy found by: brooks MFC after: 3 days
* Typo fix.remko2008-02-111-2/+2
| | | | Spotted by: brueffer
* Give traceroute6 the ability to traceroute with packets with nodwmalone2008-02-102-48/+111
| | | | | | upper layer header (IP PROTO = 59). Useful for testing firewalls. MFC after: 2 months
* Introduce -i to SYNOPSIS, forgotten by krion@.ru2008-02-081-1/+1
|
* Add -P <port> option to allow binding to a specific port.matteo2008-02-032-3/+61
| | | | | | PR: bin/109494 Submitted by: mtm MFC after: 1 week
* Fix an indentation.jkim2008-01-311-1/+1
|
* Do not sanitize disk geometry if it is set by scripts in non-interactive mode.jkim2008-01-311-8/+8
| | | | MFC after: 3 days
* De-sparc64-ify (now that it's also installed on PowerPC).ru2008-01-311-1/+1
|
* Enable ofwdump on powerpc (finally). Tested on G3 & G4 machines.grehan2008-01-312-1/+1
| | | | | Submitted by: Dan Stekloff <dsteklof at c i s c o dot com> Discussed with: marcel
* Fix two typos.delphij2008-01-301-2/+2
|
* Allow watch(8) to use more than 10 snp* devices. This limitation was purelyrink2008-01-301-6/+5
| | | | | | | | | | due to the way watch(8) looks for available snoop devices. PR: bin/118286 Submitted by: Mykola Zubach <zuborg@advancedhosters.com> Reviewed by: rwatson, csjp, imp (all a long time ago) Approved by: imp (mentor) (long time ago) MFC after: 1 week
* Fix bootparamd on 64 bit platforms - at least amd64 was broken due to therink2008-01-302-4/+4
| | | | | | | | | | code believing long == 64 bits and using it to store/compare IPv4 addresses. PR: bin/112163 Submitted by: Tyler Spivey <tspivey@pcdesk.net> Reviewed by: imp Approved by: imp (mentor) MFC after: 1 week
* Some clarifications to make keyboard configuration under syscons.trhodes2008-01-292-3/+14
| | | | | | PR: 89325 Submitted by: Oliver Fromme <olli@secnetix.de> Reviewed by: emax
* An average consumer of fts(3) that avoids keeping pointers to oldyar2008-01-291-13/+7
| | | | | | | | FTSENTs and uses only what fts_read() has just returned can rely on fts_path being NUL-terminated. Under these conditions, a plain vanilla "%s" format can be safely used to printf an fts_path. OK'ed by: rwatson
* Add the -M command-line option, which will set home directory permissions.mtm2008-01-272-1/+44
| | | | | | | | Works both in interactive or batch mode. This is a heavily modified version of the patch submitted in the PR. PR: bin/105060 MFC after: 1 week
* fts_pathlen is now a size_t rather than an int so a cast is needed.jb2008-01-271-6/+6
| | | | | I'm not sure why warn() and err() string formatted variables need to be right-justified.
* Clarify in what formats the grouplist for the '-G' switch may be accepted.mtm2008-01-251-1/+1
| | | | Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
* - Add new NTP servers provided by NIC.br (http://www.ntp.br)mnag2008-01-221-7/+10
| | | | | | | | - Remove nonfunctional servers PR: 119884 Approved by: simon MFC after: 3 days
* Repeat iostat header after rows-3 instead of a hardcoded 20.keramida2008-01-221-3/+71
| | | | | | | | | | | | | Use ioctl() to get the window size in iostat(8), and force a new header to be prepended to the output every time the current window size changes. Change the number of lines before each header to `rows - 3' when the terminal is resized, so that the full terminal length can be used for output lines. PR: bin/119705 Submitted by: keramida Approved by: maxim MFC after: 2 weeks
* o inetd(8) requires wait/nowait column in inetd.conf formaxim2008-01-121-1/+2
| | | | | | | | ONC services as well. PR: bin/119203 Submitted by: Peter Jeremy MFC atfer: 1 week
* o Fix a typo. errx() -> err().maxim2008-01-121-2/+2
| | | | Submitted by: das
* o Plug a memory leak: do not forget to free asprintf(3) allocatedmaxim2008-01-121-2/+4
| | | | | | | | memory. PR: bin/119608 Submitted by: peter.schuller MFC after: 1 week
* Fix non-SMP kernel regression introduced in the previous commit.jkim2008-01-101-4/+7
| | | | Reviewed by: jkoshy
* quiet compiler complaint about comparing &v against NULLsam2008-01-101-2/+2
|
* Revise the TECHNICAL DETAILS section.ru2008-01-091-68/+87
| | | | Reviewed by: skv
* Honour the logical current working directory ($PWD) when using config'semaste2008-01-081-0/+18
| | | | | | | | -d destdir option. For an automounted src tree using the logical cwd in the Makefile keeps amd(8)'s mount timeout refreshed. Code to check $PWD's validity cribbed from pwd(1). Discussed on hackers@.
* When the ms/req fields exceed 1 second, drop the fractions to fit more digits.phk2008-01-061-3/+12
| | | | | This is unfortunately necessary with some flash based devices which can get hundreds of seconds behind with softupdates enabled.
* Add the mtree.5 manpage. I'll come back soon andkientzle2008-01-012-1/+271
| | | | | | | | | remove the format specification from mtree.8. I also need to reconcile a few issues between this mtree.5 and what is actually implemented in FreeBSD's mtree utility. MFC after: 30 days
* Change sysinstall's handling of X11 stuff. Doing it in pieces waskensmith2008-01-014-268/+5
| | | | | | | | | | | | | | | | | probably the right thing to do a while ago but xorg has progressed to the point that for novice users (who are the ones expected to think installing X11 during an install...) it's best to just install the whole x11/xorg metaport for them. This removes the X11 sub-menus and sets it up so you just select whether or not you want X11. While here garbage collect an X11 configuration menu I missed removing when I removed support for attempting xorg configuration from inside sysinstall a while ago. Discussed with: rwatson, kris No objection from: re Release build tested by: rwatson MFC after: 1 week
* Plug a memory leak. Once any given package (e.g. perl) was installedkensmith2007-12-291-1/+3
| | | | | | | | | | we would leak a saved screen for every other package we tried to install that listed perl as one of its dependencies. When installing things like gnome and kde that wound up being a LOT of leaked memory. Insta-MFC request coming so this can be tested as part of 6.3-RC2... Testing help from: kris
* Adjust the some error messages as suggested during re@ review, andkensmith2007-12-291-3/+10
| | | | adjust a comment that won't be true shortly.
* Attempt to reduce the rate of foot-shooting injuries by adding a newcperciva2007-12-281-0/+9
| | | | | | | | paragraph clarifying that portsnap does not behave the same way as cvs and cvsup where local modifications are concerned. Submitted by: peter Feet shot: peter, kris, obrien, + many others
* The limit on datasize in the install environment is 128M. That's a bitkensmith2007-12-281-0/+10
| | | | | | | | | | | | | | | too small for today's standards. While loading packages sysinstall blows past this by a LOT but I think (hope...) that's caused by other bugs. I'll look more into why sysinstall's memory use has gotten so out of control as it loads packages but independent of that there really is no reason to leave the limits on datasize and stacksize in place. And they can cause problems for some of the things "modern packages" might be doing via pkg_add which gets run by sysinstall and would inherit the limits. Another insta-MFC probably coming, this is holding up 6.3-RC2. Sysinstall's memory use is so out of control it blows past the current limit before it finishes loading either of the meta-packages kde or gnome...
* Spring forward into the late 1970's by following item 5 in the yaccimp2007-12-251-51/+34
| | | | | | | | | | | | | manual's Appendix D ("Old Features Supported but not Encouraged") in the Seventh Edition Unix Programmer's Manual (January, 1979) by retiring the " = {" method of of action specification in favor of a plain "{". It is no longer necessary for this bootstrap program to be compatible with 6th Edition systems. Some yaccs in the wild do not support this old syntax any more, and compatibility with those systems is more important these days (as there are easily 7 orders of magnitude more of them than real v6 systems today). Reviewed by: jhb@ and dds@ (the latter gave the reference).
* For the INDEX file to be used on disc1 of the 7.0-RELEASE the longestkensmith2007-12-241-5/+17
| | | | | | | | | | "build dependencies" field is 5,108 characters which overflows the length of the junk buffer by a teeny bit. This whole section needs much more error checking but for now just completely ignore stuff we have no interest in instead of copying it to someplace we don't use in the process. Insta-MFC probably coming since this is holding up 7.0-RC1...
* Revert previous commit and fix OpenPAM issue properly.des2007-12-221-6/+6
|
* Fix/workaround build breakage caused by PAM importkmacy2007-12-211-1/+1
| | | | | struct pam_conv takes a void * for the appdata_ptr but is being passed a const char * - explicitly cast away the const
* In the following scenario:dougb2007-12-211-0/+7
| | | | | | | | | | | | | | | 1. Start mergemaster 2. Interrupt it 3. < Somehow the temproot directory disappears > 4. mergemaster -r Many bad things can happen, especially if the -i option is in use. Therefore, add a check to make sure it still exists before we start comparing files. Brought to my attention by: PR: bin/40538 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
* - Adjust INDEX file name to INDEX-8 so that it matches the major FreeBSDgabor2007-12-201-5/+5
| | | | | | | version number, as it is named after that PR: docs/118053 Submitted by: Michael Plass <mfp49_freebsd@plass-family.net>
* enable wired driver supportsam2007-12-201-0/+2
| | | | | Submitted by: "Paul B. Mahol" <onemda@gmail.com> MFC after: 1 week
* Correct typo in usage message.imp2007-12-191-1/+1
|
* A few more adjustments needed because of changes in xorg. Just installingkensmith2007-12-172-2/+6
| | | | | | | | | xorg-server doesn't include any video drivers so install xorg-drivers as well. And if font-alias isn't installed the X server won't start, complaining it can't find the font "fixed". Insta-MFC coming, this was tested with a RELENG_6_3 release build and the necessary packages as part of the first round of testing for 6.3-RC2.
* o Get missed "%" in output back.maxim2007-12-161-2/+2
| | | | | Submitted by: sem MFC after: 1 week
* + Open ctty in non-blocking mode to avoid hangs during open and close(waitingobrien2007-12-111-9/+20
| | | | | | | | | | | | | | for the port to drain). + Handle "*" as a priority properly. + Test what is free'ed. + Dynamically determine length vs. hardcoding it. + Free the previous message buffer (f_prevline) only after logging all the messages and just before the process exit. Also check f_prevline for NULL before using it. + The time displayed is not synchornized with the other log destinations. + Fix a comment. Obtained from: Juniper Networks
* Backout previous commit, since it's done without maintainerskrion2007-12-0910-173/+1
| | | | | | | approval. These changes were approved by adding it as port to ports/ tree, but not for src/. I talked to PR submitter and miwi@ some days ago and explained the reasons for it, the both were agree to add it to ports/ only.
* Be more consistant and use UNZIPPER everywhere.obrien2007-12-092-6/+5
|
* Add the 'pkg_search' script.obrien2007-12-0910-1/+173
| | | | | | This makes it easier to figure what packages you want to install. Submitted by: Matthias Schmidt <schmidtm @ mathematik . uni-marburg . de>
* Enhance descriptions in the timed manual.remko2007-12-081-7/+32
| | | | | | PR: docs/115445 Submitted by: "Julian Stacey" <jhs at berklix dot org> MFC After: 3 days
OpenPOWER on IntegriCloud