Ticket #12797 (closed enhancement: duplicate)
RFE: "destroot.configfiles" metadata, for specifying conf files to keep
| Reported by: | afb@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | base | Version: | 1.6.0 |
| Keywords: | Cc: | and.damore@…, egall@… | |
| Port: |
Description
It would be nice if there was an easy way to specify which of the installed files are configuration, somewhat similar to "destroot.keepdirs" says which empty directories to keep.
This could trigger special handling, such as making a copy called "default" and only overwriting user files if they haven't changed from default - or for carrying info over to package targets.
Change History
comment:4 Changed 5 years ago by jmr@…
- Status changed from new to closed
- Resolution set to duplicate
comment:5 Changed 5 years ago by afb@…
Actually it's not a duplicate, but should probably be combined into one Portfile setting... This bug was about having metadata available for packaging, the other was about using it for activate.
BTW. Having variables grouped by target is a design flaw, I think. It separates these two into "activate." and "destroot.", and it also makes e.g. CFLAGS/LDFLAGS and Universal flags harder.


See also http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-config.html