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. LATEST_LINK - 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 names - Can be used to always download the latest available version of a package CONFLICTS - Without it packages have to be downloaded to recognize that they conflict with existing packages Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->portmgr bsd.port.mk patch.
State Changed From-To: open->feedback 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 patching.
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.