[MacPorts] #52144: mariadb: support for mpkg / mdmg
MacPorts
noreply at macports.org
Mon Jan 16 20:38:18 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 ctreleaven):
Replying to [comment:10 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.
>
This one of the files where ownership/permissions sometimes gets mangled
during the install. Deleting and recreating the link seemed like the most
direct way of avoiding that potential problem.
> 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
> }}}
That would work.
--
Ticket URL: <https://trac.macports.org/ticket/52144#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list