Commit graph

52 commits

Author SHA1 Message Date
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
Jan Beich
21a7215c9a devel/libevent2: update to 2.1.8 and cleanup
- DEFAULT_VERSIONS += ssl=openssl-devel is now supported
- devel/py-event and devel/p5-Event-Lib are marked BROKEN

Changes:	https://github.com/libevent/libevent/raw/release-2.1.8-stable/whatsnew-2.1.txt
Changes:	https://github.com/libevent/libevent/raw/release-2.1.8-stable/ChangeLog
PR:		216527
Exp-run by:	antoine
Approved by:	mm (maintainer)
2017-02-04 07:56:59 +00:00
Dmitry Marakasov
9d79e7b146 - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by:	portmgr blanket
2017-01-09 13:16:49 +00:00
Nikolai Lifanov
624e03d2c1 update mysql57 ports to 5.7.17
Changelog: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-17.html

PR:		215711
Submitted by:	Mahdi Mokhtari <mokhi64@gmail.com> (maintainer)
Reviewed by:	matthew
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D9027
2017-01-03 14:40:32 +00:00
Sunpoet Po-Chuan Hsieh
e0b379fa6f Remove BROKEN_FreeBSD_9
Approved by:	portmgr (blanket)
2017-01-01 03:45:12 +00:00
Mathieu Arnold
8b4093cba5 Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-12-02 11:58:21 +00:00
Gerald Pfeifer
89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Mathieu Arnold
af99eac7fe You cannot, ever, set DEFAULT_VERSIONS in a port.
Sponsored by:	Absolight
2016-09-28 13:28:57 +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
John Marino
7b80b7b343 databass/mysql57-server: Fix configuration of non-base SSL on all platforms
This simplifies the logic involved.  Now the port will present as BROKEN
if it's built on FreeBSD 9 using the base SSL library.

Approved by:	SSL blanket
2016-09-12 15:08:19 +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
Mathieu Arnold
5b55a8a53e Fix usage of WITH_OPENSSL_BASE, WITH_OPENSSL_PORT and OPENSSL_PORT.
WITH_OPENSSL_* can't be set after bsd.port.pre.mk.
Fold all other usage into using SSL_DEFAULT == foo

PR:		210149
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6577
2016-06-16 13:23:13 +00:00
Kurt Jaeger
e5c8bd2806 databases/mysql57-{server|client}: 5.7.12 -> 5.7.13
Changes:
  http://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-13.html

PR:		210042
Approved by:	Mahdi Mokhtari <mokhi64@gmail.com> (maintainer)
2016-06-15 05:40:38 +00:00
Kurt Jaeger
046010018f databases/mysql57-server: fix the perms of my.cnf to 0644
PR:		209512
Reported by:	Regulus Kean <rkean@bitmessage.ch>
Submitted by:	Markus Kohlmeyer <rootservice@gmail.com>
Approved by:	Mahdi Mokhtari <mokhi64@gmail.com> (maintainer)
2016-05-17 18:33:05 +00:00
Kurt Jaeger
0be2f6d0ff databases/mysql57-{client|server}: fix COMMENT for -client
PR:		209510
Reported by:	Regulus Kean <rkean@bitmessage.ch>
Submitted by:	Mahdi Mokhtari <mokhi64@gmail.com> (maintainer)
2016-05-17 18:25:19 +00:00
Kurt Jaeger
64262f8532 databases/mysql57-server: changing the way the SSL libraries are linked
PR:		209458
Reported by:	gja822@narod.ru
Submitted by:	Markus Kohlmeyer <rootservice@gmail.com>
Reviewed by:	jkim
Approved by:	Mahdi Mokhtari <mokhi64@gmail.com> (maintainer)
2016-05-17 18:18:40 +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
Dimitry Andric
df8bf3a88a Fix patches that were accidentally concatenated twice in r412695.
Reported by:	Vladimir Omelchuk <admin@vladiom.com.ua>
Pointy hat to:	dim
PR:		208525
MFH:		2016Q2
2016-04-08 08:42:34 +00:00
Dimitry Andric
a5741fb5a7 In the exp-run for bug 208158, building databases/mysql57-server
resulted in errors with libc++ 3.8.0, because it declares the allocators
for several std::map declarations incorrectly.  Fix this by sprinkling
const in the right places.

Approved by:	mokhi64@gmail.com (maintainer)
PR:		208525
MFH:		2016Q2
2016-04-07 22:23:19 +00:00
Mathieu Arnold
999161a9ed Fixup some whitespace at the beginning of lines problems.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:18:17 +00:00
Thomas Zander
5c7fab5bfc Revert recent change on performance_schema; introduce OPTION for it
The recent port version 5.7.10_2 introduced a change in the default
behaviour of performance_schema. Due to an ongoing debate in the
community whether the default setting should lean towards performance
(previous default before 5.7.10_2) or memory consumption, maintainer
had changed the default to memory consumption in 5.7.10_2.
This introduces an OPTION knob PERFSCHM to control the default behaviour
of performance_schema. It defaults to ON, hence restoring the previous
default.
Bump PORTREVISION.

PR:		206912
Submitted by:	smh
Reviewed by:	mokhi64@gmail.com (maintainer), riggs
Approved by:	mokhi64@gmail.com (maintainer)
MFH:		2016Q1
2016-02-07 08:08:20 +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
Alex Kozlov
b1b9b70c76 - Remove unused USE_* knobs:
databases/mysql57-server
   games/kajongg
   textproc/ruby-htree

- Fix typos in USE_* knobs:
   graphics/fortytwo
   math/hexcalc
   misc/gnustep-examples
   www/h2o

- Remove unused BROKEN_alpha knob:
   devel/directfb

- Remove user-settable knob:
   multimedia/tovid

Approved by:	portmgr blanket
2016-01-13 05:39:29 +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
Mikhail Teterin
d99dd48ead Add additional CMAKE-argument to avoid build-time conflicts between
Boost-1_59 used privately by this port and Boost-1_55 installed by
its own port.

While at it, replace WRKSRC/.. with simply WRKDIR.

PR:		205815
Approved by:	maintainer
2016-01-05 17:29:49 +00:00
Martin Wilke
3c7802e932 - Restore backwards compatibility
- Bump PORTREVISION

PR:	    205433
2015-12-27 02:15:06 +00:00