Commit Graph

88 Commits

Author SHA1 Message Date
Mathieu Arnold
78d1aff1fc Convert to UCL & cleanup pkg-message (categories d) 2019-08-13 16:01:59 +00:00
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
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
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
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
a9adffac75 databases/mysql56-{client, server}: Update to latest release 5.6.43
This update (released on Jan 21st) includes:
Bugfix:
  -Correct the handling of quotes for identifiers in
    ROLLBACK TO SAVEPOINT statements.
  -Don't permit creation of dbs with same name as redo log file
    (Bug #28867993).
  -Use strncmp() instead of memcmp() for comparing logfile names
    (prevent the uninitialized memory as result).

More info from upstream:
    https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-43.html

Sponsored by:	The FreeBSD Foundation
2019-01-21 20:28:04 +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
af2d951600 - Update WWW
Approved by:	portmgr blanket
2018-12-22 09:30:15 +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
Mahdi Mokhtari
b8f2de7a75 databases/mysql56-{client, server}: Fix inconsistencies on texinfo and man files
After `usr/info` moved to `usr/share/info` and now that texinfo is not
in base on any of the supported version of FreeBSD, This makes the port consistent.

Reported by:	ohauer
Sponsored by:	The FreeBSD Foundation
2018-11-25 16:27:54 +00:00
Mahdi Mokhtari
0e921a8efb databases/mysql56-{client, server}: Upgrade to new release 5.6.42
Upstream Bug #27788907, Bug #90264 fixed
Bug Fixes:
     Raised assertion during an OPTIMIZE TABLE operation for InnoDB: Bug #27753193
     For MEMORY tables, memory overflow errors could occur: Bug #27799513
     Incorrectly handled very long table keys on replication slaves: Bug #27930505

More info on update:
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-42.html

Sponsored by:	The FreeBSD Foundation
2018-10-28 21:26:19 +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
Mahdi Mokhtari
3c48eda962 mysql56-{client, server}: Update ports to 5.6.41
This update includes Oracle Critical Patch Advisory published on July 2018
More info:
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html#AppendixMSQL

Sponsored by:	The FreeBSD Foundation
2018-08-10 22:05:23 +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
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
e936645974 databases/mysql56-server: Add missed distinfo for r467817 2018-04-20 10:41:38 +00:00
Mahdi Mokhtari
1344b2f8a2 mysql56-{client, server}: Update port to 5.6.40
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
2018-04-20 10:36:36 +00:00
Mahdi Mokhtari
ab25ca436d databases/mysql56-server: Fix ${name}_limits regression on 11-STABLE
The commit adding the ${name}_limits to 11 is reverted in r332363
Change the Makefile conditions/vars so that
 new ${name}_limits mechanism is only present on 12-CURRENT (>=1200057)

PR:		227435
Reported by:	0mp
2018-04-11 14:37:40 +00:00
Mahdi Mokhtari
556173ac01 databases/mysql56-server: Fix (revert) the small change mistakenly went into the commit r466505 2018-04-04 20:49:54 +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
f64dfe4b7e databases/mysql56-server: Fix misleading part of pkg-message.
Part of the pkg-message points about .mysql_secret file which
isn't case about new mysql56 release anymore.
Delete no-more-valid part.
(The case still is a thing for 57 and 80)

PR:		225696
Reported by:	knezour@weboutsourcing.cz
Sponsored by:	Netzkommune GmbH
2018-02-06 13:09:41 +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
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