From owner-freebsd-ports@FreeBSD.ORG Sat Dec 19 19:09:12 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2ED510656ED for ; Sat, 19 Dec 2009 19:09:12 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 63B4E8FC0A for ; Sat, 19 Dec 2009 19:09:12 +0000 (UTC) Received: (qmail 26688 invoked by uid 399); 19 Dec 2009 19:09:11 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 19 Dec 2009 19:09:11 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B2D24D7.2010606@FreeBSD.org> Date: Sat, 19 Dec 2009 11:09:11 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz> References: <4B159C5C.2090407@FreeBSD.org> <4B2CED9B.6010903@quip.cz> In-Reply-To: <4B2CED9B.6010903@quip.cz> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: portmaster-with-package-support release candidate available for testing / pkg_add: illegal option -- - X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2009 19:09:12 -0000 Miroslav Lachman wrote: > I don't know if it is well known / documented somewhere in portmaster, > but after debugging, I realized that pkg_add on FreeBSD 6.3 has no long > options This is why all of the ports tools should be in the ports tree. :) I just added the fix to the svn version of portmaster, if you can confirm that it works I'll add it to the port immediately. I was not aware of this issue, and apparently you're the first person to test package support on a release this old. Thank you, both for the testing and the bug report. > And one question - is it really mandatory to use > --local-packagedir=/usr/ports/packages if I want to install locally > available packages from standard path /usr/local/packages/All? Yes. > Shouldn't it be default behavior? IMO, no. I think that the vast majority of FreeBSD users just want to be able to fetch packages and have them installed. > Without --local-packagedir portmaster is trying to fetch it from FTP: > "Package and/or archive not found at: > http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/lang/" > and doesn't look at the local directory: > "There is no valid package to install, building port instead" This is the desired behavior. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/