head	1.8;
access;
symbols
	pkgsrc-2014Q4:1.7.0.48
	pkgsrc-2014Q4-base:1.7
	pkgsrc-2014Q3:1.7.0.46
	pkgsrc-2014Q3-base:1.7
	pkgsrc-2014Q2:1.7.0.44
	pkgsrc-2014Q2-base:1.7
	pkgsrc-2014Q1:1.7.0.42
	pkgsrc-2014Q1-base:1.7
	pkgsrc-2013Q4:1.7.0.40
	pkgsrc-2013Q4-base:1.7
	pkgsrc-2013Q3:1.7.0.38
	pkgsrc-2013Q3-base:1.7
	pkgsrc-2013Q2:1.7.0.36
	pkgsrc-2013Q2-base:1.7
	pkgsrc-2013Q1:1.7.0.34
	pkgsrc-2013Q1-base:1.7
	pkgsrc-2012Q4:1.7.0.32
	pkgsrc-2012Q4-base:1.7
	pkgsrc-2012Q3:1.7.0.30
	pkgsrc-2012Q3-base:1.7
	pkgsrc-2012Q2:1.7.0.28
	pkgsrc-2012Q2-base:1.7
	pkgsrc-2012Q1:1.7.0.26
	pkgsrc-2012Q1-base:1.7
	pkgsrc-2011Q4:1.7.0.24
	pkgsrc-2011Q4-base:1.7
	pkgsrc-2011Q3:1.7.0.22
	pkgsrc-2011Q3-base:1.7
	pkgsrc-2011Q2:1.7.0.20
	pkgsrc-2011Q2-base:1.7
	pkgsrc-2011Q1:1.7.0.18
	pkgsrc-2011Q1-base:1.7
	pkgsrc-2010Q4:1.7.0.16
	pkgsrc-2010Q4-base:1.7
	pkgsrc-2010Q3:1.7.0.14
	pkgsrc-2010Q3-base:1.7
	pkgsrc-2010Q2:1.7.0.12
	pkgsrc-2010Q2-base:1.7
	pkgsrc-2010Q1:1.7.0.10
	pkgsrc-2010Q1-base:1.7
	pkgsrc-2009Q4:1.7.0.8
	pkgsrc-2009Q4-base:1.7
	pkgsrc-2009Q3:1.7.0.6
	pkgsrc-2009Q3-base:1.7
	pkgsrc-2009Q2:1.7.0.4
	pkgsrc-2009Q2-base:1.7
	pkgsrc-2009Q1:1.7.0.2
	pkgsrc-2009Q1-base:1.7
	pkgsrc-2008Q4:1.6.0.18
	pkgsrc-2008Q4-base:1.6
	pkgsrc-2008Q3:1.6.0.16
	pkgsrc-2008Q3-base:1.6
	cube-native-xorg:1.6.0.14
	cube-native-xorg-base:1.6
	pkgsrc-2008Q2:1.6.0.12
	pkgsrc-2008Q2-base:1.6
	cwrapper-base:1.6
	cwrapper:1.6.0.10
	pkg_install-renovation:1.6.0.8
	pkg_install-renovation-base:1.6
	pkgsrc-2008Q1:1.6.0.6
	pkgsrc-2008Q1-base:1.6
	pkgsrc-2007Q4:1.6.0.4
	pkgsrc-2007Q4-base:1.6
	pkgsrc-2007Q3:1.6.0.2
	pkgsrc-2007Q3-base:1.6
	pkgsrc-2007Q2:1.5.0.24
	pkgsrc-2007Q2-base:1.5
	pkgsrc-2007Q1:1.5.0.22
	pkgsrc-2007Q1-base:1.5
	pkgsrc-2006Q4:1.5.0.20
	pkgsrc-2006Q4-base:1.5
	pkgsrc-2006Q3:1.5.0.18
	pkgsrc-2006Q3-base:1.5
	pkgsrc-2006Q2:1.5.0.16
	pkgsrc-2006Q2-base:1.5
	pkgsrc-2006Q1:1.5.0.14
	pkgsrc-2006Q1-base:1.5
	pkgsrc-2005Q4:1.5.0.12
	pkgsrc-2005Q4-base:1.5
	pkgsrc-2005Q3:1.5.0.10
	pkgsrc-2005Q3-base:1.5
	pkgsrc-2005Q2:1.5.0.8
	pkgsrc-2005Q2-base:1.5
	pkgsrc-2005Q1:1.5.0.6
	pkgsrc-2005Q1-base:1.5
	pkgsrc-2004Q4:1.5.0.4
	pkgsrc-2004Q4-base:1.5
	pkgsrc-2004Q3:1.5.0.2
	pkgsrc-2004Q3-base:1.5
	pkgsrc-2004Q2:1.4.0.4
	pkgsrc-2004Q2-base:1.4
	pkgsrc-2004Q1:1.4.0.2
	pkgsrc-2004Q1-base:1.4
	pkgsrc-2003Q4:1.3.0.2
	pkgsrc-2003Q4-base:1.3;
