UPGRADE: osdep doc and doc scripts
UPGRADE: paks