Commit Graph

94 Commits

Author SHA1 Message Date
Jochen Neumeister 7ce156ba86 fix distinfo
Sponsored by:	Netzkommune GmbH
2021-02-03 06:20:55 +00:00
Dima Panov fa82d30804 databases/mysql56*: update to 5.7.33 release
Disable detect of TLSv1.3 functions - it's broken with LibreSSL

Release Notes:	https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-33.html
Requested by:	joneum
2021-02-03 02:02:58 +00:00
Sunpoet Po-Chuan Hsieh fef65679d6 Bump PORTREVISION for devel/protobuf shlib change 2021-01-26 14:01:09 +00:00
Jochen Neumeister 3e67f95cb9 databases/mysq57-{client, server}: Update to latest release 5.7.32
Full Changelog: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-32.html

Sponsored by:	Netzkommune GmbH
2020-10-20 08:53:44 +00:00
Jochen Neumeister 0e8b25892a Fix pkg-messages
PR:		250340
Submitted by:	0mp
Sponsored by:	Netzkommune GmbH
2020-10-16 20:43:57 +00:00
Jochen Neumeister 8aa416769a MySQL 5.7 mysqld_safe allows malloc-lib files only in certain locations.
google-perftools port puts libtcmalloc_minimal.so inside /usr/local/lib
To use tcmalloc memory allocator we need mysqld_safe to load libraries from /usr/local/lib

More information about why to use tcmalloc instead of jemalloc here:

https://forums.freebsd.org/threads/freebsd-12-x-and-mysql-5-7-and-importing-file-with-lots-of-small-lines-exhaust-ram-and-swap.72733/

PR:		248982
Sponsored by:	Netzkommune GmbH
2020-09-14 06:55:04 +00:00
Sunpoet Po-Chuan Hsieh b94e8d8c27 Bump PORTREVISION for devel/protobuf shlib change 2020-08-30 20:19:41 +00:00
Tobias C. Berner 43e3b39981 databases/mysql57-server: fix build on current (temporary fix)
- add temporary work around to use llvm from ports on recent currents
2020-08-27 06:21:38 +00:00
Jochen Neumeister d98e6b5c26 databases/mysq57-{client, server}: Update to latest release 5.7.31
Full Changelog: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-31.html

Submitted by:	fluffy
MFH:		2020Q3
Security:	0ed71663-c369-11ea-b53c-d4c9ef517024
Sponsored by:	Netzkommune GmbH
2020-07-13 19:09:05 +00:00
Sunpoet Po-Chuan Hsieh 1c489784e1 Bump PORTREVISION for devel/protobuf shlib change 2020-06-03 18:32:05 +00:00
Jochen Neumeister 83a7644990 In file included from /usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/vio/viosslfactories.c:29:
/usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/include/my_openssl.h:55:30: error: use of undeclared identifier 'OPENSSL_INIT_NO_ATEXIT'
  return OPENSSL_init_crypto(OPENSSL_INIT_NO_ATEXIT, NULL);

This fix a problem with libressl

