Commit graph

30 commits

Author SHA1 Message Date
Mahdi Mokhtari
d79cf0c9d0 databases/mysq56-{client, server}: Update to 5.6.45
This update includes security fixes which are
mentioned on upstream critical patch report.
Further info:
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html#AppendixMSQL

PR:		239571
Reported by:	serg@tmn.ru
Sponsored by:	Platform.sh
2019-08-05 23:21:26 +00:00
Mahdi Mokhtari
1cf7d191dd databases/mysql56-{client, server}: Update to latest release 5.6.44
This update includes
Bugfix:
- InnoDB: The INDEX_LENGTH value in INFORMATION_SCHEMA.TABLES
    was not updated when adding an index
- MySQL 5.6 did not build with maintainer mode enabled with GCC 7
- A damaged mysql.user table could cause a server exit
- mysqladmin shutdown did not wait for mysqld to shut down
More info: https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-44.html

Security Fix:
CVE-2019-1559, CVE-2018-3123 and other fixes.
More info: https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html#AppendixMSQL<Paste>

PR:		237399
Reported by:	Brent Busby <brent@jfi.uchicago.edu>
Sponsored by:	The FreeBSD Foundation
2019-04-28 21:24:35 +00:00
Mahdi Mokhtari
ee2988c0b1 databases/mysql56-server: Fix build with libressl after r481608
PR:		228899
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Reported by:	brnrd
Sponsored by:	The FreeBSD Foundation
2018-10-11 19:50:57 +00:00
Mahdi Mokhtari
f1750d5d5c databases/mysql56-{client, server}: Fix build with OpenSSL1.1.x
This is the backport of fix on mysql57

PR:		225888
Reported by:	brnrd
Reviewed by:	antoine
Sponsored by:	The FreeBSD Foundation
2018-10-09 07:49:27 +00:00
Bernard Spil
e5ae6c3f38 databases/mysql56-server: Fix build with LibreSSL
PR:		227178
Approved by:	mmokhi (maintainer)
2018-05-07 19:09:02 +00:00
Mahdi Mokhtari
f5b82ad2e1 databases/mysql56-server: Adapt ${name}_limits to the new mechanism
Regarding to the changes to rc.subr(8) it is no longer necessary to
define a resource limiting logic in service scripts.
limits(1) is now run by default and its configuration is handled
via the "${name}_limits" variable.
This however causes collision of variable names and also is not
compatible with the old mechanism.
This fixes the rc-script of mysql56 for the bases with both
old and new mechanism.

PR:		227229
Submitted by:	0mp
Reported by:	0mp
Sponsored by:	Netzkommune GmbH
2018-04-04 20:45:14 +00:00
Mahdi Mokhtari
7f0c31cc65 databases/mysql56-server: Fix rc-script ${name}_limits conflict for post r328331
After r328331 changes in head/etc/rc.subr, having "NO" in mysql_limits
goes into "limits" command params as is.
So this patch substitutes the "NO" appropriately when needed.

PR:		225657
Reported by:	robbak@gmail.com
Reviewed by:	Rainer Hurling <rhurlin@gwdg.de>
Sponsored by:	Netzkommune GmbH
2018-02-08 12:42:42 +00:00
Mahdi Mokhtari
4c87cd2274 databases/mysql56-{client, server}: Update to 5.6.39
This update fixes bugs like CVE-2018-2696, CVE-2018-2562,
and CVE-2018-2583 in MySQL protocol by upstream

PR:		225240
Sponsored by:	Netzkommune GmbH
2018-01-17 22:35:49 +00:00
Jan Beich
511f6cbe19 databases/mysql56-server: unbreak build with Clang 6 (C++14 by default)
sql-common/client_authentication.cc:87:56: error: comparison between pointer and integer ('char *' and 'int')
      mysql->options.extension->server_public_key_path != '\0')
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~

sql/sql_trigger.cc:195:5: error:
      non-constant-expression cannot be narrowed from type 'int' to 'size_t' (aka 'unsigned long') in
      initializer list [-Wc++11-narrowing]
    static_cast<int>(my_offsetof(class Table_triggers_list, definitions_list)),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reported by:	antoine (via bug 224669)
