summaryrefslogtreecommitdiffstats
path: root/usr.bin/xinstall
Commit message (Collapse)AuthorAgeFilesLines
...
* When calling strip, temporarily close the file, call strip and thenpeter1997-09-141-2/+10
| | | | | | | | reopen it after strip has finished. This makes it work when /usr/bin/strip replaces the file rather than doing an in-place edit (such as the binutils-2.8 strip, which is a variation of objcopy). This is necessary if install(1) and strip(1) are going to cooperate on an ELF system.
* Uncomment sccsid string and enclose it inside #if 0/#endif.charnier1997-08-272-10/+11
| | | | Cosmetic in man page.
* Bootstrap aid from older releases.. 'make world' can't build xinstallpeter1997-05-241-1/+6
| | | | | | | | until the includes are installed, and it doesn't install the includes until xinstall is built (the previous xinstall binary may not have -C). As a bandaid, define MAP_FAILED ourselves if <sys/mman.h> didn't. Perhaps it would be safer to simply disable mmap if all the prerequisites are not there.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Sweep through the tree fixing mmap() usage:alex1997-01-161-5/+5
| | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sync usage line to man page, per style(9).imp1996-10-011-3/+4
| | | | Pointed out by: Bruce Evans <bde@zeta.org.au>
* Submitted by: Bruce Evansimp1996-09-291-5/+5
| | | | | | Remove -S for the install usage message Make the install usage message < 80 columns wide Place the dodir declaration in order.
* Implement -d in install. Update the man page to reflect this change.imp1996-09-292-12/+73
|
* Use EX_* exit values, from NetBSDimp1996-09-281-5/+9
|
* Changed 'd' to 'D' in getopt arg too.bde1996-09-241-2/+2
|
* Per discussions in -currentimp1996-09-242-5/+5
| | | | | | | | - Change the debug flag from -d to -D to avoid conflict with other install programs. - Update man page to reflect this - Update usage string -d meaning creat directory is specifically not implemented by these changes.
* Be more careful with mmap. If it fails, fall back to a plain compare orpeter1996-09-051-11/+27
| | | | | | | | | copy. Dont leave stray INS@xxxx temp files around, especially when installing something less than 8MB and the destination runs out of space, etc. It still doesn't clean up the temp files on SEGV or other signals etc.
* accidently removed the "dont compare > 8MB files hack".peter1996-09-051-33/+39
| | | | didn't rewind the files after the read()s in the non-mmap compare.
* Only attempt to mmap() files from a ufs or cd9660 fs for comparing orpeter1996-09-051-4/+45
| | | | | | | | installing. mmap'ing stuff over a nfs mount took out my machine during a 'make world' last night while I was asleep. I started out with a list of fs's to avoid, when I realised that I really didn't know which ones were safe with mmap, so I went for the ones I knew and implemented a fallback compare.
* Add a simple -v (verbose) option that allows you to see when -C actuallypeter1996-08-121-5/+12
| | | | | | | | | | installs something. This is not 100% right, since it has a false hit when install -C snaps hard links. Also, run strip(1) from the $PATH, otherwise you need a special version of install to install (say) elf binaries which have a different strip. With JDP's elfkit, the layout of the path determines which binary format you are generating.
* Made strip failures fatal. This fixes PR 1328.bde1996-06-231-2/+4
|
* Don't reference NULL pointers if owner and/or group are omitted.joerg1996-04-081-3/+5
| | | | Pointed out by: somebody on the mailing list who's name i forgot
* Submitted by: archie@tribe.comjulian1996-04-062-6/+78
| | | | | | allow the user to install using a Numeric GID or UID. this brings it in to line with chgrp and chown, ans is required by some people using FreeBSD in a product.
* Fix a couple of typos.mpp1996-03-111-3/+3
| | | | Submitted by: Philippe Charnier <charnier@limrr.fr>
* Kludge-fix for a specific instance of bin/517.pst1996-02-081-3/+3
| | | | | | | The real fix requires changes to getpwent(3) and friends and getgrent(3) and friends. Submitted by: Tim Wilkinson
* Fix a bunch of spelling errors in a bunch of man pages.mpp1996-01-301-3/+3
|
* Add options -C (same as -c except for preserving the modificationbde1995-10-092-78/+265
| | | | | | | | | | | | time of the target if the target file is the same as the source), -d (debug), and -p (same as -C except for preserving the modification time of the source if the target doesn't exists or is different from the source. Use library err() functions instead of our own and pass them better exit codes. Submitted by: wollman (and changed a lot by me)
* Backed out change in rev 1.2.dg1995-08-271-1/+1
|
* Make install not remove the target file if -s has been specified butjoerg1995-08-041-1/+1
| | | | | | | | | stripping failed (since the file has been a shell script, for example). Closes PR # bin/645: "install -c -s" can't inst... Submitted by: hohmuth@inf.tu-dresden.de (Michael Hohmuth)
* Change `install' to `${INSTALL}' so that default install flags can bebde1995-07-251-1/+1
| | | | specified in the top level Makefiles.
* Reviewed by:ats1994-09-041-1/+1
| | | | | | | Submitted by: Get the man page installed. Does anyone know the reason for the name xinstall instead of install for this directory ? Would life more easy to get this whole thing under install.
* More merry makefile munging for man page compatability.wollman1994-08-051-1/+1
|
* Add ${COPY} on install command so that the file in obj doesrgrimes1994-05-311-1/+1
| | | | not get removed when running make install.
* Cleanup so that make install can run, many install: maninstall changedrgrimes1994-05-301-1/+1
| | | | to just install:, sperious targets and CLEANFILES removed.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-274-0/+530
OpenPOWER on IntegriCloud