OpenBSD CVS

CVS log for src/usr.bin/xinstall/install.1


[BACK] Up to [local] / src / usr.bin / xinstall

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Fri Feb 8 12:53:44 2019 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, HEAD
Changes since 1.30: +9 -23 lines
Diff to previous 1.30 (colored)

Fix a race condition: do not unlink(2) a file and then open(2) it
with O_CREAT|O_EXCL; instead, always create it with a temporary name,
then rename(2) it into place atomically.  For example, the race caused
failures in parallel builds that (foolishly) install the same file twice.

This patch makes the -S option a no-op,
making install(1) always behave like -S used to.

Based on a minimally different patch
from Lauri Tirkkonen <lotheac at iki dot fi>,
and including a manual page tweak from deraadt@.

OK deraadt@; "seems the right thing to do" tedu@.

Revision 1.30 / (download) - annotate - [select for diffs], Fri May 13 17:51:15 2016 UTC (8 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

spelling and usage() fixes;

Revision 1.29 / (download) - annotate - [select for diffs], Fri May 13 04:32:50 2016 UTC (8 years ago) by tedu
Branch: MAIN
Changes since 1.28: +3 -2 lines
Diff to previous 1.28 (colored)

-F is nonstandard as well. from Caspar Schutijser

Revision 1.28 / (download) - annotate - [select for diffs], Thu May 12 21:43:27 2016 UTC (8 years ago) by millert
Branch: MAIN
Changes since 1.27: +9 -3 lines
Diff to previous 1.27 (colored)

Add -F option to install(1) that calls fsync(2) on the installed
file right before closing it.  OK tedu@ phessler@

Revision 1.27 / (download) - annotate - [select for diffs], Mon Feb 1 15:54:58 2016 UTC (8 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

missing word; from jan stary

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jul 18 14:32:36 2015 UTC (8 years, 10 months ago) by jasper
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.25: +6 -3 lines
Diff to previous 1.25 (colored)

add -D to create the full destination path before installing the source into it

ok millert@

Revision 1.25 / (download) - annotate - [select for diffs], Wed Sep 29 07:44:57 2010 UTC (13 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.24: +4 -5 lines
Diff to previous 1.24 (colored)

various EXIT STATUS fixes; from Daniel Dickman

Revision 1.24 / (download) - annotate - [select for diffs], Mon Mar 16 22:48:18 2009 UTC (15 years, 2 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.23: +3 -4 lines
Diff to previous 1.23 (colored)

improve spacing in synopsis.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Aug 6 19:16:06 2007 UTC (16 years, 9 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

the ellipsis is not an optional argument; while here, sync the usage
and synopsis of commands

lots of good ideas by jmc@

ok jmc@

Revision 1.22 / (download) - annotate - [select for diffs], Thu May 31 19:20:20 2007 UTC (16 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

convert to new .Dd format;

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 10 07:33:23 2004 UTC (20 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.20: +23 -28 lines
Diff to previous 1.20 (colored)

- sort options
- simplify SYNOPSIS
- note that files are copied, not moved (from couderc@)

Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 6 22:21:10 2004 UTC (20 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.19: +29 -26 lines
Diff to previous 1.19 (colored)

- options description cleanup
- 10x not 6 for mkstemp(3)

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 10 09:12:13 2003 UTC (20 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.18: +10 -10 lines
Diff to previous 1.18 (colored)

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:24 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.17: +2 -6 lines
Diff to previous 1.17 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Apr 25 14:53:03 2003 UTC (21 years ago) by jmc
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

add missing .El's for .Bl macros;

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 23 14:31:19 2003 UTC (21 years, 4 months ago) by avsm
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

'conjunction' typos

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 3 16:03:02 2001 UTC (22 years, 9 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

o) We always closes .Bl and .Bd tags;

millert@ ok

Revision 1.14 / (download) - annotate - [select for diffs], Tue May 1 17:58:05 2001 UTC (23 years ago) by aaron
Branch: MAIN
Changes since 1.13: +1 -3 lines
Diff to previous 1.13 (colored)

Remove completely redundant introductory sentences in ENVIRONMENT sections.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jun 3 23:13:19 2000 UTC (23 years, 11 months ago) by ericj
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

correct documented return value

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 23 21:39:56 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

More pedantic man page formatting insanity, lalala

Revision 1.11 / (download) - annotate - [select for diffs], Tue Mar 14 14:58:27 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
Changes since 1.10: +30 -19 lines
Diff to previous 1.10 (colored)

Finish off cleanup usr.bin/ man pages.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Oct 17 20:35:48 1999 UTC (24 years, 7 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Remove some redundant .Pp.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 5 01:21:51 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.8: +8 -8 lines
Diff to previous 1.8 (colored)

- remove trailing white space
- remove arguments from .Os macros
- remove arguments from .Nm macros, where appropriate
- some more Dq/Sq/Ql insanity
- still lots to do in the usr.bin tree... :/

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 26 04:09:35 1999 UTC (25 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.7: +28 -5 lines
Diff to previous 1.7 (colored)

Add a -b(ackup) flag to move any existing file(s) aside by renaming
them to file.old instead of simply deleting them. A different backup
suffix may be chosen with the -B option's argument.  hubertf@netbsd.org

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 11 23:01:51 1998 UTC (25 years, 6 months ago) by aaron
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

remove redundant .Pp macros

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 30 00:24:44 1998 UTC (25 years, 6 months ago) by aaron
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

usr.bin/ man page fixes, t-z

Revision 1.5 / (download) - annotate - [select for diffs], Thu Apr 17 19:13:55 1997 UTC (27 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.4: +14 -3 lines
Diff to previous 1.4 (colored)

Add support for STRIP environment variable to specify where strip(1)
lives.  Idea from NetBSD.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Aug 8 20:49:27 1996 UTC (27 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Fixed usage sumary and order of args in man page to be consistent.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 5 01:18:42 1996 UTC (27 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.2: +56 -12 lines
Diff to previous 1.2 (colored)

Adds -C, -p, and -S flags.  Based on FreeBSD changes but heavily
modified.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:44:04 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:47:00 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:47:00 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.