pkg_tarup man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

PKG_TARUP(1)		  BSD General Commands Manual		  PKG_TARUP(1)

NAME
     pkg_tarup — utility for tarring up installed software packages

SYNOPSIS
     pkg_tarup [-a] [-d pkgrepository] [-f filebase] [-K pkg_dbdir]
	       [-s pkg_sufx] pkg-name-or-pattern [...]

DESCRIPTION
     The pkg_tarup command is used to create a binary package from an
     installed package.	 It can be used to tar up one or more packages,
     including dependent packages, if desired.

     The following options are available:

     -a	     Create packages for all dependent packages too.

     -d pkgrepository
	     Set pkgrepository as the destination directory for the created
	     package file(s).  If this option isn't specified, then /tmp is
	     used.

     -K pkg_dbdir
	     Set pkg_dbdir as the package database directory.  If this option
	     isn't specified, then the package database directory is taken
	     from the value of the environment variable PKG_DBDIR if it is
	     set, otherwise it defaults to /var/db/pkg.

     -s pkg_sufx
	     Set pkg_sufx as the extension used for the created package
	     file(s).  If this option isn't specified, then .tgz

     -f filebase
	     By default filename for created package looks like this
		   ${pkgbase}-${pkgversion}${pkg_sufx}
	     This option allows to use filebase instead of ${pkgbase}.

ENVIRONMENT
     The following environment variables affect the execution of pkg_tarup:

     PREFIX  Package binaries installation prefix used to build the path.
	     Defaults to /usr/pkg.

     ECHO, ID, SED, SU_CMD, GREP
	     Actual commands to use.  These default to echo, /usr/bin/id,
	     /usr/bin/sed, /usr/bin/su - root -c, and /usr/bin/grep.

     PKG_DBDIR
	     If the -K flag isn't given, then PKG_DBDIR is the location of the
	     package database directory.  The default package database direc‐
	     tory is /var/db/pkg.

     PKG_SUFX
	     If the -s flag isn't given, then PKG_SUFX is the suffix of the
	     created package file.  The default is .tgz.

     PKGREPOSITORY
	     If the -d flag isn't given, then PKGREPOSITORY is the destination
	     directory for the created package file(s).	 The default is /tmp.

     Any variable that affects pkg_info(1) or pkg_create(1).

EXIT STATUS
     The pkg_tarup utility exits 0 on success and 1 on errors.

SEE ALSO
     pkg_create(1), pkg_info(1), pkgsrc(7)

BUGS
     Packages that contain files with spaces in their names probably won't
     work.  There is no way to safely tell pkg_create(1) about these files.

BSD				March 19, 2011				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net