[MacPorts] #50822: [New Port Request] Percona Server for MongoDB
MacPorts
noreply at macports.org
Mon Mar 7 20:09:15 PST 2016
#50822: [New Port Request] Percona Server for MongoDB
----------------------+--------------------------
Reporter: mark@… | Owner: ryandesign@…
Type: request | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
----------------------+--------------------------
Comment (by ryandesign@…):
Replying to [comment:2 mark@…]:
> That sounds great! Would renaming the existing port be reasonably
seamless for users?
Yes, port replacement or renaming can be made seamless.
> I guess adding this package would also require a mongodb-select port
similar to other multi-version packages like PHP, MySQL, etc. It
[https://www.percona.com/doc/percona-server-for-
mongodb/upgrading_guide_mongodb_psmdb.html would appear] that a binary
swap (via aliases) would work here too.
Adding a select port would be more involved. The select ports for php,
mysql, etc. rely on the fact that none of the php or mysql ports
themselves provide the executables of the generic names. No php port
provides /opt/local/bin/php. No mysql port provides /opt/local/bin/mysqld.
That leaves it up to the select port to provide them, as symlinks to
wherever the php and mysql ports put the real files. The current mongodb
port, on the other hand, does provide /opt/local/bin/mongod; the only way
to make a select port that could provide /opt/local/bin/mongod would be if
the mongodb port were changed to install that file, and all other files we
would want to select, in different locations. And then all ports that use
mongodb would have to be adjusted to look for those files in those new
locations. I haven't yet looked at the percona fork of mongodb to see
whether they use the same filenames or different ones, so I don't yet know
to what extent, if any, changes will be needed in the mongodb port.
--
Ticket URL: <https://trac.macports.org/ticket/50822#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list