From owner-freebsd-bugs Sun May 20 20:20: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B47FC37B424 for ; Sun, 20 May 2001 20:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4L3K1J22199; Sun, 20 May 2001 20:20:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3412037B43F for ; 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 X-Send-Pr-Version: www-1.0 Subject: bin/27486: pkg_add man page incomplete/incorrect Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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