Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2001 20:18:10 -0700 (PDT)
From:      tom@wact.net
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/27486: pkg_add man page incomplete/incorrect
Message-ID:  <200105210318.f4L3IAw22123@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         27486
>Category:       bin
>Synopsis:       pkg_add man page incomplete/incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 20 20:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Tom Uffner
>Release:        current
>Organization:
>Environment:
FreeBSD discordia.uffner.com 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Wed May  2 09:00:12 EDT 2001     tom@discordia.uffner.com:/usr/obj/usr/src/sys/DISCORDIA  i386
>Description:
the man page for pkg_add does not mention the environment variable
PACKAGEMIRROR, and based on my reading of the manual and code it
should either be combined with PACKAGEROOT and the example setting 
corrected to read "ftp://ftp3.FreeBSD.org/pub" or the alternate 
wording below substituted. 

The environment variable PACKAGEMIRROR specifies an alternate host for
pkg_add to fetch from.  The fetch URL is built using this environment
variable and the automatic directory logic that pkg_add uses when the -r
option is invoked. An example setting would be "ftp://ftp3.FreeBSD.org".

The environment variable PACKAGEROOT specifies an alternate directory
root for pkg_add to fetch from.  An example setting would be "/mirrors".

see also bin/27485

>How-To-Repeat:
man pkg_add
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105210318.f4L3IAw22123>