- Add mariadb 5.2.3
MariaDB is a database server that offers drop-in replacement functionality for MySQL1. MariaDB is built by some of the original authors of MySQL, with assistance from the broader community of Free and open source software developers. In addition to the core functionality of MySQL, MariaDB offers a rich set of feature enhancements including alternate storage engines, server optimizations, and patches. MariaDB is primarily driven by developers at Monty Program, a company founded by Michael "Monty" Widenius, the original author of MySQL, but this is not the whole story about MariaDB. On the "About MariaDB" page you will find more information about all participants in the MariaDB community, including storage engines XtraDB and PBXT. WWW: http://mariadb.org/ PR: ports/152237 Submitted by: Artyom Olshevskiy <siasiamail@gmail.com>
This commit is contained in:
parent
dafdbeae93
commit
adac021c92
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264701
21 changed files with 24485 additions and 0 deletions
|
@ -178,6 +178,7 @@
|
|||
SUBDIR += ludia
|
||||
SUBDIR += maatkit
|
||||
SUBDIR += mantis
|
||||
SUBDIR += mariadb
|
||||
SUBDIR += mdbtools
|
||||
SUBDIR += memcached
|
||||
SUBDIR += memcached12
|
||||
|
|
75
databases/mariadb-client/Makefile
Normal file
75
databases/mariadb-client/Makefile
Normal file
|
@ -0,0 +1,75 @@
|
|||
# New ports collection makefile for: mariadb
|
||||
# Date created: 14 November 2010
|
||||
# Whom: siasia
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mariadb
|
||||
PORTVERSION= 5.2.3
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://ftp-stud.hs-esslingen.de/pub/Mirrors/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
|
||||
http://mirrors.fe.up.pt/pub/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
|
||||
http://ftp.osuosl.org/pub/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
|
||||
http://mirrors.supportex.net/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/
|
||||
|
||||
MAINTAINER= siasiamail@gmail.com
|
||||
COMMENT= A database server that offers drop-in replacement functionality for MySQL
|
||||
|
||||
CONFLICTS= mysql-server-[0-9]* mysql-client-[0-9]*
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_RC_SUBR= mysql-server
|
||||
|
||||
USERS= mysql
|
||||
GROUPS= mysql
|
||||
|
||||
MAN1= comp_err.1 \
|
||||
innochecksum.1 \
|
||||
msql2mysql.1 \
|
||||
my_print_defaults.1 \
|
||||
myisam_ftdump.1 \
|
||||
myisamchk.1 \
|
||||
myisamlog.1 \
|
||||
myisampack.1 \
|
||||
mysql-stress-test.pl.1 \
|
||||
mysql-test-run.pl.1 \
|
||||
mysql.1 \
|
||||
mysql.server.1 \
|
||||
mysql_client_test.1 \
|
||||
mysql_config.1 \
|
||||
mysql_convert_table_format.1 \
|
||||
mysql_find_rows.1 \
|
||||
mysql_fix_extensions.1 \
|
||||
mysql_fix_privilege_tables.1 \
|
||||
mysql_install_db.1 \
|
||||
mysql_secure_installation.1 \
|
||||
mysql_setpermission.1 \
|
||||
mysql_tzinfo_to_sql.1 \
|
||||
mysql_upgrade.1 \
|
||||
mysql_waitpid.1 \
|
||||
mysql_zap.1 \
|
||||
mysqlaccess.1 \
|
||||
mysqladmin.1 \
|
||||
mysqlbinlog.1 \
|
||||
mysqlbug.1 \
|
||||
mysqlcheck.1 \
|
||||
mysqld_multi.1 \
|
||||
mysqld_safe.1 \
|
||||
mysqldump.1 \
|
||||
mysqldumpslow.1 \
|
||||
mysqlhotcopy.1 \
|
||||
mysqlimport.1 \
|
||||
mysqlman.1 \
|
||||
mysqlshow.1 \
|
||||
mysqlslap.1 \
|
||||
mysqltest.1 \
|
||||
perror.1 \
|
||||
replace.1 \
|
||||
resolve_stack_dump.1 \
|
||||
resolveip.1
|
||||
MAN8= mysqld.8 \
|
||||
mysqlmanager.8
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/mariadb-client/distinfo
Normal file
2
databases/mariadb-client/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (mariadb-5.2.3.tar.gz) = 2b07123ef1d3568d07443bec3f25b3b7b5935e77482437778f8805c0deda7bd0
|
||||
SIZE (mariadb-5.2.3.tar.gz) = 24895365
|
74
databases/mariadb-client/files/mysql-server.in
Normal file
74
databases/mariadb-client/files/mysql-server.in
Normal file
|
@ -0,0 +1,74 @@
|
|||
#!/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_args (str): Custom additional arguments to be passed
|
||||
# to mysqld_safe (default empty).
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="mysql"
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${mysql_enable="NO"}
|
||||
: ${mysql_limits="NO"}
|
||||
: ${mysql_dbdir="/var/db/mysql"}
|
||||
: ${mysql_args=""}
|
||||
|
||||
mysql_user="mysql"
|
||||
mysql_limits_args="-e -U ${mysql_user}"
|
||||
pidfile="${mysql_dbdir}/`/bin/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} --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}"
|
||||
|
||||
mysql_create_auth_tables()
|
||||
{
|
||||
eval $mysql_install_db $mysql_install_db_args >/dev/null 2>/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()
|
||||
{
|
||||
local timeout=15
|
||||
while [ ! -f "${pidfile}" -a ${timeout} -gt 0 ]; do
|
||||
timeout=$(( timeout - 1 ))
|
||||
sleep 1
|
||||
done
|
||||
return 0
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
14
databases/mariadb-client/pkg-descr
Normal file
14
databases/mariadb-client/pkg-descr
Normal file
|
@ -0,0 +1,14 @@
|
|||
MariaDB is a database server that offers drop-in replacement functionality for
|
||||
MySQL1. MariaDB is built by some of the original authors of MySQL, with
|
||||
assistance from the broader community of Free and open source software
|
||||
developers. In addition to the core functionality of MySQL, MariaDB offers a
|
||||
rich set of feature enhancements including alternate storage engines, server
|
||||
optimizations, and patches.
|
||||
|
||||
MariaDB is primarily driven by developers at Monty Program, a company founded by
|
||||
Michael "Monty" Widenius, the original author of MySQL, but this is not the
|
||||
whole story about MariaDB. On the "About MariaDB" page you will find more
|
||||
information about all participants in the MariaDB community, including storage
|
||||
engines XtraDB and PBXT.
|
||||
|
||||
WWW: http://mariadb.org/
|
5956
databases/mariadb-client/pkg-plist
Normal file
5956
databases/mariadb-client/pkg-plist
Normal file
File diff suppressed because it is too large
Load diff
75
databases/mariadb-scripts/Makefile
Normal file
75
databases/mariadb-scripts/Makefile
Normal file
|
@ -0,0 +1,75 @@
|
|||
# New ports collection makefile for: mariadb
|
||||
# Date created: 14 November 2010
|
||||
# Whom: siasia
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mariadb
|
||||
PORTVERSION= 5.2.3
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://ftp-stud.hs-esslingen.de/pub/Mirrors/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
|
||||
http://mirrors.fe.up.pt/pub/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
|
||||
http://ftp.osuosl.org/pub/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
|
||||
http://mirrors.supportex.net/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/
|
||||
|
||||
MAINTAINER= siasiamail@gmail.com
|
||||
COMMENT= A database server that offers drop-in replacement functionality for MySQL
|
||||
|
||||
CONFLICTS= mysql-server-[0-9]* mysql-client-[0-9]*
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_RC_SUBR= mysql-server
|
||||
|
||||
USERS= mysql
|
||||
GROUPS= mysql
|
||||
|
||||
MAN1= comp_err.1 \
|
||||
innochecksum.1 \
|
||||
msql2mysql.1 \
|
||||
my_print_defaults.1 \
|
||||
myisam_ftdump.1 \
|
||||
myisamchk.1 \
|
||||
myisamlog.1 \
|
||||
myisampack.1 \
|
||||
mysql-stress-test.pl.1 \
|
||||
mysql-test-run.pl.1 \
|
||||
mysql.1 \
|
||||
mysql.server.1 \
|
||||
mysql_client_test.1 \
|
||||
mysql_config.1 \
|
||||
mysql_convert_table_format.1 \
|
||||
mysql_find_rows.1 \
|
||||
mysql_fix_extensions.1 \
|
||||
mysql_fix_privilege_tables.1 \
|
||||
mysql_install_db.1 \
|
||||
mysql_secure_installation.1 \
|
||||
mysql_setpermission.1 \
|
||||
mysql_tzinfo_to_sql.1 \
|
||||
mysql_upgrade.1 \
|
||||
mysql_waitpid.1 \
|
||||
mysql_zap.1 \
|
||||
mysqlaccess.1 \
|
||||
mysqladmin.1 \
|
||||
mysqlbinlog.1 \
|
||||
mysqlbug.1 \
|
||||
mysqlcheck.1 \
|
||||
mysqld_multi.1 \
|
||||
mysqld_safe.1 \
|
||||
mysqldump.1 \
|
||||
mysqldumpslow.1 \
|
||||
mysqlhotcopy.1 \
|
||||
mysqlimport.1 \
|
||||
mysqlman.1 \
|
||||
mysqlshow.1 \
|
||||
mysqlslap.1 \
|
||||
mysqltest.1 \
|
||||
perror.1 \
|
||||
replace.1 \
|
||||
resolve_stack_dump.1 \
|
||||
resolveip.1
|
||||
MAN8= mysqld.8 \
|
||||
mysqlmanager.8
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/mariadb-scripts/distinfo
Normal file
2
databases/mariadb-scripts/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (mariadb-5.2.3.tar.gz) = 2b07123ef1d3568d07443bec3f25b3b7b5935e77482437778f8805c0deda7bd0
|
||||
SIZE (mariadb-5.2.3.tar.gz) = 24895365
|
74
databases/mariadb-scripts/files/mysql-server.in
Normal file
74
databases/mariadb-scripts/files/mysql-server.in
Normal file
|
@ -0,0 +1,74 @@
|
|||
#!/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_args (str): Custom additional arguments to be passed
|
||||
# to mysqld_safe (default empty).
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="mysql"
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${mysql_enable="NO"}
|
||||
: ${mysql_limits="NO"}
|
||||
: ${mysql_dbdir="/var/db/mysql"}
|
||||
: ${mysql_args=""}
|
||||
|
||||
mysql_user="mysql"
|
||||
mysql_limits_args="-e -U ${mysql_user}"
|
||||
pidfile="${mysql_dbdir}/`/bin/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} --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}"
|
||||
|
||||
mysql_create_auth_tables()
|
||||
{
|
||||
eval $mysql_install_db $mysql_install_db_args >/dev/null 2>/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()
|
||||
{
|
||||
local timeout=15
|
||||
while [ ! -f "${pidfile}" -a ${timeout} -gt 0 ]; do
|
||||
timeout=$(( timeout - 1 ))
|
||||
sleep 1
|
||||
done
|
||||
return 0
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
14
databases/mariadb-scripts/pkg-descr
Normal file
14
databases/mariadb-scripts/pkg-descr
Normal file
|
@ -0,0 +1,14 @@
|
|||
MariaDB is a database server that offers drop-in replacement functionality for
|
||||
MySQL1. MariaDB is built by some of the original authors of MySQL, with
|
||||
assistance from the broader community of Free and open source software
|
||||
developers. In addition to the core functionality of MySQL, MariaDB offers a
|
||||
rich set of feature enhancements including alternate storage engines, server
|
||||
optimizations, and patches.
|
||||
|
||||
MariaDB is primarily driven by developers at Monty Program, a company founded by
|
||||
Michael "Monty" Widenius, the original author of MySQL, but this is not the
|
||||
whole story about MariaDB. On the "About MariaDB" page you will find more
|
||||
information about all participants in the MariaDB community, including storage
|
||||
engines XtraDB and PBXT.
|
||||
|
||||
WWW: http://mariadb.org/
|
5956
databases/mariadb-scripts/pkg-plist
Normal file
5956
databases/mariadb-scripts/pkg-plist
Normal file
File diff suppressed because it is too large
Load diff
75
databases/mariadb-server/Makefile
Normal file
75
databases/mariadb-server/Makefile
Normal file
|
@ -0,0 +1,75 @@
|
|||
# New ports collection makefile for: mariadb
|
||||
# Date created: 14 November 2010
|
||||
# Whom: siasia
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mariadb
|
||||
PORTVERSION= 5.2.3
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://ftp-stud.hs-esslingen.de/pub/Mirrors/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
|
||||
http://mirrors.fe.up.pt/pub/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
|
||||
http://ftp.osuosl.org/pub/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
|
||||
http://mirrors.supportex.net/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/
|
||||
|
||||
MAINTAINER= siasiamail@gmail.com
|
||||
COMMENT= A database server that offers drop-in replacement functionality for MySQL
|
||||
|
||||
CONFLICTS= mysql-server-[0-9]* mysql-client-[0-9]*
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_RC_SUBR= mysql-server
|
||||
|
||||
USERS= mysql
|
||||
GROUPS= mysql
|
||||
|
||||
MAN1= comp_err.1 \
|
||||
innochecksum.1 \
|
||||
msql2mysql.1 \
|
||||
my_print_defaults.1 \
|
||||
myisam_ftdump.1 \
|
||||
myisamchk.1 \
|
||||
myisamlog.1 \
|
||||
myisampack.1 \
|
||||
mysql-stress-test.pl.1 \
|
||||
mysql-test-run.pl.1 \
|
||||
mysql.1 \
|
||||
mysql.server.1 \
|
||||
mysql_client_test.1 \
|
||||
mysql_config.1 \
|
||||
mysql_convert_table_format.1 \
|
||||
mysql_find_rows.1 \
|
||||
mysql_fix_extensions.1 \
|
||||
mysql_fix_privilege_tables.1 \
|
||||
mysql_install_db.1 \
|
||||
mysql_secure_installation.1 \
|
||||
mysql_setpermission.1 \
|
||||
mysql_tzinfo_to_sql.1 \
|
||||
mysql_upgrade.1 \
|
||||
mysql_waitpid.1 \
|
||||
mysql_zap.1 \
|
||||
mysqlaccess.1 \
|
||||
mysqladmin.1 \
|
||||
mysqlbinlog.1 \
|
||||
mysqlbug.1 \
|
||||
mysqlcheck.1 \
|
||||
mysqld_multi.1 \
|
||||
mysqld_safe.1 \
|
||||
mysqldump.1 \
|
||||
mysqldumpslow.1 \
|
||||
mysqlhotcopy.1 \
|
||||
mysqlimport.1 \
|
||||
mysqlman.1 \
|
||||
mysqlshow.1 \
|
||||
mysqlslap.1 \
|
||||
mysqltest.1 \
|
||||
perror.1 \
|
||||
replace.1 \
|
||||
resolve_stack_dump.1 \
|
||||
resolveip.1
|
||||
MAN8= mysqld.8 \
|
||||
mysqlmanager.8
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/mariadb-server/distinfo
Normal file
2
databases/mariadb-server/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (mariadb-5.2.3.tar.gz) = 2b07123ef1d3568d07443bec3f25b3b7b5935e77482437778f8805c0deda7bd0
|
||||
SIZE (mariadb-5.2.3.tar.gz) = 24895365
|
74
databases/mariadb-server/files/mysql-server.in
Normal file
74
databases/mariadb-server/files/mysql-server.in
Normal file
|
@ -0,0 +1,74 @@
|
|||
#!/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_args (str): Custom additional arguments to be passed
|
||||
# to mysqld_safe (default empty).
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="mysql"
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${mysql_enable="NO"}
|
||||
: ${mysql_limits="NO"}
|
||||
: ${mysql_dbdir="/var/db/mysql"}
|
||||
: ${mysql_args=""}
|
||||
|
||||
mysql_user="mysql"
|
||||
mysql_limits_args="-e -U ${mysql_user}"
|
||||
pidfile="${mysql_dbdir}/`/bin/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} --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}"
|
||||
|
||||
mysql_create_auth_tables()
|
||||
{
|
||||
eval $mysql_install_db $mysql_install_db_args >/dev/null 2>/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()
|
||||
{
|
||||
local timeout=15
|
||||
while [ ! -f "${pidfile}" -a ${timeout} -gt 0 ]; do
|
||||
timeout=$(( timeout - 1 ))
|
||||
sleep 1
|
||||
done
|
||||
return 0
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
14
databases/mariadb-server/pkg-descr
Normal file
14
databases/mariadb-server/pkg-descr
Normal file
|
@ -0,0 +1,14 @@
|
|||
MariaDB is a database server that offers drop-in replacement functionality for
|
||||
MySQL1. MariaDB is built by some of the original authors of MySQL, with
|
||||
assistance from the broader community of Free and open source software
|
||||
developers. In addition to the core functionality of MySQL, MariaDB offers a
|
||||
rich set of feature enhancements including alternate storage engines, server
|
||||
optimizations, and patches.
|
||||
|
||||
MariaDB is primarily driven by developers at Monty Program, a company founded by
|
||||
Michael "Monty" Widenius, the original author of MySQL, but this is not the
|
||||
whole story about MariaDB. On the "About MariaDB" page you will find more
|
||||
information about all participants in the MariaDB community, including storage
|
||||
engines XtraDB and PBXT.
|
||||
|
||||
WWW: http://mariadb.org/
|
5956
databases/mariadb-server/pkg-plist
Normal file
5956
databases/mariadb-server/pkg-plist
Normal file
File diff suppressed because it is too large
Load diff
75
databases/mariadb/Makefile
Normal file
75
databases/mariadb/Makefile
Normal file
|
@ -0,0 +1,75 @@
|
|||
# New ports collection makefile for: mariadb
|
||||
# Date created: 14 November 2010
|
||||
# Whom: siasia
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mariadb
|
||||
PORTVERSION= 5.2.3
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://ftp-stud.hs-esslingen.de/pub/Mirrors/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
|
||||
http://mirrors.fe.up.pt/pub/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
|
||||
http://ftp.osuosl.org/pub/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/ \
|
||||
http://mirrors.supportex.net/mariadb/${PORTNAME}-${PORTVERSION}/kvm-tarbake-jaunty-x86/
|
||||
|
||||
MAINTAINER= siasiamail@gmail.com
|
||||
COMMENT= A database server that offers drop-in replacement functionality for MySQL
|
||||
|
||||
CONFLICTS= mysql-server-[0-9]* mysql-client-[0-9]*
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_RC_SUBR= mysql-server
|
||||
|
||||
USERS= mysql
|
||||
GROUPS= mysql
|
||||
|
||||
MAN1= comp_err.1 \
|
||||
innochecksum.1 \
|
||||
msql2mysql.1 \
|
||||
my_print_defaults.1 \
|
||||
myisam_ftdump.1 \
|
||||
myisamchk.1 \
|
||||
myisamlog.1 \
|
||||
myisampack.1 \
|
||||
mysql-stress-test.pl.1 \
|
||||
mysql-test-run.pl.1 \
|
||||
mysql.1 \
|
||||
mysql.server.1 \
|
||||
mysql_client_test.1 \
|
||||
mysql_config.1 \
|
||||
mysql_convert_table_format.1 \
|
||||
mysql_find_rows.1 \
|
||||
mysql_fix_extensions.1 \
|
||||
mysql_fix_privilege_tables.1 \
|
||||
mysql_install_db.1 \
|
||||
mysql_secure_installation.1 \
|
||||
mysql_setpermission.1 \
|
||||
mysql_tzinfo_to_sql.1 \
|
||||
mysql_upgrade.1 \
|
||||
mysql_waitpid.1 \
|
||||
mysql_zap.1 \
|
||||
mysqlaccess.1 \
|
||||
mysqladmin.1 \
|
||||
mysqlbinlog.1 \
|
||||
mysqlbug.1 \
|
||||
mysqlcheck.1 \
|
||||
mysqld_multi.1 \
|
||||
mysqld_safe.1 \
|
||||
mysqldump.1 \
|
||||
mysqldumpslow.1 \
|
||||
mysqlhotcopy.1 \
|
||||
mysqlimport.1 \
|
||||
mysqlman.1 \
|
||||
mysqlshow.1 \
|
||||
mysqlslap.1 \
|
||||
mysqltest.1 \
|
||||
perror.1 \
|
||||
replace.1 \
|
||||
resolve_stack_dump.1 \
|
||||
resolveip.1
|
||||
MAN8= mysqld.8 \
|
||||
mysqlmanager.8
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/mariadb/distinfo
Normal file
2
databases/mariadb/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (mariadb-5.2.3.tar.gz) = 2b07123ef1d3568d07443bec3f25b3b7b5935e77482437778f8805c0deda7bd0
|
||||
SIZE (mariadb-5.2.3.tar.gz) = 24895365
|
74
databases/mariadb/files/mysql-server.in
Normal file
74
databases/mariadb/files/mysql-server.in
Normal file
|
@ -0,0 +1,74 @@
|
|||
#!/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_args (str): Custom additional arguments to be passed
|
||||
# to mysqld_safe (default empty).
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="mysql"
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${mysql_enable="NO"}
|
||||
: ${mysql_limits="NO"}
|
||||
: ${mysql_dbdir="/var/db/mysql"}
|
||||
: ${mysql_args=""}
|
||||
|
||||
mysql_user="mysql"
|
||||
mysql_limits_args="-e -U ${mysql_user}"
|
||||
pidfile="${mysql_dbdir}/`/bin/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} --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}"
|
||||
|
||||
mysql_create_auth_tables()
|
||||
{
|
||||
eval $mysql_install_db $mysql_install_db_args >/dev/null 2>/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()
|
||||
{
|
||||
local timeout=15
|
||||
while [ ! -f "${pidfile}" -a ${timeout} -gt 0 ]; do
|
||||
timeout=$(( timeout - 1 ))
|
||||
sleep 1
|
||||
done
|
||||
return 0
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
14
databases/mariadb/pkg-descr
Normal file
14
databases/mariadb/pkg-descr
Normal file
|
@ -0,0 +1,14 @@
|
|||
MariaDB is a database server that offers drop-in replacement functionality for
|
||||
MySQL1. MariaDB is built by some of the original authors of MySQL, with
|
||||
assistance from the broader community of Free and open source software
|
||||
developers. In addition to the core functionality of MySQL, MariaDB offers a
|
||||
rich set of feature enhancements including alternate storage engines, server
|
||||
optimizations, and patches.
|
||||
|
||||
MariaDB is primarily driven by developers at Monty Program, a company founded by
|
||||
Michael "Monty" Widenius, the original author of MySQL, but this is not the
|
||||
whole story about MariaDB. On the "About MariaDB" page you will find more
|
||||
information about all participants in the MariaDB community, including storage
|
||||
engines XtraDB and PBXT.
|
||||
|
||||
WWW: http://mariadb.org/
|
5956
databases/mariadb/pkg-plist
Normal file
5956
databases/mariadb/pkg-plist
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue