portmaster-with-package-support release candidate available for testing / pkg_add: illegal option -- -

Doug Barton dougb at FreeBSD.org
Sat Dec 19 19:09:12 UTC 2009


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/




More information about the freebsd-ports mailing list