PR:		246070
MFH:		2020Q2
Sponsored by:	Netzkommune GmbH
2020-05-04 09:44:07 +00:00
Jochen Neumeister 10fe9bef59 databases/mysq56-{client, server}: Update to latest release 5.7.30
Bugs Fixed:
- InnoDB: The row_upd_clust_rec_by_insert function, which marks a clustered index record as deleted and inserts an updated version of the record into the clustered index, passed an incorrect n_ext value (the total number of external fields) to lower level functions, causing an assertion failure.
- InnoDB: An operation performed with the innodb_buffer_pool_evict debug variable set to uncompressed caused an assertion failure.
- InnoDB: An add column operation caused an assertion failure. The failure was due to a dangling pointer.
- nnoDB: Updating certain InnoDB system variables that take string values raised invalid read errors during Valgrind testing.
- InnoDB: An insert statement on a table with a spatial index raised a record type mismatch assertion due to a tuple corruption.
- InnoDB: A function that calculates undo log record size could calculate an incorrect length value in the case of a corrupted undo log record, resulting in a malloc failure. Assertion code was added to detect incorrect calculations.
- Replication: While an SQL statement was in the process of being rewritten for the binary log so that sensitive information did not appear in plain text, if a SHOW PROCESSLIST statement was used to inspect the query, the query could become corrupted when it was written to the binary log, causing replication to stop. The process of rewriting the query is now kept private, and the query thread is updated only when rewriting is complete.
- Replication: When a GRANT or REVOKE statement is only partially executed, an incident event is logged in the binary log, which makes the replication slave's applier thread stop so that the slave can be reconciled manually with the master. Previously, if a failed GRANT or REVOKE statement was the first statement executed in the session, no GTID was applied to the incident event (because the cache manager did not yet exist for the session), causing an error on the replication slave. Also, no incident event was logged in the situation where a GRANT statement created a user but then failed because the privileges had been specified incorrectly, again causing an error on the replication slave. Both these issues have now been fixed.
- Replication: When a replication slave has a generated column that the master does not have in that table, with a secondary index on the generated column, the generated expression should be evaluated and the value stored by the storage engine in the secondary index. When row-based binary logging is in use, the replication slave assigns default values to any fields that are not in the master's definition of the table. In the case of a generated column, which does not have a default value, the slave was previously assigning a null or a zero value to the column. This value was then stored by the storage engine in the secondary index, causing both the table and the index to become corrupted. To fix this issue, generated columns in a table on a replication slave are now re-evaluated before the values are sent to the storage engine.
- Replication: In the event of an unplanned disconnection of a replication slave from the master, the reference to the master's dump thread might not be removed from the list of registered slaves, in which case statements that accessed the list of slaves would fail. The issue has now been fixed.
- Replication: With the settings binlog_format=MIXED, tx_isolation=READ-COMMITTED, and binlog_row_image=FULL, an INSERT ... SELECT query involving a transactional storage engine omitted any columns with a null value from the row image written to the binary log. This happened because when processing INSERT ... SELECT statements, the columns were marked for inserts before the binary logging format was selected. The issue has now been fixed.

Full Changelog: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-30.html

MFH:		2020Q2
Security:	21d59ea3-8559-11ea-a5e2-d4c9ef517024 (MySQL - Server)
Security:	622b5c47-855b-11ea-a5e2-d4c9ef517024 (MySQL - Client)
Sponsored by:	Netzkommune GmbH
2020-04-30 08:15:11 +00:00
Jochen Neumeister c680260bc8 Some manpages require groff, for example mysqladmin
PR:		241145
Reported by:	Robert Schulze <rs@bytecamp.net>
Sponsored by:	Netzkommune GmbH
2020-03-01 12:19:39 +00:00
Jochen Neumeister 38a4d3bd51 Take Maintainership
Approved by:	mmokhi (maintainer via private Mail)
2020-01-24 22:01:39 +00:00
Sunpoet Po-Chuan Hsieh 11493c54b5 Bump PORTREVISION for devel/protobuf shlib change 2020-01-22 05:53:20 +00:00
Jochen Neumeister b8dcc4acd1 databases/mysq56-{client, server}: Update to latest release 5.7.29
Bugs Fixed:
- InnoDB: os_file_get_parent_dir warnings were encountered when compiling MySQL with GCC 9.2.0.
- InnoDB: An internal function (btr_push_update_extern_fields()) used to fetch newly added externally stored fields and update them during a pessimistic update or when going back to a previous version of a record was no longer required. Newly added externally stored fields are updated by a different function. Also, the method used to determine the number of externally stored fields was corrected.
- InnoDB: A comparison function found two records to be equal when attempting to merge non-leaf pages of a spatial index. The function was unable to handle this unexpected condition, which resulted in a long semaphore wait and an eventual assertion failure.
- Replication: A memory leak could occur when a failed replication group member tried to rejoin a minority group and was disallowed from doing so.
- Docker packages were missing the LDAP authentication plugins.

More Infos: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-29.html

Approved by:	mmokhi (maintainer, implicit)
MFH:		2020Q1
Security:	a6cf65ad-37d2-11ea-a1c7-b499baebfeaf
Sponsored by:	Netzkommune GmbH
2020-01-16 15:14:58 +00:00
Jochen Neumeister 876164c2f6 Get rid of useless and unfilled libdata/pkgconfig/LIBMYSQL_OS_OUTPUT_NAME-NOTFOUND.pc
for server bundle, right .pc file is already installed by client package

