Commit graph

82 commits

Author SHA1 Message Date
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
Mahdi Mokhtari
5db7e93eca databases/mysql57-{client, server}: Complete Upgrade of to 5.7.20 (as done by port-secteam in r452458)
Using FreeBSD-ports libcurl and protobuf instead of bundled ones
This upgrade includes:
-Deprecation of these syntax constructs for table and column:
.col_name
.tbl_name
.tbl_name.col_name
-Bugfix of memory-leak in mysqldump

Reviewed by:	mat (mentor)
Approved by:	mat (mentor)
Sponsored by:	Netzkommune GmbH
Differential Revision:	https://reviews.freebsd.org/D12712
2017-10-21 18:12:35 +00:00
Mark Felder
1f2ed7e27b databases/mysql57: Update to 5.7.20
Approved by:	ports-secteam (with hat)
MFH:		2017Q4
Security:	c41bedfd-b3f9-11e7-ac58-b499baebfeaf
2017-10-19 17:50:36 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 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, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Vasil Dimov
c6ff8e4970 MySQL ports: Extend CONFLICTS_INSTALL in conflicting ports.
databases/mysqlwsrep56-server has been present for some time and
databases/mysqlwsrep57-server has been added recently. Both ports
conflict with other MySQL server ports and this has been reflected
in databases/mysqlwsrep5[67]-server/Makefile but must also be
reflected in all conflicting ports' Makefiles as well.

The conflicting ports are:
databases/mariadb100-server
databases/mariadb101-server
databases/mariadb102-server
databases/mariadb55-server
databases/mysql55-server
databases/mysql56-server
databases/mysql57-server
databases/mysql80-server
databases/percona55-server
databases/percona56-server
databases/percona57-server

There is not going to be mysqlwsrep*-client* ports (because the vanilla
mysql*-client* ports suffice), so the entry in CONFLICTS just reads
mysqlwsrep*.

PR:		220791
Submitted by:	vd
Approved by:	brnrd, ale (maintainer timeout), feld (maintainer timeout), flo, mmokhi, koobs
2017-08-14 05:37:21 +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
Tobias C. Berner
5e373eaa92 Make ninja opt-out in cmake.mk
Using ninja instead of make (1) can lead to significant speed ups while building.
Therefore switch from having the ninja generator opt-in to having it opt-out.

Previously cmake-ports that wanted to use ninja could set
    CMAKE_NINJA=yes
now, ports that do not work with ninja can set
    cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.

The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary

PR:		219629
PR:		213331
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D10748
2017-06-25 21:07:58 +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
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

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

PR:		216707
2017-04-01 15:23:30 +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
Jan Beich
a9425224f1 devel/libevent2: drop historical suffix after r362796
PR:		216777
Approved by:	mm (maintainer)
2017-02-20 02:57:04 +00:00
Mahdi Mokhtari
e87d9e532d Updating the ports I maintain to my FreeBSD.org address.
Submitted by:	mmokhi
Reviewed by:	feld, mat
Approved by:	feld, mat (mentors)
Differential Revision:	https://reviews.freebsd.org/D9498
2017-02-11 04:44:43 +00:00