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

MacPorts noreply at macports.org
Tue Jan 31 01:33:07 UTC 2017


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

Comment (by ctreleaven):

 See https://guide.macports.org/#using.binaries.binary-packages -- there is
 a prominent warning not to create installers that write into /opt/local.
 In other words, don't mix the two delivery systems.  There is a similar
 warning in man port-mpkg.

 Using a pkg to install into a prefix owned by MacPorts is a very good way
 to break things in general.  Each component of an installer package is at
 a particular version.  Generally they will be the current version at the
 time the installer is cut but it doesn't take very long before an
 installer would be overwriting newer stuff with older.  There is no
 version checking or any way to check for incompatibilities.

 Also, note that I've added packaging support to the fontconfig and shared-
 mime-info ports in the last few weeks.  There was no objection to those
 commits.

 MacPorts provides tools to do packaging.  They can be misused but this
 commit was about making MariaDB work out-of-the-box when it is included in
 an mpkg.  I think the commit is useful and poses minimal extra risk (if
 any).

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


More information about the macports-tickets mailing list