Commit graph

22 commits

Author SHA1 Message Date
Mark Linimon
c3c004771c Fix build on GCC-based architectures by removing default assumption that
FreeBSD == clang.

Approved by:	portmgr (tier-2 blanket)
2019-01-03 15:05:51 +00:00
Mahdi Mokhtari
577a3f0178 databases/mysql57-client: Fix build for i386
Make MySQL build-script assume that FreeBSD's Clang (on i386)
doesn't have "atomic_*" functions builtin implemented.
This is added to cmake/os/FreeBSD.cmake to make the merge for upstream easier.

This fixes the build of mysql57-client on the i386 again.

PR:		229605
Submitted by:	PitDron <pitdron@gmail.com>
Reported by:	gbromov@gmail.com
Sponsored by:	The FreeBSD Foundation
2018-12-26 12:01:58 +00:00
Mahdi Mokhtari
0e518dc7c3 databases/mysql57-client: Fix the build with GCC-based architectures
This patch adds a condition to FreeBSD part of MySQL CMake-scripts
to recognize gcc as well as Clang, while taking care of Unsupported compilers too.

This is an enhancement on the initial patch by Piotr Kubaj <pkubaj@anongoth.pl> that
committed by linimon on r488087.

PR:		234172
Sponsored by:	The FreeBSD Foundation
2018-12-22 17:16:56 +00:00
Mark Linimon
efbcacd6f5 Actually add the fix.
Reported by:	maintainer
2018-12-22 10:24:17 +00:00
Mahdi Mokhtari
61e60d6d52 databases/mysql57-{client, server}: Update to 5.7.24
Delete merged-to-upstream FreeBSD patches, edit half-merged ones.

Upstream bugfixes:
    Regression of Bug #27753193 (segfault on ALTER TABLE adding primary key, InnoDB)
    Query interruption during a lock wait caused an error: Bug #28068293
    Raised assertion during an OPTIMIZE TABLE operation for InnoDB: Bug #27753193
More info on update: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-24.html

PR:		232685
Reported by:	Markus Kohlmeyer <rootservice@gmail.com>
Sponsored by:	The FreeBSD Foundation
2018-10-28 22:31:54 +00:00
Mahdi Mokhtari
2a7c735229 databases/mysql57-client: Fix build with 10.x default compiler/linker
The upstream seems merged our local-patches but
added a -R flag to its `c++` [actually ld] command.
The -R $DIR is like -rpath on 11.x and CURRENT bases but not on 10.x
We then use -rpath to make sure it works on all supported bases.

Reported by:	John W. O'Brien <john@saltant.com>
Sponsored by:	Netzkommune GmbH
2018-04-22 16:24:08 +00:00
Mahdi Mokhtari
553f6ced0d databases/mysql56-{client, server}: Update to 5.7.21
This update fixes bugs like CVE-2018-2696, CVE-2018-2562, CVE-2018-2640,
CVE-2018-2668, CVE-2017-3737 (and more) in MySQL protocol by upstream.

Delete local patches (CMake plugin macros) that are merged by upstream.

PR:		225195
Sponsored by:	Netzkommune GmbH
2018-01-17 22:43:46 +00:00
Mahdi Mokhtari
85d7d2170a databases/mysql57-{server client}: Fix broken SASL/LDAP integration on newest 5.7.19 upgrade
-Add a SASL/LDAP option for mysql57-client
-Fix plugin.cmake for "FreeBSD != Linux" case

For new plugin, MySQL build assumes everything is MacOS or Windows or Linux.
This breaks upgrades when you have SASL/LDAP client-library installed.
Because it "Decides" that you "Want" SASL/LDAP support and tries to build it.

PR:		220865
Submitted by:	mmokhi
Reported by:	Vladimir Omelchuk <admin@vladiom.com.ua>
Reviewed by:	mat, feld (mentors)
Approved by:	feld (mentor)
MFH:		2017Q3
Differential Revision:	https://reviews.freebsd.org/D11667
2017-07-23 16:45:07 +00:00
Mahdi Mokhtari
b67d2e76a5 databases/mysql57-{client/server}: Update to 5.7.19
ChangeLog for this update: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-19.html

PR:		220849
Reviewed by:	mat (mentor)
Approved by:	mat (mentor)
Sponsored by:	Netzkommune GmbH
Differential Revision:	https://reviews.freebsd.org/D11656
2017-07-19 15:15:42 +00:00
Mahdi Mokhtari
efba8f70aa databases/mysql57-{server client}: Update to latest 5.7.18 release
Fix some no-longer-valid (but needed) patches.

