Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 2009 11:09:11 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portmaster-with-package-support release candidate available for testing / pkg_add: illegal option -- -
Message-ID:  <4B2D24D7.2010606@FreeBSD.org>
In-Reply-To: <4B2CED9B.6010903@quip.cz>
References:  <4B159C5C.2090407@FreeBSD.org> <4B2CED9B.6010903@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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/





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