[MacPorts] #52144: mariadb: support for mpkg / mdmg

MacPorts noreply at macports.org
Mon Jan 16 19:42:30 UTC 2017


#52144: mariadb: support for mpkg / mdmg
-----------------------------+---------------------
  Reporter:  ctreleaven      |      Owner:  pixilla
      Type:  enhancement     |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  mariadb-server  |
-----------------------------+---------------------

Comment (by pixilla):

 In attachment:patch_port_mariadb-server_support_packaging.diff
 files/postinstall:13 removes a file belonging to a port and later replaces
 it with a different file. I think this should be avoided.

 Would it work to add "pkg" to the launchd plist for the packaged version?
 {{{
 ln -s
 @PREFIX@/etc/LaunchDaemons/org.macports. at SUBPORT@/org.macports. at SUBPORT@.plist
 \
   /Library/LaunchDaemons/org.macports. at SUBPORT@.pkg.plist || exit 1
 }}}
 And change files/postinstall:37 to:
 {{{
 /bin/launchctl load -w
 /Library/LaunchDaemons/org.macports. at SUBPORT@.pkg.plist
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/52144#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list