Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31430 - net-analyzer/nagios pkg_postinst() problem
Summary: net-analyzer/nagios pkg_postinst() problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-18 11:17 UTC by Sune Kloppenborg Jeppesen
Modified: 2003-10-19 03:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed fix for bug (nagios-1.1-r1.ebuild,2.01 KB, text/plain)
2003-10-18 12:02 UTC, Sune Kloppenborg Jeppesen
Details
Patch to existing ebuild. (nagios-patch.diff,2.75 KB, patch)
2003-10-19 03:08 UTC, Sune Kloppenborg Jeppesen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sune Kloppenborg Jeppesen 2003-10-18 11:17:56 UTC
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?
Comment 1 Sune Kloppenborg Jeppesen 2003-10-18 12:02:08 UTC
Created attachment 19416 [details]
Proposed fix for bug

nagios ebuild with pkg_postinst cut and pasted from nagios-core ebuild.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-10-18 12:53:13 UTC
please add changelog entries for the work you've done
Comment 3 Sune Kloppenborg Jeppesen 2003-10-19 03:08:48 UTC
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.