2018-01-05 10:54:41 +00:00
Mahdi Mokhtari
77048993fa databases/mysql56-{server client}: Update to latest 5.6.36
Also Delete patches that merged/fixed by upstream.
And 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:54:56 +00:00
Baptiste Daroussin
b85734e5a8 Update libedit to 20170329 2017-04-01 15:11:14 +00:00
Mahdi Mokhtari
b9db446854 databases/mysql{56 57 80}:
Improve ${mysql_optfile} default usage in rc script.
Improve pkg-message.

Reviewed by:	feld, mat
Approved by:	feld, mat (mentors)
Differential Revision:	https://reviews.freebsd.org/D9646
2017-02-22 17:25:22 +00:00
Bernard Spil
fbaf26c24a databases/mysql56-server: Fix OpenSSL linking
- Force dynamic linking with OpenSSL

MFH:		2017Q1
2017-01-25 19:07:08 +00:00
Antoine Brodin
6d3bf97004 Revert r432035 part 2, it breaks build with openssl from base
With hat:	portmgr
2017-01-21 17:40:07 +00:00
Bernard Spil
4fbb730f60 databases/mysql56-server: Fix build with LibreSSL
- Fix CMake SSL detection
  - Always set WITH_SSL=${OPENSSLBASE}

PR:		216311
Approved by:	Mahdi Moktari <mokhi64@gmail.com> (maintainer)
Differential Revision:	D9272
2017-01-21 13:22:51 +00:00
Mark Felder
35f02968f0 databases/mysql56-server: Rollback rc script changes 2017-01-20 16:02:30 +00:00
Mark Felder
7164158100 databases/mysql56: Update to 5.6.35
- Port improvements from MySQL 5.7 port
- Use system libs instead of bundled
- Fix many open PRs
- Change MAINTAINER

PR:		216244 192657 198812 199751 205093
PR:		209618 211248 205983 209338
2017-01-19 22:29:04 +00:00
Sean Bruno
f5f737f97e For ARMv6, declare FPSETMASK 0 and FEDISABLEEXCEPT 1. This allows mysql server to
build on ARMv6.

No need to bump portrevision for everyone else here as this only affects ARM users.

PR:		195750
Submitted by:	mikael.urankar@gmail.com
Approved by:	mentor (implicit)
2015-01-01 22:41:56 +00:00
Alex Dupre
709c6474c5 Update to 5.6.20 release. 2014-08-04 14:21:40 +00:00
Alex Dupre
b6efe925db Update to 5.6.17 release. 2014-03-31 12:29:12 +00:00
Tijl Coosemans
879931c62f Fix mysql51/55/56 build with clang on i386.
The included yassl library contains inline asm (only for i386) using
intel syntax which clang does not support.  For now, just disable the
inline asm when clang is used and use the standard C implementation like
on every other architecture.

Approved by:	ale (maintainer)
2013-10-08 13:25:00 +00:00
Bernhard Froehlich
9a1cf8046f - Fix build problem on HEAD where libc++ bitset::test() and the
mysql built in macro test() from my_global.h clash.

The port requires another fix to properly compile on HEAD which
will be committed to libc++/include/memory on HEAD soon.

With hat:	portmgr
2013-10-05 15:55:13 +00:00
Alex Dupre
f7f43aecfa Update to 5.6.13 release. 2013-08-12 11:47:33 +00:00
Alex Dupre
4ddabf9b13 Update to 5.6.12 release. 2013-06-10 15:12:51 +00:00
Alex Dupre
e457b98073 Pass --defaults-extra-file also to mysql_install_db.
Submitted by:	Daniel Ylitalo <daniel@203core.se>
2013-05-27 11:59:01 +00:00
Chris Rees
68bfa4c6fd Very slight speedup on rc file parsing; use hostname variable in preference
to calling /bin/hostname if available

Approved by:	ale (maintainer)
2013-04-24 17:28:01 +00:00
Alex Dupre
bdacc7aca2 Allow to specify server-specific option file path in /etc/rc.conf
PR:		ports/172408
Submitted by:	Daniel Ylitalo <daniel@produktion203.se>
2013-04-24 15:08:22 +00:00
Alex Dupre
02a4160e1e Allow compilation using Clang in C++11 mode.
PR:		ports/171546
Submitted by:	Michael Gmelin <freebsd@grem.de>
2013-04-23 10:18:02 +00:00
Alex Dupre
3156cdf2e1 Update to 5.6.11 release. 2013-04-22 18:45:59 +00:00
Alex Dupre
43b36cb2d7 Add MySQL 5.6. 2013-02-14 15:04:05 +00:00