Plug in texmf-var-pregen. Untested.
Remove old patches
Remove security patches dir, these are now merged.