Released on 03 Sep 2009. There's already a couple of patches.
Created attachment 225149 [details] Autofs 5.0.5 ebuild with current patches Here's an ebuild for 5.0.5 that works for me. I updated it to use the patches listed for 5.0.5 at http://kernel.org/pub/linux/daemons/autofs/v5/ in the proper order. It's current as of today (24 March 2010). The Gentoo custom patches referenced in src_unpack I removed as they didn't apply cleanly and I wasn't sure if they were needed anymore. I also updated the pkg_postinst message to reference rpcbind over portmap. Using portmap was causing problems for me auto-mounting NFS partitions on ~amd64. Using rpcbind, it worked as expected.
Created attachment 233417 [details] autofs-5.0.5.ebuild Complete re-write of the old ebuild, moving upstream patches into a tarball patchset, introducing hesiod USE flag, installing upstream kernel patches in docdir. Reworked as-needed and user flag fixes to be closer to upstream.
Created attachment 233419 [details, diff] autofs-5.0.5-respect-user-flags-and-fix-asneeded.patch
Created attachment 233421 [details, diff] autofs-5.0.5-fix-building-without-sasl.patch
Created attachment 233423 [details] autofs-5.0.5-patches-1.tar.lzma
Created attachment 233425 [details, diff] Add USE flag description to metadata.xml
New version was just added to the tree. Thank you Dustin for this work!