use BSD install programs, not cp; mktemp -> mkstemp; setreuid -> setuid; update packing list; don't even try to build a package as it won't install correctly