1 .\" $NetBSD: linkfarm.1,v 1.6 2009/02/08 23:11:56 wiz Exp $
3 .\" Copyright (c) 2003 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. All advertising materials mentioning features or use of this software
15 .\" must display the following acknowledgement:
16 .\" This product includes software developed by the NetBSD
17 .\" Foundation, Inc. and its contributors.
18 .\" 4. Neither the name of The NetBSD Foundation nor the names of its
19 .\" contributors may be used to endorse or promote products derived
20 .\" from this software without specific prior written permission.
22 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
23 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
24 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
26 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 .\" POSSIBILITY OF SUCH DAMAGE.
39 .Nd manage symbolic links to package files
50 command is used to manage a "linkfarm", a directory tree of symbolic links in
56 The default action is to create a linkfarm to a package.
58 The following command-line options are supported:
59 .Bl -tag -width indent
61 Check whether a package contains a linkfarm in
65 has no symbolic links in
67 that correspond to its files, then return 0, otherwise return 1.
69 Delete the linkfarm for
74 as the directory in which
81 sub-directory in the default
85 Don't actually execute the commands for removing and creating the symbolic
86 links and directories.
88 Delete and re-create the linkfarm for
91 The root of the package hierarchy for the linkfarm is the
93 sub-directory in the package.
94 By default, assume the root of the package hierarchy is simply the
100 as the directory in which to create and delete the linkfarm for
106 but may be overridden by the
108 environment variable.
110 Print version number and exit.
112 Turn on verbose output.
115 multiple times increases the level of verbosity.
118 .Bl -tag -width indent
120 The standard packages directory,
122 can be overridden by specifying an alternative directory in the
124 environment variable.
125 This affects the default
130 .It Ev PLIST_IGNORE_FILES
131 This can be used to specify files in
133 that should ignored when creating and deleting symbolic links in
135 .Ev PLIST_IGNORE_FILES
136 is a space-separated list of shell glob patterns that match files relative
139 directory, and it defaults to "info/dir *[~#] *.OLD *.orig *,v".
147 utility was written by
148 .An Alistair G. Crooks Aq agc@NetBSD.org .