For the sake of being able to have clean working binary packages, pkgng has had to use a dirty hack: origin is used has an identifier instead of the package name.
Why: How to determine than ImageMagick-nox11 and ImageMagick are the same package? and if I don’t know they are the same package how to upgrade them properly? same goes how the package manager can know that mysql-client-5.2.1 is not an upgrade of mysql-client-5.0.1?
How can pkgng determine which subversion is the right version to use: ‘pkg install subversion’ will propose all possible subversion, in that case the higher version is probably the default version, but in perl case, the higher version is probably not the one you want.
Some packages are totally different project but have the same package name… How can pkgng differenciate them?
So please stop using LATEST_LINK to differenciate the different port but directly make _unique_ package names, pkgng will switch back to package name as soon as possible (that will also solve the ugly and stupid pkg set -o).
There is multiple possibility to make sure to properly handle multiple versions of packages:
- suffix everything with part of the version (like tcl)
- suffix everything but the default with part of the version
- have only 2 or 3 different version: project-legacy project project-devel
Please stop renaming the packages based on options! Options are now registered with the package with both pkgng and pkg_install, please stop adding suffix base on options!
Think about the end user, he will try to install a package, it should be as transparent for him as possible.
I is really important to change that as quick as possible. This page on the wiki reference all the port with conflicting names.