freebsd-ports/databases/mysql57-client/Makefile
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

49 lines
1.5 KiB
Makefile

# Created by: "Mahdi Mokhtari <mokhi64@gmail.com>"
# $FreeBSD$
PORTNAME= mysql
PORTREVISION= 0
PKGNAMESUFFIX= 57-client
COMMENT= Multithreaded SQL database (client)
LICENSE+= LGPL21
MASTERDIR= ${.CURDIR}/../mysql57-server
PKGMESSAGE= ${.CURDIR}/pkg-message
PATCHDIR= ${.CURDIR}/files
PLIST= ${.CURDIR}/pkg-plist
CONFLICTS_INSTALL= mysql5[0-68-9]-client-* \
mysql[0-46-9][0-9]-client-* \
mariadb[0-9][0-9]-client-* \
percona[0-9][0-9]-client-*
CMAKE_ARGS+= -DWITHOUT_SERVER=1 \
-DWITH_NDBCLUSTER=1
USE_LDCONFIG+= ${PREFIX}/lib/mysql
MMAN1= comp_err.1 msql2mysql.1 mysql.1 mysql_config.1 mysql_config_editor.1 mysql_find_rows.1 \
mysql_waitpid.1 mysqlaccess.1 mysqladmin.1 mysqlbinlog.1 \
mysqlcheck.1 mysqldump.1 mysqlimport.1 mysqlshow.1 mysqlslap.1
CLIENT_ONLY= yes
OPTIONS_GROUP+= PLUGINS
PLUGINS_DESC= Default Client Plugins
OPTIONS_GROUP_PLUGINS= SASLCLIENT
SASLCLIENT_DESC= SASL client plugin module
SASLCLIENT_CMAKE_BOOL= WITH_AUTHENTICATION_LDAP
SASLCLIENT_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
SASLCLIENT_BUILD_DEPENDS= ${LOCALBASE}/include/sasl/sasl.h:net/openldap24-sasl-client
OPTIONS_DEFAULT+= SASLCLIENT
# issue 166367: adding symlinks for back-compatibility with ${lib}_r
post-install:
@${LN} -s libmysqlclient.a ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.a
@${LN} -s libmysqlclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so
@${LN} -s libmysqlclient.so.20 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so.20
.include "${MASTERDIR}/Makefile"