wok-current diff mysql/receipt @ rev 4694
Up: pycairo* (1.8.2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jan 02 10:00:03 2010 +0100 (2010-01-02) |
parents | 41efe35c6d3b |
children | 5b44af8c1257 |
line diff
1.1 --- a/mysql/receipt Sat Sep 19 18:46:29 2009 +0000 1.2 +++ b/mysql/receipt Sat Jan 02 10:00:03 2010 +0100 1.3 @@ -1,8 +1,8 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mysql" 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." 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 @@ -38,12 +38,12 @@ 1.15 $fs/etc/mysql.d \ 1.16 $fs/var/lib/mysql \ 1.17 $fs/var/run/mysqld 1.18 - 1.19 + 1.20 cp -a $_pkg/usr/bin $fs/usr 1.21 cp -a $_pkg/usr/sbin $fs/usr 1.22 cp -a $_pkg/usr/lib/mysql/plugin/*.so* $fs/usr/lib/mysql/plugin 1.23 cp -a $_pkg/usr/share/mysql $fs/usr/share 1.24 - 1.25 + 1.26 # Configuration file 1.27 cp -a stuff/etc/init.d $fs/etc 1.28 cp -a $src/support-files/my-medium.cnf $fs/etc/mysql/my.cnf 1.29 @@ -51,14 +51,14 @@ 1.30 grep -q "bind-address" $fs/etc/mysql/my.cnf || sed -i \ 1.31 's/^\[mysqld\]/[mysqld]\nbind-address\t= 127.0.0.1/' \ 1.32 $fs/etc/mysql/my.cnf 1.33 - 1.34 + 1.35 # Permissions 1.36 chmod 600 $fs/etc/mysql/my.cnf 1.37 - 1.38 + 1.39 cat $WOK/$PACKAGE/stuff/*.files-list | while read file; do 1.40 [ -f $fs$file ] && rm -f $fs$file 1.41 done 1.42 - 1.43 + 1.44 # Package all mysql pkgs 1.45 for i in $(cd $WOK; ls -d *bmysql* mysql-*) 1.46 do 1.47 @@ -93,7 +93,7 @@ 1.48 # Cleanup old files 1.49 rm -f $1/usr/libexec/mysql* 1.50 # Mv config 1.51 - [ -f $1/etc/my.cnf ] && mv -f $1/etc/my.cnf $1/etc/mysql/my.cnf 1.52 + [ -f $1/etc/my.cnf ] && mv -f $1/etc/my.cnf $1/etc/mysql/my.cnf 1.53 } 1.54 1.55 post_remove()