This patch addresses two problems vital for binary only package management tools that rely on the INDEX. The first one, LATEST_LINK is a convenience, but CONFLICTS strikes me as really important.
- Useful to interpret user provided parameters, e.g. pkg_upgrade has 80
lines of code dedicated to guessing package names that look like LATEST_LINK
- Can be used to always download the latest available version of a package
- Without it packages have to be downloaded to recognize that they conflict with
Fix: Patch attached with submission follows:
Several issues here.
Portsnap will break with this-- you'll need to check with cperciva on
how to implement this
Did you test the generated INDEX? The /usr/ports/Tools/make_index
script will choke on / ignore these parts, so that will also need
First LATEST_LINK is now at a dead end and should be totally dropped one day
INDEX is of less use now with pkg(8) do we really need to still work on something like this?
Not relevant for pkgng.