Opened 11 years ago

Closed 11 years ago

#43237 closed enhancement (duplicate)

destroot.config setting to manage configuration files

Reported by: jul_bsd@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version:
Keywords: Cc:
Port:

Description

Like destroot.keepdirs, a command to declare a file as a configuration should exist. listed filed would be

  • move to ${prefix}/share/examples/${name}
  • if not existing in current setup, copy to normal location in post-activate
  • on post-deactivate, IF file unchanged (can compare to example files or better stored a hash w package receipt), removed

As an example, I would point on Openbsd @sample setting http://www.openbsd.org/faq/ports/specialtopics.html#Config http://www.openbsd.org/cgi-bin/cvsweb/ports/net/net-snmp/pkg/PLIST-main?annotate=1.17

Change History (2)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Component: portsbase

comment:2 Changed 11 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.