locks; strict;
comment	@# @;


1.8
date	2014.12.30.15.13.21;	author wiz;	state dead;
branches;
next	1.7;
commitid	RRdsYBWaMIUIN44y;

1.7
date	2009.02.08.23.14.14;	author wiz;	state Exp;
branches;
next	1.6;

1.6
date	2007.07.16.09.57.59;	author joerg;	state Exp;
branches;
next	1.5;

1.5
date	2004.08.26.09.34.58;	author grant;	state Exp;
branches;
next	1.4;

1.4
date	2003.12.08.13.50.50;	author grant;	state Exp;
branches;
next	1.3;

1.3
date	2003.09.23.07.13.55;	author grant;	state Exp;
branches;
next	1.2;

1.2
date	2003.09.09.13.34.22;	author jlam;	state Exp;
branches;
next	1.1;

1.1
date	2003.09.01.16.27.16;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Remove pkg_views support, second part: infrastructure.
@
text
@LINKFARM(1)             NetBSD General Commands Manual             LINKFARM(1)

NNAAMMEE
     lliinnkkffaarrmm -- manage symbolic links to package files

SSYYNNOOPPSSIISS
     lliinnkkffaarrmm [--ccDDnnRRVVvv] [--dd _s_t_o_w_d_i_r] [--ss _s_u_b_d_i_r] [--tt _t_a_r_g_e_t] _p_a_c_k_a_g_e

DDEESSCCRRIIPPTTIIOONN
     The lliinnkkffaarrmm command is used to manage a "linkfarm", a directory tree of
     symbolic links in _t_a_r_g_e_t to the files in the _p_a_c_k_a_g_e sub-directory of
     _s_t_o_w_d_i_r.  The default action is to create a linkfarm to a package.

     The following command-line options are supported:

     --cc      Check whether a package contains a linkfarm in _t_a_r_g_e_t.  If
             _p_a_c_k_a_g_e has no symbolic links in _t_a_r_g_e_t that correspond to its
             files, then return 0, otherwise return 1.

     --DD      Delete the linkfarm for _p_a_c_k_a_g_e.

     --dd _s_t_o_w_d_i_r
             Set _s_t_o_w_d_i_r as the directory in which _p_a_c_k_a_g_e can be found.  The
             default _s_t_o_w_d_i_r is the _p_a_c_k_a_g_e_s sub-directory in the default
             _t_a_r_g_e_t directory.

     --nn      Don't actually execute the commands for removing and creating the
             symbolic links and directories.

     --RR      Delete and re-create the linkfarm for _p_a_c_k_a_g_e.

     --ss _s_u_b_d_i_r
             The root of the package hierarchy for the linkfarm is the _s_u_b_d_i_r
             sub-directory in the package.  By default, assume the root of the
             package hierarchy is simply the _p_a_c_k_a_g_e directory.

     --tt _t_a_r_g_e_t
             Set _t_a_r_g_e_t as the directory in which to create and delete the
             linkfarm for _p_a_c_k_a_g_e.  The default _t_a_r_g_e_t directory is _/_u_s_r_/_p_k_g
             but may be overridden by the LOCALBASE environment variable.

     --VV      Print version number and exit.

     --vv      Turn on verbose output.  Specifying --vv multiple times increases
             the level of verbosity.

