pacman, rebase, msys2-base: begin merging some parts of rebase into pacman