From nobody@FreeBSD.org  Sun May 20 20:18:10 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 3412037B43F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 May 2001 20:18:10 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f4L3IAw22123;
	Sun, 20 May 2001 20:18:10 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200105210318.f4L3IAw22123@freefall.freebsd.org>
Date: Sun, 20 May 2001 20:18:10 -0700 (PDT)
From: tom@wact.net
To: freebsd-gnats-submit@FreeBSD.org
Subject: pkg_add man page incomplete/incorrect
X-Send-Pr-Version: www-1.0

>Number:         27486
>Category:       bin
>Synopsis:       pkg_add man page incomplete/incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 20 20:20:01 PDT 2001
>Closed-Date:    Mon May 21 02:34:59 PDT 2001
>Last-Modified:  Mon May 21 02:39:01 PDT 2001
>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:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon May 21 02:34:59 PDT 2001 
State-Changed-Why:  
You are reading the obsolete code; PACKAGEMIRROR was replaced 
with PACKAGEROOT in pkg_install/add/main.c,v 1.36. 


Responsible-Changed-From-To: freebsd-bugs->obrien 
Responsible-Changed-By: ru 
Responsible-Changed-When: Mon May 21 02:34:59 PDT 2001 
Responsible-Changed-Why:  
PACKAGEMIRROR was David's baby. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27486 
>Unformatted:
