summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Replaced afterinstall: with equivalent FILES and SYMLINKS.ru2004-10-181-34/+33
|
* Modify behaviour of `xargs -I` in order to:cperciva2004-10-181-2/+2
| | | | | | | | | | | | | | | | | 1. Conform to IEEE Std 1003.1-2004, which state that "Constructed arguments cannot grow larger than 255 bytes", and 2. Avoid a buffer overflow. Unfortunately the standard doesn't indicate how xargs is supposed to handle arguments which (with the appropriate substitutions) would grow larger than 255 bytes; this solution handles those by making as many substitutions as possible without overflowing the buffer. OpenBSD's xargs resolves this in a different direction, by making all the substitutions and then silently truncating the resulting string. Since this change may break existing scripts which rely upon the buffer overflow (255 bytes isn't really all that long...) it will not be MFCed.
* getopt(3) prints an "unrecognized option" warning for me, so Ikientzle2004-10-171-1/+0
| | | | | | shouldn't print another. MFC after: 15 days
* Cosmetic goof: Use two spaces in "Jan 03 2004" but only one in "Jan 03 12:32"kientzle2004-10-171-1/+1
| | | | MFC after: 15 days
* Remove the obsolete <rune.h> interface.tjr2004-10-171-2/+0
|
* Use <runetype.h> instead of <rune.h> since the latter is going away.tjr2004-10-171-2/+2
|
* Remove explicit support for generating LC_CTYPE data files that specifytjr2004-10-172-8/+1
| | | | the obsolete "UTF2" encoding.
* Bump document datebrueffer2004-10-161-1/+1
| | | | Reminded by: simon in ru-mode
* We use /etc/pam.d/login nowadaysbrueffer2004-10-151-6/+3
|
* Make sure to return 0 from kernel_getnfile() since if there were angreen2004-10-051-0/+1
| | | | error, it would exit() (and it needs to return a value).
* Re-enable descending into the "atm" subdir.ru2004-10-051-1/+1
|
* Bump document date for last commit.simon2004-10-041-1/+1
| | | | Noticed by: ru
* PAM configuration is now in /etc/pam.d/su.simon2004-10-031-7/+4
| | | | | | Submitted by: Jilles Tjoelker <jilles@stack.nl> (original version) PR: docs/70616 (part of) MFC after: 1 week
* Use a proper prototype for hertz().stefanf2004-10-032-1/+3
|
* Pass an array of gid_t rather than an array of int to getgroups().stefanf2004-10-021-1/+2
| | | | PR: 56646
* Make -t <tty> optional. If not specified use stdin/stdout.emax2004-09-302-14/+35
| | | | | | | | | | | Document this. These changes make it possible to write something like set device "!/usr/bin/rfcomm_sppd -a BD_ADDR" inside the /etc/ppp/ppp.conf file. Very convenient for the users :) Submitted by: Konstantin Stepanenkov <kstepanenkov AT oilspace DOT com> MFC after: 3 days
* 1. Add much finer granularity to the NO_BIND knobs with the addition of:dougb2004-09-271-1/+1
| | | | | | | | | NO_BIND_DNSSEC, NO_BIND_ETC, NO_BIND_NAMED, and NO_BIND_UTILS. 2. Make creation of directories in /usr/include that are only needed in the WITH_BIND_LIBS case conditional. Reviewed by: ru, des
* Don't use an uninitialised variable when reading from a ktr alq file.julian2004-09-271-1/+1
|
* Per style.Makefile(5), don't define MAN if the only page installeddougb2004-09-263-6/+0
| | | | | | is ${PROG}.1 Reviewed by: ru
* Fix up the man file installation for the new BIND 9 sources:dougb2004-09-261-0/+2
| | | | | | | | 1. Install man files and links for the lwres library. 2. Fix the path in various files to say /etc/namedb/ instead of just /etc. 3. Correctly install the conf file man pages for named and rndc.
* Fix build in the !NOATM case by using the begemot library in place oftrhodes2004-09-241-3/+3
| | | | | | | | using libisc which was a part of BIND8. Discussed with: des, re, dougb Submitted by: harti (one part) Reviewed by: harti (previous version)
* Allow %' to be used as a format flag by printf(1). This makes itkeramida2004-09-241-1/+1
| | | | | | | | | | possible to print the thousands separator in the locale setups that have one, by something like this: $ env -i LC_NUMERIC=en_US.ISO8859-1 ./printf "%'0.2f\n" 12345 12,345.00 Reviewed by: das
* Don't expose BIND libraries and their headers to the public by default,ru2004-09-244-4/+8
| | | | | | | | | | | | | | | but have a knob (WANT_BIND_LIBS) to build and install them in /usr/lib and /usr/include. Rumors are that this may be useful at a later point, let's see. What this really means is that all BIND libraries are now internal to buildworld (by default, unless WANT_BIND_LIBS is defined), and linked statically into various BIND executables. While here, removed redundant -I's from CFLAGS in lib/bind makefiles. Sponsored by: des OK'ed by: dougb
* De-orbit more remnants of BIND 8.des2004-09-232-22/+0
| | | | Prodded by: ru@
* Clean up and comment config.mk. Centralize more stuff. Bitch ifdes2004-09-224-8/+8
| | | | | | | | POSIX threads libraries are not available. Add crypto support if the crypto libraries are available. Build dnssec-{keygen,signzone} if crypto is available. Submitted by: (in part) dougb@
* Switch from BIND 8 to BIND 9.des2004-09-215-17/+77
| | | | | | Submitted by: (in part) dougb@, trhodes@ Reviewed by: dougb@, trhodes@, re@ MFC after: 5 days
* Update copyright years.des2004-09-212-2/+2
|
* Fix a buffer overflow by using strncpy() instead of strcpy().das2004-09-191-4/+4
| | | | | | Also, use strdup() instead of malloc()/strcpy(). PR: 64164
* Place a function prototype correctly.ru2004-09-191-1/+1
| | | | Submitted by: Divacky Roman
* Add my birth date to our calendar.delphij2004-09-171-0/+1
| | | | Approved by: murray (mentor)
* Park my birthday truck in this free space.kwm2004-09-151-0/+1
| | | | Approved by: pav (mentor)
* Remove a bogus check that caused empty lines not to be counted when thetjr2004-09-141-1/+1
| | | | | | -c option was given. Noticed by: sf
* Fix build: s/mkunzip.8/mkuzip.8/marcel2004-09-121-1/+1
|
* Normalize the manpage.ru2004-09-111-20/+23
| | | | Reviewed by: sobomax
* Normalize the makefile.ru2004-09-111-2/+2
| | | | Reviewed by: sobomax
* o Print more info in the verbose mode;sobomax2004-09-101-31/+32
| | | | | | | | o use zlib(3) function which computes maximum length of the output buffer instead of rolling own version; o allow size of input file to be not multiple of cluster size by applying zero padding.
* Clarify/extend in several places and make sure that everything matches reality.sobomax2004-09-101-16/+32
|
* Bump WARNS level to 6.trhodes2004-09-101-0/+1
| | | | | Submitted by: keramida Tested on: i386, sparc64 (panther)
* Add mkuzip(8), non-GPL utility to compress filesystem images for use withsobomax2004-09-104-0/+356
| | | | | | | | | | | | | | geom_uzip module. This is based on utility I wrote some 3 years ago for a hack for md(4), which functionally was close to what geom_uzip does today. Since I don't have a time to test that it compiles/works on other arches, stick it to i386 only. Will do it later. Unlike original cloop util, this one embedds FreeBSD-compatible shell code into the generated image, not Linux one. Unfortunately severe space restriction imposed by the CLOOP format doesn't allow to put conditional code which will work both on Linux and FreeBSD. In fact it was quite a challenge to fit necessary FreeBSD code into 127 bytes. ;-)
* Improve markup and language.dd2004-09-071-1/+3
|
* remove XXX comment now that the kernel is fixed, there isn't any obviousjmg2004-09-061-1/+1
| | | | | | reason to enable this as performance didn't significantly change... MFC after: 3 days
* Fix Quad handling on 64-bit architectures. On 64-bit machines, a Quadmarcel2004-09-051-22/+17
| | | | | | | | | | | | also occupies a single slot. There's no need for any special handling of Quads. While here, remove the silly make_quad() function. We have the 2 longs on 32-bit machines already lined up in the argument array, so we can fetch the Quad with a simple cast. Before: lseek(1,0x123456789,0xd0d0d0d0d0d0d0d0) = 4886718345 (0x123456789) After: lseek(1,0x123456789,SEEK_SET) = 4886718345 (0x123456789)
* Update doc dates.alfred2004-09-031-1/+1
| | | | Pointed out by: ru
* xref and give a hint as to what procctl can be used for.alfred2004-09-031-1/+7
|
* Make -C and -T work correctly together.kientzle2004-08-281-4/+5
| | | | | MFC after: 3 days Thanks to: Guy Helmer
* Document the -O option's new behavior in the presence of -t.kientzle2004-08-271-2/+4
| | | | MFC after: 3 days
* Support -t -O as in gtar. Perversely enough, -O means "send to stderr"kientzle2004-08-272-11/+16
| | | | | | | when used with -t, "send to stdout" when used with -x. Thanks to: Ryan Hamilton for pointing out this odd beast MFC after: 3 days
* The check for r_flag was accidentally removed in the previous commit.des2004-08-261-1/+1
| | | | | Submitted by: SANETO Takanori <sanewo@ba2.so-net.ne.jp> MFC after: 3 days
* Permit -P to be combined with -t. (It's a no-op then, just as in gtar.)kientzle2004-08-261-2/+0
|
* Backout recent -j changes, the flags is deprecated.maxim2004-08-262-6/+4
| | | | Requested by: tjr
OpenPOWER on IntegriCloud