PR:		242488
Reported by:	fluffy
Approved by:	mmokhi (maintainer, implicit)
Sponsored by:	Netzkommune GmbH
2019-12-10 10:26:10 +00:00
Jochen Neumeister d799f792cd /ram/usr/ports/databases/mysql57-client/work/mysql-5.7.28/vio/viosslfactories.c
/ram/usr/ports/databases/mysql57-client/work/mysql-5.7.28/vio/viosslfactories.c:505:27: error: use of undeclared identifier 'SSL_OP_NO_TLSv1_3'
                        | SSL_OP_NO_TLSv1_3

This fix a problem with libressl

PR:		242474
Approved by:	mmokhi (maintainer, implicit)
Sponsored by:	Netzkommune GmbH
2019-12-06 19:02:43 +00:00
Jochen Neumeister cc67296290 Update to 5.7.28
Changelog: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-28.html

PR:		241920
Approved by:	mmokhi (maintainer, implicit)
Sponsored by:	Netzkommune GmbH
2019-12-05 18:12:07 +00:00
Baptiste Daroussin ebc87904a6 Drop the ipv6 virtual category for d* category as it is not relevant anymore 2019-10-09 10:34:56 +00:00
Mathieu Arnold 78d1aff1fc Convert to UCL & cleanup pkg-message (categories d) 2019-08-13 16:01:59 +00:00
Mahdi Mokhtari 4b382c759b databases/mysq56-{client, server}: Update to latest release 5.7.27
This update includes security fixes on issues that are
mentioned on upstream critical patch report.
Further info:
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html#AppendixMSQL

PR:		239271
Submitted by:	Greg Veldman <freebsd@gregv.net>
Reported by:	Markus Kohlmeyer <rootservice@gmail.com>
Sponsored by:	Platform.sh
2019-08-05 23:37:31 +00:00
Jan Beich f18538b989 devel/libevent2: update to 2.1.11
Changes:	https://github.com/libevent/libevent/releases/tag/release-2.1.11-stable
ABI:		https://abi-laboratory.pro/tracker/timeline/libevent/
PR:		239599
Reported by:	GitHub (watch releases)
Approved by:	zeising (maintainer)
MFH:		2019Q3 (maybe security, partially restores 2.1.8 ABI)
Differential Revision:	https://reviews.freebsd.org/D21133
2019-08-02 13:30:40 +00:00
Sunpoet Po-Chuan Hsieh 4f3e0d828f Bump PORTREVISION for devel/protobuf shlib change 2019-07-31 16:38:52 +00:00
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Sunpoet Po-Chuan Hsieh 70ffc9c0fd Update devel/protobuf to 3.8.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/protocolbuffers/protobuf/releases
PR:		238808
Exp-run by:	antoine
2019-07-05 19:08:49 +00:00
Mahdi Mokhtari 2e596e3fc4 databases/mysql57-{client, server}: Update to latest release 5.7.26
This update includes:
Bugfix:
- InnoDB: Optimized internal temporary tables did not support
    in-place UPDATE operations
- InnoDB: A function called by a CREATE TABLE thread attempted access after free()
- InnoDB: The INDEX_LENGTH value in INFORMATION_SCHEMA.TABLES
    was not updated when adding an index
- The authentication_ldap_simple plugin could enforce authentication incorrectly
More info: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-26.html

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

PR:		237399
Reported by:	Brent Busby <brent@jfi.uchicago.edu>
Sponsored by:	The FreeBSD Foundation
2019-04-28 21:34:14 +00:00
Sunpoet Po-Chuan Hsieh 73b1e3abe6 Update devel/protobuf to 3.7.1
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/protocolbuffers/protobuf/releases
PR:		236157
Exp-run by:	antoine
2019-03-31 13:41:02 +00:00
Mark Linimon d6f063aa34 Similar to other SQL ports, add -fpermissive when compiling using GCC
to fix compilation.

PR:		235690
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
2019-02-21 04:16:16 +00:00
Mahdi Mokhtari 27b0903197 databases/mysql57-{client, server}: Update to latest release 5.7.25
This update (released on Jan 21st) includes:
Deprecation:
  -Tools resolveip and resolve_stack_dump utilities are now deprecated.
    (Will be removed on MySQL8.0).
