wok-current diff phpmyadmin/receipt @ rev 5664
Up: alsa-lib (1.0.23)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun May 30 03:54:08 2010 +0000 (2010-05-30) |
parents | 942b862caa4b |
children | ac62717b2e7d |
line diff
1.1 --- a/phpmyadmin/receipt Fri Apr 17 22:45:46 2009 +0200 1.2 +++ b/phpmyadmin/receipt Sun May 30 03:54:08 2010 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="phpmyadmin" 1.7 -VERSION="2.11.9.5" 1.8 +VERSION="3.2.2.1" 1.9 CATEGORY="misc" 1.10 SHORT_DESC="Administration of MySQL over the Web." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -9,6 +9,7 @@ 1.13 TARBALL="$PHPMYADM.tar.bz2" 1.14 WEB_SITE="http://www.$PACKAGE.net/" 1.15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 +SUGGESTED="php-mcrypt" 1.17 DEPENDS="php-mysql" 1.18 CONFIG_FILES="/etc/phpmyadmin/config.inc.php" 1.19 1.20 @@ -23,13 +24,26 @@ 1.21 { 1.22 mkdir -p $fs/usr/share/phpmyadmin $fs/etc/phpmyadmin $fs/usr/share/applications 1.23 cp -a $src/. $fs/usr/share/phpmyadmin 1.24 - ln -s /etc/phpmyadmin $fs/usr/share/phpmyadmin/config 1.25 + ln -s /etc/phpmyadmin/config.inc.php $fs/usr/share/phpmyadmin/config.inc.php 1.26 cp $src/config.sample.inc.php $fs/etc/phpmyadmin/config.inc.php 1.27 rm -f $fs/usr/share/phpmyadmin/phpMyAdmin-$VERSION-all-languages 1.28 cp stuff/phpmyadmin.desktop $fs/usr/share/applications 1.29 chown -R www.www $fs/usr/share/phpmyadmin $fs/etc/phpmyadmin 1.30 chmod 700 $fs/etc/phpmyadmin 1.31 - chmod 600 $fs/etc/phpmyadmin/config.inc.php 1.32 + chmod 644 $fs/etc/phpmyadmin/config.inc.php 1.33 + 1.34 + sed -i s'/\?>//' $fs/etc/phpmyadmin/config.inc.php 1.35 + 1.36 + cat <<"EOT">> $fs/etc/phpmyadmin/config.inc.php 1.37 + 1.38 +$cfg['McryptDisableWarning'] = true; 1.39 +// For public use you may comment the following lines 1.40 +// to enforce the security. 1.41 +$cfg['Servers'][$i]['AllowNoPassword'] = true; 1.42 +$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true; 1.43 +$cfg['Servers'][$i]['AllowRoot'] = true; 1.44 +?> 1.45 +EOT 1.46 } 1.47 1.48 post_install()