summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longerru2008-03-291-1/+1
| | | | build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
* The sources covered by Sun's CDDL have been repo copied below thejb2008-03-271-8/+8
| | | | | | | | src/cddl and src/sys/cddl directories per the core@ decision following the license review. This change modifies the affected Makefiles to reference the sources in their new location.
* Allow awk (the one true one!) to handle 64 files instead of just 20.jb2008-03-271-1/+1
| | | | | | | | | | | The current FreeBSD syscall generation script uses all 20 and I need another open file. It's a shame that something named as the 'one-true-awk' is so limited by an old denition like FOPEN_MAX when it could just make the file handling dynamic. This is done to avoid touching contrib sources on a vendor branch.
* Fix some "in in" typos in comments.brueffer2008-03-262-2/+2
| | | | | | | PR: 121490 Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com> Approved by: rwatson (mentor), jkoshy MFC after: 3 days
* Catch netstat up for the new bpf stats structures. Print 64 bit valuescsjp2008-03-241-2/+6
| | | | | | | properly. Sponsored by: Seccuris Inc MFC after: 4 months
* Fix splitting into words of the .for expression to allow forru2008-03-241-22/+8
| | | | | | | | | | | spaces in values. Without this change, the following valid call broke due to parsing of .MAKEFLAGS in bsd.symver.mk: cd /usr/src/lib/libc && make -n DEBUG_FLAGS="-DFOO -DBAR" Spotted by: Igor Sysoev Submitted by: Maxim Dounin, ru MFC after: 1 week
* Fix bugs in the previous revision.ru2008-03-241-8/+13
|
* Fix usage string.des2008-03-201-2/+2
|
* Change .8s port name restriction to .15s.ume2008-03-181-1/+1
| | | | | | This change corresponds to inet.c 1.13. MFC after: 1 week
* Fix --fast-read by decrementing the remaining patterns to be matched,kientzle2008-03-182-2/+2
| | | | | | | | instead of incrementing. Pointy hat: me Thanks to: Tomasz Przygoda MFC after: 3 days
* Initialize variable "now" before using it (it is used by the LEFTEARTHantoine2008-03-171-1/+1
| | | | | | | | | macro) PR: 121418 Submitted by: Atsuo Ohki Approved by: rwatson (mentor) MFC after: 1 month
* Add a -n option to split(1) to split files into N chunks rather thandas2008-03-162-12/+78
| | | | | | | | having to specify the right number of bytes. Obtained from: NetBSD Submitted by: Jan Schaumann <jschauma@netmeister.org> PR: 113175
* style(9) fix to add whitespace around an '=' sign and restorekientzle2008-03-151-1/+2
| | | | a comment that got accidentally dropped.
* Support NetBSD's --insecure as a synonym for -P.kientzle2008-03-151-0/+1
|
* Document --chroot.kientzle2008-03-151-0/+6
|
* Support -q (from NetBSD) as a synonym for --fast-read (the old FreeBSDkientzle2008-03-152-14/+13
| | | | | | extension to GNU tar). Thanks to: Joerg Sonnenberger
* Also accept --uncompress as a synonym for -Z.kientzle2008-03-151-0/+1
| | | | Thanks to: Joerg Sonnenberger
* --chroot implementation thanks to Joerg Sonnenberger.kientzle2008-03-154-0/+18
|
* Support --compress as a synonym for -Z.kientzle2008-03-151-0/+1
|
* Enable and document the -Z option for selecting "compress" compression,kientzle2008-03-153-5/+13
| | | | now that libarchive supports it.
* uuidgen has been repo-copied from usr.bin/ to bin/ to match its "new"obrien2008-03-134-202/+0
| | | | (2007/04/09) installation location.
* - When running a new command cause cpuset to operate on the per-thread maskjeff2008-03-122-4/+8
| | | | | | | | | | | by default rather than the setmask. This is consistent with the linux tool and more consistent with the notion that the default level is the process level. The cpuset mask can still be modified by specifying the -c option. You can not set the per-thread and cpuset mask in a single command. - Update the man page to reflect this change. Contributed by: gallatin
* If the special target .MAKEFILEDEPS exists, then enable theobrien2008-03-121-26/+26
| | | | "remaking makefiles" feature. Otherwise, follow traditional Pmake behavior.
* If the special target .MAKEFILEDEPS exists, then enable theobrien2008-03-124-1/+24
| | | | | "remaking makefiles" feature. Otherwise, follow traditional Pmake behavior. (hash table will be regenerated and committed follow this commit)
* - Remove ksethrcmdname.jeff2008-03-123-9/+0
|
* Fix apparent typo. The permitted confidence values include 95%, not 85%.peter2008-03-121-1/+1
|
* GNU ar did NOT implment option -q as a synonym of -r as the manualkaiw2008-03-114-6/+25
| | | | | | | | | | | | | | | | | page stated, thus BSD ar(1) option -q, which was implemented based on the GNU ar manual page, turns out to be incompatible with GNU ar -q. This change will make BSD ar(1) -q a *REAL* GNU ar -q: 1. It will update symbol table. (same as unfixed version) 2. It will NOT compare new members spcified in the command line args with existing members, instead, append them directly. Reported by: Johannes 5 Joemann <joemann@beefree.free.de> Reported by: Timothy Bourke <timbob@bigpond.com> Tested by: Johannes 5 Joemann <joemann@beefree.free.de> Reviewed by: jkoshy Approved by: jkoshy (mentor)
* Fix minor typo.joel2008-03-111-2/+2
|
* Teach gunzip that .tbz and .tbz2 uncompress to .tar, in a manner similar torwatson2008-03-091-0/+2
| | | | | | | | its existing understanding that .tgz uncompresses to .tar. MFC after: 3 days PR: 121519 Submitted by: Ighighi <ighighi at gmail.com>
* When gzipping to a target file, only set the source file flags on therwatson2008-03-091-4/+4
| | | | | | | | | target file after the timestamp has been set; otherwise setting the timestamp will fail if the flags don't permit it (i.e., uchg). MFC after: 1 week PR: 120208 Submitted by: Ighighi <ighighi at gmail.com>
* - Add my birthday entrylippe2008-03-081-0/+1
| | | | Approved by: gabor (mentor)
* Merge revisions 1.10 and 1.11 from DragonFly:delphij2008-03-071-68/+61
| | | | | | | | | | | | | | | | | | | | | - Use real getopt() handling instead of the hand-rolled and IOCCC-worthy "Micro getopt()" macros, plus clean up to the option handling code: * Sort the options in the switch statement; * Plug piddling memory leaks when processing repeated options by freeing strings before allocating them for a second time; * Die with a fatal error if the requested report file cannot be opened for appending; * Don't call init() before usage() (to prevent the usage message being mangled by changes to the terminal settings;) - Clean up the usage message, both in usage() and in the main program comment, both stylistically (sort and combine options) and for accuracy (following the manual page, make note of the -s and -S flags, and use the term 'send' instead of 'say' to reduce confusion (SAY is the name of a command for output to the user, not the connection.)) Obtained from: DragonFly
* The non-POSIX environment variable MAKE was supersededyar2008-03-051-1/+1
| | | | | | by MAKEFLAGS ages ago, so don't mention it in comments. Tested with: cmp(1)
* Don't forget to set MAKEFLAGS in the childs' environmentyar2008-03-052-31/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the .MAKEFLAGS global variable even if it's empty or unset. This means setting MAKEFLAGS to just an empty string in the latter case. If not doing so, make(1) behaved inconsistently WRT MAKEFLAGS. In particular, it would let a `-f foo' option down to sub-makes if .MAKEFLAGS was unset. E.g., env MAKEFLAGS="-f mymakefile" make would pass `-f mymakefile' down to sub-makes via their environment (unless mymakefile added something to .MAKEFLAGS). But any additional options appearing would change this behaviour to not passing `-f mymakefile' to sub-makes, as in: env MAKEFLAGS="-f mymakefile" make -D DUMMY or env MAKEFLAGS="-f mymakefile -D DUMMY" make (unless mymakefile cleared .MAKEFLAGS). Also make(1) would leave MAKEFLAGS at its initial value if the makefile set .MAKEFLAGS to an empty value. I.e., it was impossible to override MAKEFLAGS with an empty value. (Note well that makefiles are not to touch MAKEFLAGS directly, they alter .MAKEFLAGS instead. So make(1) can filter out things such as -f when copying MAKEFLAGS to .MAKEFLAGS at startup. Direct modifications to MAKEFLAGS just go nowhere.) While the original intentions of the BSD make authors are somewhat unclear here, the bug proves that NOT passing -f options down is the settled behaviour because the opposite behaviour is totally unreliable in the presence of any other options. In addition, not passing down -f's found in the environment is consistent with doing so WRT the command line. Update the manpage accordingly and make the whole description of MAKEFLAGS and .MAKEFLAGS more consistent as this change indeed brings more consistency into the reliable behaviour of make(1). Submitted by: ru (main.c) Tested with: make world
* - Remove the -i argument when running a command to simplify things ajeff2008-03-053-14/+177
| | | | | | | | little bit and to prevent users from specifying a private mask that may later restrict other group changes. - Add a man page which brueffer generously contributed to. Sponsored by: Nokia
* - Verify that when a user supplies a mask that is bigger than the kerneljeff2008-03-051-8/+7
| | | | | | | | | | mask none of the upper bits are set. - Be more careful about enforcing the boundaries of masks and child sets. - Introduce a few more CPU_* macros for implementing these tests. - Change the cpusetsize argument to be bytes rather than bits to match other apis. Sponsored by: Nokia
* It seems some don't care for the anchient joke. Add WITHOUT_OLD_JOKEobrien2008-03-041-0/+2
| | | | to your CFLAGS if you fall into this camp.
* No need to tell make to DTRT with "make love", just do it.obrien2008-03-042-11/+0
| | | | | Also remove the 2002/08/31 bootstrapping aid for upgrades from year old (mid-2001) systems.
* <limits.h> is necessary for using INT_MIN, so included it hereimp2008-03-041-0/+1
| | | | | | | | explicitly rather than relying on name space pollution to pull it in for us. NB: The usage of INT_MIN is somewhat bogus and suspect to my eye, but this commit doesn't address that issue.
* Move a stray paragraph on .Ev MAKEFLAGS to where it belongs.yar2008-03-041-14/+14
|
* Revise the description of how .Ev MAKEFILE and .Va .MAKEFILE relate.yar2008-03-041-21/+27
| | | | | | | | | The most important point is that -f option(s) are never copied from .Ev MAKEFILE to .Va .MAKEFILE by make(1), which is consistent with handling the command line. (-f silently sit in .Ev MAKEFILE and go to make's children unless overwritten via .Va .MAKEFILE) Bump .Dd.
* Split descriptions of .Ev MAKEFILE and .Va .MAKEFLAGS for clarity.yar2008-03-041-2/+2
|
* Note 7.0 was the first version that FreeBSD/pc98 had a MACHINE of pc98imp2008-03-041-8/+7
| | | | instead of i386.
* Linux requires -D__dead2= and -D__unused= to get rid of theimp2008-03-041-1/+1
| | | | | sys/cdef.h-isms in the make source. The variant of linux I tried it on doesn't have arc4random, so -Darc4random=random too.
* - Add my birthday.jadawin2008-03-031-0/+1
| | | | Approved by : thierry (co-mentor)
* Fix SYNOPSIS and usage().ru2008-03-032-9/+10
|
* Typo in comment spotted by Hasso Tepper.fanf2008-03-021-2/+2
| | | | Obtained from: DragonFlyBSD
* - Add cpuset to the build.jeff2008-03-021-0/+1
| | | | Sponsored by: Nokia
* Add a simple utility for manipulating cpusets. Man page will be availablejeff2008-03-022-0/+335
| | | | | | | | | | soon. - Lists of cpus may be specified with -l with ranges specified as low-high and commas between individual cpus and ranges. ie -l 0-2,4,6-8. - cpuset can modified -p pids, -t tids, or -s cpusetids. - cpuset can -g get the current mask for any of the above. Sponsored by: Nokia
* - Do not malloc buffer for 0-size member when reading from archive.kaiw2008-03-021-11/+17
| | | | | | | | | | | | | - Fix a malloc buffer overrun: Use a while loop to check whether the string buffer is big enough after resizing, since doubling once might not be enough when a very long member name or symbol name is provided. - Fix typo. Reported by: Michael Plass <mfp49_freebsd@plass-family.net> Tested by: Michael Plass <mfp49_freebsd@plass-family.net> Reviewed by: jkoshy Approved by: jkoshy
OpenPOWER on IntegriCloud