aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorMatt Smith <mcs@darkregion.net>2011-03-29 22:32:44 -0500
committerMatt Smith <mcs@darkregion.net>2011-03-29 22:32:44 -0500
commit8bbc7dc0de4f209b15535aa2234296aa0bef14c4 (patch)
treedc70571fdcbc5f4437e0802327caa2cbe14d30c8 /main
parent5301e086a74056fcbd2a73fb2cf3e1c2e6808386 (diff)
downloadaports-8bbc7dc0de4f209b15535aa2234296aa0bef14c4.tar.bz2
aports-8bbc7dc0de4f209b15535aa2234296aa0bef14c4.tar.xz
main/mysql: upgrade to 5.1.56
Diffstat (limited to 'main')
-rw-r--r--main/mysql/APKBUILD41
1 files changed, 21 insertions, 20 deletions
diff --git a/main/mysql/APKBUILD b/main/mysql/APKBUILD
index d559876b8f..b77e322c37 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.1.56
pkgrel=0
pkgdesc="A fast SQL database server"
url="http://www.mysql.com/"
@@ -41,53 +41,54 @@ build() {
--with-plugins=partition,archive,blackhole,csv,federated,heap,innobase,innodb_plugin,ndbcluster \
--mandir=/usr/share/man \
|| return 1
- make
+ make || return 1
}
package() {
cd $_builddir
- 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
- install -dDo mysql $pkgdir/var/log/mysql
- install -dDo mysql $pkgdir/var/run/mysqld
+ make -j1 DESTDIR="$pkgdir/" install || return 1
+ install -Dm 755 "$startdir"/$pkgname.initd $pkgdir/etc/init.d/$pkgname \
+ || return 1
+ install -Dm 644 "$startdir"/$pkgname.mycnf $pkgdir/etc/mysql/my.cnf \
+ || return 1
+ install -dDo mysql $pkgdir/var/log/mysql || return 1
+ install -dDo mysql $pkgdir/var/run/mysqld || return 1
}
libmysqlclient() {
pkgdesc="MySQL client library"
# some files moved
replaces="mysql"
- mkdir -p "$subpkgdir"/usr/lib/mysql
+ mkdir -p "$subpkgdir"/usr/lib/mysql || return 1
mv "$pkgdir"/usr/lib/mysql/libmysqlclient.so* \
"$pkgdir"/usr/lib/mysql/libmysqlclient_r.so* \
- "$subpkgdir"/usr/lib/mysql
+ "$subpkgdir"/usr/lib/mysql || return 1
# make symlinks
- cd "$subpkgdir"/usr/lib
+ cd "$subpkgdir"/usr/lib || return 1
for i in mysql/*; do
- ln -s "$i" "${i##*/}"
+ ln -s "$i" "${i##*/}" || return 1
done
}
test() {
- mkdir -p "$subpkgdir"/usr
- mv "$pkgdir"/usr/mysql-test "$subpkgdir"/usr/
+ mkdir -p "$subpkgdir"/usr || return 1
+ mv "$pkgdir"/usr/mysql-test "$subpkgdir"/usr/ || return 1
}
client() {
pkgdesc="client for the MySQL database"
install=""
- local bins="myisam_ftdump mysql mysqlaccess mysqladmin mysqlbug mysqlcheck
- mysql_client_test mysqldump mysqldumpslow mysql_explain_log mysql_find_rows
- mysql_fix_extensions mysqlimport mysqlshow mysql_tableinfo mysqltestmanagerc
- mysqltestmanager-pwgen mysql_waitpid"
+ local bins="myisam_ftdump mysql mysqlaccess mysqladmin mysqlbug
+ mysqlcheck mysql_client_test mysqldump mysqldumpslow mysql_find_rows
+ mysql_fix_extensions mysqlimport mysqlshow mysql_waitpid"
- mkdir -p "$subpkgdir"/usr/bin/
+ mkdir -p "$subpkgdir"/usr/bin/ || return 1
for i in $bins; do
- mv "$pkgdir"/usr/bin/${i} "$subpkgdir"/usr/bin/
+ mv "$pkgdir"/usr/bin/${i} "$subpkgdir"/usr/bin/ || return 1
done
}
-md5sums="2a0f45a2f8b5a043b95ce7575796a30b mysql-5.1.54.tar.gz
+md5sums="15161d67f4830aad3a8a89e083749d49 mysql-5.1.56.tar.gz
25d08b02bff6aa379dc45859b7a3f28a mysql.initd
15a7e3ddd6a40bf5a1eb3a8c69d9c34c mysql.mycnf"