~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[alpine-devel] [PATCH] main/mysql: upgrade to 5.5.10

Jeff Bilyk <jbilyk@gmail.com>
Details
Message ID
<1301567649-13336-1-git-send-email-jbilyk@gmail.com>
Sender timestamp
1301567649
DKIM signature
missing
Download raw message
Patch: +48 -19
upgrade mysql to 5.5.10
---
 main/mysql/APKBUILD |   67 ++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 48 insertions(+), 19 deletions(-)

diff --git a/main/mysql/APKBUILD b/main/mysql/APKBUILD
index d559876..4d06e6d 100644
--- a/main/mysql/APKBUILD
+++ b/main/mysql/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mysql
pkgver=5.1.54
pkgver=5.5.10
pkgrel=0
pkgdesc="A fast SQL database server"
url="http://www.mysql.com/"
@@ -10,8 +10,8 @@ pkggroups="mysql"
arch="all"
license='GPL'
depends=
makedepends="libtool readline-dev openssl-dev ncurses-dev zlib-dev"
source="http://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-5.1/mysql-$pkgver.tar.gz
makedepends="libtool readline-dev openssl-dev ncurses-dev zlib-dev cmake bison perl libaio-dev"
source="ftp://mirror.csclub.uwaterloo.ca/mysql/Downloads/MySQL-5.5/$pkgname-$pkgver.tar.gz
	$pkgname.initd
	$pkgname.mycnf
	"
@@ -21,25 +21,54 @@ _builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd $_builddir
	sed -i -e 's/-lnsl //g' configure.in
	sed -i -e 's/-lnsl //g' configure
#	sed -i -e 's/-lnsl //g' configure.in
#	sed -i -e 's/-lnsl //g' configure
}

build() {
	cd $_builddir
	./configure --prefix=/usr --libexecdir=/usr/sbin \
		--localstatedir=/var/lib/mysql \
		--disable-assembler \
		--with-pthread \
		--without-libwrap \
		--without-pstack \
		--without-docs \
		--without-embedded-server \
		--with-ssl \
		--without-debug \
		--with-unix-socket-path=/var/run/mysqld/mysqld.sock \
		--with-plugins=partition,archive,blackhole,csv,federated,heap,innobase,innodb_plugin,ndbcluster \
		--mandir=/usr/share/man \
#	./configure --prefix=/usr --libexecdir=/usr/sbin \
#		--localstatedir=/var/lib/mysql \
#		--disable-assembler \
#		--with-pthread \
#		--without-libwrap \
#		--without-pstack \
#		--without-docs \
#		--without-embedded-server \
#		--with-ssl \
#		--without-debug \
#		--with-unix-socket-path=/var/run/mysqld/mysqld.sock \
#		--with-plugins=partition,archive,blackhole,csv,federated,heap,innobase,innodb_plugin,ndbcluster \
#		--mandir=/usr/share/man \
	cmake . -DCMAKE_BUILD=Release \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DMYSQL_DATADIR=/var/lib/mysql \
		-DSYSCONFDIR=/etc/mysql \
		-DINSTALL_INFODIR=share/mysql/docs \
		-DINSTALL_MANDIR=share/man \
		-DINSTALL_PLUGINDIR=/usr/lib/mysql/plugin \
		-DINSTALL_SCRIPTDIR=bin \
		-DINSTALL_INCLUDEDIR=include/mysql \
		-DINSTALL_DOCREADMEDIR=share/mysql \
		-DINSTALL_SUPPORTFILESDIR=share/mysql \
		-DINSTALL_MYSQLSHAREDDIR=share/mysql \
		-DINSTALL_SHAREDIR=share/mysql \
		-DWITH_READLINE=ON \
		-DWITH_ZLIB=system \
		-DWITH_SSL=system \
		-DWITH_LIBWRAP=ON \
		-DDEFAULT_CHARSET=utf-8 \
		-DDEFAULT_COLLATION=utf-8_general_ci \
		-DWITH_EXTRA_CHARSETS=complex \
		-DWITHOUT_EMBEDDED_SERVER=ON \
		-DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
		-DENABLED_LOCAL_INFILE=ON \
		-DWITH_PARTITION_STORAGE_ENGINE=1 \
		-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \
		-DWITHOUT_ARCHIVE_STORAGE_ENGINE=1 \
		-DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1 \
		-DWITHOUT_FEDERATED_STORAGE_ENGINE=1 \
		-DWITH_INNOBASE_STORAGE_ENGINE=1 \
		|| return 1
        make
}
@@ -88,6 +117,6 @@ client() {
	done
}

md5sums="2a0f45a2f8b5a043b95ce7575796a30b  mysql-5.1.54.tar.gz
md5sums="ee604aff531ff85abeb10cf332c1355a  mysql-5.5.10.tar.gz
25d08b02bff6aa379dc45859b7a3f28a  mysql.initd
15a7e3ddd6a40bf5a1eb3a8c69d9c34c  mysql.mycnf"
-- 
1.7.4.1



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)