EENNVVIIRROONNMMEENNTT
     LOCALBASE
             The standard packages directory, _/_u_s_r_/_p_k_g, can be overridden by
             specifying an alternative directory in the LOCALBASE environment
             variable.  This affects the default _t_a_r_g_e_t and _s_t_o_w_d_i_r directo-
             ries.

     PLIST_IGNORE_FILES
             This can be used to specify files in _p_a_c_k_a_g_e that should ignored
             when creating and deleting symbolic links in _t_a_r_g_e_t.
             PLIST_IGNORE_FILES is a space-separated list of shell glob pat-
             terns that match files relative to the _p_a_c_k_a_g_e directory, and it
             defaults to "info/dir *[~#] *.OLD *.orig *,v".

SSEEEE AALLSSOO
     lndir(1), pkg_view(1)

AAUUTTHHOORRSS
     The lliinnkkffaarrmm utility was written by Alistair G. Crooks <agc@@NetBSD.org>.

NetBSD 5.0                     September 2, 2003                    NetBSD 5.0
@


1.7
log
@regen.
@
text
@@


1.6
log
@Merge remaining small changes from NetBSD, most of all the pkgsrc.7 man
page. Fix build on !NetBSD. Rebuild man pages with nroff -mandoc on
NetBSD current for consistency. Make it DESTDIR safe. Remove the note
that src/usr.sbin/pkg_install is the authoritive version, it won't be
any longer.
@
text
@d67 1
a67 1
NetBSD 4.0                     September 2, 2003                    NetBSD 4.0
@


1.5
log
@regen pkg_info.cat1 after last update to man page source.

while here, regen all catman pages on NetBSD-current w/ groff 1.19,
the output is much improved over groff 1.16.
@
text
@d4 1
a4 1
     lliinnkkffaarrmm - manage symbolic links to package files
d67 1
a67 1
NetBSD 2.0                     September 2, 2003                    NetBSD 2.0
@


1.4
log
@Sync pkgtools/pkg_install with src/usr.sbin/pkg_install from 20031121.
@
text
@d67 1
a67 1
NetBSD 1.6                     September 2, 2003                    NetBSD 1.6
@


1.3
log
@sync with NetBSD-current's pkg_install-20030923.
@
text
@d65 1
a65 1
     The lliinnkkffaarrmm utility was written by Alistair G. Crooks <agc@@netbsd.org>.
@


1.2
log
@Bump version to 20030907.  Changes from previous version include:

    * Teaching pkg_add(1) to be smarter about how to add a depoted packge.

    * "pkg_delete foo" only deletes foo if it's a unique package.

    * Make "pkg_delete -O foo" for delete file entries for foo from
      pkgdb.byfile.db actually work.

    * Teach pkg_admin(1) two new commands "add" and "delete" for working
      with pkgdb.byfile.db.

    * pkg_view(1) uses the new pkg_admin(1) commands to keep the
      pkgdb.byfile.db files consistent in each view.

    * Man page fixes.
@
text
@d1 1
a1 1
LINKFARM(1)                 NetBSD Reference Manual                LINKFARM(1)
d67 1
a67 1
NetBSD 1.6.1_STABLE            September 2, 2003                             1
@


1.1
log
@Update pkg_install to 20030823, which has the changes to support
package views.  Pkgsrc changes include:

* Convert to use pkgtools/libnbcompat so that it's easier to keep
  this in sync with src/usr.sbin/pkg_install.

* Add a src2nbcompat script that converts src/usr.sbin/pkg_install
  into an appropriate start for pkgtools/pkg_install.  The script
  removes the Makefiles, adds CPP inclusion guards around each
  #include <...> line, and includes <nbcompat.h> at the top of each
  *.c file.  This should make it even easier to keep sources in
  sync with the HEAD.
@
text
@d4 1
a4 1
     lliinnkkffaarrmm - a utility for managing symbolic links to package files
d7 1
a7 1
     lliinnkkffaarrmm [_o_p_t_i_o_n_s] _p_a_c_k_a_g_e
d62 1
a62 1
     pkg_views(1), lndir(1)
d67 1
a67 1
NetBSD 1.6.1_STABLE              July 13, 2003                               1
@

