| #
1.49 |
|
05-Aug-2025 |
charlotte |
install.1: Grammar fixups
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| #
1.48 |
|
10-May-2024 |
wiz |
nstall(1): add support for -v
Reviewed by rillig@ and thorpej@, thanks!
|
|
Revision tags: netbsd-10-1-RELEASE netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base yamt-pagecache-base5 yamt-pagecache-base4
|
| #
1.47 |
|
08-Apr-2012 |
wiz |
Remove unnecessary Bk/Ek pairs from SYNOPSIS. No effective change except where I used the opportunity to sort options and/or option descriptions.
|
| #
1.46 |
|
22-Mar-2012 |
wiz |
Fix whitespace nits. Suggested by Bug Hunting.
|
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
| #
1.45 |
|
14-May-2010 |
joerg |
branches: 1.45.6; Reorder sections to canonical order. Use .Ex -std.
|
|
Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
| #
1.44 |
|
01-May-2009 |
wiz |
Bump date for previous.
|
| #
1.43 |
|
01-May-2009 |
apb |
Add support for writing sha256, sha384, and sha512 digests to a metalog. mtree(8) has supported these for a long time.
|
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base chap-midi-nbase netbsd-3-0-1-RELEASE chap-midi-base netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
| #
1.42 |
|
29-Jan-2004 |
wiz |
branches: 1.42.42; Drop trailing space.
|
| #
1.41 |
|
29-Jan-2004 |
lukem |
Implement -h {none,md5,rmd160,sha1} to determine the appropriate hash (digest) when copying a file to store in the -M METALOG.
|
| #
1.40 |
|
27-Jan-2004 |
lukem |
now that -c is the default, use "copy" instead of "move"
|
| #
1.39 |
|
29-Dec-2003 |
simonb |
Make "copy the file" (the -c option) the default behaviour. The -c option is kept for backwards compatibility but now has no effect.
Patch from Bruce Nourish in PR bin/23874, with some minor changes by me.
|
| #
1.38 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
| #
1.37 |
|
24-May-2003 |
jmmv |
Use ; instead of , in a sentence (and fix case of next word).
|
| #
1.36 |
|
25-Feb-2003 |
wiz |
.Nm does not need a dummy argument ("") before punctuation or for correct formatting of the SYNOPSIS any longer.
|
|
Revision tags: fvdl_fs64_base
|
| #
1.35 |
|
23-Dec-2002 |
wiz |
Add a missing word.
|
| #
1.34 |
|
22-Dec-2002 |
lukem |
Implement '-D destdir'; if '-M metalog' is being used, remove a leading `destdir' from the file name logged to the metalog. The -D option has no effect on where the actual files are installed.
|
| #
1.33 |
|
19-Dec-2002 |
wiz |
Drop trailing whitespace.
|
| #
1.32 |
|
19-Dec-2002 |
lukem |
Add '-N dbdir', to specify that user & group lookups are to be done from dbdir/master.passwd and dbdir/group, using simple text file parsing routines from ../../usr.sbin/mtree/getid.c.
|
| #
1.31 |
|
30-Sep-2002 |
grant |
New sentence, new line.
|
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
| #
1.30 |
|
19-Mar-2002 |
lukem |
- Add "-a afterinstallcommand", which runs "sh -c afterinstallcmd target" after target has been installed and possibly stripped with -s, but before ownership, permissions or timestamps are set, and before renaming (with -r) occurs. Per discussion with simonb. - When metalogging hardlinks, log the mode of the existing target (rather than the default 0755), and ignore owner/group/fflags. - Improve man page description of various options to include argument name. - Clean up usage() to use getprogname(), etc.
|
| #
1.29 |
|
08-Feb-2002 |
ross |
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
|
| #
1.28 |
|
08-Dec-2001 |
wiz |
Punctuation nit.
|
| #
1.27 |
|
01-Dec-2001 |
wiz |
Whitespace cleanup.
|
| #
1.26 |
|
25-Oct-2001 |
lukem |
Add '-T tags', to specify mtree(8) tags to be written out to the '-M metalog' for the current entry. Concept suggested by Perry Metzger.
|
| #
1.25 |
|
11-Oct-2001 |
lukem |
- Implement "-M log", which appends the metadata associated with the installed file or directory to `log'. This is primarily designed to be used in conjunction with -U, but that's not mandatory. Provide metadata_log() to do the hard work. The log file is opened for append at the start, and flock(LOCK_EX) is used to prevent interleaved output (from multiple concurrent install(8) operations). - Improve parsing of owner and groups (e.g., strtoul() instead of atoi()), and don't rely upon uid==-1 to indicate "no owner"; use a flag instead. - Make fileflags a global variable; uid, gid, and mode are, so lets be consistent... - Improve -U (unpriv); work on file flags as well, and only try to change the file flags after the temporary file is renamed (since certain flags will prevent the rename from working).
|
| #
1.24 |
|
15-Jun-2001 |
kleink |
The -r flag is applicable to the file1 -> file2 case, too.
|
| #
1.23 |
|
27-Dec-2000 |
jlam |
Change "program used to trip installed binaries" to "program used to strip installed binaries"
|
| #
1.22 |
|
04-Sep-2000 |
kleink |
For commands and utilities, use EXIT STATUS rather than RETURN VALUES or DIAGNOSTICS as appropriate (and documented in mdoc(7)).
|
| #
1.21 |
|
27-Jul-2000 |
cgd |
clean up documentation of STRIP envioronment var.
|
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
| #
1.20 |
|
22-Mar-2000 |
garbled |
Make the STRIP env var a little more obvious in the documentation, and clean up the bottom of this manpage just a tad.
|
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
|
| #
1.19 |
|
16-Aug-1999 |
simonb |
Spell "privilege" correctly (correct spelling from Jonathan Stone).
|
| #
1.18 |
|
01-Aug-1999 |
sommerfeld |
Add `-U' flag (for "unprivileged"). Currently just skips the chown/chgrp stages which would otherwise blow out if not running as root. A future version may log the owner/group to allow correction by a later privileged cleanup pass.
Just warn about madvise failure; it's not something to blow up about.
Document new option, and clean up option grouping for -d (install directory) option.
|
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
| #
1.17 |
|
22-Mar-1999 |
garbled |
More and more .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Many more to come.
|
| #
1.16 |
|
07-Mar-1999 |
mycroft |
Clean up SYNOPSIS formatting.
|
| #
1.15 |
|
04-Feb-1999 |
christos |
PR/2936: Brian C. Grayson: Avoid truncating precious files when installing and the filesystem is full. Added -r flag to install, which installs on a temporary file and then renames to the final destination.
|
| #
1.14 |
|
26-Jan-1999 |
hubertf |
enable numbered backups via -B.old%02d
|
| #
1.13 |
|
25-Jan-1999 |
hubertf |
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.
|
| #
1.12 |
|
08-Oct-1998 |
wsanchez |
Add new option -S, which is like -s, but takes a string of options to pass to strip, rather than "-s". For example: install -S "-i -s symbolfile" foo /usr/bin/foo Invokes: /bin/sh -c "strip -i -s /usr/bin/foo" This is needed, because we need different strip options for dynamic libraries and Mach-O bundles than for executables; our strip supports more directed stripping. /bin/sh is used in this case, to parse the arguments.
Don't bother mmap()ing files of zero length. Was a workaround for a bug in our mmap(), which didn't get along with such files, but makes sense anyway.
|
| #
1.11 |
|
28-Sep-1998 |
christos |
add -p flag, similar to cp(1)
|
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
| #
1.10 |
|
20-Oct-1997 |
lukem |
getopt returns -1 not EOF, fix .Nm
|
| #
1.9 |
|
19-Oct-1997 |
mrg |
WARNSify; deprecate register; clean up .Nm
|
| #
1.8 |
|
17-Apr-1997 |
thorpej |
Allow the environment variable $STRIP to override _PATH_STRIP for `-s', helping out cross-compiling.
|
| #
1.7 |
|
03-Apr-1997 |
christos |
PR/3445: NAKAJIMA Yoshihiro: Typo fix
|
| #
1.6 |
|
16-Mar-1997 |
christos |
Add support for installing hard and symbolic links via the [-l harms] flag.
|
| #
1.5 |
|
08-Mar-1997 |
mouse |
alternate -> alternative, per PR 2643
|
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
| #
1.4 |
|
14-Nov-1994 |
jtc |
Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention. Changed to use err(),errx(),warn(),warnx().
|
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
| #
1.3 |
|
01-Aug-1993 |
mycroft |
Add RCS indentifiers.
|
|
Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
|
| #
1.2 |
|
11-Jun-1993 |
jtc |
Added -d option to install
|
| #
1.1 |
|
21-Mar-1993 |
cgd |
branches: 1.1.1; Initial revision
|