Provide information about packages refered by advisories.

It's basically copy&paste of advisoryref* files with s/ref/pkg.
Also the deprecated functions were dropped. (And one new added :) )
line's too long