Ticket #12313 (assigned enhancement)
Create separate mysql5-client and mysql5-server ports
| Reported by: | sfiera@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | High | Milestone: | Port Enhancements |
| Component: | ports | Version: | 1.5.2 |
| Keywords: | Cc: | ryandesign@…, sfiera@…, nox@…, pb-macports@… |
Description
This has been discussed. No one seems strongly against it, and the issue has come up often enough that I think there's sufficient reason to make the changed. But of course it's really up to mysql5's maintainer.
For this, I've split the mysql5 port into two portfiles, one for mysql5-client and one for mysql5-server. Obviously, the server-specific parts have gone to mysql5-server and the client parts to mysql5-client. I also added a post-destroot message to mysql5-client saying explicitly "This is the client port. Install mysql5-server if you want a server." Both ports compile, install, and run.
I also did a small rewrite of the mysql5 port that simply requires the mysql5-client port. I don't see a need to bump the revision on it.
Probably, these portfiles should be put into the system by first svn cping mysql5's Portfile into both the mysql5-client and mysql5-server directories, then pasting these portfiles over them (to get proper histories). Also, the files dir in mysql5 will need to moved to mysql5-client's folder.

