summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mysql
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-15 06:36:59 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-15 06:36:59 (GMT)
commit7309564d9f5afd0d6ef985f1eecb678c8fe7cf0d (patch)
tree147675f5690e2934e4ef6dd9bf626012a8f470b8 /abs/core-testing/mysql
parentd4c430a738c65537924be978549bf4bf311abe6b (diff)
downloadlinhes_pkgbuild-7309564d9f5afd0d6ef985f1eecb678c8fe7cf0d.zip
linhes_pkgbuild-7309564d9f5afd0d6ef985f1eecb678c8fe7cf0d.tar.gz
linhes_pkgbuild-7309564d9f5afd0d6ef985f1eecb678c8fe7cf0d.tar.bz2
Updated MySQL. Initial lcdproc intro.
Diffstat (limited to 'abs/core-testing/mysql')
-rw-r--r--abs/core-testing/mysql/PKGBUILD18
-rw-r--r--abs/core-testing/mysql/my.cnf4
-rwxr-xr-xabs/core-testing/mysql/mysqld11
-rw-r--r--abs/core-testing/mysql/mysqld.conf.d2
4 files changed, 17 insertions, 18 deletions
diff --git a/abs/core-testing/mysql/PKGBUILD b/abs/core-testing/mysql/PKGBUILD
index ca31fa7..4def9e3 100644
--- a/abs/core-testing/mysql/PKGBUILD
+++ b/abs/core-testing/mysql/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 2465 2008-06-02 11:38:50Z alexander $
+# $Id: PKGBUILD 23595 2009-01-11 13:14:19Z douglas $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=mysql
-pkgver=5.0.60
-pkgrel=8
+pkgver=5.0.75
+pkgrel=1
pkgdesc="A fast SQL database server"
arch=(i686 x86_64)
backup=(etc/my.cnf etc/conf.d/mysqld)
@@ -11,8 +11,9 @@ depends=("mysql-clients>=${pkgver}" 'tcp_wrappers')
makedepends=('libtool')
url=('http://www.mysql.com/')
options=('!libtool')
+optdepends=('perl-dbi' 'perl-dbd-mysql')
license=('GPL')
-source=(http://mirror.provenscaling.com/mysql/enterprise/source/5.0/mysql-${pkgver}.tar.gz
+source=(ftp://ftp.pucpr.br/mysql/Downloads/MySQL-5.0/mysql-${pkgver}.tar.gz
mysql-no-clients.patch
mysqld
my.cnf
@@ -27,7 +28,7 @@ build() {
--with-innodb --enable-local-infile --with-openssl \
--with-charset=latin1 --with-collation=latin1_general_ci \
--with-extra-charsets=complex --enable-thread-safe-client \
- --with-libwrap --with-berkeley-db
+ --with-libwrap --with-berkeley-db --with-embedded-server
# fixes
sed -i -e 's/^.*HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE.*$/#define\ HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE/g' include/config.h || return 1
@@ -47,5 +48,8 @@ build() {
install -D -m644 ../mysqld.conf.d ${startdir}/pkg/etc/conf.d/mysqld
rm -f ${startdir}/pkg/usr/bin/mysql_config
}
-
-
+md5sums=('a234f0a60a7f8c290d9875cba3a2c5a2'
+ 'e892aac36cbeb57f0e003ec0936afb3b'
+ '247e9fa664bccaca62ca0e42a6cfae20'
+ '0ee035590ffc61d32de994f461fd2bd2'
+ '4a9077fc95ec6db1d5420e0cdc74d31c')
diff --git a/abs/core-testing/mysql/my.cnf b/abs/core-testing/mysql/my.cnf
index 7202fcd..927b9c8 100644
--- a/abs/core-testing/mysql/my.cnf
+++ b/abs/core-testing/mysql/my.cnf
@@ -20,7 +20,7 @@ socket = /tmp/mysql.sock
[mysqld]
port = 3306
socket = /tmp/mysql.sock
-datadir = /data/srv/mysql
+datadir = /var/lib/mysql
skip-locking
key_buffer = 16M
max_allowed_packet = 1M
@@ -35,7 +35,7 @@ myisam_sort_buffer_size = 8M
# Note that using this option without enabling named pipes on Windows
# (via the "enable-named-pipe" option) will render mysqld useless!
#
-#skip-networking
+skip-networking
# Replication Master Server (default)
# binary logging is required for replication
diff --git a/abs/core-testing/mysql/mysqld b/abs/core-testing/mysql/mysqld
index 7621ac1..843397e 100755
--- a/abs/core-testing/mysql/mysqld
+++ b/abs/core-testing/mysql/mysqld
@@ -22,21 +22,16 @@ if [ ! `egrep '^mysql:' /etc/passwd` ]; then
fi
if [ ! -d $MYSQLD_ROOT ]; then
- mkdir -p $MYSQLD_ROOT 2> /dev/null
- /usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql 2>/dev/null > /dev/null
+ mkdir $MYSQLD_ROOT
+ /usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql
chown -R mysql.mysql $MYSQLD_ROOT
fi
-if [ ! -e /var/log/mysqld.log ]; then
- touch /var/log/mysqld.log
- chown mysql /var/log/mysqld.log
-fi
-
case "$1" in
start)
stat_busy "Starting MySQL"
if [ -z "$PID" ]; then
- /usr/bin/mysqld_safe --skip-name-resolve --datadir=$MYSQLD_ROOT 2>/dev/null >/dev/null &
+ /usr/bin/mysqld_safe --datadir=$MYSQLD_ROOT &>/dev/null &
if [ $? -gt 0 ]; then
stat_fail
exit 1
diff --git a/abs/core-testing/mysql/mysqld.conf.d b/abs/core-testing/mysql/mysqld.conf.d
index 10b7098..04752b1 100644
--- a/abs/core-testing/mysql/mysqld.conf.d
+++ b/abs/core-testing/mysql/mysqld.conf.d
@@ -1 +1 @@
-MYSQLD_ROOT="/data/srv/mysql"
+MYSQLD_ROOT="/var/lib/mysql"