[MacPorts] #2365: Add support for non-volatile default conf files

MacPorts noreply at macports.org
Sun May 4 10:51:40 PDT 2014


#2365: Add support for non-volatile default conf files
--------------------------+--------------------------------
  Reporter:  jberry@…     |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:  MacPorts Future
 Component:  base         |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------------------

Comment (by jul_bsd@…):

 As a reference from #43237

 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

-- 
Ticket URL: <https://trac.macports.org/ticket/2365#comment:10>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list