New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12797 (closed enhancement: duplicate)

Opened 4 years ago

Last modified 22 months ago

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@…
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

Changed 4 years ago by afb@…

  • component changed from ports to base

Changed 4 years ago by nox@…

Duplicate of #2365.

Changed 4 years ago by jmr@…

  • status changed from new to closed
  • resolution set to duplicate

Changed 4 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.

Changed 2 years ago by jmr@…

  • milestone MacPorts Future deleted

Changed 22 months ago by and.damore@…

  • cc and.damore@… added

Cc Me!

Note: See TracTickets for help on using tickets.