Reviewed by:	feld, mat (mentors)
Approved by:	feld (mentor)
Differential Revision:	https://reviews.freebsd.org/D10392
2017-04-17 14:58:06 +00:00
Thomas Zander
b5931dac78 Update to upstream version 5.7.15; fixes zero-day remote vuln CVE-2016-6662
PR:		212690
Submitted by:	mokhi64@gmail.com (maintainer)
MFH:		2016Q3
Security:	CVE 2016-6662
2016-09-16 15:55:15 +00:00
Bernard Spil
b4ada78629 databases/mysql57-server: Fix build with LibreSSL
- Fix building when OPENSSL_VERSION_NUMBER == 2
  - Switch USE_OPENSSL to USES= ssl

PR:		211770
Submitted by:	Markus Kohlmeyer <rootservice@gmail.com>
Reported by:	Markus Kohlmeyer <rootservice@gmail.com>
Approved by:	Mahdi Mokhtari <mokhi64@gmail.com>
MFH:		2016Q3
2016-08-24 18:56:34 +00:00
Thomas Zander
cad0f5776b Make my.cnf path correct according to hier(7), bump PORTREVISION
PR:		209579
Submitted by:	mokhi64@gmail.com
Reviewed by:	rootservice@gmail.com
2016-07-04 14:59:15 +00:00
Thomas Zander
f83159f188 Update to 5.7.12, fixing 31 partially critical vulnerabilities
List of vulnerabilities is documented on:
http://vuxml.freebsd.org/freebsd/8c2b2f11-0ebe-11e6-b55e-b499baebfeaf.html
CVE IDs see below.

PR:		206998
Submitted by:	mokhi64@gmail.com (maintainer)
Reviewed by:	rootservice@gmail.com
Approved by:	mokhi64@gmail.com (maintainer)
MFH:		2016Q2
Security:	CVE-2016-0705
		CVE-2016-0639
		CVE-2015-3194
		CVE-2016-0640
		CVE-2016-0641
		CVE-2016-3461
		CVE-2016-2047
		CVE-2016-0642
		CVE-2016-0643
		CVE-2016-0644
		CVE-2016-0646
		CVE-2016-0647
		CVE-2016-0648
		CVE-2016-0649
		CVE-2016-0650
		CVE-2016-0652
		CVE-2016-0653
		CVE-2016-0654
		CVE-2016-0655
		CVE-2016-0656
		CVE-2016-0657
		CVE-2016-0658
		CVE-2016-0651
		CVE-2016-0659
		CVE-2016-0661
		CVE-2016-0662
		CVE-2016-0663
		CVE-2016-0665
		CVE-2016-0666
		CVE-2016-0667
		CVE-2016-0668
2016-05-06 14:39:59 +00:00
Thomas Zander
64d67d90ee Cosmetic change of handling manual pages; preparation for upcoming update
PR:		208634
Submitted by:	rootservice@gmail.com
Approved by:	mokhi64@gmail.com (maintainer)
2016-04-23 07:15:57 +00:00
Thomas Zander
ee7169c0c1 - Fix plist
- binary_log_types.h is now installed only by client, not server
  - lib/mysql/plugin/ha_example.so is only installed if
    EXAMPLES OPTION is turned off
- Bump PORTREVISION
- Allow slave port to override PORTREVISION if necessary
- Deactivate performance_schema feature to conserve memory
- Add notes to pkg-message:
  - root password
  - performance_schema feature is deactivated by default to reduce
    memory footprint

PR:		205956 206065
Submitted by:	smh
Reviewed by:	mokhi64@gmail.com (maintainer)
Approved by:	mokhi64@gmail.com (maintainer)
MFH:		2016Q1
2016-02-03 23:11:17 +00:00
Kurt Jaeger
f8d239353c databases/mysql57-client, databases/mysql57-server:
change all files that were missed in the last commit

PR:		204607
2016-01-10 20:07:48 +00:00
Kurt Jaeger
79c95318b4 databases/mysql57-client, databases/mysql57-server:
re-add for proper repo-copy

PR:		204607
2016-01-10 20:02:30 +00:00
Kurt Jaeger
8e2b429602 databases/mysql57-client, databases/mysql57-server:
remove to prepare for proper repo-copy

PR:		204607
2016-01-10 20:00:18 +00:00
Martin Wilke
77d45f732e - Restore backwards compatibility
PR:		205433
2015-12-27 13:34:48 +00:00
John Marino
929e5dccb6 databases/mysql57-*: Support DragonFly
PR:	204607
2015-12-17 12:08:06 +00:00
Kurt Jaeger
3184bed097 New ports: databases/mysql57-client, databases/mysql57-server
The next major release of mysql.

MySQL is a very fast, multi-threaded, multi-user and robust SQL
(Structured Query Language) database server.

WWW: http://www.mysql.com/

PR:		204607
Submitted by:	mokhi64@gmail.com
Reviewed by:	koobs, brnrd
Approved by:	mat
2015-12-15 19:40:21 +00:00