Clarification on fetch/extract targets
Sam Lawrance
boris at brooknet.com.au
Sun Jun 17 05:13:21 UTC 2007
On 17/06/2007, at 7:33 AM, Stephen Hurd wrote:
> Kris Kennaway wrote:
>>> Actually, I found it quite easy to have the port pull the sources
>>> from svn. Who are we concerned about making it easier for and
>>> why (and how is it any easier?)
>>>
>>
>> Everyone behind a firewall that only allows fetching via HTTP/FTP,
>> for
>> one. Also everyone without live network access, and those with
>> pay-per-download who have a free local distfile mirror, etc.
>>
>> Tarballs are overwhelmingly preferred.
>>
>> Kris
>>
> Ok... I was looking at it from the standpoint of someone who wants
> the newest version and doesn't care of the pkg-plist is stale.
> They could just bump PORTREVISION and reinstall.
>
> So... how about this:
> - A distfile target which generates a distfile. The idea being
> that this would be the one on the local distfile mirror or what
> have you.
> - A WITH_SVN option (defaults to off) which allows the end user to
> specify he/she wants to use the subversion.
>
> In this case then, the end user would need to bump PORTREVISION and
> enable the WITH_SVN option.
Rather than suggesting that users change PORTREVISION, just suggest
that they set WITH_SVN and force an upgrade (eg. portupgrade -f
yourport).
More information about the freebsd-ports
mailing list