Due the the fact that the apache module config isn't copied over until pkg_postinst, it never gets installed in a usable location. pkg_postinst is for modifications to the live filesystem and doins is only designed to be used inside of the sandbox. As a result, the apache files get installed to ${PORTAGE_TMPDIR}/nagios-core-1.2-r2/image//etc/apache2/conf/modules .d for instance and not /etc/apache2/conf/modules. Basically these steps either need to be moved into pkg_install or insinto and doins can't be used in pkg_postinst. My preference would be for pkg_install since then the files get included in the recorded file list for the package. This appears to be the case in 1.2-r3 as well.
Right - It belongs in src_install. Fixed in portage... Thanks!