sync with gentoo
update repo scripts