Welcome to CRUX bug tracking.

FS#253 - support directory to avoid post-install scripts

Attached to Project: CRUX
Opened by Johannes Winkelmann (jw) - Friday, 04 April 2008, 08:17 GMT
Last edited by Juergen Daubert (jue) - Tuesday, 30 September 2008, 18:03 GMT
Task Type Feature Request
Category ports → core/opt
Status Closed
Assigned To Johannes Winkelmann (jw)
Operating System CRUX
Severity Low
Priority Normal
Reported Version Development
Due in Version 2.5
Due Date Undecided
Percent Complete 100%
Votes 8
Private No


Here's an idea to consider:
add an include statement to /etc/ like this:

include /etc/*.conf

Optionally, move out the current content of to /etc/$name, where name could by 'default', 'system' or anything like this.

Reasoning: some ports install libraries to subdirectories of /usr/lib (mysql, xulrunner); these currently require the user to update /etc/ or the packager to add a post-install script. If the mechanism mentioned above would be implemented, such ports could install a $PKG/etc/<portname> which includes the additional path(s).

Note: it might be a good idea to write down in the packaging guidelines that files installed to this directory should carry the same name as the port itself, to avoid conflicts. It might also be a good idea to verify that in port verification tools :-).
This task depends upon

Closed by  Juergen Daubert (jue)
Tuesday, 30 September 2008, 18:03 GMT
Reason for closing:  Implemented
Comment by Johannes Winkelmann (jw) - Tuesday, 01 July 2008, 19:07 GMT
preposed patch