Page MenuHomeFreeBSD

Create Percona 5.7 Ports
ClosedPublic

Authored by feld on Dec 14 2016, 2:41 AM.

Details

Summary

Builds fine, needs testing from volunteers

For some reason you have to disable LIBWRAP (tcpwrappers) or it will
fail to link. It appears that the MySQL 5.7 port also is missing this
functionality.

It may need additional patches fetched from MySQL 5.7 ports for LibreSSL
or DragonflyBSD. This port has not been tested with them.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

feld updated this revision to Diff 22899.Dec 14 2016, 2:41 AM
feld retitled this revision from to Create Percona 5.7 Ports.
feld updated this object.
feld edited the test plan for this revision. (Show Details)
flo added a subscriber: flo.Dec 14 2016, 4:15 PM
feld updated this revision to Diff 22925.Dec 14 2016, 7:56 PM
feld edited edge metadata.

Fix CONFLICTS

Owners edited edge metadata.Dec 14 2016, 7:56 PM
feld added a subscriber: mmokhi.

Adding @flo as he maintains the other percona ports.

Pulling in @mokhi64_gmail.com who already ported MySQL 5.7 and might have suggestions as the code is similar.

feld added inline comments.Dec 14 2016, 8:10 PM
databases/percona57-server/Makefile
9 ↗(On Diff #22925)

This is a hard dependency. Percona doesn't ship any tarballs with boost 1.59.0. MySQL 5.7 has a tarball that includes boost, which is what the MySQL 5.7 port uses.

mmokhi added inline comments.Dec 14 2016, 8:23 PM
databases/percona57-server/Makefile
9 ↗(On Diff #22925)

Yes.
MySQL57 had not it shipped before.
Probably worth negotiating with Percona team about it too.
Doesn't it work with boost 1.62.0 BTW? (I didn't had this version available at time of porting MySQL57, so i didn't test it with it)

feld added a comment.Dec 14 2016, 8:29 PM

I attempted to hook it up to boost 1.62.0 from ports, but the build failed when it detected the boost version != 1.59.0. I did not attempt to disable the check to see if it still worked with 1.62.0. I have not seen any documentation from Percona that indicates it supports > 1.59.0.

mat added a comment.Dec 14 2016, 9:12 PM

Make sure those ports are created using a svn cp from the percona56-* ones.

feld added a comment.Dec 23 2016, 12:38 AM

any comments on this @flo ? I'm curious how it differs from your own private port you were testing.

feld updated this revision to Diff 23817.Jan 10 2017, 4:44 AM
feld edited edge metadata.

Now building on FreeBSD 11.0.

I will probably commit this tomorrow when I'm not so tired. I don't want
to screw up my various svn cp as I fetched some patches from mysql80 as
well

feld added inline comments.Jan 10 2017, 4:50 AM
databases/percona57-server/Makefile
38 ↗(On Diff #23817)

Actually this is wrong wrong wrong. bundled isn't OpenSSL; bundled is yassl!

feld updated this revision to Diff 23819.Jan 10 2017, 5:11 AM
feld edited edge metadata.

Fix to build against OpenSSL.

feld marked 3 inline comments as done.Jan 10 2017, 5:12 AM
feld updated this revision to Diff 23836.Jan 10 2017, 4:36 PM
feld edited edge metadata.

Slave ports should not get the OPTIONS

pkgconfig data was not placed in the right location

other minor cleanups

feld updated this revision to Diff 23840.Jan 10 2017, 6:42 PM
feld edited edge metadata.

fix build/install of percona-pam-for-mysql plugin

This revision was automatically updated to reflect the committed changes.