summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix some NLS catalogs broken after r245888.antoine2013-02-091-1/+1
|
* patch: Follow original versioning convention.pfg2013-02-081-1/+1
| | | | | | | | | According to the README file [1] the 12u variant, unlike the 12g variant, contains no copyleft code. It is therefore convenient to keep using the original versioning scheme to prevent confusions. [1] http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/patch/README
* Print a warning if not setuid root.des2013-02-082-3/+13
| | | | | | | | | Document the need for the setuid bit and how to set it. Explain why it isn't set by default, and suggest simply adding users to groups instead. PR: docs/167741 MFC after: 3 weeks
* Missed adding Makefile.config and unit-tests/Makefile shouldsjg2013-02-042-0/+23
| | | | | | allow FreeBSD make to do 'obj'. Approved by: marcel (mentor)
* Cast *tabchar, a wchar_t, to a wint_t as it is the type the %lc printfandrew2013-02-041-1/+1
| | | | | format string expects. This is only an issue on ARM EABI where wint_t is different to wchar_t.
* Pull in r170135 from upstream clang trunk:dim2013-02-021-6/+16
| | | | | | | | | | | | | | | | Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user specifies not to. Dont build ASTMatchers with Rewriter disabled and StaticAnalyzer when it's disabled. Without all those three, the clang binary shrinks (x86_64) from ~36MB to ~32MB (unstripped). To disable these clang components, and get a smaller clang binary built and installed, set WITHOUT_CLANG_FULL in src.conf(5). During the initial stages of buildworld, those extra components are already disabled automatically, to save some build time. MFC after: 1 week
* Merge bmake-20130123sjg2013-02-013-130/+94
| | | | Approved by: marcel (mentor)
* When in -U mode do avoid setting SUID bits, but do not modify the modebrooks2013-01-311-3/+2
| | | | | | variable so the intended mode can be logged correctly if -M is specified. Sponsored by: DARPA, AFRL
* - Refresh code with latest OpenBSD revisions.delphij2013-01-2914-87/+71
| | | | | | | | | - Remove $DragonFly$ tags as they are using git nowadays and VCS tags will not help merging. - Other changes to Copyright headers to make them consistent with other source code, we intend to fork from this point. Reviewed by: pfg
* - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) fromgabor2013-01-2915-0/+4946
| | | | | | | | DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch as gnupatch. Submitted by: pfg Obtained from: The DragonflyBSD Project
* - Show page faults requiring I/O when -s invoked.zont2013-01-281-0/+3
| | | | | Reviewed by: alc MFC after: 2 weeks
* - Show page faults requiring I/O on vmstat display.zont2013-01-281-36/+40
| | | | | Reviewed by: alc MFC after: 2 weeks
* - Remove forgotten commented out debug codegabor2013-01-271-15/+0
| | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reviewed by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* - Simplify and unify diagnostic and error message handlinggabor2013-01-271-12/+8
| | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reviewed by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* truss: use 'e' flag for fopen instead of fcntl(.., FD_CLOEXEC)mjg2013-01-271-7/+4
|
* truss: if file requested with -o flag could not be opened print the reasonmjg2013-01-271-1/+1
| | | | MFC after: 3 days
* Fix style nit in dtc man page: sentences should start on new lines.theraven2013-01-251-58/+86
| | | | Reported By: joel
* Install the NLS catalog in the C directory rather than en_US.US-ASCIIbrooks2013-01-241-1/+1
| | | | | which is a link to C. This allow the makefs mtree manifest mode to find the file.
* Explicitly include headers that are implicitly included by libstdc++. Fixestheraven2013-01-236-4/+24
| | | | building dtc with libc++.
* Remove documentation of the old -M option.brooks2013-01-221-5/+2
| | | | Sponsored by: DARPA, AFRL
* Remove EOL whitespace.joel2013-01-221-11/+11
|
* Minor mdoc fixes.joel2013-01-221-4/+2
|
* Fix the missing sentence that ended in the middle in the man page for dtc (alsotheraven2013-01-221-1/+4
| | | | spotted by gavin).
* Fix logic error in explicitly specified dtb versions spotted by gavin.theraven2013-01-221-1/+1
|
* Use pluralies() for "entry"/"entries".glebius2013-01-221-1/+1
|
* Import new (BSDL) device tree compiler. Now built by default, so that it can'ttheraven2013-01-2215-0/+5061
| | | | | | | | | | be used on the host system (and not installed on the device, if required). The GPL'd one is still available if there are any devices that need it (make universe passes with it, including kernels that use fdt, but there may be some out-of-tree ones). WITH_GPL_DTC can be used to select the old one, for now. Probably won't be MFC'd, but we'll remove the GPL'd version in head after the new one has had a lot more testing and ship it in 10.0.
* Make "install -l s[ar]" act like "ln -sfh" as intended. This fixesbrooks2013-01-221-1/+14
| | | | | installation of symbolic links where the target is a link is to an existing directory.
* When copying the complement of the string loop to WINT_MAX as we are dealingandrew2013-01-221-1/+2
| | | | | with a wint_t. WINT_MAX and WCHAR_MAX are the same on most architectures except ARM EABI where wint_t is signed and wchar_t is unsigned.
* - Avoid unnecessary strdup()gabor2013-01-201-2/+2
| | | | | Submitted by: ache MFC after: 5 days
* Remove EOL whitespace.joel2013-01-191-2/+2
|
* - Move 'showthreads' check out of fmt.c.jhb2013-01-191-4/+3
| | | | | - Update shadow copy of fmt_argv() prototype in w.c and fix calls for additional parameter.
* Set showthread = 0 for w(1).delphij2013-01-181-0/+1
| | | | X-MFC: together with r245610
* Introduce six new options from NetBSD:brooks2013-01-183-53/+733
| | | | | | | | | | | | | | | | | | * -M <metalog> Log metadata in mtree format. * -D <destdir> Log paths relative to <destdir>. * -h <hash> Log digest of type <hash>. * -T <tags> Specify which mtree tags to log. * -l <linkflag> Create hard or symbolic links (allows logging). * -U Install without root privileges (owner, group, mode, and flags can be logged via -M NOTE: In the interest of compatibility with NetBSD and because it is the obvious letter, the nearly useless -M option (disable mmap) has been repurposed. Sponsored by: DARPA, AFRL Obtained from: NetBSD Reviewed by: bz
* Remove default support for 1aout section manpages. There haven't beenbrooks2013-01-162-2/+2
| | | | any since at least July 2002.
* Add myself as a port committer (with eadler@ and bdrewery@ as mentors).dbn2013-01-151-0/+1
| | | | | | While in the repository, add myself to calendar.freebsd. Approved by: eadler/bdrewery (mentor)
* Remove stray tabs.jlh2013-01-141-2/+2
| | | | | | Submitted by: kib Approved by: kib (mentor) MFC after: 1 week
* Allow commands without any additional arguments, as stated in thejlh2013-01-141-2/+2
| | | | | | | | | manpage. While here, exit early when there is nothing to do. PR: 168415 Submitted by: Zhihao Yuan (initial version) MFC after: 1 week Approved by: kib (mentor)
* procstat: only one mode flag can be specified, but required check for 'i'mjg2013-01-121-2/+2
| | | | | | and 'j' modes was missing. Fix that. MFC after: 3 days
* Implement the -N <dbdir> option which allows an alternate passwd andbrooks2013-01-113-30/+61
| | | | | | | | | group file to be used. This is useful for installing on systems where a user or group does not currently exist. Sponsored by: DARPA, AFRL Obtained from: NetBSD MFC after: 5 days
* Use calloc() to get zeroed memory.delphij2013-01-081-3/+2
| | | | MFC after: 1 month
* Following r226271, allow disabling lzma support with "WITHOUT_LZMA_SUPPORT".obrien2013-01-082-5/+19
| | | | | | Correct r226271 which should have used WITHOUT_BZIP2_SUPPORT per r166255. Obtained from: Juniper Networks
* Fix a signed/unsigned comparison when wchar_t is unsigned by casting theandrew2013-01-061-1/+1
| | | | wchar_t to a wint_t.
* Fix a segfault when bsdgrep -i is given an empty pattern string.markj2013-01-051-1/+1
| | | | | | | PR: bin/172865 Reviewed by: gabor Approved by: emaste (co-mentor) MFC after: 1 week
* - Fix handling of the case when multiple patterns are specified in a singlegabor2013-01-051-2/+12
| | | | | | | | command line argument, separated by newlines PR: bin/173673 Submitted by: ache MFC after: 1 week
* Follow calloc convention in other code, this is functionally identicaldelphij2013-01-051-1/+1
| | | | to its previous form.
* Constify arguments. While I'm there, also add a static for usage().delphij2013-01-041-3/+3
| | | | MFC after: 2 weeks
* Add missing DPADD.antoine2013-01-011-0/+1
|
* - Use BN_set_negative() and BN_is_negative() instead of subtracting orkevlo2012-12-303-42/+66
| | | | | | | comparing to zero. - Fix fractional number exponentiation, especially for negative exponents. Obtained from: OpenBSD
* Upgrade our copy of llvm/clang to 3.2 release.dim2012-12-231-4/+4
| | | | | | | | | | Release notes for llvm: http://llvm.org/releases/3.2/docs/ReleaseNotes.html Release notes for clang: http://llvm.org/releases/3.2/tools/clang/docs/ReleaseNotes.html MFC after: 2 weeks
* Make struct fstate aligned to the same as an int as its pointer is cast toandrew2012-12-221-1/+1
| | | | | an int pointer in args.c. This fixes an issue with ARM where the struct will be byte aligned but an int pointer must be 4 byte aligned.
OpenPOWER on IntegriCloud