Not being an ebuild expert it seems to me that the line einfo " \"ebuild /var/db/pkg/net-analyzer/nagios-core-${PV}/nagios-core-${PV}.ebuild config\"" should read einfo " \"ebuild /var/db/pkg/net-analyzer/${PF}/${PF}.ebuild config\"" instead?
Created attachment 19416 [details] Proposed fix for bug nagios ebuild with pkg_postinst cut and pasted from nagios-core ebuild.
please add changelog entries for the work you've done
Created attachment 19451 [details, diff] Patch to existing ebuild. - Updated the msg the ebuild gave after emerge to reflect new nagios-core revision. Otherwise similar to the msg from nagios-core. Note that I'm not using ${PV} or ${PF} as it refers to another ebuild and they do not necessarily have the same revision number. So please disregard my first proposal.