Opened 17 years ago

Closed 16 years ago

Last modified 2 years 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)
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 (9)

comment:2 Changed 17 years ago by afb@…

Component: portsbase

comment:3 Changed 17 years ago by nox@…

Duplicate of #2365.

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

Resolution: duplicate
Status: newclosed

comment:5 Changed 16 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 14 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future

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

Cc: and.damore@… added

Cc Me!

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

Cc: egall@… added

Cc Me!

comment:9 Changed 2 years ago by mascguy (Christopher Nielsen)

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