Created attachment 385478 [details, diff] djbdns-1.05-r29.ebuild.patch In djbdns $WORKDIR there are two subdirectories: djbdns-1.05 and djbdns-man. $S by default set to $WORKDIR/djbdns-1.05, and epatch_user also run in that directory. Because of this it's impossible to apply user patches to man pages. I think epatch_user should be run in $WORKDIR (patch for ebuild attached).
I'm reluctant to move the epatch_user to $WORKDIR because it will break the bazillion patches floating around for djbdns. And in EAPI6, the default call to epatch_user will take place in src_prepare (i.e. in $S). Would it be acceptable to unpack the man pages under djbdns-1.05/man instead?
(In reply to Michael Orlitzky from comment #1) > Would it be acceptable to unpack the man pages under djbdns-1.05/man instead? Yeah, why not?
Created attachment 385628 [details] djbdns-1.05-r30.ebuild How's this look?
Created attachment 385630 [details, diff] srv_record_support.patch
Looks good and works for me, thanks.
02 Oct 2014; Michael Orlitzky <mjo@gentoo.org> +djbdns-1.05-r30.ebuild, +files/srv_record_support.patch: Revbump to fix bugs #523754 and #523756.