Portmaster with package support ready for beta testing

Dominic Fandrey kamikaze at bsdforen.de
Tue Nov 10 22:46:25 UTC 2009


Miroslav Lachman wrote:
> Doug Barton wrote:
>> Michel Talon wrote:
>>> Miroslav Lachman wrote:
>>>> I take a quick look at the code and I have one question. Can you
>>>> explain
>>>> way --no-deps and --force are used for pkg_add?
>>>
>>>
>>> I can only venture an explanation. Once you have computed a good order
>>> for upgrading via packages, you cannot accept that pkg_add ruins your
>>> computation by doing things on its own. In principle you have a
>>> global view of the problem, which is better than the local view embedded
>>> in each package. Hence forcing pkg_add is the only sane way.
>>
>> Very elegantly stated. :)
>>
>> This is all subject to change of course based on refinement from
>> experience, but this usage matches the way that ports are installed in
>> the well-traveled port building code.
> 
> Does it mean that one needs ports tree or provide custom INDEX in case
> of custom packages with non default options (different dependencies) to
> compute order od dependencies?
> (AFAIK plain pkg_add works without ports tree and INDEX, that's why I am
> asking)

If you want to work without a ports tree use pkg_upgrade
(sysutils/bsdadminscripts), it only requires an INDEX file.

The next version will also require the MOVED file (as is now
provided by Pointyhead).

Regards

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 


More information about the freebsd-ports mailing list