Bugfix:
  -Fix a memory leak caused by a dangling pointer. (Bug #28693568)
  -Fix mishandling of SIGHUP by server could result in a server exit.
    (Bug #27966483, Bug #90742).
  -Correct potential incorrect out-of-memory checks performed by parser.
    (Bug #25633994).

More info from upstream:
  https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-25.html

PR:		234983
Reported by:	 Markus Kohlmeyer < rootservice@gmail.com >
Sponsored by:	The FreeBSD Foundation
2019-01-21 20:40:48 +00:00
Mahdi Mokhtari bba499001a databases/mysql57-server: 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.

PR:		229605
Reported by:	gbromov@gmail.com
Sponsored by:	The FreeBSD Foundation
2018-12-26 12:08:25 +00:00
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00
Dmitry Marakasov 125f0c2079 - Update WWW
Approved by:	portmgr blanket
2018-12-14 09:30:07 +00:00
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Sunpoet Po-Chuan Hsieh 7cdcf9aed1 Update devel/protobuf to 3.6.1
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/protocolbuffers/protobuf/releases
PR:		231008
Exp-run by:	antoine
2018-12-03 19:41:32 +00:00
Mahdi Mokhtari efc9b62813 databases/mysql57-{client, server}: Fix inconsistencies on texinfo and man files
This is port of r485867 from mysql56-{client, server}

Differential Revision:	The FreeBSD Foundation
2018-11-25 16:30:00 +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 36da122789 mysql57-server: Fix build with LibreSSL 2.7
PR:		230527
Submitted by:	Markus Kohlmeyer <rootservice@gmail.com>
Reported by:	Markus Kohlmeyer <rootservice@gmail.com>
Sponsored by:	The FreeBSD Foundation
2018-08-11 17:52:22 +00:00
Mahdi Mokhtari 5220e89ee4 mysql57-{client, server}: Update ports to 5.7.23
This update includes Oracle Critical Patch Advisory published on July 2018
More info:
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html#AppendixMSQL

PR:		229860
Submitted by:	Dani <i.dani@outlook.com<
Reported by:	Markus Kohlmeyer <rootservice@gmail.com>
Reviewed by:	brnrd , koobs
Sponsored by:	The FreeBSD Foundation
2018-08-10 21:45:08 +00:00
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Sunpoet Po-Chuan Hsieh 05f155d9b1 Revert r473259 and r473260 which are committed by accident
- Bump PORTEPOCH for protobuf and py-protobuf
- Bump PORTREVISION for dependent ports
2018-06-24 21:11:14 +00:00
Sunpoet Po-Chuan Hsieh cf03afc451 Update to 3.6.0
Changes:	https://github.com/google/protobuf/releases
2018-06-24 20:19:45 +00:00
Mahdi Mokhtari e1538d5247 mysql57-{client, server}: Update port to 5.7.22
This update includes fixes for multiple CVEs including:
    CVE-2018-2755 in replication component, MySQL protocol
    CVE-2018-2805 in GIS extention
    CVE-2018-2782 in InnoDB
    and more info on http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html#AppendixMSQL

PR:		227621
Reported by:	Markus Kohlmeyer <rootservice@gmail.com>
Sponsored by:	Netzkommune GmbH
2018-04-20 10:47:54 +00:00
Mahdi Mokhtari 4a0c387d98 databases/mysql57-server: Fix ${name}_limits regression on 11-STABLE
This is port of r467049 (that was done on mysql56-server)

PR:		227435
Reported by:	0mp
2018-04-11 14:40:52 +00:00
Mahdi Mokhtari afc37e723e databases/mysql57-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 mysql57 for the bases with both
old and new mechanism.
(This is port of the r466505 [and r466506])

PR:		227230
Submitted by:	0mp
Reported by:	0mp
Differential Revision:	Netzkommune GmbH
2018-04-04 20:57:11 +00:00
Mahdi Mokhtari 733b35d35e databases/mysql57-server: Fix rc-script ${name}_limits conflict for post-r328331 base
This is port of r461217
2018-02-08 12:45:25 +00:00
Mahdi Mokhtari d7dc34b710 databases/mysql57-server: Delete no-longer-needed patch.
The patch was casting variables to right size on previous versions
Issue seems fixed by upstream it's not needed anymore.
It also fixes a warning/error for from Clang6 on the port build.
2018-01-18 16:09:53 +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
Sunpoet Po-Chuan Hsieh 0a7591375a Update devel/protobuf to 3.5.0
- Bump PORTREVISION for shlib change

Changes:	https://github.com/google/protobuf/releases
2017-12-11 18:26:13 +00:00
Jimmy Olgeni e929aea23c Fix whitespace issues (mixed tab/spaces, alignment) in a few ports.
This round is @FreeBSD.org residents except teams.
2017-11-02 21:41:47 +00:00