[MacPorts] #52144: mariadb: support for mpkg / mdmg
MacPorts
noreply at macports.org
Wed Aug 31 12:39:50 PDT 2016
#52144: mariadb: support for mpkg / mdmg
--------------------------+----------------------------
Reporter: ctreleaven@… | Owner: pixilla
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: mariadb-server
--------------------------+----------------------------
My mythtv ports rely on mariadb as the backend database. This ticket
proposes some enhancements to mariadb to better support packaging via an
mpkg or mdmg.
First, mariadb (5.5) still uses an antiquated startupitem which in turn
relies on daemondo. I believe the new launchd (10.10 and later?) no
longer supports startupitems. In any event, it is a problem to include
daemondo in a pkg. Therefore, I've adapted the launchd plist introduced
in MySQL 5.7.8 to work with mariadb in the MacPorts environment. Patch
attached for review and comments.
Second, I'm developing packaging scripts (preinstall, postflight, etc)
such that manual intervention will not be required after an mpkg / mdmg
installation. The database will be functional and running. This is
different than the state after 'sudo port install mariadb-server' but I
think it makes sense. Most users installing from an mpkg don't expect to
have to do manual steps afterwards to have functional software. A patch
is in process for this and will hopefully be submitted in a few days.
--
Ticket URL: <https://trac.macports.org/ticket/52144>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list