summaryrefslogtreecommitdiffstats
path: root/usr.bin/xinstall
Commit message (Collapse)AuthorAgeFilesLines
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Document the STRIPBIN environment variable. This includes adding amarcel2004-06-111-0/+12
| | | | | | forward reference from where strip(1) is being mention (-s option). PR: bin/28620
* Improved incorrect usage diagnostics.ru2004-03-171-2/+6
|
* Trust bsd.prog.mk to set SRCS correctly.ru2004-03-171-1/+0
|
* GC unnecessary include file.ru2004-03-172-38/+0
|
* - Demangle usage().ru2004-02-071-10/+9
| | | | - Require the "directory" argument with the -d option.
* Since (x)install is pretty unhelpfull and just spits out a Usagephk2003-07-111-12/+13
| | | | | | | for a lot of unrelated error conditions, at least report the line number where it bailed. Don't use multiline string literals for Usage, gcc 3.3 doesn't like them.
* Migrate to a new way of dealing with building from old revisions ofimp2003-04-051-7/+0
| | | | | | | | | | | | | | | | | FreeBSD. This method attempts to centralize all the necessary hacks or work arounds in one of two places in the tree (src/Makefile.inc1 and src/tools/build). We build a small compatibility library (libbuild.a) as well as selectively installing necessary include files. We then include this directory when building host binaries. This removes all the past release compatibilty hacks from various places in the tree. We still build on tip of stable and current. I will work with those that want to support more, although I anticipate it will just work. Many thanks to ru@, obrien@ and jhb@ for providing valuable input at various stage of implementation, as well as for working together to positively effect a change for the better.
* Uniformly refer to a file system as "file system".ru2002-12-121-2/+2
| | | | Approved by: re
* If both the unlink and the open fail, return the errno from thefenner2002-11-301-2/+8
| | | | | | | | unlink (very likely EPERM), since the errno from the open might be a confusing ETXTBSY. Approved by: re MFC After: 1 week
* #include <sys/time.h> instead of depending on namespace pollution inbde2002-11-301-0/+1
| | | | | | <sys/stat.h> for the declaration of struct timeval. Approved by: re (rwatson)
* A little bit of anti-foot-shooting. Use utimes(2) rather thanpeter2002-11-151-8/+11
| | | | | | | | | the deprecated utime(3). utimes(2) uses timeval, but utime(3) uses time_t's. If you do bad things (like I did) by mixing up include files with libc, then install can do strange things if you mismatch the time_t stuff. utime() is emulated entirely within libc. Approved by: re (jhb)
* Take __FreeBSD_version into account when BOOTSTRAPPING.ru2002-11-131-1/+3
|
* Document the new behavior of -C with respect to inode-change-time.ru2002-10-311-2/+4
| | | | Document that -p also preserves the access time of the source.
* Do not change the target file's inode-change-time if -C isru2002-10-311-3/+5
| | | | | | specified, the target file already exists and the files are the same, and the target's file flags and mode need not to be changed.
* ANSIify function definitions.dwmalone2002-09-041-30/+13
| | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
* Ignore -C, -p, and -S options of install(1) when used with the -dru2002-07-291-1/+1
| | | | | | | option. Warn about COPY being phased out. Restore the old method of always comparing before installing: INSTALL="install -C". Requested by: bde
* Start the (overdue) de-orbit sequence for the -d -C combo,ru2002-06-051-8/+1
| | | | | | as was promised in revision 1.43. MFC after: 1 month
* More consistancy. file system > filesystemtrhodes2002-05-161-2/+2
|
* Report errors properly if wait() fails.fanf2002-05-151-1/+2
| | | | | | PR: 30543 Approved by: dwmalone (mentor) MFC after: 3 weeks
* Fixed 5 style bugs in VCS ids.bde2002-05-121-5/+7
|
* Fixed printing the the strip binary's name in error messages.bde2002-05-121-1/+1
|
* Add support for stripping non-native object files by using anmarcel2002-05-111-1/+5
| | | | | | environment variable that specifies the name of the strip(1) program to use. The envvar is "STRIPBIN". The more natural choice would be "STRIP", but that one is taken already.
* Use `The .Nm utility'charnier2002-04-201-2/+4
|
* No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1.ru2002-04-091-3/+0
|
* remove __Pimp2002-03-221-10/+10
|
* Bump the cutoff mark for comparing files from 8 MB to 16 MB.des2002-03-181-1/+3
|
* Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.markm2002-02-081-1/+0
|
* xinstall is part of the upgrade path for 4.4-RELEASE as well.imp2001-12-191-0/+2
| | | | | | Do the usualy ifdef trick here. Reported by: dworkin muller <addr-removed> and faried nawaz <fn@hungry.com>
* More "const" poisoning, and only use NO_WERROR if we're bootstrapping.ru2001-12-122-23/+22
|
* WARNS=2, use __FBSDID(), set NO_WERROR, as there are "dirty" files usedmarkm2001-12-112-16/+19
| | | | during the bootstrap phase.
* This program uses sysexits(3), so it does not exit 1 on failure.dd2001-10-231-3/+1
| | | | PR: 31415
* When bootstrapping install(1), libc may not have the strtofflags(3) support.ru2001-09-171-0/+6
|
* Update -v documentation to match reality.ru2001-08-211-4/+3
| | | | Spotted by: bde
* Fix the type of the NULL arg to execl()brian2001-07-091-1/+1
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Note that the default behavior has changed to copy files.ru2001-05-301-9/+11
| | | | | | Also, fix markup in the SYNOPSIS. Submitted by: dougb
* Backout rev. 1.42 (relaxing the check for -d plus other flags).ru2001-05-301-1/+8
| | | | | | | Instead, issue a warning for now if -d and -C options are used together. This will be turned into an error before 4.5-RELEASE. Reviewed by: imp
* Use use ${INSTALL} -d in our build process. If INSTALL is set toimp2001-05-291-1/+1
| | | | | "install -C" then things will fail due to new checks. Relax the checks so that install -C -d works again.
* Many new features and optimization improvements:ru2001-05-282-292/+377
| | | | | | | | | | | o New flags: -b and -B (backup) o New flag: -S (safe copy; aka "atomic" install) o The -c flag is now the default. o The -D flag was withdrawn. Reviewed by: bde (up to some point) Obtained from: OpenBSD but heavily modified MFC after: 1 month
* Do not override `realinstall' target, use ${PROGNAME}.ru2001-04-021-6/+3
|
* Do not override the ``install'' target.ru2001-03-271-1/+1
|
* MAN[1-9] -> MAN.ru2001-03-271-2/+1
|
* Prepare for mdoc(7)NG.ru2000-12-191-0/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-4/+4
|
* Use the correct timestamp for the -C -p case when the comparison fails.bde2000-10-081-2/+2
| | | | | A garbage timestamp was used for at least installing /dev/null with -C -p when the target doesn't already exist.
* Switch over to using the new fflagstostr and strtofflags library calls.joe2000-06-172-3/+2
|
* Add DIAGNOSTICS section namecharnier2000-03-261-3/+4
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-2/+4
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Revert part of the last commit, remove {g|s}etflags from the libcjoe2000-02-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | interface, and statically link them to the programs using them. These functions, upon reflection and discussion, are too generically named for a library interface with such specific functionality. Also the api that they use, whilst ok for private use, isn't good enough for a libc function. Additionally there were complications with the build/install-world process. It depends heavily upon xinstall, which got broken by the change in api, and caused bootstrap problems and general mayhem. There is work in progress to address future problems that may be caused by changes in install-chain tools, and better names for {g|s}etflags can be derived when some future program requires them. For now the code has been left in src/lib/libc/gen (it started off in src/bin/ls). It's important to provide library functions for manipulating file flag strings if we ever want this interface to be adopted outside of the source tree, but now isn't necessarily the right moment with 4.0-release just around the corner. Approved: jkh
* Historically file flags (schg, uschg, etc) have been converted fromjoe2000-01-272-4/+1
| | | | | | | | | | | | | | | | | string to u_long and back using two functions, flags_to_string and string_to_flags, which co-existed with 'ls'. As time has progressed more and more other tools have used these private functions to manipulate the file flags. Recently I moved these functions from /usr/src/bin/ls to libutil, but after some discussion with bde it's been decided that they really ought to go in libc. There are two already existing libc functions for manipulating file modes: setmode and getmode. In keeping with these flags_to_string has been renamed getflags and string_to_flags to setflags. The manual page could probably be improved upon ;)
OpenPOWER on IntegriCloud