Commit graph

82 commits

Author SHA1 Message Date
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
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