From nobody@FreeBSD.org  Mon Feb  6 00:25:42 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CFE7216A420
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  6 Feb 2006 00:25:42 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6A1F643D49
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  6 Feb 2006 00:25:42 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k160Pg6Z030447
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 6 Feb 2006 00:25:42 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k160PgmG030446;
	Mon, 6 Feb 2006 00:25:42 GMT
	(envelope-from nobody)
Message-Id: <200602060025.k160PgmG030446@www.freebsd.org>
Date: Mon, 6 Feb 2006 00:25:42 GMT
From: Jo Rhett <jrhett@svcolo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pkg_add needs an option to disable dependancy downloads
X-Send-Pr-Version: www-2.3

>Number:         92867
>Category:       bin
>Synopsis:       pkg_add(1) needs an option to disable dependancy downloads
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    krion
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 06 00:30:05 GMT 2006
>Closed-Date:    Sat Nov 10 22:46:08 UTC 2007
>Last-Modified:  Sat Nov 10 22:46:08 UTC 2007
>Originator:     Jo Rhett
>Release:        6.0
>Organization:
Silicon Valley Colocation
>Environment:
FreeBSD [hostname].meer.net 6.0-RELEASE FreeBSD 6.0-RELEASE #4: Fri Nov 11 13:29:33 PST 2005  
>Description:
If you try to install a package using pkg_add from a URL, pkg_add will recursively attempt to download and install dependancies.  This is not always desired behavior.

It also adds "All" to the path it is trying to download from.  This is probably only relevant to FreeBSD archives.
>How-To-Repeat:
pkg_add http://somesite/somepath/package1.tbz
package1 requires package2, which is not available at /somepath/All/
>Fix:
Add a command line option to disable recursive package installations.

Return a different result code if dependancies are unavailable so that scripters can identify the problem.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->krion 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Feb 6 01:31:47 UTC 2006 
Responsible-Changed-Why:  
Make this a 'bin' PR and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92867 

From: Jo Rhett <jrhett@svcolo.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: bin/92867
Date: Fri, 17 Feb 2006 14:03:21 -0800

 I'd like to note that I'm perfectly willing to write the patch to  
 handle this for you to review.  I just didn't want to write a patch  
 that wouldn't be accepted, or for which you had already come up with  
 a better answer.
 
 -- 
 Jo Rhett
 senior geek
 Silicon Valley Colocation
 
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Sat Nov 10 22:46:08 UTC 2007 
State-Changed-Why:  
It's now committed in current and will be MFCed during next days 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92867 
>Unformatted:
