new-packages: Move several packages to stage3.
new-packages: Mark a few packages as working.
pwgen: Fix build errors.

The configure script wasn't detecting getopt, so this whitelists the
environmental variables during the script's execution.
pwgen: Move to stage3.