Bug 202678 - [New port] databases/proxysql ProxySQL is High Performance Advanced Proxy for MySQL servers
Summary: [New port] databases/proxysql ProxySQL is High Performance Advanced Proxy for...
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-26 15:32 UTC by Aleksandr Grigorov
Modified: 2017-04-10 15:02 UTC (History)
2 users (show)

See Also:


Attachments
proxysql.shar (3.11 KB, text/plain)
2015-08-26 15:32 UTC, Aleksandr Grigorov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksandr Grigorov 2015-08-26 15:32:35 UTC
Created attachment 160382 [details]
proxysql.shar

ProxySQL is a high performance proxy, currently for MySQL
and forks (like Percona Server and MariaDB) only.
Future versions of ProxySQL will support a variety database backends.

Its development is driven by the lack of open source 
proxies that provide high performance.

Benchmarks can be found at http://www.proxysql.com

WWW: http://www.proxysql.com
Comment 1 Veniamin Gvozdikov freebsd_committer freebsd_triage 2015-09-01 11:08:27 UTC
I'll take it.
Comment 2 Veniamin Gvozdikov freebsd_committer freebsd_triage 2015-09-01 12:18:51 UTC
So, I have a few questions/remarks:

1. Why do you use GCC?
2. Why it depends included mariadb client (parts has mariadb-clients)?
3. If you use USES=gmake you do not need do RUN_DEPENDES by gmake.
4. I see attached Makefile.BSD, might better patch original and pass gmake there?
5. do-build section isn't need, port builds without that because all vars passed automatically.
6. Pass iconv and cmake to USES if it necessary.
Comment 3 Aleksandr Grigorov 2015-09-01 13:07:29 UTC
>So, I have a few questions/remarks:
>1. Why do you use GCC?

Developer Rene' Cannao' - https://www.linkedin.com/in/renecannao/en build software only for gcc 4.7+.  With him, try compile use clang, but have many errors in code. 

>2. Why it depends included mariadb client (parts has mariadb-clients)?

In deps directory, a have all dependecy library for build. mariadb-client library need compile use GCC, for creating static binary proxysql.

>3. If you use USES=gmake you do not need do RUN_DEPENDES by gmake.

Sorry, i don't know it. I can change it. 

>4. I see attached Makefile.BSD, might better patch original and pass gmake there?

Original Makefile used bash veriables and need many changes with it. I prepared Makefile.BSD for build on xBSD systems. 

>5. do-build section isn't need, port builds without that because all vars passed automatically.

I see port - redis, use Makefile for example. 

>6. Pass iconv and cmake to USES if it necessary.

cmake use for build mariadb-client in deps. not use for build proxysql. 
iconv need for mariadb-client build.
Comment 4 Dmitry Marakasov freebsd_committer freebsd_triage 2015-10-30 16:12:30 UTC
This requires numerous fixes before it can be committed to the ports tree - apart from what Veniamin suggested, dependencies should be unbundled. I've send email to submitter in Russian, it seems it would be easier to discus stuff that way.
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2016-01-18 06:38:24 UTC
Hi,

Any progress here?
Comment 6 Martin Wilke freebsd_committer freebsd_triage 2017-04-10 15:02:28 UTC
Feedback timeout