summaryrefslogtreecommitdiffstats
path: root/main/mysql
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-04 12:24:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-04 12:24:39 +0000
commitb0bcf60b055dcf48555b79694903ffe7dd4156c9 (patch)
tree6f99112d5c66ac1703c15927d220c62d9a20e15a /main/mysql
parentc3289473e4e6b763399e81bb1e8df7cca5a5d4ee (diff)
downloadaports-b0bcf60b055dcf48555b79694903ffe7dd4156c9.tar.bz2
aports-b0bcf60b055dcf48555b79694903ffe7dd4156c9.tar.xz
main/mysql: upgrade to 5.1.40
Diffstat (limited to 'main/mysql')
-rw-r--r--main/mysql/APKBUILD45
1 files changed, 26 insertions, 19 deletions
diff --git a/main/mysql/APKBUILD b/main/mysql/APKBUILD
index ea564c225..76c10fab3 100644
--- a/main/mysql/APKBUILD
+++ b/main/mysql/APKBUILD
@@ -1,32 +1,39 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mysql
-pkgver=5.0.83
-pkgrel=1
+pkgver=5.1.40
+pkgrel=0
pkgdesc="A fast SQL database server"
url="http://www.mysql.com/"
license='GPL'
depends=
-makedepends="libtool uclibc++-dev readline-dev openssl-dev ncurses-dev zlib-dev"
-source="http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQL-5.0/${pkgname}-${pkgver}.tar.gz
-$pkgname.initd
-$pkgname.mycnf"
+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
+ $pkgname.initd
+ $pkgname.mycnf"
subpackages="$pkgname-doc $pkgname-dev $pkgname-test libmysqlclient $pkgname-client"
build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./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 \
+ --mandir=/usr/share/man \
+ || return 1
+
+ make
+}
+
+package() {
cd "$srcdir/$pkgname-$pkgver"
- export CXX=g++-uc
- ./configure --prefix=/usr --libexecdir=/usr/sbin \
- --localstatedir=/var/lib/mysql \
- --disable-assembler --with-pthread \
- --without-raid --without-libwrap \
- --without-pstack --without-docs \
- --without-embedded-server --with-openssl \
- --without-mysqlfs --without-vio \
- --without-bench --without-debug \
- --with-unix-socket-path=/var/run/mysqld/mysqld.sock \
- --with-innodb --mandir=/usr/share/man || return 1
- make || return 1
make -j1 DESTDIR="$pkgdir/" install
install -Dm 755 "$startdir"/$pkgname.initd $pkgdir/etc/init.d/$pkgname
install -Dm 644 "$startdir"/$pkgname.mycnf $pkgdir/etc/mysql/my.cnf
@@ -65,6 +72,6 @@ client() {
done
}
-md5sums="051392064a1e32cca5c23a593908b10e mysql-5.0.83.tar.gz
+md5sums="32e7373c16271606007374396e6742ad mysql-5.1.40.tar.gz
25d08b02bff6aa379dc45859b7a3f28a mysql.initd
15a7e3ddd6a40bf5a1eb3a8c69d9c34c mysql.mycnf"