wok-current rev 4171

Fix: make mysql build by updating to 5.1.38
author Christophe Lincoln <pankso@slitaz.org>
date Tue Sep 22 21:03:42 2009 +0200 (2009-09-22)
parents 4cfce81a4a6b
children 6fb7c8c1af35
files mysql-client/receipt mysql-dev/receipt mysql-test/receipt mysql/receipt
line diff
     1.1 --- a/mysql-client/receipt	Tue Sep 22 20:59:25 2009 +0200
     1.2 +++ b/mysql-client/receipt	Tue Sep 22 21:03:42 2009 +0200
     1.3 @@ -1,8 +1,8 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mysql-client"
     1.7 -VERSION="5.1.37"
     1.8 -CATEGORY="misc"
     1.9 +VERSION="5.1.38"
    1.10 +CATEGORY="office"
    1.11  SHORT_DESC="SQL database system client files."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.1 --- a/mysql-dev/receipt	Tue Sep 22 20:59:25 2009 +0200
     2.2 +++ b/mysql-dev/receipt	Tue Sep 22 21:03:42 2009 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="mysql-dev"
     2.7 -VERSION="5.1.37"
     2.8 +VERSION="5.1.38"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="SQL database system devel files."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
     3.1 --- a/mysql-test/receipt	Tue Sep 22 20:59:25 2009 +0200
     3.2 +++ b/mysql-test/receipt	Tue Sep 22 21:03:42 2009 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="mysql-test"
     3.7 -VERSION="5.1.37"
     3.8 +VERSION="5.1.38"
     3.9  CATEGORY="misc"
    3.10  SHORT_DESC="SQL database system tests and benchs."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
     4.1 --- a/mysql/receipt	Tue Sep 22 20:59:25 2009 +0200
     4.2 +++ b/mysql/receipt	Tue Sep 22 21:03:42 2009 +0200
     4.3 @@ -1,8 +1,8 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="mysql"
     4.7 -VERSION="5.1.37"
     4.8 -CATEGORY="misc"
     4.9 +VERSION="5.1.38"
    4.10 +CATEGORY="office"
    4.11  SHORT_DESC="SQL database system."
    4.12  MAINTAINER="pascal.bellard@slitaz.org"
    4.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.14 @@ -38,12 +38,12 @@
    4.15  		$fs/etc/mysql.d \
    4.16  		$fs/var/lib/mysql \
    4.17  		$fs/var/run/mysqld
    4.18 -	
    4.19 +
    4.20  	cp -a $_pkg/usr/bin $fs/usr
    4.21  	cp -a $_pkg/usr/sbin $fs/usr
    4.22  	cp -a $_pkg/usr/lib/mysql/plugin/*.so* $fs/usr/lib/mysql/plugin
    4.23  	cp -a $_pkg/usr/share/mysql $fs/usr/share
    4.24 -	
    4.25 +
    4.26  	# Configuration file
    4.27  	cp -a stuff/etc/init.d $fs/etc
    4.28  	cp -a $src/support-files/my-medium.cnf $fs/etc/mysql/my.cnf
    4.29 @@ -51,14 +51,14 @@
    4.30  	grep -q "bind-address" $fs/etc/mysql/my.cnf || sed -i \
    4.31  		's/^\[mysqld\]/[mysqld]\nbind-address\t= 127.0.0.1/' \
    4.32  		$fs/etc/mysql/my.cnf
    4.33 -	
    4.34 +
    4.35  	# Permissions
    4.36  	chmod 600 $fs/etc/mysql/my.cnf
    4.37 -	
    4.38 +
    4.39  	cat $WOK/$PACKAGE/stuff/*.files-list | while read file; do
    4.40  		[ -f $fs$file ] && rm -f $fs$file
    4.41  	done
    4.42 -	
    4.43 +
    4.44  	# Package all mysql pkgs
    4.45  	for i in $(cd $WOK; ls -d *bmysql* mysql-*)
    4.46  	do
    4.47 @@ -93,7 +93,7 @@
    4.48  	# Cleanup old files
    4.49  	rm -f $1/usr/libexec/mysql*
    4.50  	# Mv config
    4.51 -	[ -f $1/etc/my.cnf ] && mv -f $1/etc/my.cnf $1/etc/mysql/my.cnf 
    4.52 +	[ -f $1/etc/my.cnf ] && mv -f $1/etc/my.cnf $1/etc/mysql/my.cnf
    4.53  }
    4.54  
    4.55  post_remove()