History log of /freebsd-9.3-release/usr.sbin/pkg_install/add/pkg_add.1
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 236462 02-Jun-2012 jpaetzel

MFC 236333,236336

Let pkg_add use the ENV variable PACKAGESUFFIX. This
can be used to override the default .tbz package extension to
.txz .tgz or .tar

Submitted by: kmoore
Obtained from: PC-BSD
Sponsored by: iXsystems


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 187056 11-Jan-2009 chinsan

Use full name (noticed by: ru@


# 186732 04-Jan-2009 chinsan

- s/no-scripts/no-script/

PR: docs/127732
Submitted by: TerryP <BigBoss1964@gmail.com>
MFC after: 3 days


# 179433 30-May-2008 flz

- Add long options to pkg_install.
- Remove check for '-?' as it's not listed in authorized options.
- Bump PKG_INSTALL_VERSION to 20080530.


# 176108 08-Feb-2008 ru

Introduce -i to SYNOPSIS, forgotten by krion@.


# 175177 09-Jan-2008 ru

Revise the TECHNICAL DETAILS section.

Reviewed by: skv


# 174475 09-Dec-2007 krion

Backout previous commit, since it's done without maintainers
approval. These changes were approved by adding it as port to
ports/ tree, but not for src/. I talked to PR submitter and miwi@
some days ago and explained the reasons for it, the both were agree
to add it to ports/ only.


# 174472 09-Dec-2007 obrien

Add the 'pkg_search' script.
This makes it easier to figure what packages you want to install.

Submitted by: Matthias Schmidt <schmidtm @ mathematik . uni-marburg . de>


# 173513 10-Nov-2007 krion

Add -i option for package installation without fetching and
installing its dependencies.

PR: bin/117065
Submitted by: Vladimir Ermakov <samflanker@gmail.com>
MFC after: 14 days


# 156497 09-Mar-2006 phk

Add -F option to not fail on already installed packages.

Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>


# 155011 29-Jan-2006 krion

Fix typo.


# 154145 09-Jan-2006 flz

Add -K option to pkg_add and pkg_info.
This option saves packages to PKGDIR (if defined or current directory by default)
as they are downloaded.
Silent a warning when -n is used and package has a +DISPLAY file.

Approved by: krion
MFC after: 1 week


# 152569 18-Nov-2005 ru

-mdoc sweep.


# 152329 12-Nov-2005 krion

Add -P flag, it does the same as the -p option, except that the
given prefix is also used recursively for the dependency packages,
if any. If the -P flag appears after any -p flag on the
command line, it overrides it's effect, causing pkg_add to use the
given prefix recursively.

PR: bin/75742
Submitted by: Frerich Raabe <raabe AT kde DOT org>
MFC after: 3 days


# 141846 13-Feb-2005 ru

Expand *n't contractions.


# 133502 11-Aug-2004 eik

typo

Approved by: ru


# 131531 03-Jul-2004 ru

Eliminated double whitespace.


# 130131 05-Jun-2004 ru

Markup and punctuation nits.


# 126465 01-Mar-2004 kensmith

Add command line option for chrootdir, all pkg_add(8) operations will be
done inside of chroot(2) to chrootdir. Added to help with sysinstall(8)
support of install to alternate root but possibly useful for setting up
jails, etc.

No objection from: portmgr@
Style(9) abuse due to: entire program violates style(9)
Approved by: rwatson (mentor)


# 126464 01-Mar-2004 kensmith

This is an initial whitespace cleanup commit, new content to follow.
Adding hard line breaks at the end of sentences.

Approved by: rwatson (mentor)


# 115224 22-May-2003 ru

Erase whitespace at EOL.

Approved by: re (blanket)


# 113594 17-Apr-2003 kris

* Add explicit conflict-checking to the package tools. Packages can
register a list of other packages with which they conflict (via the
-C option to pkg_create), and they will refuse to install (unless -f is
specified) if one of the listed packages is already present.

* Update documentation for the new feature as well as fleshing out some
existing documentation.

* Bump PKG_INSTALL_VERSION so this feature can be tested for.

Submitted by: Sergey Matveychuk <sem@ciam.ru>
PR: bin/47145
MFC after: 2 weeks


# 108533 01-Jan-2003 schweikh

Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.


# 108317 27-Dec-2002 schweikh

english(4) police.


# 107788 12-Dec-2002 ru

Uniformly refer to a file system as "file system".

Approved by: re


# 103166 10-Sep-2002 bmah

Update to use *.tbz suffix, also update example URL.

While I'm here, fix a gramm-o.

PR: 42576
Submitted by: Jeff Ito <jeffi@rcn.com>
MFC after: 1 day


# 96705 16-May-2002 trhodes

Consistancy check: s/file system/filesystem/g


# 96406 11-May-2002 eric

Remove cross reference to pkg_update(1).


# 95127 20-Apr-2002 charnier

Use `The .Nm utility'


# 84992 15-Oct-2001 dd

The user wants to ensure, not insure, that the package isn't going to
damage their system.


# 81588 13-Aug-2001 ru

Spell "FreeBSD" with "F" and "BSD" in uppercase.


# 81449 10-Aug-2001 ru

mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.


# 79755 15-Jul-2001 dd

Remove whitespace at EOL.


# 79537 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


# 77537 31-May-2001 eric

Cross reference pkg_update(1).

Approved by: murray


# 73233 28-Feb-2001 ru

Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.


# 72776 20-Feb-2001 jkh

Use the more logical author syntax from pkg_version and quote
email addresses properly.


# 72531 16-Feb-2001 ru

mdoc(7) police: sanitize previous commit.


# 72430 13-Feb-2001 obrien

In light of the dismal transfer times from ftp.FreeBSD.org, add a new
`PACKAGEROOT' env var which you would set to a proper mirror of
ftp.FreeBSD.org (say "export PACKAGEROOT=ftp://ftp3.FreeBSD.org"), to
fetch from an alternate place. This is easier to use than `PACKAGESITE'
for true mirrors, and can be used in your dot files across all versions
of FreeBSD.


# 72126 07-Feb-2001 ru

mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.


# 72091 06-Feb-2001 asmodai

Fix typo: seperate -> separate.

Seperate does not exist in the english language.


# 71898 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


# 71102 16-Jan-2001 ru

Prepare for mdoc(7)NG.


# 70403 27-Dec-2000 ru

Prepare for mdoc(7)NG.


# 68965 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 57673 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 57628 29-Feb-2000 jhb

Add cross references to pkg_version(1) in all the other pkg_* man pages.
Also, add a cross reference to pkg_info(1) in pkg_version(1). Finally,
in pkg_version(1), don't put a period at the end of the list of see also
man pages.

Noticed by: Matt Ayres <matta@fast.net>


# 50741 01-Sep-1999 jkh

Use the appropriate macro for double quotes rather than using double
quotes.

Submitted by: Alexey Zelkin <phantom@cris.net>
PR: 13436


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 49824 15-Aug-1999 mpp

Various man page cleanup:

- Sort xrefs.
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR: doc/13144
Submitted by: Alexey M. Zelkin <phantom@cris.net>


# 43920 12-Feb-1999 alex

Removed occurrences of consecutive repeated words (such as "the the").


# 42750 17-Jan-1999 jseger

enviornment -> environment
PR: docs/9534
Submitted by: rv@fore.com


# 42740 16-Jan-1999 billf

Add a new option for pkg_add, -r.

The remote option allows for automatic package fetching and installation
using the package repository found on wcarchive. Naturally, this site
can be overridden with a enviornment variable.

This code uses getobjformat() and getosreldate(). This means when some event
causes the package to be fetched to change (such as e-day) the logic also
needs to be changed.

Sorta reviewed by: jkh
Code suggestions: peter, jkh, eivind, msmith


# 41866 16-Dec-1998 jkh

Make it possible to have separate install scripts as well as have
an on-delete script.

Submitted by: Rajesh Vaidheeswarran <rv@fore.com>


# 37634 14-Jul-1998 jkoshy

Add $Id$.

PR: 7251
Submitted by: Norihiro Kumagai <kuma@jp.freebsd.org>


# 37166 26-Jun-1998 jkoshy

Document environment variables used by pkg_{add,create,info}. These
include PKG_TMPDIR, TMPDIR, PKG_DBDIR. Add a FILES section to these
manual pages.

PR: docs/7064


# 34809 23-Mar-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.


# 30533 18-Oct-1997 jkh

- do string-magic on the right variable when trying
to find dependent packages on the local disk (i.e. package given as
filename, not URL)
- document $PKG_PATH
- use -v on pkg_add for dependent packages

Submitted by: hubertf@NetBSD.ORG
Obtained from: NetBSD


# 30221 08-Oct-1997 charnier

Use err(3). Cosmetics in usage string and man page.


# 29889 27-Sep-1997 hoek

Document pkg_add's dependency auto-install. While I'm here, fix
a couple typos, and consistent double-spacing after sentences.

This is actually a spinoff from the "ports-current discontinued"
blow-up some time ago.

Ack'd by: jkh


# 29336 13-Sep-1997 max

Typo.


# 26745 19-Jun-1997 jkh

Fix multiple documentation bogons.
PR: 3798
Submitted by: Jan Kuriyama <kuriyama@opt.phys.waseda.ac.jp>


# 21880 19-Jan-1997 wosch

Sort cross references.


# 17719 20-Aug-1996 jkh

Clean up the english a little, having made the mistake of reading it.


# 16059 01-Jun-1996 jkh

Oh my, looks like I didn't understand .B as well as I thought I did! :-)


# 15135 08-Apr-1996 mpp

Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.


# 14582 12-Mar-1996 jkh

Fix a couple of miscellaneous bugs and make pkg_add also support reading
from stdin.


# 14045 12-Feb-1996 mpp

Another round of man page cleanups.

Down to only about 100 items left to cleanup! :-)


# 9788 30-Jul-1995 jkh

Document how to get pkg_add to use PASSIVE MODE ftp in such transfers.


# 9784 30-Jul-1995 asami

The default for temporary directory is /var/tmp, not /tmp.


# 8420 10-May-1995 jkh

Document fetch-by-URL.


# 7998 22-Apr-1995 jkh

Second round:

1. Make paths work correctly.
2. Make pkg_add generally more robust in the face of failure.
3. Make the depend messages come out on stderr or stdout, but not both
interspersed! :-)


# 7937 19-Apr-1995 jkh

Add support for the ${PKG_DBDIR} environment variable. /var/db/pkg is the
default, and probably not something you'd ever change, but now it's
possible to do so for local/custom installations.


# 5410 05-Jan-1995 jkh

Whoops! How embarassing. Just now noticed that I forget to update the .Os
lines. Done.


# 4997 05-Dec-1994 jkh

More changes from John T. Kohl. Man pages, mostly.
Submitted by: jtkohl


# 1550 25-May-1994 asami

The environment variable PKG_PREFIX is set to the first @cwd command
in the packing list, or the argument to -p if it is specified, before
the requirements/installation/deinstallation scripts are called. This
enables the scripts to be written to work on the final installation
destination, even if the user uses -p to override the package's default.


# 1529 20-May-1994 asami

Typo (pkg_add => pkg-add).


# 1527 20-May-1994 asami

Make clear what arguments the "require" package gets (the original didn't
make any sense, with a ".b" instead of ".B" in front of "INSTALL"!).


# 382 05-Sep-1993 jkh

Made staging area configurable rather than assuming /tmp (-t)
Made pkg_add -n less bitchy.
Made -p in pkg_add override "default" package location in pkg_create.

Added concept of "slave" and "master" modes, allowing many different things
to be done to packing lists on the fly. This is really something for
front-end drivers to use, but also something for the more expert user.

rename()'ing files before trying to copy them, thus saving
considerable time when targets and staging area are on same filesystem.


# 328 25-Aug-1993 jkh

This commit was generated by cvs2svn to compensate for changes in r327,
which included commits to RCS files with non-trunk default branches.


# 327 25-Aug-1993 jkh

The release version of my package install suite. Please see man pages
for info.