summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* When displaying binary information show also osreldate.trociny2012-03-232-3/+17
| | | | | Suggested by: kib MFC after: 2 weeks
* - Do not build libcom_err and compile_et when kerberos is disabled. Theystas2012-03-231-1/+4
| | | | | depends on several heimdal libraries and not used by anything but kerberos tools.
* Garbage collect defunct nlist(3) symbols.pluknet2012-03-221-14/+8
| | | | MFC after: 1 week
* - Update FreeBSD Heimdal distribution to version 1.5.1. This also bringsstas2012-03-221-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service. We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509. - The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5. - Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf. - libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next. - Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well. - This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues.
* Add multibyte char support.glebius2012-03-212-53/+35
| | | | | PR: 165429 Submitted by: amdmi3
* Repair function when used with large scaleskevlo2012-03-181-2/+3
| | | | Submitted by: AIDA Shinra <shinra at j10n dot org>
* xargs: Before exiting, wait for all invocations of the utility.jilles2012-03-162-45/+81
| | | | | | | This only has an effect with -P, otherwise errors are only detected when the utility is not running. Submitted by: Matthew Story
* - Fix an erroneous invocation of the editline.kevlo2012-03-153-22/+33
| | | | | | | | - Fix wrong scaling in the bc.library. - Let length(0.000) conform to what gnu bc does. PR: bin/159227 Submitted by: AIDA Shinra <shinra at j10n dot org>
* After r232745, which makes sure __bswap16(), ntohs() and htons() returndim2012-03-091-3/+0
| | | | | | | | | | | | | __uint16_t, we can partially undo r228668. Note the remark "Work around a clang false positive with format string warnings and ntohs macros (see LLVM PR 11313)" was actually incorrect. Before r232745, on some arches, the ntohs() macros did in fact return int, not uint16_t, so clang was right in warning about the %hu format string. MFC after: 2 weeks
* Document the [n]eei and [n]bacc optionseadler2012-03-031-1/+23
| | | | | | | PR: docs/165009 Submitted by: Jeremy Huddleston <jeremyhu@apple.com> Approved by: bcr MFC after: 1 week
* Replace the three spaces with one tag.davide2012-03-011-1/+1
| | | | | Reported by: pjd Approved by: gnn (mentor)
* Use proper "maxproc" name, not "nproc".trasz2012-03-011-3/+3
| | | | PR: docs/162172
* Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, thatdim2012-02-291-0/+8
| | | | | | | | | | installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp. Note this does *not* disable building and installing gcc, which will still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If you want to disable gcc completely, you must use WITHOUT_GCC. MFC after: 2 weeks
* Use srandom() to init the PRNG, not srand(), since we use random().cognet2012-02-291-1/+1
| | | | | | | | | | This is harmless because srandom() is called somewhere else, with time(NULL) as a seed, but this is more correct. Obtained from: https://bitbucket.org/mux/csup Pointyhat to: not mux, somebody else MFC after: 1 week
* Update the description for -s flag after r232182.pluknet2012-02-291-1/+3
| | | | | | When displaying security credential information show also process umask. X-MFC-with: r232182
* Document the 'URL' argument.obrien2012-02-281-2/+7
|
* Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, todim2012-02-282-6/+2
| | | | | | | | | | | | | | | | | | | | | get rid of testing explicitly for clang (using ${CC:T:Mclang}) in individual Makefiles. Instead, use the following extra macros, for use with clang: - NO_WERROR.clang (disables -Werror) - NO_WCAST_ALIGN.clang (disables -Wcast-align) - NO_WFORMAT.clang (disables -Wformat and friends) - CLANG_NO_IAS (disables integrated assembler) - CLANG_OPT_SMALL (adds flags for extra small size optimizations) As a side effect, this enables setting CC/CXX/CPP in src.conf instead of make.conf! For clang, use the following: CC=clang CXX=clang++ CPP=clang-cpp MFC after: 2 weeks
* Backout r230934 which didn't work with unix sockets andpluknet2012-02-271-34/+8
| | | | | | several filesystem layers mounted at the specified path. Pointy hat to: pluknet
* xargs: Remove an unclear comment that only tried to repeat what the code didjilles2012-02-261-4/+0
| | | | Reported by: bde
* xargs: Fix comma splice in error message.jilles2012-02-261-2/+2
| | | | Reported by: bde
* When displaying security credential information show also process umask.trociny2012-02-261-3/+29
| | | | | | Submitted by: Dmitry Banschikov <me ubique spb ru> Discussed with: rwatson MFC after: 2 weeks
* Update libarchive to 3.0.3mm2012-02-257-147/+33
| | | | | | | | | | | | | | Some of new features: - New readers: RAR, LHA/LZH, CAB reader, 7-Zip - New writers: ISO9660, XAR - Improvements to many formats, especially including ISO9660 and Zip - Stackable write filters to write, e.g., tar.gz.uu in a single pass - Exploit seekable input; new "seekable" Zip reader can exploit the Zip Central Directory when it's available; the old "streamable" Zip reader is still fully supported for cases where seeking is not possible. Full release notes available at: https://github.com/libarchive/libarchive/wiki/ReleaseNotes
* Fix style in previous commit.jhb2012-02-241-3/+3
| | | | Submitted by: bde
* xargs: If a utility exits with 255 or a signal, write an error message.jilles2012-02-241-4/+7
| | | | | | | | If a utility called by xargs exits with status 255 or because of a signal, POSIX requires writing an error message. PR: 165155 Submitted by: Matthew Story matthewstory gmail com
* Add underscore symbol to the end of definition stringsosa2012-02-243-9/+9
| | | | | | | to keep all calendar files are consistency. Approved by: edwin MFC after: 1 week
* Pretty-print the advice constants passed to posix_fadvise(2).jhb2012-02-232-0/+10
| | | | MFC after: 2 weeks
* Add pt_BR.ISO8859-1 and pt_BR.UTF-8 directories to install.osa2012-02-231-1/+2
| | | | | | | It was forgotten in r219937 commit. Approved by: edwin MFC after: 1 week
* o Use ISO 3166 county code for Sweden.maxim2012-02-221-1/+1
| | | | | | PR: standards/165400 Submitted by: Carsten Hey MFC after: 1 week
* Handle NULL return from crypt(3). Mostly from DragonFlykevlo2012-02-224-7/+20
|
* Merge multi-FIB IPv6 support from projects/multi-fibv6/head/:bz2012-02-171-13/+16
| | | | | | | | | | | | Extend the so far IPv4-only support for multiple routing tables (FIBs) introduced in r178888 to IPv6 providing feature parity. This includes an extended rtalloc(9) KPI for IPv6, the necessary adjustments to the network stack, and user land support as in netstat. Sponsored by: Cisco Systems, Inc. Reviewed by: melifaro (basically) MFC after: 10 days
* Removed unused code: fixes compiler warning with CC=gcc46eadler2012-02-161-83/+0
| | | | | | | error: parameter 'fd' set but not used Approved by: cperciva MFC after: 1 week
* Don't extract the n_type value from the elf header, since it is never usedeadler2012-02-161-2/+0
| | | | | | | | Fix warning when compiling with gcc46: variable 'type' set but not used Approved by: cperciva MFC after: 3 days
* Remove unnecessary castkevlo2012-02-142-5/+5
|
* Fix write(1) to support wide characters.glebius2012-02-132-28/+17
| | | | | Submitted by: amdmi3 PR: bin/164317
* Globally replace u_int*_t from (non-contributed) man pages.ed2012-02-121-1/+1
| | | | | | | | | | | The reasoning behind this, is that if we are consistent in our documentation about the uint*_t stuff, people will be less tempted to write new code that uses the non-standard types. I am not going to bump the man page dates, as these changes can be considered style nits. The meaning of the man pages is unaffected. MFC after: 1 month
* Include target names in diagnostic output.fjoe2012-02-121-8/+15
| | | | Submitted by: Garrett Cooper
* And of course, I forgot to add -a to the usage.ed2012-02-111-1/+1
|
* Attempt to implement who -a.ed2012-02-112-22/+16
| | | | | | According to POSIX, -a is equal to -bdlprtTu. It seems this is not true in practice, as -b normally restricts the output to BOOT_TIME entries and all implementations that I know of don't.
* Reverting last change r231449 (fix bin/164947) due to concerns voicedcracauer2012-02-111-23/+3
| | | | | on src-committers and the fact that I can only take care of this in a week.
* Add myself to calendar.dmarion2012-02-111-0/+1
| | | | Approved by: cognet (mentor)
* Fix bin/164947: tee looses data when writing to non-blocking file descriptorscracauer2012-02-101-3/+23
| | | | | | | | tee was not handling EAGAIN patch submitted by Diomidis Spinellis <dds@aueb.gr>. Thanks so much reproduced and re-tested locally
* Add myself as a new committermatthew2012-02-091-0/+1
| | | | Approved by: shaun (mentor)
* In usr.bin/rpcgen/rpc_main.c, use execvp(3) instead of execv(3), sodim2012-02-061-8/+2
| | | | | | | | rpcgen will search the current PATH for the preprocessor. This makes it possible to run a preprocessor built during the cross-tools stage of buildworld. MFC after: 1 week
* Amend r231079 by properly shifting up the existing arguments indim2012-02-061-1/+1
| | | | | | | | rpc_main.c's insarg() function. I had forgotten to put this in my patch queue, sorry. Pointy hat to: me MFC after: 1 week
* Let rpcgen(1) support an environment variable RPCGEN_CPP to find the Cdim2012-02-062-31/+47
| | | | | | | | | | | | | | | | | | preprocessor to run. Previously, it always ran /usr/bin/cpp, unless you used the -Y option, and even then you could not set the basename. It also attempted to run /usr/ccs/lib/cpp for SVR4 compatibility, but this is obsolete, and has been removed. Note that setting RPCGEN_CPP to a command with arguments is supported, though the command line parsing is simplistic. However, setting it to e.g. "gcc46 -E" or "clang -E" will lead to problems, because both gcc and clang in -E mode will consider files with unknown extensions (such as .x) as object files, and attempt to link them. This could be worked around by also adding "-x c", but it is much safer to set RPCGEN_CPP to e.g. "cpp46" or "clang-cpp" instead. MFC after: 1 week
* Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,dim2012-02-0536-0/+4277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that builds the following additional llvm/clang tools: - bugpoint - llc - lli - llvm-ar - llvm-as - llvm-bcanalyzer - llvm-diff - llvm-dis - llvm-extract - llvm-ld - llvm-link - llvm-mc - llvm-nm - llvm-objdump - llvm-prof - llvm-ranlib - llvm-rtdyld - llvm-stub - macho-dump - opt These tools are mainly useful for people that want to manipulate llvm bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker with llvm and clang themselves. MFC after: 2 weeks
* In usr.bin/rpcgen/rpc_main.c, properly check the return value ofdim2012-02-051-3/+5
| | | | | | strlcpy(), in addition to checking that of strlcat(). MFC after: 1 week
* Whitespace fixes.ed2012-02-058-13/+1
| | | | | | - Remove redundant empty lines. - Replace ^L by \014. This allows you to safely cat/grep/etc this file without causing confusion.
* Remove useless and potentially dangerous rw() function which tries tojh2012-02-042-67/+8
| | | | | | | | | | update access and modification times by reading and writing the file. chmod(2) in rw() doesn't help because utimes(2) allow owner and the super-user to change times. Using just utimes(2) should be sufficient. The -f option becomes no-op. Reviewed by: jilles
* Print the owner process for unix domain sockets when restricted to thepluknet2012-02-031-8/+34
| | | | | | | specified files. PR: bin/143962 MFC after: 2 weeks
OpenPOWER on IntegriCloud