aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MOVED4
-rw-r--r--Mk/bsd.database.mk1
-rw-r--r--databases/Makefile4
-rw-r--r--databases/mysql50-client/Makefile21
-rw-r--r--databases/mysql50-scripts/Makefile22
-rw-r--r--databases/mysql50-server/Makefile263
-rw-r--r--databases/mysql50-server/distinfo2
-rw-r--r--databases/mysql50-server/files/mysql-server.in83
-rw-r--r--databases/mysql50-server/files/patch-Docs::Makefile.in20
-rw-r--r--databases/mysql50-server/files/patch-Makefile.in16
-rw-r--r--databases/mysql50-server/files/patch-configure13
-rw-r--r--databases/mysql50-server/files/patch-include_my_net.h11
-rw-r--r--databases/mysql50-server/files/patch-include_myisam.h11
-rw-r--r--databases/mysql50-server/files/patch-man::Makefile.in13
-rw-r--r--databases/mysql50-server/files/patch-mysys_default.c22
-rw-r--r--databases/mysql50-server/files/patch-mysys_my_clock.c30
-rw-r--r--databases/mysql50-server/files/patch-ndb::src::mgmclient::main.cpp11
-rw-r--r--databases/mysql50-server/files/patch-scripts::Makefile.in41
-rw-r--r--databases/mysql50-server/files/patch-scripts_mysqld_safe.sh24
-rw-r--r--databases/mysql50-server/files/patch-sql::mysqld.cc11
-rw-r--r--databases/mysql50-server/files/patch-sql::mytcpd.h147
-rw-r--r--databases/mysql50-server/pkg-descr4
-rw-r--r--databases/mysql50-server/pkg-message7
-rw-r--r--databases/mysql50-server/pkg-plist173
-rw-r--r--databases/mysql50-server/pkg-plist.client58
-rw-r--r--databases/mysql50-server/pkg-plist.scripts13
-rw-r--r--databases/p5-DBD-mysql50/Makefile14
-rw-r--r--deskutils/moregroupware/Makefile2
-rw-r--r--mail/dspam-devel/Makefile13
-rw-r--r--mail/dspam/Makefile12
-rw-r--r--net-mgmt/netams/Makefile2
31 files changed, 14 insertions, 1054 deletions
diff --git a/MOVED b/MOVED
index a9acdfb250d7..c7615ed4ace3 100644
--- a/MOVED
+++ b/MOVED
@@ -4360,3 +4360,7 @@ devel/sparc-rtems-gdb||2013-06-03|Has expired: many issues; see https://www.rtem
devel/mips-rtems-gdb||2013-06-03|Has expired: many issues; see https://www.rtems.org/bugzilla/show_bug.cgi?id=2099
devel/powerpc-rtems-gdb||2013-06-03|Has expired: many issues; see https://www.rtems.org/bugzilla/show_bug.cgi?id=2099
databases/php-sqlite3||2013-06-03|Has expired: No upstream development and superseded by databases/php5-sqlite3 and databases/php53-sqlite3
+databases/mysql50-server||2013-06-04|Unsupported upstream since 2012-01-09
+databases/mysql50-client||2013-06-04|Unsupported upstream since 2012-01-09
+databases/mysql50-scripts||2013-06-04|Unsupported upstream since 2012-01-09
+databases/p5-DBD-mysql50||2013-06-04|Depends on databases/mysql41-server, which was removed
diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk
index 2270761a993c..8bdf0b071efa 100644
--- a/Mk/bsd.database.mk
+++ b/Mk/bsd.database.mk
@@ -105,7 +105,6 @@ Database_Include_MAINTAINER= ports@FreeBSD.org
.if defined(USE_MYSQL)
DEFAULT_MYSQL_VER?= 55
# MySQL client version currently supported.
-MYSQL50_LIBVER= 15
MYSQL51_LIBVER= 16
MYSQL53m_LIBVER= 16
MYSQL55_LIBVER= 18
diff --git a/databases/Makefile b/databases/Makefile
index 769f3abc1e85..c159f43d0e6a 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -228,9 +228,6 @@
SUBDIR += mysql-xql
SUBDIR += mysql2odbc
SUBDIR += mysql2pgsql
- SUBDIR += mysql50-client
- SUBDIR += mysql50-scripts
- SUBDIR += mysql50-server
SUBDIR += mysql51-client
SUBDIR += mysql51-scripts
SUBDIR += mysql51-server
@@ -331,7 +328,6 @@
SUBDIR += p5-DBD-XBase
SUBDIR += p5-DBD-cego
SUBDIR += p5-DBD-mysql
- SUBDIR += p5-DBD-mysql50
SUBDIR += p5-DBD-mysql51
SUBDIR += p5-DBD-mysql52
SUBDIR += p5-DBD-mysql55
diff --git a/databases/mysql50-client/Makefile b/databases/mysql50-client/Makefile
deleted file mode 100644
index 302a1133672f..000000000000
--- a/databases/mysql50-client/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# New ports collection makefile for: MySQL-client
-# Date created: Fri Apr 11 10:06:26 CET 2003
-# Whom: Alex Dupre <sysadmin@alexdupre.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= mysql
-PKGNAMESUFFIX= -client
-
-COMMENT= Multithreaded SQL database (client)
-
-MASTERDIR= ${.CURDIR}/../mysql50-server
-
-PKGINSTALL= mustnotexist
-PKGMESSAGE= mustnotexist
-PLIST= ${PKGDIR}/pkg-plist.client
-
-CLIENT_ONLY= yes
-
-.include "${MASTERDIR}/Makefile"
diff --git a/databases/mysql50-scripts/Makefile b/databases/mysql50-scripts/Makefile
deleted file mode 100644
index fb2f7929a86c..000000000000
--- a/databases/mysql50-scripts/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-# New ports collection makefile for: MySQL-scripts
-# Date created: Mon Feb 23 15:01:35 CET 2004
-# Whom: Alex Dupre <ale@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= mysql
-PKGNAMESUFFIX= -scripts
-
-COMMENT= Multithreaded SQL database (scripts)
-
-MASTERDIR= ${.CURDIR}/../mysql50-server
-
-PKGINSTALL= mustnotexist
-PKGMESSAGE= mustnotexist
-PLIST= ${PKGDIR}/pkg-plist.scripts
-
-SCRIPTS_ONLY= yes
-USE_PERL5= yes
-
-.include "${MASTERDIR}/Makefile"
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
deleted file mode 100644
index 2f10654ae280..000000000000
--- a/databases/mysql50-server/Makefile
+++ /dev/null
@@ -1,263 +0,0 @@
-# New ports collection makefile for: MySQL-server
-# Date created: Fri Apr 11 10:06:26 CET 2003
-# Whom: Alex Dupre <sysadmin@alexdupre.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME?= mysql
-PORTVERSION= 5.0.95
-CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= MySQL-5.0
-PKGNAMESUFFIX?= -server
-
-MAINTAINER= ale@FreeBSD.org
-COMMENT?= Multithreaded SQL database (server)
-
-DEPRECATED= Unsupported upstream
-EXPIRATION_DATE= 2013-06-30
-
-SLAVEDIRS= databases/mysql50-client databases/mysql50-scripts
-GNU_CONFIGURE= yes
-MAKE_JOBS_SAFE= yes
-
-PORTSCOUT= skipv:5.0.96
-
-CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
- --without-debug \
- --without-readline \
- --without-libedit \
- --without-bench \
- --without-extra-tools \
- --with-libwrap \
- --with-low-memory \
- --with-comment='FreeBSD port: ${PKGNAME}' \
- --enable-thread-safe-client
-
-CONFIGURE_ENV= mysql_cv_btype_last_arg_accept=socklen_t
-
-.ifdef USE_MYSQL
-.error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
-.endif
-
-.if defined(WITH_CHARSET) && ${WITH_CHARSET} != ""
-CONFIGURE_ARGS+=--with-charset=${WITH_CHARSET}
-.endif
-.if defined(WITH_XCHARSET) && ${WITH_XCHARSET} != ""
-CONFIGURE_ARGS+=--with-extra-charsets=${WITH_XCHARSET}
-.endif
-.if defined(WITH_OPENSSL)
-USE_OPENSSL= yes
-CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
-.endif
-.if defined(BUILD_STATIC)
-CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
-.endif
-.if defined(WITHOUT_INNODB)
-CONFIGURE_ARGS+=--without-innodb
-.endif
-.if defined(WITH_ARCHIVE)
-CONFIGURE_ARGS+=--with-archive-storage-engine
-.endif
-.if defined(WITH_CSV)
-CONFIGURE_ARGS+=--with-csv-storage-engine
-.endif
-.if defined(WITH_FEDERATED)
-CONFIGURE_ARGS+=--with-federated-storage-engine
-.endif
-.if defined(WITH_NDB)
-CONFIGURE_ARGS+=--with-ndbcluster
-.endif
-.if defined(WITH_COLLATION) && ${WITH_COLLATION} != ""
-CONFIGURE_ARGS+=--with-collation=${WITH_COLLATION}
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "arm"
-BROKEN= Does not compile on arm
-.endif
-
-.if ${ARCH} == "i386"
-CONFIGURE_ARGS+=--enable-assembler --with-berkeley-db
-.endif
-.if defined(WITH_LINUXTHREADS)
-CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
-CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
-CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
-CFLAGS+= -I${LOCALBASE}/include/pthread/linuxthreads
-LIB_DEPENDS+= lthread:${PORTSDIR}/devel/linuxthreads
-CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r -llstdc++ -llsupc++'
-.else
-CONFIGURE_ARGS+=--with-named-thread-libs=${PTHREAD_LIBS}
-CFLAGS+= ${PTHREAD_CFLAGS}
-.endif
-
-.if defined(BUILD_OPTIMIZED)
-CFLAGS+= -O3 -fno-omit-frame-pointer
-CFLAGS+= -fno-gcse
-.endif
-.if defined(WITHOUT_THR_ALARM)
-CFLAGS+= -DDONT_USE_THR_ALARM
-.endif
-CXXFLAGS+= ${CFLAGS} -felide-constructors -fno-rtti
-CXXFLAGS+= -fno-exceptions
-
-# MySQL-Server part
-.if !defined(CLIENT_ONLY) && !defined(SCRIPTS_ONLY)
-USE_MYSQL= yes
-WANT_MYSQL_VER= 50
-
-LATEST_LINK= mysql50-server
-
-CONFLICTS_INSTALL= mysql-server-[34].* mysql-server-5.[1-9].* mariadb-server-5.* percona-server-5.*
-
-USE_RC_SUBR= mysql-server
-
-USERS= mysql
-GROUPS= mysql
-
-.if !defined(WITHOUT_INNODB)
-PLIST_SUB+= INNODB=""
-.else
-PLIST_SUB+= INNODB="@comment "
-.endif
-
-.if defined(WITH_NDB)
-USE_LDCONFIG= ${PREFIX}/lib/mysql
-PLIST_SUB+= NDB=""
-.else
-PLIST_SUB+= NDB="@comment "
-.endif
-
-MAN1= innochecksum.1 myisamchk.1 myisamlog.1 myisampack.1 \
- my_print_defaults.1 myisam_ftdump.1 mysql_client_test_embedded.1 \
- mysql_install_db.1 mysql_tzinfo_to_sql.1 \
- mysql_waitpid.1 mysqld_safe.1 mysqltest_embedded.1 mysql.server.1 \
- perror.1 replace.1 resolve_stack_dump.1 resolveip.1
-.if defined(WITH_NDB)
-MAN1+= ndb_config.1 ndb_delete_all.1 ndb_desc.1 ndb_drop_index.1 \
- ndb_drop_table.1 ndb_error_reporter.1 ndb_mgm.1 \
- ndb_print_backup_file.1 ndb_print_schema_file.1 \
- ndb_print_sys_file.1 ndb_restore.1 ndb_select_all.1 \
- ndb_select_count.1 ndb_show_tables.1 ndb_size.pl.1 ndb_waiter.1
-.endif
-
-INFO= mysql
-
-CONFIGURE_ARGS+=--with-embedded-server
-
-CFLAGS+= -fPIC
-
-pre-fetch:
- @${ECHO} ""
- @${ECHO} "You may use the following build options:"
- @${ECHO} ""
- @${ECHO} " WITH_CHARSET=charset Define the primary built-in charset (latin1)."
- @${ECHO} " WITH_XCHARSET=list Define other built-in charsets (may be 'all')."
- @${ECHO} " WITH_COLLATION=collate Define default collation (latin1_swedish_ci)."
- @${ECHO} " WITH_OPENSSL=yes Enable secure connections."
- @${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library."
- @${ECHO} " WITH_PROC_SCOPE_PTH=yes Use process scope threads"
- @${ECHO} " (try it if you use libpthread)."
- @${ECHO} " BUILD_OPTIMIZED=yes Enable compiler optimizations"
- @${ECHO} " (use it if you need speed)."
- @${ECHO} " BUILD_STATIC=yes Build a static version of mysqld."
- @${ECHO} " (use it if you need even more speed)."
- @${ECHO} " WITHOUT_THR_ALARM=yes Disable signals (this reduces kernel lock"
- @${ECHO} " contention on SMP, but has the side effect"
- @${ECHO} " that you can't kill clients that are sleeping)."
- @${ECHO} " WITHOUT_INNODB=yes Disable support for InnoDB table handler."
- @${ECHO} " WITH_ARCHIVE=yes Enable support for Archive Storage Engine."
- @${ECHO} " WITH_CSV=yes Enable support for CSV Storage Engine."
- @${ECHO} " WITH_FEDERATED=yes Enable support for Federated Storage Engine."
- @${ECHO} " WITH_NDB=yes Enable support for NDB Cluster."
- @${ECHO} ""
-
-post-patch:
- @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @docs_dirs@ scripts @sql_server_dirs@ libmysql @man_dirs@ @libmysqld_dirs@ support-files|g" ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e "s|all: config.h|all: config.h all-local|g" ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = @server_scripts@ mysql_upgrade_shell|g" ${WRKSRC}/scripts/Makefile.in
- @${REINPLACE_CMD} -e "s|dist_pkgdata_DATA =|dist_pkgdata_DATA = fill_help_tables.sql mysql_system_tables.sql mysql_system_tables_data.sql|g" ${WRKSRC}/scripts/Makefile.in
- @${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
- @${REINPLACE_CMD} -e "s|install-data-am: install-pkgincludeHEADERS|install-data-am:|g" ${WRKSRC}/extra/Makefile.in
- @${REINPLACE_CMD} -e "s|install-data-am: install-pkgincludeHEADERS|install-data-am:|g" ${WRKSRC}/include/Makefile.in
- @${REINPLACE_CMD} -e "s|install-exec-am: install-pkglibLTLIBRARIES|install-exec-am:|g" ${WRKSRC}/libmysql/Makefile.in
- @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c
-.if defined(WITH_PROC_SCOPE_PTH)
- @${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/sql/mysqld.cc
-.endif
-
-post-install:
-.if !defined(PACKAGE_BUILDING)
- @${CAT} ${PKGMESSAGE}
-.endif
-
-.else
-# MySQL-Client part
-.if defined(CLIENT_ONLY)
-LATEST_LINK= mysql50-client
-
-CONFLICTS_INSTALL= mysql-client-[34].* mysql-client-5.[1-9].*
-
-MAN1= mysql_config.1 mysql_upgrade.1 mysql.1 mysqladmin.1 \
- mysqlbinlog.1 mysqlbug.1 mysqlcheck.1 \
- mysqldump.1 mysqlimport.1 mysqlshow.1 mysqltest.1
-
-USE_LDCONFIG= ${PREFIX}/lib/mysql
-
-CONFIGURE_ARGS+=--without-server
-
-post-patch:
- @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include scripts strings mysys dbug extra regex libmysql_r libmysql client @man_dirs@|g" ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e "s|install-exec-am: install-pkglibLIBRARIES|install-exec-am:|g" ${WRKSRC}/strings/Makefile.in ${WRKSRC}/mysys/Makefile.in ${WRKSRC}/dbug/Makefile.in
- @${REINPLACE_CMD} -e "s|all: config.h|all: config.h all-local|g" ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = mysql_config mysql_fix_privilege_tables mysqlbug|g" ${WRKSRC}/scripts/Makefile.in
- @${REINPLACE_CMD} -e "s|dist_pkgdata_DATA =|dist_pkgdata_DATA = mysql_fix_privilege_tables.sql|g" ${WRKSRC}/scripts/Makefile.in
- @${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
- @${REINPLACE_CMD} -e "s|install-exec-am: install-binPROGRAMS|install-exec-am:|g" ${WRKSRC}/extra/Makefile.in
- @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c
-
-.else
-# MySQL-Scripts part
-USE_MYSQL= yes
-WANT_MYSQL_VER= 50
-
-RUN_DEPENDS= p5-DBD-mysql50>=0:${PORTSDIR}/databases/p5-DBD-mysql50
-.if ${PERL_LEVEL} <= 500800
-RUN_DEPENDS+= p5-File-Temp>=0:${PORTSDIR}/devel/p5-File-Temp
-.endif
-
-LATEST_LINK= mysql50-scripts
-
-CONFLICTS_INSTALL= mysql-scripts-[34].* mysql-scripts-5.[1-9].*
-
-MAN1= msql2mysql.1 mysql_convert_table_format.1 mysql_explain_log.1 mysql_find_rows.1 \
- mysql_fix_extensions.1 mysql_secure_installation.1 \
- mysql_setpermission.1 mysql_tableinfo.1 mysql_zap.1 mysqlaccess.1 \
- mysqldumpslow.1 mysqlhotcopy.1 mysqld_multi.1
-
-SCRIPTS= msql2mysql mysql_fix_extensions mysql_setpermission \
- mysql_secure_installation mysql_zap mysqlaccess \
- mysql_convert_table_format mysql_find_rows mysqlhotcopy \
- mysqldumpslow mysql_explain_log mysql_tableinfo mysqld_multi
-
-post-patch:
- @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = scripts @man_dirs@|g" ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = ${SCRIPTS}|g" ${WRKSRC}/scripts/Makefile.in
- @${REINPLACE_CMD} -e "s|install-exec-am install-data-am|install-exec-am|g" ${WRKSRC}/scripts/Makefile.in
- @${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
-.endif
-.endif
-# Common part
-post-extract:
- @${CP} /usr/include/tcpd.h ${WRKSRC}/sql/mytcpd.h
-
-.if defined(WITH_OPENSSL) && defined(BUILD_STATIC)
-pre-configure:
- @${ECHO} "You can't use the BUILD_STATIC option when using OpenSSL."
- @${FALSE}
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/databases/mysql50-server/distinfo b/databases/mysql50-server/distinfo
deleted file mode 100644
index 19854e26cddb..000000000000
--- a/databases/mysql50-server/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (mysql-5.0.95.tar.gz) = 3796783758b67b6b37771b397cb082642afbd0ac5004abf4c68f358a8e84ada8
-SIZE (mysql-5.0.95.tar.gz) = 22693585
diff --git a/databases/mysql50-server/files/mysql-server.in b/databases/mysql50-server/files/mysql-server.in
deleted file mode 100644
index 020eed19d8c8..000000000000
--- a/databases/mysql50-server/files/mysql-server.in
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: mysql
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-#
-# Add the following line to /etc/rc.conf to enable mysql:
-# mysql_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable MySQL.
-# mysql_limits (bool): Set to "NO" by default.
-# Set it to yes to run `limits -e -U mysql`
-# just before mysql starts.
-# mysql_dbdir (str): Default to "/var/db/mysql"
-# Base database directory.
-# mysql_pidfile (str): Custum PID file path and name.
-# Default to "${mysql_dbdir}/${hostname}.pid".
-# mysql_socket (str): Default to "/tmp/mysql.sock"
-# Unix socket file.
-# mysql_args (str): Custom additional arguments to be passed
-# to mysqld_safe (default empty).
-#
-
-. /etc/rc.subr
-
-name="mysql"
-rcvar=mysql_enable
-
-load_rc_config $name
-
-: ${mysql_enable="NO"}
-: ${mysql_limits="NO"}
-: ${mysql_dbdir="/var/db/mysql"}
-: ${mysql_socket="/tmp/mysql.sock"}
-
-mysql_user="mysql"
-mysql_limits_args="-e -U ${mysql_user}"
-: ${hostname:=`/bin/hostname`}
-pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"}
-command="/usr/sbin/daemon"
-command_args="-c -f %%PREFIX%%/bin/mysqld_safe --defaults-extra-file=${mysql_dbdir}/my.cnf --user=${mysql_user} --datadir=${mysql_dbdir} --socket=${mysql_socket} --pid-file=${pidfile} ${mysql_args}"
-procname="%%PREFIX%%/libexec/mysqld"
-start_precmd="${name}_prestart"
-start_postcmd="${name}_poststart"
-mysql_install_db="%%PREFIX%%/bin/mysql_install_db"
-mysql_install_db_args="--ldata=${mysql_dbdir}"
-mysqladmin="%%LOCALBASE%%/bin/mysqladmin"
-mysqladmin_args="-s --socket=${mysql_socket} ping"
-
-mysql_create_auth_tables()
-{
- eval $mysql_install_db $mysql_install_db_args >/dev/null
- [ $? -eq 0 ] && chown -R ${mysql_user}:${mysql_user} ${mysql_dbdir}
-}
-
-mysql_prestart()
-{
- if [ ! -d "${mysql_dbdir}/mysql/." ]; then
- mysql_create_auth_tables || return 1
- fi
- if checkyesno mysql_limits; then
- eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null
- else
- return 0
- fi
-}
-
-mysql_poststart()
-{
- count=0
- while [ $count -lt 10 ] ; do
- eval $mysqladmin $mysqladmin_args >/dev/null
- [ $? -eq 0 ] && return 0
- count=`expr $count + 1`
- sleep 1
- done
- return 1
-}
-
-run_rc_command "$1"
diff --git a/databases/mysql50-server/files/patch-Docs::Makefile.in b/databases/mysql50-server/files/patch-Docs::Makefile.in
deleted file mode 100644
index 03eb804855c0..000000000000
--- a/databases/mysql50-server/files/patch-Docs::Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- Docs/Makefile.in.orig 2008-08-04 14:22:00.000000000 +0200
-+++ Docs/Makefile.in 2008-08-27 12:15:55.000000000 +0200
-@@ -348,7 +348,7 @@
- yassl_taocrypt_extra_cxxflags = @yassl_taocrypt_extra_cxxflags@
- zlib_dir = @zlib_dir@
- EXTRA_DIST = mysql.info INSTALL-BINARY @extra_docs@
--all: all-am
-+all:
-
- .SUFFIXES:
- $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
-@@ -433,7 +433,7 @@
- install-data: install-data-am
- uninstall: uninstall-am
-
--install-am: all-am
-+install-am:
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
- installcheck: installcheck-am
diff --git a/databases/mysql50-server/files/patch-Makefile.in b/databases/mysql50-server/files/patch-Makefile.in
deleted file mode 100644
index 3086b959a062..000000000000
--- a/databases/mysql50-server/files/patch-Makefile.in
+++ /dev/null
@@ -1,16 +0,0 @@
---- Makefile.in.orig Thu Dec 15 00:34:48 2005
-+++ Makefile.in Thu Dec 22 15:29:54 2005
-@@ -365,12 +365,7 @@
- EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \
- README COPYING EXCEPTIONS-CLIENT
-
--SUBDIRS = . include @docs_dirs@ @zlib_dir@ @yassl_dir@ \
-- @readline_topdir@ sql-common scripts \
-- @thread_dirs@ pstack \
-- @sql_union_dirs@ @man_dirs@ tests \
-- netware @libmysqld_dirs@ \
-- @bench_dirs@ support-files @tools_dirs@
-+SUBDIRS =
-
- DIST_SUBDIRS = . include @docs_dirs@ zlib \
- @readline_topdir@ sql-common scripts \
diff --git a/databases/mysql50-server/files/patch-configure b/databases/mysql50-server/files/patch-configure
deleted file mode 100644
index 6a5a8cacdeee..000000000000
--- a/databases/mysql50-server/files/patch-configure
+++ /dev/null
@@ -1,13 +0,0 @@
---- configure.orig Thu Jul 27 20:53:44 2006
-+++ configure Thu Aug 10 10:16:48 2006
-@@ -25651,8 +25651,8 @@
- # Some system specific hacks
- #
-
--MAX_C_OPTIMIZE="-O3"
--MAX_CXX_OPTIMIZE="-O3"
-+MAX_C_OPTIMIZE=""
-+MAX_CXX_OPTIMIZE=""
-
- ndb_cxxflags_fix=
- case $SYSTEM_TYPE-$MACHINE_TYPE-$ac_cv_c_compiler_gnu in
diff --git a/databases/mysql50-server/files/patch-include_my_net.h b/databases/mysql50-server/files/patch-include_my_net.h
deleted file mode 100644
index 045f226b8b3e..000000000000
--- a/databases/mysql50-server/files/patch-include_my_net.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- include/my_net.h.orig 2013-05-06 10:44:34.000000000 +0200
-+++ include/my_net.h 2013-05-06 10:45:11.000000000 +0200
-@@ -110,7 +110,7 @@
- int buflen, int *h_errnop);
- #define my_gethostbyname_r_free()
- #else
--#define my_gethostbyname_r(A,B,C,D,E) gethostbyname_r((A),(B),(C),(D),(E))
-+#define my_gethostbyname_r(A,B,C,D,E) gethostbyname_r((A),(B),(C),(D),(E),NULL)
- #define my_gethostbyname_r_free()
- #endif /* !defined(HAVE_GETHOSTBYNAME_R) */
-
diff --git a/databases/mysql50-server/files/patch-include_myisam.h b/databases/mysql50-server/files/patch-include_myisam.h
deleted file mode 100644
index 450645400dd5..000000000000
--- a/databases/mysql50-server/files/patch-include_myisam.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- include/myisam.h.orig 2009-02-16 23:04:54.000000000 +0100
-+++ include/myisam.h 2009-02-16 23:10:08.000000000 +0100
-@@ -48,7 +48,7 @@
- The following defines can be increased if necessary.
- But beware the dependency of MI_MAX_POSSIBLE_KEY_BUFF and MI_MAX_KEY_LENGTH.
- */
--#define MI_MAX_KEY_LENGTH 1000 /* Max length in bytes */
-+#define MI_MAX_KEY_LENGTH 4000 /* Max length in bytes */
- #define MI_MAX_KEY_SEG 16 /* Max segments for key */
-
- #define MI_MAX_KEY_BUFF (MI_MAX_KEY_LENGTH+MI_MAX_KEY_SEG*6+8+8)
diff --git a/databases/mysql50-server/files/patch-man::Makefile.in b/databases/mysql50-server/files/patch-man::Makefile.in
deleted file mode 100644
index a8f1ca7157c0..000000000000
--- a/databases/mysql50-server/files/patch-man::Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- man/Makefile.in.orig Wed Oct 4 13:25:43 2006
-+++ man/Makefile.in Sun Oct 22 10:07:26 2006
-@@ -344,8 +344,8 @@
- yassl_libs = @yassl_libs@
- yassl_taocrypt_extra_cxxflags = @yassl_taocrypt_extra_cxxflags@
- zlib_dir = @zlib_dir@
--man1_MANS = @man1_files@
--man8_MANS = @man8_files@
-+man1_MANS =
-+man8_MANS =
- EXTRA_DIST = $(man1_MANS) $(man8_MANS)
- all: all-am
-
diff --git a/databases/mysql50-server/files/patch-mysys_default.c b/databases/mysql50-server/files/patch-mysys_default.c
deleted file mode 100644
index cfa46d3422dd..000000000000
--- a/databases/mysql50-server/files/patch-mysys_default.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- mysys/default.c.orig 2009-04-16 13:49:52.000000000 +0200
-+++ mysys/default.c 2009-05-12 07:54:11.000000000 +0200
-@@ -634,7 +634,7 @@
- {
- MY_STAT stat_info;
- if (!my_stat(name,&stat_info,MYF(0)))
-- return 1;
-+ return 0;
- /*
- Ignore world-writable regular files.
- This is mainly done to protect us to not read a file created by
-@@ -1084,7 +1084,10 @@
- errors += add_directory(alloc, env, dirs);
- #elif defined(DEFAULT_SYSCONFDIR)
- if (DEFAULT_SYSCONFDIR[0])
-+ {
- errors += add_directory(alloc, DEFAULT_SYSCONFDIR, dirs);
-+ errors += add_directory(alloc, DEFAULT_SYSCONFDIR "/mysql", dirs);
-+ }
- #endif /* __EMX__ || __OS2__ */
-
- #endif
diff --git a/databases/mysql50-server/files/patch-mysys_my_clock.c b/databases/mysql50-server/files/patch-mysys_my_clock.c
deleted file mode 100644
index 9dcd80ce1021..000000000000
--- a/databases/mysql50-server/files/patch-mysys_my_clock.c
+++ /dev/null
@@ -1,30 +0,0 @@
---- mysys/my_clock.c.orig 2010-01-15 10:48:59.000000000 +0100
-+++ mysys/my_clock.c 2010-10-26 12:29:27.000000000 +0200
-@@ -16,6 +16,9 @@
- #define USES_TYPES
- #include "my_global.h"
-
-+#if defined(__FreeBSD__)
-+#include <osreldate.h>
-+#endif
- #if !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(OS2) && !defined(__NETWARE__)
- #include "mysys_priv.h"
- #include <sys/times.h>
-@@ -23,6 +26,11 @@
-
- long my_clock(void)
- {
-+#if defined(__FreeBSD__) && __FreeBSD_version__ >= 700000
-+ struct timespec ts;
-+ clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
-+ return (ts.tv_sec * CLK_TCK + ts.tv_nsec / (1000000000 / CLK_TCK));
-+#else
- #if !defined(MSDOS) && !defined(__WIN__) && !defined(OS2) && !defined(__NETWARE__)
- struct tms tmsbuf;
- VOID(times(&tmsbuf));
-@@ -30,4 +38,5 @@
- #else
- return clock();
- #endif
-+#endif
- }
diff --git a/databases/mysql50-server/files/patch-ndb::src::mgmclient::main.cpp b/databases/mysql50-server/files/patch-ndb::src::mgmclient::main.cpp
deleted file mode 100644
index ef1f6711f469..000000000000
--- a/databases/mysql50-server/files/patch-ndb::src::mgmclient::main.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- ndb/src/mgmclient/main.cpp.orig Mon Jan 10 15:36:57 2005
-+++ ndb/src/mgmclient/main.cpp Mon Jan 10 15:37:26 2005
-@@ -122,7 +122,7 @@
- }
- #ifdef HAVE_READLINE
- /* Get a line from the user. */
-- line_read = readline (prompt);
-+ line_read = readline ((char *)prompt);
- /* If the line has any text in it, save it on the history. */
- if (line_read && *line_read)
- add_history (line_read);
diff --git a/databases/mysql50-server/files/patch-scripts::Makefile.in b/databases/mysql50-server/files/patch-scripts::Makefile.in
deleted file mode 100644
index 0c6f9a18a6d1..000000000000
--- a/databases/mysql50-server/files/patch-scripts::Makefile.in
+++ /dev/null
@@ -1,41 +0,0 @@
---- scripts/Makefile.in.orig Wed Jul 4 15:10:00 2007
-+++ scripts/Makefile.in Thu Jul 12 08:27:29 2007
-@@ -377,24 +377,7 @@
- BUILT_SOURCES = mysql_fix_privilege_tables.sql \
- mysql_fix_privilege_tables_sql.c
-
--bin_SCRIPTS = @server_scripts@ \
-- msql2mysql \
-- mysql_config \
-- mysql_fix_privilege_tables \
-- mysql_fix_extensions \
-- mysql_setpermission \
-- mysql_secure_installation \
-- mysql_zap \
-- mysqlaccess \
-- mysqlbug \
-- mysql_convert_table_format \
-- mysql_find_rows \
-- mysqlhotcopy \
-- mysqldumpslow \
-- mysql_explain_log \
-- mysql_tableinfo \
-- mysql_upgrade_shell \
-- mysqld_multi
-+bin_SCRIPTS =
-
- noinst_SCRIPTS = make_binary_distribution \
- make_sharedlib_distribution \
-@@ -431,11 +414,7 @@
- mysql_system_tables_fix.sql \
- CMakeLists.txt
-
--dist_pkgdata_DATA = fill_help_tables.sql \
-- mysql_fix_privilege_tables.sql \
-- mysql_system_tables.sql \
-- mysql_system_tables_data.sql \
-- mysql_test_data_timezone.sql
-+dist_pkgdata_DATA =
-
- CLEANFILES = @server_scripts@ \
- make_binary_distribution \
diff --git a/databases/mysql50-server/files/patch-scripts_mysqld_safe.sh b/databases/mysql50-server/files/patch-scripts_mysqld_safe.sh
deleted file mode 100644
index 960a8458d37a..000000000000
--- a/databases/mysql50-server/files/patch-scripts_mysqld_safe.sh
+++ /dev/null
@@ -1,24 +0,0 @@
---- scripts/mysqld_safe.sh.orig 2007-12-12 10:04:16.000000000 +0100
-+++ scripts/mysqld_safe.sh 2007-12-12 10:04:52.000000000 +0100
-@@ -152,10 +152,10 @@
-
- if test -z "$MYSQL_HOME"
- then
-- if test -r "$MY_BASEDIR_VERSION/my.cnf" && test -r "$DATADIR/my.cnf"
-+ if test -r "$MY_BASEDIR_VERSION/etc/my.cnf" && test -r "$DATADIR/my.cnf"
- then
- echo "WARNING: Found two instances of my.cnf -"
-- echo "$MY_BASEDIR_VERSION/my.cnf and"
-+ echo "$MY_BASEDIR_VERSION/etc/my.cnf and"
- echo "$DATADIR/my.cnf"
- echo "IGNORING $DATADIR/my.cnf"
- echo
-@@ -163,7 +163,7 @@
- elif test -r "$DATADIR/my.cnf"
- then
- echo "WARNING: Found $DATADIR/my.cnf"
-- echo "Datadir is deprecated place for my.cnf, please move it to $MY_BASEDIR_VERSION"
-+ echo "Datadir is deprecated place for my.cnf, please move it to $MY_BASEDIR_VERSION/etc"
- echo
- MYSQL_HOME=$DATADIR
- else
diff --git a/databases/mysql50-server/files/patch-sql::mysqld.cc b/databases/mysql50-server/files/patch-sql::mysqld.cc
deleted file mode 100644
index 4feed825cb11..000000000000
--- a/databases/mysql50-server/files/patch-sql::mysqld.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- sql/mysqld.cc.orig Sat Aug 6 03:39:41 2005
-+++ sql/mysqld.cc Sun Aug 28 20:41:38 2005
-@@ -3177,7 +3177,7 @@
- init_ssl();
-
- #ifdef HAVE_LIBWRAP
-- libwrapName= my_progname+dirname_length(my_progname);
-+ libwrapName= (char *) my_progname+dirname_length(my_progname);
- openlog(libwrapName, LOG_PID, LOG_AUTH);
- #endif
-
diff --git a/databases/mysql50-server/files/patch-sql::mytcpd.h b/databases/mysql50-server/files/patch-sql::mytcpd.h
deleted file mode 100644
index f98dde57bc23..000000000000
--- a/databases/mysql50-server/files/patch-sql::mytcpd.h
+++ /dev/null
@@ -1,147 +0,0 @@
---- sql/mytcpd.h.orig Sun Jan 9 13:33:51 2005
-+++ sql/mytcpd.h Sun Jan 9 13:41:42 2005
-@@ -6,6 +6,25 @@
- * $FreeBSD: /tmp/pcvs/ports/databases/mysql50-server/files/patch-sql::mytcpd.h,v 1.1 2005-01-10 13:17:30 ale Exp $
- */
-
-+#ifndef _TCPWRAPPERS_TCPD_H
-+#define _TCPWRAPPERS_TCPD_H
-+
-+/* someone else may have defined this */
-+#undef __P
-+
-+/* use prototypes if we have an ANSI C compiler or are using C++ */
-+#if defined(__STDC__) || defined(__cplusplus)
-+#define __P(args) args
-+#else
-+#define __P(args) ()
-+#endif
-+
-+/* Need definitions of struct sockaddr_in and FILE. */
-+#include <netinet/in.h>
-+#include <stdio.h>
-+
-+__BEGIN_DECLS
-+
- /* Structure to describe one communications endpoint. */
-
- #define STRING_LENGTH 128 /* hosts, users, processes */
-@@ -31,10 +50,10 @@
- char pid[10]; /* access via eval_pid(request) */
- struct host_info client[1]; /* client endpoint info */
- struct host_info server[1]; /* server endpoint info */
-- void (*sink) (); /* datagram sink function or 0 */
-- void (*hostname) (); /* address to printable hostname */
-- void (*hostaddr) (); /* address to printable address */
-- void (*cleanup) (); /* cleanup function or 0 */
-+ void (*sink) __P((int)); /* datagram sink function or 0 */
-+ void (*hostname) __P((struct host_info *)); /* address to printable hostname */
-+ void (*hostaddr) __P((struct host_info *)); /* address to printable address */
-+ void (*cleanup) __P((struct request_info *)); /* cleanup function or 0 */
- struct netconfig *config; /* netdir handle */
- };
-
-@@ -67,20 +86,23 @@
- /* Global functions. */
-
- #if defined(TLI) || defined(PTX) || defined(TLI_SEQUENT)
--extern void fromhost(); /* get/validate client host info */
-+extern void fromhost __P((struct request_info *)); /* get/validate client host info */
- #else
- #define fromhost sock_host /* no TLI support needed */
- #endif
-
--extern int hosts_access(); /* access control */
--extern void shell_cmd(); /* execute shell command */
--extern char *percent_x(); /* do %<char> expansion */
--extern void rfc931(); /* client name from RFC 931 daemon */
--extern void clean_exit(); /* clean up and exit */
--extern void refuse(); /* clean up and exit */
--extern char *xgets(); /* fgets() on steroids */
--extern char *split_at(); /* strchr() and split */
--extern unsigned long dot_quad_addr(); /* restricted inet_addr() */
-+extern void shell_cmd __P((char *)); /* execute shell command */
-+extern char *percent_x __P((char *, int, char *, struct request_info *)); /* do %<char> expansion */
-+#ifdef INET6
-+extern void rfc931 __P((struct sockaddr *, struct sockaddr *, char *)); /* client name from RFC 931 daemon */
-+#else
-+extern void rfc931 __P((struct sockaddr_in *, struct sockaddr_in *, char *)); /* client name from RFC 931 daemon */
-+#endif
-+extern void clean_exit __P((struct request_info *)); /* clean up and exit */
-+extern void refuse __P((struct request_info *)); /* clean up and exit */
-+extern char *xgets __P((char *, int, FILE *)); /* fgets() on steroids */
-+extern char *split_at __P((char *, int)); /* strchr() and split */
-+extern unsigned long dot_quad_addr __P((char *)); /* restricted inet_addr() */
-
- /* Global variables. */
-
-@@ -98,9 +120,14 @@
- */
-
- #ifdef __STDC__
-+extern int hosts_access(struct request_info *request);
-+extern int hosts_ctl(char *daemon, char *client_name, char *client_addr,
-+ char *client_user);
- extern struct request_info *request_init(struct request_info *,...);
- extern struct request_info *request_set(struct request_info *,...);
- #else
-+extern int hosts_access();
-+extern int hosts_ctl();
- extern struct request_info *request_init(); /* initialize request */
- extern struct request_info *request_set(); /* update request structure */
- #endif
-@@ -123,27 +150,27 @@
- * host_info structures serve as caches for the lookup results.
- */
-
--extern char *eval_user(); /* client user */
--extern char *eval_hostname(); /* printable hostname */
--extern char *eval_hostaddr(); /* printable host address */
--extern char *eval_hostinfo(); /* host name or address */
--extern char *eval_client(); /* whatever is available */
--extern char *eval_server(); /* whatever is available */
-+extern char *eval_user __P((struct request_info *)); /* client user */
-+extern char *eval_hostname __P((struct host_info *)); /* printable hostname */
-+extern char *eval_hostaddr __P((struct host_info *)); /* printable host address */
-+extern char *eval_hostinfo __P((struct host_info *)); /* host name or address */
-+extern char *eval_client __P((struct request_info *)); /* whatever is available */
-+extern char *eval_server __P((struct request_info *)); /* whatever is available */
- #define eval_daemon(r) ((r)->daemon) /* daemon process name */
- #define eval_pid(r) ((r)->pid) /* process id */
-
- /* Socket-specific methods, including DNS hostname lookups. */
-
--extern void sock_host(); /* look up endpoint addresses */
--extern void sock_hostname(); /* translate address to hostname */
--extern void sock_hostaddr(); /* address to printable address */
-+extern void sock_host __P((struct request_info *));
-+extern void sock_hostname __P((struct host_info *));
-+extern void sock_hostaddr __P((struct host_info *));
- #define sock_methods(r) \
- { (r)->hostname = sock_hostname; (r)->hostaddr = sock_hostaddr; }
-
- /* The System V Transport-Level Interface (TLI) interface. */
-
- #if defined(TLI) || defined(PTX) || defined(TLI_SEQUENT)
--extern void tli_host(); /* look up endpoint addresses etc. */
-+extern void tli_host __P((struct request_info *)); /* look up endpoint addresses etc. */
- #endif
-
- /*
-@@ -184,7 +211,7 @@
- * behavior.
- */
-
--extern void process_options(); /* execute options */
-+extern void process_options __P((char *, struct request_info *)); /* execute options */
- extern int dry_run; /* verification flag */
-
- /* Bug workarounds. */
-@@ -223,3 +250,7 @@
- #define strtok my_strtok
- extern char *my_strtok();
- #endif
-+
-+__END_DECLS
-+
-+#endif /* tcpd.h */
diff --git a/databases/mysql50-server/pkg-descr b/databases/mysql50-server/pkg-descr
deleted file mode 100644
index 8f4acf36e853..000000000000
--- a/databases/mysql50-server/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-MySQL is a very fast, multi-threaded, multi-user and robust SQL
-(Structured Query Language) database server.
-
-WWW: http://www.mysql.com/
diff --git a/databases/mysql50-server/pkg-message b/databases/mysql50-server/pkg-message
deleted file mode 100644
index 7e30302334e6..000000000000
--- a/databases/mysql50-server/pkg-message
+++ /dev/null
@@ -1,7 +0,0 @@
-************************************************************************
-
-Remember to run mysql_upgrade (with the optional --datadir=<dbdir> flag)
-the first time you start the MySQL server after an upgrade from an
-earlier version.
-
-************************************************************************
diff --git a/databases/mysql50-server/pkg-plist b/databases/mysql50-server/pkg-plist
deleted file mode 100644
index 21be85b76f32..000000000000
--- a/databases/mysql50-server/pkg-plist
+++ /dev/null
@@ -1,173 +0,0 @@
-@stopdaemon mysql-server
-bin/comp_err
-%%INNODB%%bin/innochecksum
-bin/my_print_defaults
-bin/myisam_ftdump
-bin/myisamchk
-bin/myisamlog
-bin/myisampack
-bin/mysqltest_embedded
-bin/mysql_client_test_embedded
-bin/mysql_install_db
-bin/mysql_tzinfo_to_sql
-bin/mysql_upgrade_shell
-bin/mysql_waitpid
-bin/mysqld_safe
-%%NDB%%bin/ndb_config
-%%NDB%%bin/ndb_delete_all
-%%NDB%%bin/ndb_desc
-%%NDB%%bin/ndb_drop_index
-%%NDB%%bin/ndb_drop_table
-%%NDB%%bin/ndb_error_reporter
-%%NDB%%bin/ndb_mgm
-%%NDB%%bin/ndb_restore
-%%NDB%%bin/ndb_select_all
-%%NDB%%bin/ndb_select_count
-%%NDB%%bin/ndb_size.pl
-%%NDB%%bin/ndb_show_tables
-%%NDB%%bin/ndb_test_platform
-%%NDB%%bin/ndb_waiter
-bin/perror
-bin/replace
-bin/resolve_stack_dump
-bin/resolveip
-%%NDB%%include/mysql/ndb/mgmapi/mgmapi.h
-%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters.h
-%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters_debug.h
-%%NDB%%include/mysql/ndb/mgmapi/mgmapi_debug.h
-%%NDB%%include/mysql/ndb/mgmapi/ndb_logevent.h
-%%NDB%%include/mysql/ndb/mgmapi/ndbd_exit_codes.h
-%%NDB%%include/mysql/ndb/ndb_constants.h
-%%NDB%%include/mysql/ndb/ndb_init.h
-%%NDB%%include/mysql/ndb/ndb_types.h
-%%NDB%%include/mysql/ndb/ndb_version.h
-%%NDB%%include/mysql/ndb/ndbapi/Ndb.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbApi.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbBlob.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbDictionary.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbError.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbIndexOperation.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbIndexScanOperation.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbOperation.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbPool.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbRecAttr.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbReceiver.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbScanFilter.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbScanOperation.hpp
-%%NDB%%include/mysql/ndb/ndbapi/NdbTransaction.hpp
-%%NDB%%include/mysql/ndb/ndbapi/ndbapi_limits.h
-%%NDB%%include/mysql/ndb/ndbapi/ndb_cluster_connection.hpp
-%%NDB%%include/mysql/ndb/ndbapi/ndb_opt_defaults.h
-%%NDB%%include/mysql/ndb/ndbapi/ndberror.h
-lib/mysql/libdbug.a
-lib/mysql/libheap.a
-lib/mysql/libmyisam.a
-lib/mysql/libmyisammrg.a
-lib/mysql/libmysqld.a
-lib/mysql/libmystrings.a
-lib/mysql/libmysys.a
-%%NDB%%lib/mysql/libndbclient.a
-%%NDB%%lib/mysql/libndbclient.la
-%%NDB%%lib/mysql/libndbclient.so
-%%NDB%%lib/mysql/libndbclient.so.2
-lib/mysql/libvio.a
-libexec/mysqld
-%%NDB%%libexec/ndb_cpcd
-%%NDB%%libexec/ndb_mgmd
-%%NDB%%libexec/ndbd
-%%DATADIR%%/binary-configure
-%%DATADIR%%/charsets/Index.xml
-%%DATADIR%%/charsets/README
-%%DATADIR%%/charsets/armscii8.xml
-%%DATADIR%%/charsets/ascii.xml
-%%DATADIR%%/charsets/cp1250.xml
-%%DATADIR%%/charsets/cp1251.xml
-%%DATADIR%%/charsets/cp1256.xml
-%%DATADIR%%/charsets/cp1257.xml
-%%DATADIR%%/charsets/cp850.xml
-%%DATADIR%%/charsets/cp852.xml
-%%DATADIR%%/charsets/cp866.xml
-%%DATADIR%%/charsets/dec8.xml
-%%DATADIR%%/charsets/geostd8.xml
-%%DATADIR%%/charsets/greek.xml
-%%DATADIR%%/charsets/hebrew.xml
-%%DATADIR%%/charsets/hp8.xml
-%%DATADIR%%/charsets/keybcs2.xml
-%%DATADIR%%/charsets/koi8r.xml
-%%DATADIR%%/charsets/koi8u.xml
-%%DATADIR%%/charsets/latin1.xml
-%%DATADIR%%/charsets/latin2.xml
-%%DATADIR%%/charsets/latin5.xml
-%%DATADIR%%/charsets/latin7.xml
-%%DATADIR%%/charsets/macce.xml
-%%DATADIR%%/charsets/macroman.xml
-%%DATADIR%%/charsets/swe7.xml
-%%DATADIR%%/czech/errmsg.sys
-%%DATADIR%%/danish/errmsg.sys
-%%DATADIR%%/dutch/errmsg.sys
-%%DATADIR%%/english/errmsg.sys
-%%DATADIR%%/errmsg.txt
-%%DATADIR%%/estonian/errmsg.sys
-%%DATADIR%%/fill_help_tables.sql
-%%DATADIR%%/french/errmsg.sys
-%%DATADIR%%/german/errmsg.sys
-%%DATADIR%%/greek/errmsg.sys
-%%DATADIR%%/hungarian/errmsg.sys
-%%DATADIR%%/italian/errmsg.sys
-%%DATADIR%%/japanese/errmsg.sys
-%%DATADIR%%/korean/errmsg.sys
-%%DATADIR%%/mi_test_all
-%%DATADIR%%/mi_test_all.res
-%%DATADIR%%/my-huge.cnf
-%%DATADIR%%/my-innodb-heavy-4G.cnf
-%%DATADIR%%/my-large.cnf
-%%DATADIR%%/my-medium.cnf
-%%DATADIR%%/my-small.cnf
-%%DATADIR%%/mysql_system_tables.sql
-%%DATADIR%%/mysql_system_tables_data.sql
-%%DATADIR%%/mysql-log-rotate
-%%DATADIR%%/mysql.server
-%%DATADIR%%/mysqld_multi.server
-%%DATADIR%%/ndb-config-2-node.ini
-%%NDB%%%%DATADIR%%/ndb_size.tmpl
-%%DATADIR%%/norwegian-ny/errmsg.sys
-%%DATADIR%%/norwegian/errmsg.sys
-%%DATADIR%%/polish/errmsg.sys
-%%DATADIR%%/portuguese/errmsg.sys
-%%DATADIR%%/romanian/errmsg.sys
-%%DATADIR%%/russian/errmsg.sys
-%%DATADIR%%/serbian/errmsg.sys
-%%DATADIR%%/slovak/errmsg.sys
-%%DATADIR%%/spanish/errmsg.sys
-%%DATADIR%%/swedish/errmsg.sys
-%%DATADIR%%/ukrainian/errmsg.sys
-%%NDB%%@dirrm include/mysql/ndb/mgmapi
-%%NDB%%@dirrm include/mysql/ndb/ndbapi
-%%NDB%%@dirrm include/mysql/ndb
-@dirrmtry include/mysql
-@dirrmtry lib/mysql
-@dirrm %%DATADIR%%/charsets
-@dirrm %%DATADIR%%/czech
-@dirrm %%DATADIR%%/danish
-@dirrm %%DATADIR%%/dutch
-@dirrm %%DATADIR%%/english
-@dirrm %%DATADIR%%/estonian
-@dirrm %%DATADIR%%/french
-@dirrm %%DATADIR%%/german
-@dirrm %%DATADIR%%/greek
-@dirrm %%DATADIR%%/hungarian
-@dirrm %%DATADIR%%/italian
-@dirrm %%DATADIR%%/japanese
-@dirrm %%DATADIR%%/korean
-@dirrm %%DATADIR%%/norwegian
-@dirrm %%DATADIR%%/norwegian-ny
-@dirrm %%DATADIR%%/polish
-@dirrm %%DATADIR%%/portuguese
-@dirrm %%DATADIR%%/romanian
-@dirrm %%DATADIR%%/russian
-@dirrm %%DATADIR%%/serbian
-@dirrm %%DATADIR%%/slovak
-@dirrm %%DATADIR%%/spanish
-@dirrm %%DATADIR%%/swedish
-@dirrm %%DATADIR%%/ukrainian
-@dirrmtry %%DATADIR%%
diff --git a/databases/mysql50-server/pkg-plist.client b/databases/mysql50-server/pkg-plist.client
deleted file mode 100644
index 194121870d3f..000000000000
--- a/databases/mysql50-server/pkg-plist.client
+++ /dev/null
@@ -1,58 +0,0 @@
-bin/mysql
-bin/mysql_config
-bin/mysql_fix_privilege_tables
-bin/mysql_upgrade
-bin/mysqladmin
-bin/mysqlbinlog
-bin/mysqlbug
-bin/mysqlcheck
-bin/mysqldump
-bin/mysqlimport
-bin/mysqlshow
-bin/mysqltest
-bin/mysqltestmanager-pwgen
-bin/mysqltestmanagerc
-include/mysql/decimal.h
-include/mysql/errmsg.h
-include/mysql/keycache.h
-include/mysql/m_ctype.h
-include/mysql/m_string.h
-include/mysql/my_alloc.h
-include/mysql/my_attribute.h
-include/mysql/my_config.h
-include/mysql/my_dbug.h
-include/mysql/my_dir.h
-include/mysql/my_getopt.h
-include/mysql/my_global.h
-include/mysql/my_list.h
-include/mysql/my_net.h
-include/mysql/my_no_pthread.h
-include/mysql/my_pthread.h
-include/mysql/my_sys.h
-include/mysql/my_xml.h
-include/mysql/mysql.h
-include/mysql/mysql_com.h
-include/mysql/mysql_embed.h
-include/mysql/mysql_time.h
-include/mysql/mysql_version.h
-include/mysql/mysqld_ername.h
-include/mysql/mysqld_error.h
-include/mysql/raid.h
-include/mysql/sql_common.h
-include/mysql/sql_state.h
-include/mysql/sslopt-case.h
-include/mysql/sslopt-longopts.h
-include/mysql/sslopt-vars.h
-include/mysql/typelib.h
-lib/mysql/libmysqlclient.a
-lib/mysql/libmysqlclient.la
-lib/mysql/libmysqlclient.so
-lib/mysql/libmysqlclient.so.15
-lib/mysql/libmysqlclient_r.a
-lib/mysql/libmysqlclient_r.la
-lib/mysql/libmysqlclient_r.so
-lib/mysql/libmysqlclient_r.so.15
-%%DATADIR%%/mysql_fix_privilege_tables.sql
-@dirrm include/mysql
-@dirrm lib/mysql
-@dirrm %%DATADIR%%
diff --git a/databases/mysql50-server/pkg-plist.scripts b/databases/mysql50-server/pkg-plist.scripts
deleted file mode 100644
index f77f27a1839c..000000000000
--- a/databases/mysql50-server/pkg-plist.scripts
+++ /dev/null
@@ -1,13 +0,0 @@
-bin/msql2mysql
-bin/mysql_convert_table_format
-bin/mysql_explain_log
-bin/mysql_find_rows
-bin/mysql_fix_extensions
-bin/mysql_secure_installation
-bin/mysql_setpermission
-bin/mysql_tableinfo
-bin/mysql_zap
-bin/mysqlaccess
-bin/mysqld_multi
-bin/mysqldumpslow
-bin/mysqlhotcopy
diff --git a/databases/p5-DBD-mysql50/Makefile b/databases/p5-DBD-mysql50/Makefile
deleted file mode 100644
index 6c139c4ff685..000000000000
--- a/databases/p5-DBD-mysql50/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-# Created by: Alex Dupre <sysadmin@alexdupre.com>
-# $FreeBSD$
-
-PKGNAMESUFFIX= 50
-
-COMMENT= MySQL 5.0 driver for the Perl5 Database Interface (DBI)
-
-CONFLICTS= p5-Mysql-modules-[0-9]* p5-DBD-mysql-[0-9]* p5-DBD-mysql4[0-9]-[0-9]* p5-DBD-mysql5[1-9]-[0-9]*
-
-WANT_MYSQL_VER= 50
-
-MASTERDIR= ${.CURDIR}/../p5-DBD-mysql
-
-.include "${MASTERDIR}/Makefile"
diff --git a/deskutils/moregroupware/Makefile b/deskutils/moregroupware/Makefile
index dab87fe612e8..e2ce2ebd69d8 100644
--- a/deskutils/moregroupware/Makefile
+++ b/deskutils/moregroupware/Makefile
@@ -32,7 +32,7 @@ USES+= gettext
.if ${PORT_OPTIONS:MPGSQL}
RUN_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql74-server
.else
-RUN_DEPENDS+= ${LOCALBASE}/bin/mysql:${PORTSDIR}/databases/mysql50-server
+USE_MYSQL= server
.endif
.if ${PORT_OPTIONS:MADDONS}
diff --git a/mail/dspam-devel/Makefile b/mail/dspam-devel/Makefile
index 876a8e50e546..5a6b6db96fb6 100644
--- a/mail/dspam-devel/Makefile
+++ b/mail/dspam-devel/Makefile
@@ -51,7 +51,6 @@ OPTIONS+= CLAMAV "Enable clamav support" on
OPTIONS+= CLAMAV_DEVEL "Enable clamav support" off
OPTIONS+= CLAMAV_LOCAL "RUN_DEPEND on selected clamav" on
#
-OPTIONS+= MYSQL50 "Use MySQL 5.0.x as back-end" off
OPTIONS+= MYSQL51 "Use MySQL 5.1.x as back-end" off
OPTIONS+= MYSQL55 "Use MySQL 5.5.x as back-end" on
OPTIONS+= MYSQL_COMPRESS "Compress dspam <--> MySQL" off
@@ -256,10 +255,7 @@ _DBDRV:= ${_DBDRV:S/hash_drv,//}
PLIST_SUB+= HASH="@comment "
.endif
-.ifndef(WITHOUT_MYSQL50)
-WANT_MYSQL_VER= 50
-#PKGNAMESUFFIX= -mysql50
-.elifdef(WITH_MYSQL51)
+.ifdef(WITH_MYSQL51)
WANT_MYSQL_VER= 51
#PKGNAMESUFFIX= -mysql51
.elifdef(WITH_MYSQL55)
@@ -267,8 +263,7 @@ WANT_MYSQL_VER= 55
#PKGNAMESUFFIX= -mysql55
.endif
-.if defined(WITH_MYSQL40) || defined(WITH_MYSQL41) || \
- !defined(WITHOUT_MYSQL50) || defined(WITH_MYSQL51) || defined(WITH_MYSQL55)
+.if defined(WITH_MYSQL51) || defined(WITH_MYSQL55)
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include/mysql \
--with-mysql-libraries=${LOCALBASE}/lib/mysql
@@ -356,7 +351,7 @@ LDA_COUNT:= ${LDA_COUNT:S/o//}
.endif
.ifdef(WITH_EXIM_LDA)
-. ifdef(WITH_MYSQL40) || (WITH_MYSQL41)
+. ifdef(WITH_MYSQL51) || (WITH_MYSQL55)
_EXIM_EXT= -mysql
. elifdef(WITH_POSTGRESQL)
_EXIM_EXT= -postgresql
@@ -528,7 +523,7 @@ pre-configure:
@${ECHO_CMD} "You need MySQL, PostgreSQL or Hash for Daemon mode, because multithreading support is needed"
@${FALSE}
.endif
-.if ( defined(WITH_MYSQL40) && defined(WITH_MYSQL41) && !defined(WITHOUT_MYSQL50) && defined(WITH_MYSQL51))
+.if (defined(WITH_MYSQL51) && defined(WITH_MYSQL55))
@${ECHO_CMD} "You can compile with only one MySQL version driver."
@${FALSE}
.endif
diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile
index 87ca342949c0..bff885eb1224 100644
--- a/mail/dspam/Makefile
+++ b/mail/dspam/Makefile
@@ -36,7 +36,6 @@ OPTIONS+= CLAMAV "Enable clamav support" on
OPTIONS+= CLAMAV_DEVEL "Enable clamav support" off
OPTIONS+= CLAMAV_LOCAL "RUN_DEPEND on selected clamav" on
#
-OPTIONS+= MYSQL50 "Use MySQL 5.0.x as back-end" on
OPTIONS+= MYSQL51 "Use MySQL 5.1.x as back-end" off
OPTIONS+= MYSQL55 "Use MySQL 5.5.x as back-end" off
OPTIONS+= MYSQL_COMPRESS "Compress dspam <--> MySQL" off
@@ -238,10 +237,7 @@ _DBDRV:= ${_DBDRV:S/hash_drv,//}
PLIST_SUB+= HASH="@comment "
.endif
-.ifndef(WITHOUT_MYSQL50)
-WANT_MYSQL_VER= 50
-#PKGNAMESUFFIX= -mysql50
-.elifdef(WITH_MYSQL51)
+.ifdef(WITH_MYSQL51)
WANT_MYSQL_VER= 51
#PKGNAMESUFFIX= -mysql51
.elifdef(WITH_MYSQL55)
@@ -249,7 +245,7 @@ WANT_MYSQL_VER= 55
#PKGNAMESUFFIX= -mysql55
.endif
-.if !defined(WITHOUT_MYSQL50) || defined(WITH_MYSQL51) || defined(WITH_MYSQL55)
+.if defined(WITH_MYSQL51) || defined(WITH_MYSQL55)
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include/mysql \
--with-mysql-libraries=${LOCALBASE}/lib/mysql
@@ -331,7 +327,7 @@ LDA_COUNT:= ${LDA_COUNT:S/o//}
.endif
.ifdef(WITH_EXIM_LDA)
-. ifdef(WITH_MYSQL50) || (WITH_MYSQL51) || (WITH_MYSQL55)
+. ifdef(WITH_MYSQL51) || (WITH_MYSQL55)
_EXIM_EXT= -mysql
. elifdef(WITH_POSTGRESQL)
_EXIM_EXT= -postgresql
@@ -502,7 +498,7 @@ pre-configure:
@${ECHO_CMD} "You need MySQL, PostgreSQL or Hash for Daemon mode, because multithreading support is needed"
@${FALSE}
.endif
-.if (!defined(WITHOUT_MYSQL50) && defined(WITH_MYSQL51))
+.if (defined(WITH_MYSQL51) && defined(WITH_MYSQL55))
@${ECHO_CMD} "You can compile with only one MySQL version driver."
@${FALSE}
.endif
diff --git a/net-mgmt/netams/Makefile b/net-mgmt/netams/Makefile
index 1afd00de7ba3..f17aced33550 100644
--- a/net-mgmt/netams/Makefile
+++ b/net-mgmt/netams/Makefile
@@ -66,7 +66,7 @@ RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
.endif
.if ${PORT_OPTIONS:MMYSQL} && ${PORT_OPTIONS:MCGI}
-RUN_DEPENDS+= p5-DBD-mysql50>=0:${PORTSDIR}/databases/p5-DBD-mysql50
+RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
.endif
.if ${PORT_OPTIONS:MCGI}