Bug 139116 - bsd.port.mk: call target "install-rc-script" before "post-install"
Summary: bsd.port.mk: call target "install-rc-script" before "post-install"
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-24 16:00 UTC by skv
Modified: 2011-05-04 23:34 UTC (History)
0 users

See Also:


Attachments
file.diff (826 bytes, patch)
2009-09-24 16:00 UTC, skv
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description skv freebsd_committer freebsd_triage 2009-09-24 16:00:11 UTC
In _INSTALL_SUSEQ order of targets is incorrect: "install-rc-script" must
be placed before "post-install". (Or "post-install post-install-script" must be
placed after "install-ldconfig-file".)

This is important because POST-INSTALL script may call rc.d-script for some purposes.
For example, configs tests generation, performing checks and so on. This actions may be
added as "extra_commands" info rc.d-script.

Note that this issue is occured only when we install from ports.
Adding binary package all is ok, because script +POST-INSTALL is running
after placing package files to the final location.

So we have inconsistent behaviour.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-09-24 16:00:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

bsd.port.mk is portmgr territory (via the GNATS Auto Assign Tool)
Comment 2 Florent Thoumie freebsd_committer freebsd_triage 2011-04-24 23:17:44 UTC
State Changed
From-To: open->analyzed

Take for -exp.
Comment 3 Florent Thoumie freebsd_committer freebsd_triage 2011-05-04 23:34:57 UTC
State Changed
From-To: analyzed->closed

Committed. Thanks!