Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Dec 2009 13:59:56 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        Christer Solskogen <christer.solskogen@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portmaster-with-package-support release candidate available for testing
Message-ID:  <4B1AD7DC.8090504@FreeBSD.org>
In-Reply-To: <c1a0d1560912032253w25444232j139993ad7d462fd1@mail.gmail.com>
References:  <4B159C5C.2090407@FreeBSD.org> <hf8ja5$cl0$1@ger.gmane.org>	<4B182DB6.8060008@FreeBSD.org>	<c1a0d1560912031350v42c74515j96534c8b877f8603@mail.gmail.com>	<4B189FF5.5030101@FreeBSD.org> <c1a0d1560912032253w25444232j139993ad7d462fd1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Christer Solskogen wrote:
> Err... Delete that. setenv PACKAGESITE /usr/ports/packages is the
> correct one. IMHO PACKAGESITE should be set to that by default.

In r200168 I just added the --local-packagedir option so that you can
properly specify this. You can use 'portmaster
--local-packagedir=/usr/ports/packages <blah>' or put
LOCAL_PACKAGEDIR=/usr/ports/packages in your ~/.portmasterrc file.

The code first checks ${LOCAL_PACKAGEDIR}/Latest/${LATEST_LINK}.tbz
and if that points to something useful in ${LOCAL_PACKAGEDIR}/All then
it checks to see if that's the latest version. If so, it uses it. If
not (or the package does not exist locally) then it will fall back to
fetching.


hth,

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?4B1AD7DC.8090504>