Commit graph

65 commits

Author SHA1 Message Date
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
Alex Dupre
1d22f67441 Update to 5.6.38 release. 2017-10-19 14:08:07 +00:00
Mark Linimon
3ef3461740 For ports that are explicitly enabled on armv6, also enable them
on armv7.  This has not been tested with an -exp run but should
"do no harm".

PR:		221894 (partial)
2017-10-10 21:31:30 +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
d70c670c5a databases/mysql56-{server client}: Update to latest 5.6.37
This release contains
features:
* The mysql client now supports a --binary-as-hex option for
    binary data (Bug #25340722, Bug #84391)
* mysqlaccess now looks for its configuration file only in the
    SYSCONFDIR directory and /etc. (Bug #25043674)

And bugfixes:
* mysqld: failed to start the server if the --datadir option was specified
    with a relative path name. (Bug #25364806)
* InnoDB: The server allocated memory unnecessarily for an operation that
    rebuilt the table. (Bug #25573565, Bug #85043)
* mysqldump: could write database names in USE statements
    incorrectly. (Bug #25998635)

Reviewed by:	mat (mentor)
Approved by:	mat (mentor)
Sponsored by:	Netzkommune GmbH
Differential Revision:	https://reviews.freebsd.org/D11638
2017-07-18 16:59:30 +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
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
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
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
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
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
37b41c2bb9 databases/mysql56-server: Do not install my.cnf sample
An issue was discovered where users of mysql did not have a my.cnf and
the recent update was causing mysqld to find a sample my.cnf and load
its parameters. This was causing errors on startup for users of innodb
as the parameters used to init the database did not match the ones in
the sample config file it was now reading.
2017-01-20 18:21:49 +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
Alex Dupre
82b49dc769 Update to 5.6.34 release. 2016-10-21 09:03:07 +00:00
Alex Dupre
538c250bae Update to 5.6.33 release. 2016-09-16 07:38:10 +00:00
Alex Dupre
3804424965 Update to 5.6.32 release. 2016-08-31 10:56:09 +00:00
Steve Wills
86cd4fbe5a many ports: mark broken on powerpc64 2016-04-21 16:43:14 +00:00
Alex Dupre
8b723701db Update to 5.6.30 release. 2016-04-19 15:45:07 +00:00
Alex Dupre
eb972c7c07 Update to 5.6.27 release. 2015-11-18 17:00:16 +00:00
Jimmy Olgeni
42bc424f61 Remove trailing whitespace from Makefiles, A-L. 2015-10-08 15:11:28 +00:00
Raphael Kubo da Costa
f1ba8488af Switch to USES=libedit.
Instead of manually adding both a build- and a run-time dependency on
libedit from ports, use USES=libedit instead. Not only does it take care of
adding the proper dependency, but it also sets CMAKE_PREFIX_PATH to
${LOCALBASE} to make sure that the version in ports is preferred instead of
the one in base.

This is a dependency for moving to CMake 3.3.x, as starting with 3.3.0 calls
to find_library() will also look in the $PATH environment variable and end
up finding libedit from base by default (see bug 202516).

PR:		202618
Approved by:	maintainer timeout (ale, 14 days)
2015-09-07 11:16:17 +00:00
Alex Dupre
6fbc9068e7 Update to 5.6.26 release. 2015-08-15 08:17:44 +00:00
Alex Dupre
58c3ffd060 Update to 5.6.25 release. 2015-07-15 13:49:04 +00:00
Antoine Brodin
21bdf4b0e9 Unbreak on head: instead of using headers from base libedit and
linking against readline, use libedit from ports
Note: this may need a bit more patching during next libedit port update

Reported by:	pkg-fallout
2015-06-14 21:33:01 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Alex Dupre
8a53055ae6 Update to 5.6.24 release. 2015-04-26 13:36:54 +00:00
Alex Dupre
1a909a09cf Update to 5.6.23 release. 2015-02-04 13:42:50 +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
c998ab645b Update to 5.6.22 release. 2014-12-03 09:40:02 +00:00
Alex Dupre
5b75bfae2e Update CONFLICTS.
PR:		194819
Submitted by:	spil.oss@gmail.com
2014-11-06 11:05:26 +00:00
Alex Dupre
617059c3e9 Update to 5.6.21 release. 2014-09-24 10:48:00 +00:00
Alex Dupre
709c6474c5 Update to 5.6.20 release. 2014-08-04 14:21:40 +00:00
Baptiste Daroussin
3c216d44ae Revert accidental removal of USES=perl5 2014-07-01 12:42:04 +00:00
Baptiste Daroussin
f85a534244 Fix build with readline from ports 2014-07-01 12:22:05 +00:00
Alex Dupre
baa2f5cff4 Update to 5.6.19 release. 2014-06-03 12:53:54 +00:00
Alex Dupre
b6efe925db Update to 5.6.17 release. 2014-03-31 12:29:12 +00:00
Alex Dupre
a4e50b41f3 Update to 5.6.16 release. 2014-02-01 10:29:56 +00:00
Alex Dupre
6952860f70 Update to 5.6.15 release and stagify. 2013-12-17 11:25:11 +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
John Marino
74b85b9755 databases/mysql5{5,6}-server: set shebangfix for perl
PR:		ports/182071
Approved by:	maintainer timeout
2013-10-06 10:25:40 +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
Florian Smeets
174a06e160 - use unique package names
- stop using LATEST_LINK
- update CONFLICTS accordingly

Approved by:	maintainer
2013-10-03 23:18:52 +00:00