Opened 16 years ago

Closed 15 years ago

Last modified 16 months ago

#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: anddam (Andrea D'Amore), cooljeanius (Eric Gallager), mascguy (Christopher Nielsen)


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 (9)

comment:2 Changed 16 years ago by afb@…

Component: portsbase

comment:3 Changed 15 years ago by nox@…

Duplicate of #2365.

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

comment:5 Changed 15 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.

comment:6 Changed 13 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future

comment:7 Changed 13 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:8 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:9 Changed 16 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Note: See TracTickets for help on using tickets.